.search_block {
    /*  margin: 0 0 20px;*/
}
.search_tabs_repeat {
    /*    background-color: #363636;
        border-bottom: 1px solid #2380AF;
        height: 39px;*/
    font-size: 14px;
}
.search_tabs_left:before,.search_tabs_left:after{
    content: "";
    display: table;
    line-height: 0;
}
.search_tabs_left:after{
    clear: both;
}
.search_tabs_left {
    border: medium none;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    min-height: 32px;
    padding: 5px 5px 0 10px;
    background-color: #363636;
    background-image: linear-gradient(to bottom, #444444, #222222);
    background-repeat: repeat-x;    
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.067);    
}
.search_tabs_left .container {
    width: auto;
}

.search_block_out {
    background: none repeat scroll 0 0 #F5F5F5;
    /**/
    min-height: 200px;
    
    padding: 0 0 20px 11px;
}
/*@media (min-width:741px) {
    .search_block_out{
        max-height: 305px;
    }
}*/
@media (max-width:740px) {
.search_block_out{
    max-height: none;
/*    height: 100% !important;*/
}

}
/*
.nav_top_filter_tab .border_block{     
    padding:0 0 0 7px;  
}*/

.nav_top_filter_tab {
    width:18.5% !important;
}
.region_box {
  max-height: 260px;
  overflow: auto;
  position: relative;
}

.tabs_list {
    /*padding: 8px 0 0 10px;*/
    display: block;
    float: left;
    left: 0;
    margin: 0 10px 0 0;
    position: relative;
}
.tabs_list >li{
    float: left;
    font-weight: bold;    
}
.tabs_list li:hover, 
.tabs_list li.active_tab
/*,.tabs_list li.active_tab a*/  {
    /*  background: url("../images/afy_filter/tabs-active-l.gif") no-repeat scroll left top rgba(0, 0, 0, 0);*/
    background-color: #C4500F;
    color: white;
    text-shadow: 0 1px 0 #000;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;


    height: 31px;
}
.tabs_list li.active_tab {
    /*font-weight: bold;    */
}

.tabs_list li {
    cursor: pointer;
    float: left;
    list-style: none outside none;
    margin-right: 3px;
    position: relative;
    text-align: center;
    top: 1px;
    width: auto;
    text-shadow: 0 1px #000000, 0 0 0.2em rgba(0, 0, 0, 0.7);
}
.tabs_list li a {
    /*background: url("../images/afy_filter/link_underline.gif") repeat-x scroll center bottom rgba(0, 0, 0, 0);*/
    color: #FFFFFF;
    display: block;
    font-size: 13px;
    margin: 0 12px;
    padding: 3px 0 0 !important;
    text-decoration: none;
    text-shadow: 0 1px #000000, 0 0 0.2em rgba(0, 0, 0, 0.7);
}

/*.filter_tab .border_block,
.nav_top_filter_tab .border_block{     
    max-height: 305px;
}*/
.col_pad.region_block.border_block {
/*    height: 305px;*/
    /*overflow: auto;*/
    margin-right: 3px;
}

.col_pad region_block
{
    font-size: 12px;
}
#nav_top li.active a{
    background-color: #C4500F;
    color: white;
    text-shadow: 0 1px 0 #000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-weight: bold;
    padding: 3px 7px 2px;
    text-decoration: none;
}
#nav_top li a span {  
    border-bottom: 1px dashed #C4500F;    
    font-size: 12px;
    margin: 0 0 2px !important;
    padding: 2px 0 0 !important;  
}
#nav_top li a:hover{
    text-decoration: none;
}
#nav_top li a:hover span{
    border-bottom: none;
}
#nav_top h5{
    font-size: 12px;
}
#nav_top ul{
    margin-left: 0;
    position: relative;
}
/*#nav_top ul li{
    margin-bottom: 3px;
}*/
.mdash {
    font-size: 25px;
}
/*#nav_top .last_td{
    margin-left: 0;
}*/
.up,.s_title{
    margin-bottom: 5px;
}
.col_pad.span6.last_td,.col_pad.span8.last_td {
    margin-left: 4px;/*1px*/
    /*width: 53%;*/
}

.span0{
    float: left;
display: block;
width: 10%;
}

.block_1.span5,
.block_4.span6 {
    margin-left: 0;
}
.last_td .input_1,.last_td .input_2 {
    width: 49px;
    font-size: 12px;
}
.block_2.span6{
    width: 59%;
    margin-left: 3px;
}
.block_2.span6 > ul {
   /* width: 100%;
    float: left;*/
}
.block_2.span6 li >input{
    /*float: left;  
    margin-right:3px;
    margin-bottom: 0.4em;*/
}
.block_2.span9 li{
    /*width: 11%;*/
    float: left;    
}
/*.block_2.span6 li label{
    font-size: 12px;
}*/
.room_check .checkbox{
    padding-left: 17px;
}
.room_check .checkbox input{
    margin-left: -12px;
}




.block_2.span6 li:last-child{
    /*width: 29%;*/
}
.block_2.span6 li:nth-child(5){
    /*width: 15.7%;*/
}
/*.block_2.span6 p,.block_3 p,.block_4 p{
    margin-bottom: 10px;
}*/
/*.block_3.span9 .span4{
    height: auto;
}*/
.select2-container.sel.span4.chzn-select {
    display: inline-block;
    float: none;
    /*margin-left: 10px;*/
}
.noAvalible {
    background: none repeat scroll 0 0 #DDDDDD;
    display: none;
}

.nav4 li.active .obj_num {
    display: block;
}
.inactive_block_content {
    display: none;
}
.obj_num {
    /*background: url("../images/afy_filter/arrow_3.gif") no-repeat scroll left top rgba(0, 0, 0, 0);*/
    color: #696969;
    display: none;
    font-size: 11px;
    /*margin: 4px 0 0 7px;*/
    margin-right: 7px;
    padding: 0 0 0 15px;
    position: relative;
}

.filter_search {
    /*background: url("../images/afy_filter/search_adv_top.gif") repeat-x scroll center top #E1EAF2;*/  
    border-bottom: 1px solid #C1C5C8;
    border-top: 1px solid #FFFFFF;
    position: relative;
    width: 100%;
    background: #eee;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
    background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
    background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
    background-image: -o-linear-gradient(bottom, #ccc 0%, #eee 60%);
    background-image: -ms-linear-gradient(top, #cccccc 0%, #eeeeee 60%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
    background-image: linear-gradient(top, #cccccc 0%, #eeeeee 60%);
    -webkit-border-radius:  0 0 5px 5px;
    -moz-border-radius:  0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}
.filter_in {
    /*background: url("../images/afy_filter/search_adv_right.gif") no-repeat scroll right bottom rgba(0, 0, 0, 0);*/
    padding: 9px 10px 11px 12px;
    position: relative;  
    width: 97.8%;
}
.butn_show_left.pan7,.butn_show_left.pan6{
    float: right;
    text-align: right;
    /*width: 59%;/*80*/
    margin-right: 5px;
}
/*.lab_style {
  float: left;
}*/
.label_out.span5 {
  margin-left: 0;
  width:36%;
  padding-top: 5px;
    float: right;
}
span.type-name-filter {
    /*background: url("../images/afy_filter/link_underline_2.gif") repeat-x scroll center bottom rgba(0, 0, 0, 0);
    */
    cursor: pointer;
    border-bottom: 1px dashed #C4500F;
    color: #C4500F;
    /* font-size: 11px;*/
}
/*.adv_r.span5 {
    margin-left: 15px;
}*/
.search_block .input {
    display: table;
    float: left;
    vertical-align: middle;
    padding:0 3px;
}
.search_block .input>input{
    margin:0;
}
/*.butn_show_right,*/
#SendFilterButton{
    background-color: #363636;
    background-image: linear-gradient(to bottom, #444444, #222222);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    padding: 4px 12px;
    text-align: center;    
    vertical-align: middle;
}
.label_out.span6 {
    padding-top: 4px;
}
#filter_toogle b {
    background: url("../images/select2.png") no-repeat scroll center top rgba(0, 0, 0, 0);
    display: block;
    height: 100%;
    width: 100%;
}
#filter_toogle/*adv_link.span7 > div*/ {
    /*height: 100%;
    left: 102px;
    position: absolute;
    top: 0;
    width: 18px;
    vertical-align: middle;
    display: table;*/
    /*display: block;
      top: 9px;
      vertical-align: middle;*/   
    width: 18px;
    height: 16px;
    display: inline-block;
}
.col_pad.span2 {
    margin-left: 10px;
}
/*tab3*/
#s2id_sq_select_type{
    /*margin-left: 10px;*/
    width:5.8em;
}
/*.col_pad.last_td.span9 {
    margin-left: 10px;
}*/


#category_earth_select,
#s2id_category_earth, 
/*#category_earth_select.span11,*/
#tabs_content3 .span9,
#tabs_content3 .span9 div
{
    margin-left:0;
}
#tabs_content1 input,#tabs_content3 input,#tabs_content4 input,#tabs_content5 input{
margin-bottom: 5px;
}
/*#tabs_content3 p,#tabs_content5 p{
    margin-bottom: 10px;
}*/
/*#tabs_content3 .select2-container{
    margin-left: 10px;
}*/
.chzn-select.span4{
    height: auto;
    max-width: 43%;/*50*/
    top: 1px;
}
.last_td [class*="span"]{
    margin-left:0;
}
/*.last_td [class*="span"]:first-child{
    margin-left:10px;
}*/
.form5_business_type{
        -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    -webkit-background-clip: padding-box;
       -moz-background-clip: padding;
            background-clip: padding-box;

    background-color: #fff;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eeeeee), color-stop(0.5, white));
    background-image: -webkit-linear-gradient(center bottom, #eeeeee 0%, white 50%);
    background-image: -moz-linear-gradient(center bottom, #eeeeee 0%, white 50%);
    background-image: -o-linear-gradient(bottom, #eeeeee 0%, #ffffff 50%);
    background-image: -ms-linear-gradient(top, #ffffff 0%, #eeeeee 50%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
    background-image: linear-gradient(top, #ffffff 0%, #eeeeee 50%);
    border: 1px solid #AAAAAA;    
    color: #444444;
    display: block;
/*    height: 310px;*/
    max-width: 97%;/*80%*/
    line-height: 26px;
    overflow: auto;
    padding: 0 0 0 8px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}
#div_selcat li {
  clear: left;
  float: left;
}
label {
  font-size: 12px;
}
#nav_top {
    font-size: 12px;
}
/*#s2id_category_earth {
    margin-left:0;
}*/
/*#price.select2-container{
    margin-left: 10px;
}*/
/*.filter_tab p
{
    color:#696969;
    font-size:11px;
    margin-bottom:5px;
}

.form2_include_box
{
    width:190px; 
    padding: 5px;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
}

.form5_business_type
{
    width:200px; 
    padding: 5px;
    height: 135px;//добавлено        
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #C3C3C3;
    font-size: 11px;
    overflow: auto;    
}*/

@media  (max-width: 767px) {
      .nav_top_filter_tab,.col_pad.span2.border_block.td_2,.col_pad.span2.border_block.td_3,.col_pad.span6.last_td,.col_pad.last_td.span8,.col_pad.last_td.span9{
  float:left !important;  
  }
  #s2id_tab3_cost_type,#s2id_tab1_cost_type,#s2id_tab4_cost_type,#s2id_tab5_cost_type,#s2id_cost_type{
      width: 8em !important;
  }
  .form5_business_type{
    width: 65%;
}
}

@media (min-width:481px) and (max-width: 767px) {

  .col_pad.span2.border_block.td_2{
      width:13% !important;
  }
  .col_pad.span2.border_block.td_3{
      width: 15% !important;
  }
  .col_pad.span6.last_td{
      width: 50% !important;
  }
  .col_pad.last_td.span8{
      width: 60% !important;
  }
  .col_pad.last_td.span9{
      width: 70% !important;
  }
    .block_percent {
 clear:both;
}
.block_business{
 float:left !important;
}
  
}
@media  (max-width: 480px) {
    .nav_top_filter_tab{
        width:95% !important;
    }
    .col_pad.region_block.border_block{
        height:auto !important;
    }
    .col_pad.last_td.span8{
        margin: 0 !important;
    }
  .col_pad.span2.border_block.td_2{
      width:25% !important;
  }
  .col_pad.span2.border_block.td_3{
      width: 25% !important;
  }
  .tabs_list li.active_tab,.tabs_list li,.tabs_list li:hover{
      height:auto !important;
      top:0 !important;
  }
  .block_percent {
 clear:both;
}
.block_business{
 float:left !important;
}
  
  .right {
 float: none !important;
}

  /*.col_pad.span6.last_td{
      width: 50% !important;
  }*/
}
.house_descrip {
/*margin: 21px 0 0;*/
/*display: inline-block;*/
clear: both;
}

.house_descrip table {
/*margin: 9px 0 21px;*/
width: 100%;
}

td.grey_text {
/* color: #696969; */
/*padding: 15px 20px 0 0;*/
padding: 0 20px 0 0;
width: 150px;
}

.tab4_params_block4 .select2-container.sel.chzn-select.span5{
      display: inline-block;
      float: none;  
      top: 1px;
      max-width: 47%;
    }

    .filter-view-type ul li.active a:hover {
  background-color: #C4500F;
}
.filter-view-type ul li.active a {
  background-color: #C4500F;
}
.filter-view-type ul li a{
    width:26px !important;
    height:26px !important;
}
.filter_link.span4{height: auto;}

.filter_str_input {
    float: right;
    height: 20px !important;
    margin-right: 3%;
    margin-top: 5px;
    padding-left: 5px !important;
    text-align: left;
    width: 97% !important;
}

.is_newbuilding_block
{
    margin-left: 10px;
}