/* forms NEW */

.form
{
    border: solid 1px #c0c0c0;
    background: #f2f2f2;
    clear: both;
    overflow: auto;
    padding-top: 10px;
    text-align: center;
}

.form *
{
    text-align: left;
}

.form .form_block
{
    width: 550px;
    margin: 0 auto 5px auto;
    overflow: auto;
}

.form .form_block .form_title
{
    font-weight: bold;
    font-size: 14px;
    color: #505050;
    padding: 5px;
    margin-bottom: 10px;
    border-bottom: solid 1px #707070;
}

.form .form_block .form_text
{	margin: 0 10px 10px 10px;
	clear: both;
}

.form .field
{
    clear: both;
    margin: 0 10px 5px 10px;
    overflow: auto;
    color: #505050;
}

.form div.field:hover
{
    background: #eaeaea url('/images/field_back.gif');
}

.form .form_footer div.field:hover
{	background: none;
}

.form .invalid_field
{
    1background: orange;
    1padding: 5px;
    1border: solid 2px orange;
}

.form .invalid_field .control
{	border: solid 2px #f00;
}

.form .hidden_field
{
    display: none;
}

.form .field .title
{
    width: 150px;
    margin: 0 -3px 5px 0;
    float: left;
    text-align: right;
}

.form .value .input
{
    width: 200px;
}

.form .value .textarea
{
    width: 350px;
    height: 75px;
}

.form .value .checkbox
{	width: auto;
}

.form .invalid_field .invalid_value
{
    border: solid 2px #f00;
}

.form .req_field .title
{
    font-weight: bold;
}

.form .invalid_field .title
{
    color: #f00;
}

.form .field .kladr
{	overflow-x: hidden;
	overflow-y: auto;
	height: 35px;
}

.form .field .values
{
    margin-left: 20px;
    float: left;
}

.form .field .values .value
{
    margin-bottom: 5px;
}

.form .field .values .hidden_value
{
    display: none;
}

.form .field .values .add
{
    margin: 0 0 5px 0;
}

.form .field .values .descr
{
    font-size: 9px;
    margin: -3px 0 8px 0;
    max-width: 350px;
}

.form .invalid_field .values .descr
{
    color: #f00;
}

.form .form_footer
{
    clear: both;
    overflow: auto;
    margin: 0 0 10px 0;
}

.form .form_footer .buttons
{
    overflow: auto;
    margin-left: 150px;
}

.form .form_footer .button input
{	text-align: center;
}

.form .form_footer .info
{
    text-align: right;
    clear: both;
    font-size: 10px;
}

.form .form_footer .buttons .button div input
{
    text-align: center;
}

.kladr
{    padding: 0 2px;
    color: #000;
    width: 200px;
    height: 45px;
    cursor: hand;
}

.form #form_captcha .captcha_field .input
{
	font-size: 32px;
	width: 120px;
}

.form #form_captcha .captcha_field img {
	margin-left: 10px;
}

.form .hr
{	height: 2px;
	border-top: solid 1px silver;
	overflow: hidden;
	margin: 10px 0;
	clear: both;
}

.form .form_footer .form_load
{	margin-top: 10px;
	display: none;
	clear: both;
}

.form .form_footer .form_load p
{	text-align: center;
}

#popup_form_close a
{    display: block;
    float: right;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    overflow: hidden;
}

#popup_form_close a:hover img
{	margin-top: -20px;
}

/***************** Ajax Forms *****************/
.color_b {
	background-color: #ffffff;
}
#centring-table .xboxcontent {
	overflow: hidden;
	background: #ffffff;
}
div#popup_form {
	display: none;
}
div#grayscreen, table#centring-table {
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
div#grayscreen {
    background-color: gray;
    filter: alpha(opacity=40);
    -moz-opacity: .40;
    opacity: .40;
    z-index: 500;
    display: block;
}
table#centring-table {
    z-index: 600;
}
table#centring-table td#centring-td {
	vertical-align: middle;
	text-align: center;
}
table#centring-table td#centring-td div#popup-wrapper {
	display: block;
	margin: 0 auto;
	text-align: left;
}
div#popup-inner {
	padding: 5px 10px;
	overflow-x: auto;
	max-height: 500px;
}
#popup_form_controls {
	text-align: center;
}
/***************** END: Ajax Forms *****************/

/******* Tabs *********/

.tab_list
{
	overflow: auto;
	margin-bottom: 5px;
	clear: right;
}
a.tab_button:link, a.tab_button:hover, a.tab_button:visited
{
	padding: 5px;
	background: #eeffbe;
	color: #719701;
	margin-right: 5px;
	display: block;
	float: left;
}

a.tab_button:hover, a#selected_tab.tab_button:link, a#selected_tab.tab_button:visited
{
	background: #99CC03;
	color: #fff;
}

#tab_photo_note_list
{
	float: right;
	width: 350px;
}

#tab_photo_note_list .tab_items
{
	max-height: 400px;
	position: relative;
	overflow: auto;
	background-position: right top;
	background-repeat: no-repeat;
}

/* END: Tabs */

/***************** Ajax Kladr *****************/
.ktitle {
	float: left;
	width: 100px;
	padding: 3px;
}
.kfield {
	float: left;
	width: 180px;
	margin-left: 10px;
}
.g {
	margin-top: 5px;
	width: 100%;
	float: left;
}
.bold {
	font-weight: bold;
	background-color: #daf58a;
}
.old {
	color: gray;
}
/***************** END: Ajax Kladr *****************/