html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
menu, article, section, nav, footer, figure, var {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	font-weight:normal;
}
article, aside, details, figcaption, figure,
footer, header, menu, nav, section{
  display:block;
}
body {
	background-color: #EBEBEB;
}

ol, ul, menu{
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

:focus {
	outline: 0;
}

ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
html {
	overflow-y: scroll;
	font-size: 100.01%;
}
b, strong {
font-weight:bold;
}
button:hover {
cursor:pointer;
}
a {
text-decoration:underline;
}
a:hover {
text-decoration:none;
}
var {
font-style:normal;
}
@font-face {
    font-family: HeadlineBlack;
    src: local("VWHeadlineOT-Black.ttf"),
         url('/fonts/VWHeadlineOT-Black.ttf')
}
/*Add new font
@font-face {
    font-family: ;
    src: local(""),
         url('')
}
*/
/*
Usage of border-radius
border-radius: px;
-moz-border-radius: px;
-webkit-border-radius: px;
-khtml-border-radius: px;
behavior: url('/css/PIE.htc');
*/

/*
Usage of box-shadow
-webkit-box-shadow: 0px 0px 0px #;
-moz-box-shadow: 0px 0px 0px #;
box-shadow: 0px 0px 0px #;
behavior: url('/css/PIE.htc');
*/
/*
IE 7 HACK
*:first-child+html {
}
*/
/*
Site prefix
a- ajax
b- block
с- column 
d- data
g- global
j- javascript
k- keeper
l- layouts
r- reset
*/
body {
font-family: Arial,Tahoma,Verdana;
font-size: 12px;
}
p {
font-family: Arial,Tahoma,Verdana;
color: #1b1b1b;
font-size: 12px;
line-height: 16px;
}
a {
font-family: Arial,Tahoma,Verdana;
color: #1b1b1b;
}
a:hover {
text-decoration: none;
}
h1 {
    font-size: 11pt;
    font-weight: bold;
}
h2{
font-size:20px;
}
h3 {
font-size:18px;
text-align:center;
}
h4 {
font-size:16px;
}
h5 {
font-size:14px;
}
h6 {
font-size:12px;
}

/**
* Global
*/
.g-clear_fix {
clear: both;
}
.g-visible {
display: block;
}
.g-hidden {
display: none;
}
.g-styles {
padding: 0 16px;
}
.g-styles img {
margin: 0 10px 5px 0px;
}
.g-styles p, .g-styles a, .g-styles {
color: #1b1b1b;
font-size: 12px;
line-height: 18px;
}
.g-styles p {
margin: 0 0 12px;
text-align: justify;
}
.g-styles ul, .g-styles ol {
list-style-position: inside;
margin: 0 0 12px 0;
}
.g-styles ul {
list-style-type: disc;
}
.g-styles ol {
list-style-type: decimal;
}
.g-container {
margin: auto;
position: relative;
max-width:1350px;
min-width: 800px;
/*width: 980px;*/
	/*width:auto;*/
}
/*Header*/

.g-header {
background-image: url("data:image/gif;base64,R0lGODlhAQAVAMQAABkzajpTiiZAd0ZgljNNg1BqoB86cUNdk1dwpixHfTZQh01nnRw3bT1XjSlDekpjmlRtowAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAHAP8ALAAAAAABABUAAAUSIAIVyzMcRxMoBJE4gmAwABACADs=");
padding: 3px 1%;
}
.g-header p {
font-size: 12px;
text-align: right;
color: #fff;
}
.g-header p a {
color: #F00000;
	text-decoration: none;
}
.g-header p a:hover {
text-decoration: underline;
}
/*
 * Main menu
 */
.g-main_menu {

}
.g-main_menu ul {
    border-bottom: 3px solid #5972A8;
    background: #142F66;
    text-align: left;
    position: relative;
    overflow: hidden;
    display: block;
    padding: 0 5px 1%;
	height: 60px;
}
.g-main_menu ul li {
background: url("data:image/gif;base64,R0lGODlhBwAHAJEAAP///////////wAAACH5BAEHAAIALAAAAAAHAAcAAAIKFIRpmserXGMSFQA7") no-repeat 0 9px;
display: inline-block;
zoom: 1;
*display: inline;
padding: 5px 6px;
background-position: 0px 10px;
overflow: hidden;
float: left;
}

.g-main_menu ul li a {
color: #fff;
font-size: 13px;
text-decoration: none;
}
.g-main_menu ul li.main_menu_active a {
color: #FFFF99;
}
.g-main_menu ul li a:hover {
text-decoration: underline;
}
.g-main_menu ul li ul {
display: none;
background: #405A90;
border: none;

}
.g-main_menu ul li.main_menu_active {
background: url("data:image/gif;base64,R0lGODlhBwAHAJEAAP///////////wAAACH5BAEHAAIALAAAAAAHAAcAAAIKlI8IuWsuGkupAAA7") no-repeat 0 9px;
#min-height: 37px;
}

.g-main_menu ul li.main_menu_active ul {
display: block;
position: absolute;
bottom: -4px;
width: 104%;
text-align: left;
left: 0px;
/* padding:0 2%; */
border-top: 2px solid #5972A8;
top: 52px;
}
.g-main_menu ul li ul li {
border-right: 1px solid #5972A8;
background: none;
}
.g-main_menu ul li.main_menu_active ul li.main_menu_active {
min-height: 0px;
}
.g-main_menu ul li ul li a {
font-size: 12px;
}
.g-main_menu ul li.main_menu_active ul li a {
color: #fff;
}
.g-main_menu ul li.main_menu_active ul li.main_menu_active a{
color: #FFFF99;
}
/*
* Content
*/
.g-content {
width: 97.1%;
padding: 10px 1%;
margin: 10px auto;
background-color: #fff;
}
/*
 * Rooms
 */
.b-file_uploader {

}
.b-admin_images {
	width: 100%;
	float: left;
}
.b-admin_images li {
display: inline-block;
margin: 0 15px 15px;
text-align: center;
zoom:1;
*display: inline;
}
.b-admin_images li a {
font-size: 14px;
}
.b-admin_images li img {
padding: 1px;
border: 1px solid silver;
width: 150px;
}
.b-admin_images li img:hover {
padding: 1px;
border: 1px solid #111;
}
/*
 * Архив
 */
div.b-archive {
text-align: center;
}
.b-archive .row label {
margin: 0 0 10px 0;
font-size: 15px;
}

/*
* Форма для объектов
*/
.b-obj_form {
border: 1px solid #B8D3F5;
box-shadow: 0 0 0 1px #FFFFFF;
margin-bottom: 10px;
padding: 10px;
background-color: #DAF2FF;
border-radius: 9px 9px 9px 9px;
text-align: center;
}
.c-obj_form {  display: inline-block;  vertical-align: top;  width: 35%;  }
.c-form_left {  width: 64%;  }
.b-obj_form span.required {  color: #FF0000;  }

.b-obj_form label {
border-right: 1px solid #ADADAD;
font-size: 12px;
width: 49%;
vertical-align: middle;
display: inline-block;
zoom: 1;
*display: inline;
}
.b-obj_form label, .b-obj_form .l-form_base_labels{
	margin: 0 3% 0 0;
	padding: 0 2% 0 0;
	width: 45%;
	max-width: 169px;
	text-align: right;
}

.b-metro-line label {
}
.b-obj_form .row {
    margin: 0px;
    text-align: justify;
    /*overflow:hidden;*/
    padding: 2px 0;
}
.b-obj_form fieldset {
	border-radius: 5px;
	margin: 1px 1%;
	border: 1px solid #B8D3F5;
	box-shadow: 0 0 0 1px #FFF;
	padding: 0px 3% 8px 3%;
	display: block;
	vertical-align: top;
}
.b-obj_form fieldset legend {
	background: #0B8AD1;
	padding: 0 10px;
	text-align: left;
	color: #FFF;
	border-radius: 4px;
	border: 1px solid #E8E5F5;
	font-size: 11px;
}
.b-obj_form select{
	width: 46%;
	/*max-width: 125px;*/
	vertical-align: middle;
	border: 1px solid #DADADA;
	font-size: 12px;
}
.b-obj_form input[type="text"], .b-obj_form input {
	margin: 0px 0px;
	height: 11px;
	width: 73px;
	vertical-align: middle;
}
.b-obj_form .l-form_three_inputs input {
}
.b-obj_form .l-form_two_inputs input {
width: 73px;
}
.b-obj_form .checkbox input {  width: auto;  }
.b-obj_form textarea {
	width: 98%;
	background-color: #FFFFFF;
	border-radius: 4px 4px 4px 4px;
	border: 1px solid #BDBDBD; 
	height: 52px;
}
.b-obj_form .b-form_info label {
display: block;
border: none;
text-align: center;
width: auto;
}
.b-obj_form .buttons {
text-align: center;
}
.b-obj_form .buttons .submit, .b-obj_form .buttons .reset {
font-size: 16px;
}
.b-obj_form .buttons .submit span, .b-obj_form .buttons .reset span{
padding: 14px 4.5em;
}
.b-obj_form .errorMessage {
color: #FF0000;
text-align: right;
font-size: 12px;
line-height: 16px;
}
.b-obj_form label.error {
color: #FF0000;
}
.b-obj_form p.hint {
text-align: left;

}
/*
 * Лейауты полей для формы с объектами
 */
.b-obj_form .l-form_three_fields label  {
border: 0px;
float: none;
min-width: 0px;
padding: 0px;
margin: 0px;
width: auto;
display: inline-block;
zoom: 1;
*display:inline;
}
.b-obj_form .l-form_base_labels span.separator {
margin: 3px;
*display:inline;
}
.b-obj_form .l-form_base_inputs span.separator {
font-size: 17px;
line-height: 19px;
padding:0 5px;
vertical-align: middle;
}
.b-obj_form .l-form_base_labels {
border-right: 1px solid #ADADAD;
}
.b-obj_form .l-form_base_inputs, .b-obj_form .l-form_base_labels {
vertical-align: middle;	
/*width: 50%;*/
display: inline-block;
zoom: 1;
*display:inline;
}

/*
* Layouts
*/
.l-align_center {
text-align: center;
}
.l-title {
}

#content
{
    padding: 20px 51px;
}

#footer
{
	padding: 10px;
	margin: 10px 20px;
	font-size: 0.8em;
	text-align: center;
	border-top: 1px solid #C9E0ED;
}

#logo
{
	padding: 10px 20px;
	font-size: 200%;
}

.list-label{
	display: block;
	overflow: hidden;
	float: left;
	text-align: left;
	padding: 7px 0;
	font-weight: normal;
}
div.form .row.list-label label{
	width: 39px;
	margin: 0;
	text-align: left;
	font-weight: normal;
}
.search-form{
	padding:0 15px;
}
.flats-list{
	color:green;
}
.rooms-list{
	color:rgb(80, 65, 65);
}
.comm-list{
	color:blue;
}
.unselectable {
    -moz-user-select: none; /* for FireFox */
    -webkit-user-select: none; /* for Chrome and Safari */
    -khtml-user-select: none; /* probably old webkit browsers, but new support it too */
    user-select: none; /* for future CSS3 compliant browsers */
}
/* Текст внутри формы редактирования объекта, если реактирование данного поля запрещено*/
.form-def-text,.form-def-distr,.form-def-metro{
    text-align: left;
    font-size: 15px;
    overflow: hidden;
    padding: 0 28px;
}
.input-field-box{
	overflow: hidden;
	background: #fff;
	float: left;
	margin: 0 9px;
	border: 1px solid rgb(162, 162, 162);
	border-radius: 3px;
}
.items a{
	font-size: 100%;
}
#Comm_garage-first, #Comm_garage_type, #Comm_garage_box_type, #Comm_garage_status{
	display: none;
}
/*
 * Вывод чекбоксов в столбик
 */
.b-checkbox_column_wrap label {
vertical-align: top;
}
.b-checkbox_column {
display: inline-block;
vertical-align: middle;
}
.b-checkbox_column input {
min-width: 0px;
width: auto;
display: inline-block;
vertical-align: middle;
}
.b-checkbox_column label, .b-comm_use .b-checkbox_column label {
	line-height: 17px;
	margin: 0px 0 0 7px;
	min-width: 0;
	display: inline-block;
	vertical-align: middle;
	border: 0;
	height: auto;
	text-align: left;
	padding-right: 0px;
}
.b-comm_use {  margin: 0 auto !important; width: 250px; margin-top: 15px !important; margin-bottom: 15px !important; }
.b-comm_use .b-checkbox_column { margin: 5px 0 0 15px; }
.row_comm_use .b-checkbox_column { width: 110px; }

.c-obj_row {  float: left;  width: 50%;  }

.b-comm_left{
}
.b-comm_right {  margin: 0 0 0 4%; width: 45%;  }

.b-comm_radio {  float: left;  width: 228px;  margin: 0 0 0 24px;  }
.b-comm_radio input {
float: left;
    margin: 4px 7px 0 0;
    width: auto;
}
.b-comm_radio label {
line-height: 20px;
    text-align: left;
    width: auto;
border: none;
}

.b-area_years {
float: left;
width: 68px;
margin: 0;
padding: 0;
}


.b-area_years input {

}
.b-comm_use label {
display: block;
border: none;
text-align: left;
min-width: 200px;
width: auto !important;

}

.b-living {
margin: 5px 0 5px 51%;
}
.b-obj_form .c-obj_row .l-form_base_inputs, .b-obj_form .c-obj_row .l-form_base_labels {
width: 46%;
}
.b-obj_form .c-obj_row .l-form_two_inputs input {
width: 50px;
}
/*
 * Farms 
 */
.b-farms_wrap {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    zoom:1;
    *display: inline;
    text-align: left;
}
.win_adv {
	width: 32px;
	height: 15px;
	border: 2px solid black;
	margin: 4px 8px 2px 0px;
	text-align: center;
}

.c-left { width: 45%; float: left; }
.c-right { width: 55%; float: left; }

.qq-upload-button:hover {
	background: #dde1e7;
	cursor: pointer;
}
#Rooms_ramp{
	width: auto;
}
#Farms_gabar, #Farms_gabar_ext{
	width: 31px !important;
}
#Flats_id_stove_plate {
	width: 132px !important;
}
#Flats_brockerage{
	width:36px !important;
}
#Flats_reward, #Rooms_reward, #Farms_reward{
	width: 75px !important;
}
.reward label{
	margin-left: -3px;
}
label[for="Flats_reward"]{
	margin-left: 0 !important;
}

#Flats_reward_id,#Rooms_reward_id, #Farms_reward_id{
	width:66px !important;
}
.comment-agent{
	max-width: 100% !important;
	text-align:left !important;
	padding-left: 5px !important;
}
#Farms_cadastral_number{
	width: 125px !important;
}
.id_road{
	margin-top: 31px !important;
}
.security_farms{
	margin-bottom: 31px !important;
}
.id_head{
	margin-top: 22px !important;
}
div.check_status {
    font-size: 10px !important;
    font-weight: bold !important;
    color:#4477a1;
}
div.check_arh {
	font-size: 10px !important;
	font-weight: bold !important;
	color:green;
}
div.cat_obj {
	font-size: 10px !important;
	font-weight: bold !important;
	color:red;
}
.pink{
	background: pink;
}
table.table_removal, table.table_removal>tr, table.table_removal>tr>td, table.table_removal>tr>th{
	border: 1px solid black;
	padding: 10px;
}
table.table_removal>tr>th{
	font-weight: bold;
	background: darkgray;
	font-size: 18px;
	padding: 5px;
}
table.table_removal>tr>td{
	font-size: 18px;
	padding: 5px;
}
table.table_removal>tr>td a, table.table_removal>tr>td a:hover{
	color: black;
	font-size: 18px;
	padding: 5px;
}
.input_removal_comment, .input_removal_id_sdelka{
	margin-top: 50px;
}
.display-non{
	display: none;
}
.grid-view table.items tr{
	border-bottom: 1px solid #525252;
}
#base-grid table.items tr {
	border-bottom: 2px solid #525252;
}

p.text_new {
	font-family: Arial,Tahoma,Verdana;
	font-size: 15px;
	line-height: 34px;
	text-transform: uppercase;
	font-weight: 600;
	color: red;
	margin-top: 12px;
	text-align: center;
	margin-bottom: -30px;
}
#Clients_id_client_type{
	width: 46% !important;
	margin-right: 11px;
}
.agent-field_new {
	width: 144px !important;
}
.text_phone_new{
	width: 400px !important;
}
#conditions_mediator input[type="text"]{
	width: 150px;
}
#conditions_mediator{
	display: none;
}
.b-form_cost_comm #mediator span.required, .b-form_cost_comm #conditions_mediator span.required{
	background-color: transparent;
	color: #FF0000;
	width: 2px;
}
.b-form_cost_comm #mediator label{
	margin: 0 3% 0 0;
	padding: 0 2% 0 0;
	width: 23%;
	max-width: 169px;
	text-align: left;
}
.b-form_cost_comm #conditions_mediator label{
	margin: 0 3% 0 0;
	padding: 0 2% 0 0;
	width: 40%;
	max-width: 169px;
	text-align: left;
}
label[for=Comm_id_nalog]{
	margin: 3px 1% 0 0;
	padding: 0 2% 0 0;
	width: 13% !important;
	max-width: 169px;
	text-align: left !important;
	float: left;
}
select#Comm_id_nalog{
	width: 84%;
	margin-top: 1px;
}