.a_form, .r_form {
	width: 100%;
	background-color: #fefefe;
	padding-bottom: 5px;
	text-align: left;
	}

.a_form p {
    text-indent: 15px;
    margin-bottom:5px;
    text-align: justify;
}

.a_form input[type=submit] {
    padding: 7px;
    font-weight: bold;
}

.noa {
	color: #fafafa;
}

.a_form h1, #editForm h2, .a_form h3 {
	text-align: center;
	margin: 0 auto;
}

.a_form fieldset, .r_form fieldset {
	border: dotted 1px #949494;
	margin: 5px;
	padding: 10px;
	}
.a_form div.hhdiv {
	height: 30px;
	}

.a_form label {
	display: block;
	float: left;
	width: 250px;
	height: 20px;
	font-size: 14px;
	color: #363636;
	}

.r_form label {
    display: block;
	float: left;
	width: 210px;
	height: 20px;
	font-size: 14px;
	color: #363636;
}

.a_form input,  {
	float: left;
	}

.chzn-search input {
    float:none; 
}

.a_form button {
    padding:  5px;
}

.a_form select {
    float:none;
}

.a_form .text, .a_form select, .a_form textarea {
		background: #eeeeee;
		font-size: 14px;
		border: 1px solid #cccccc;
		padding: 3px;
	}

.r_form .text, .r_form select, .r_form textarea {
    	background: #eeeeee;
		font-size: 14px;
		border: 1px solid #cccccc;
		padding: 3px;
        width:394px;
}

.r_form input:focus, .r_form select:focus , .r_form textarea:focus {
		background: #ffffff;
		border: 1px solid #686868;
	}


.a_form input:focus, .a_form select:focus , .a_form textarea:focus {
		background: #ffffff;
		border: 1px solid #686868;
	}


.hr_line {
    border-top: 1px dotted #999;
    height:2px;
    width:100%;
}

.select, .text, .rc_ch {
	width: 295px;
}

.mceEditor {
	clear: both;
	width: 550px;
	height: 150px;
	}

.a_form .addSubmit {
	float: none;
	}

.a_form h1 {
	font-size: 11px;
	font-weight: normal;
	color: #222;
	padding: 10px;
	text-align: right;
	}


.row, .rowSet, .rowWH{
	padding: 10px 0;
	clear: both;
	margin: 5px 0px;
	}

.hint {
	display: none;
	font-size: 10px;
	background-color: #efefef;
	color: #444;
	padding: 5px;
	margin: 15px 0;
	border-left: solid 10px #ddd;
	clear: both;
	}
.hint p {
	text-indent: 10px;
	text-align: justify;
	}
.textarea {
	width: 295px;
	}
a#check_googleMap {
	display: block;
	width: 100%;
	text-align: center;
	text-decoration: underline;
	font-size: 12px;
	}
a.expHint,a.expHintTop  {
	padding: 0 10px;
	float: right;
	}


div.tabs {

	}

.tab_div {
	margin: 0px 0px;
	padding: 5px;
	}

div.container {
	margin-bottom: 10px;
	}

ul.top_tabs, ul.foot_tabs  {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.top_tabs {
	padding-bottom: 5px;
	border-bottom: 1px solid #ccc;
}

ul.foot_tabs {
	padding-top: 5px;
	border-top: 1px solid #ccc;
	margin-bottom: 10px;
}

ul.top_tabs li, ul.foot_tabs li {
	display: inline;
	}

ul.top_tabs li a, ul.foot_tabs li a{
	padding: 5px 9px;
	color: #black;
	text-decoration: underline;
	}

ul.top_tabs li a.selected,
ul.top_tabs li a.selected:hover {
	background: #FFF;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #fefefe;
	text-decoration: none;
	color: #000;
	}

ul.foot_tabs li a.selected,
ul.foot_tabs li a.selected:hover {
	background: #FFF;
	border-top: 1px solid #fefefe;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	text-decoration: none;
	color: #000;
	}

ul.top_tabs li a:hover, ul.foot_tabs li a:hover{
	background: #ccc;
	color: #000;
	}

ul.top_tabs li a:focus, ul.foot_tabs li a:focus{
	outline: 0;
	}

div.tabs div {
	background-color: #fefefe;
}

.edit_right_block {
    float:right;
    width:150px;
}


.edit_photo_list {
	margin: 0px;
	padding: 0px;
}

.edit_photo_counters {
	width: 20px;
	margin:0px 6px;
	padding:0px;
	list-style-type: none;
}

.edit_photo_counters li {
	padding: 0px;
	display: block;
	margin-bottom: 2px;
	height: 110px;
	width: 20px;
	color: #666;
	font-size: 1.6em;
}

.edit_left_block {
	width: 23px;
	padding: 15px 5px 5px 10px;
	float: left;
}

.edit_main_block {
	position: relative;
	margin-left: 40px;
	width: 146px;
}


.edit_main_block_pan {
	position: relative;
	margin-left: 40px;
	margin-right: 10px;
	width: 300px;

}

.edit_photo_list  li {

	margin-bottom: 2px;
	background-color: #fefefe;
	border: 1px solid #eee;
	list-style-type: none;
	height: 160px;
}


.edit_text_area {
	position:relative;
	z-index:100;
	background-color:white;
}


.useable-delete-button-container {
	width: 180px;
	background: #f4f4f4;
	padding: 2px 3px;
	border: 1px solid #ababab;
	text-align: left
}
#udb-container {
	position: absolute;
	z-index: 10;
}
#udb-panel {
	position: absolute;
	z-index: 1;
	display: none;
	overflow: hidden;
	border: 1px solid #ababab;
	background-color: #f5f5f5;
	padding: 3px;

	box-shadow: 0px 0px 5px #999;
	-moz-box-shadow: 0px 0px 5px #999;
	-webkit-box-shadow: 0px 0px 5px #999;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#udb-panel a {
	background-color:#DFDFDF;
	border:1px solid #CCCCCC;
	color:#000000;
	display:block;
	float:right;
	font-size:80%;
	margin:2px 5px;
	padding:3px;
	text-decoration:none;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
.udb-sure {
	float: left;
	margin-top: 5px;
}
a.udb-button, a:hover.udb-button {color: #BF3D42}



.field_error {
	background-color:#ffc0c0 !important;
}

.field_ok {
	background-color:#c0ffc0 !important;
}


.select_typefield {
	width: 295px;
	margin-left: 250px !important;
}

.subm {
	padding: 3px;
}

#owners_list {
	list-style-type: none;
	margin-top: 10px;
}

#owners_list li  {
	padding: 8px;
	height: 50px;
	vertical-align: top;
	clear: both;
	border-top: 1px solid #eee;
}

#owners_list li:hover {
	background-color: #eef4ee;
	cursor: pointer;
}


.owner {
	height: 55px;
	vertical-align: top;
	margin: 0px 10px 5px 275px;
	border: 1px solid #efefef;
	width: 300px;
	padding: 10px;
}

.owner img {
	margin-right: 10px;
}

#log_list {
	list-style-type: none;
	width: 100%;
	padding: 0px !important;
}

#log_list li {
	padding: 10px;
	border-bottom: 1px solid #eee;
}

#log_list li:hover {
	background-color: #eee;	
}

.log_date {
	font-style: italic;
	color: green;
	margin-right:20px;
}

#admin_menu .title {
	font-style: italic;
	color: #ccc;
	font-siize: 100%;
	margin-top:15px;
}




.user_mini {
    height: 55px;
    vertical-align: top;
    margin: 0px 10px 5px 175px;
    border: 1px solid #EFEFEF;
    width: 300px;
    padding: 10px;
}

.user_mini img {
    margin: 5px;
}

#box-overlay {
    background-color:#000; cursor:wait;
}

#user-box a.modal-close,
#user-box a.modal-close:link,
#user-box a.modal-close:active,
#user-box a.modal-close:visited {color:#999; font-size:18px; font-weight:bold; position:absolute; text-decoration:none; right:8px; top:0px;}
#user-box a.modal-close:hover {color:#ccc;}

#user-box {
    min-height:300px;
    height:auto;  /* Для растягивания по высоте */
 
    width:400px;

    left:50%; /*в купе с margin-left, которая равна минус половине ширины центруют по горизонтали*/

    top:50%;  /*центрует по вертикали, вместе с margin-top, если задать высоту*/

    margin-left:-150px;

    /* margin-top: -70px; */

    background-color:#fff;

    border:3px solid #ccc;

    padding: 20px;

}


/******************************   Documents edit *****************************/


#edit_doc_list {
    list-style-type: none;
    padding: 0px;
    margin:  0px;
}



.edit-doc_left_block {
    float: left;
    width:20px;
    padding: 15px;
}

.edit-doc_main_block {
    float: left;
    width:300px;
}

.edit-doc_right_block {
    float: right;
    padding: 15px;
    width:70px;
    visibility: hidden;
}
.edit-doc_center_block {
    float: right;
    padding: 15px;
    text-align: center;
    width:80px;
}


.sortable_doc_item {
    background-color: white;
    clear:both;
    margin: 5px;
    min-height:60px;
}

.sortable_doc_item:hover .edit-doc_right_block {
    visibility: visible;
}

