/*сброс общих стилей*/
@media (max-width: 1023px) {
    body {
        width: 95%;
        margin: 0 auto;
    }
    #wrapper,
    #header,
    #header .left,
    #header .right,
    #header .logo,
    #main,
    .menu-wrap,
    .main_menu_line,
    #footer,
    #footer div,
    #gallery .clip,
    #gallery .album,
    #gallery .album ul,
    #main .collapse,
    [class*="col-"]{
        width: 100% !important;
        box-sizing: border-box;
    }
    #advanced_block {
	display:none;
    }
    #header,
    #gallery {
         height: auto;
    }

    #header .right {
        text-align: center;
    }
    #header .logo {
        margin: 12px 0 0 0;
    }
    #header {
        position: static;
        padding-bottom: 25px;
    }
    .main_menu_line, .menu-wrap {
        position: static;
        margin-top: 0;
    }
    #content {
        padding-top: 0;
    }
    #gallery .pblock,
    #gallery .clip,
    .news_container .list {
        display: none !important;
    }
    #gallery .eco {
        position: static;
        margin: 0 auto;
    }
    img {
        max-width: 100%;
        box-sizing: border-box;
    }


    .section-1-right-text {
        font-size: 58px;
    }
    .section-1-right-text span {
        font-size: 47px;
    }
    .section-2-left {
        right: 57%;
    }
    .table-cell {
        table-layout: fixed;
        width: 50%;
    }
    .feedback-form .half {
        float: none;
        width: 80%;
        margin: 20px auto;
    }
    .feedback-form-left {
        padding-left: 0;
    }
    .footer-item {
        width: 50%;
    }


    .extra_list {
        margin-left: 80px;
        margin-right: 80px;
    }
    .hot_bo {
        height: auto !important;
    }
    .hot_bo img {
        display: none;
    }
    .obertka_chasov{
        margin: 0 auto;
        position: static !important;
        margin-bottom: 20px;
    }
    .right_aktsiya {
        float: none !important;
        width: 100% !important;
    }
    .aktsiya_title,
    .aktsiya_content {
        text-align: center !important;
    }
    .sut_aktsii_pos{
        margin: 0 auto !important;
        position: static !important;
    }
    .jcarousel-item {
        position: relative !important;
        padding-bottom: 100px !important;
        background-color: #e6e6e6;
        box-sizing: border-box;
    }
    #next_ext_aktsiya {
        margin-left: 0;
        right: 0;
    }
    .aktsiya_content ul {
        padding: 15px 35px 20px !important;
    }
    .aktsiya_content ul {
        margin: 0 auto;
        display: inline-block;
        text-align: left;
    }
    .aktsiya_content, .aktsiya_content a {
        display: block;
        text-align: center !important;
    }
    .aktsiya_btn {
        position: absolute;
        margin-top: 0 !important;
        margin-left: 0 !important;
        bottom: 0;
        text-align: center;
        width: 100% !important;
    }
    .aktsiya_btn button {
        font-size: 16px !important;
        width: 210px !important;
        height: 52px !important;
    }
    .sut_val {
        font-size: 26px !important;
    }

}

/*телефоны*/
@media (max-width: 767px) {
    .container {
        min-width: 0;
        max-width: none;
        margin: 0;
    }
    .flLeft {
        float: none;
    }
    .news_list td,
    .list_by_columns td,
    .news_list2 td,
    .news_list2 {
        width: 100%;
        display: block;
        padding: 0;
        margin: 0 0 30px;
        box-sizing: border-box;
    }
    .news_list .date,
    .news_container .news .date,
    .news_container .list h3,
    .okruzheniye_conainer h3,
    .okruzheniye_conainer h2,
    .pagetitle,
    .list_by_columns h3,
    .spisok_v_tri_stolba h2,
    .news_list2 .date,
    .settlements_filters .filter .name,
    .genplan .text h3 {
        padding: 0 0 10px 23px !important;
        text-align: left;
    }
    .map__title {
    font-size: 11px;
    font-weight: 600;
    padding: 7px 40px 6px;

    }
    #bread_crumbs {
        padding: 10px 0 11px 0;
    }
    #bread_crumbs li {
        display: inline;
        float: none;
    }
    #gallery {
        position: relative;
    }
    .formTable table {
        width: 100%;
        box-sizing: border-box;
    }
    .formTable td {
        display: block;
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    body.with_gallery #content {
        padding-bottom: 0;
    }
    body.with_footer #content {
        padding-bottom: 0;
    }
    #footer {
        margin: 0 auto 0;
        height: auto;
    }
    #footer img {
        float:  none !important;
        display: block;
        margin-bottom: 15px;
    }
    [id*="ymaps-map-id"] {
        width: 100% !important;
        box-sizing: border-box;
        height: 300px !important;
    }
    .ymaps-map {
        width: 100% !important;
        height: 300px !important;
    }
    [style*="margin-top:150px"] {
        margin-top: 0 !important;
    }
    [style*="width:640px;"],
    [style*="width:300px"],
    [style*="width: 640px;"],
    [style*="width: 300px"],
    [style*="width: 560px"]  {
        width: 100% !important;
        box-sizing: border-box;
        float: none;
        height: auto !important;
    }
    .extra_list {
        width: 100%;
        height: auto;
        margin-left: 0 !important;
    }
    .jcarousel-container {
        height: auto;
        width: 100%;
    }
    .hot_bo {
        width: 100%;
        height: auto;
    }
    #prev_ext_aktsiya, #next_ext_aktsiya {
        margin: -348px 0 0 0 !important;
    }
    #prev_ext_aktsiya {
        left: 6% !important;
    }
    #next_ext_aktsiya {
        right: 6% !important;
    }
    form.search {
        padding-bottom: 0 !important;
        margin-bottom: 30px !important;
    }
    form.search [class*="block"] {
        width: 100%;
        margin-left: 0;
        float: none;
        box-sizing: border-box;
    }
    .formTable input[type=text], .formTable input[type=email],
    .formTable textarea {
        width: 100%;
        box-sizing: border-box;
    }
    .formTable input[type=submit] {
        position: static !important;
        margin-top: 25px;
    }
    .formTable label {
        position: absolute;
        top: -15px;
    }
    .formTable .holdMsg label {
        height: auto;
        width: auto;
        box-sizing: border-box;
    }
    .holdInput {
       /* z-index: -1;*/
        padding-top: 22px;
    }
    .search .filter ul li {
        width: 100%;
        box-sizing: border-box;
    }
    .holdBtns  {
        width: 100% !important;
        margin-left: 0 !important;
        position: static !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    .search div.clear,
    .search div.search {
        width: 100%;
        height: 62px;
        margin: 0 0 10px;
    }
    .settlement .description {
        width: 100%;
        float: none;
    }
    .search #settlements {
        width: 222px;
        float: none;
    }
    .search .filter {
        width: 100%;
        float: none;
        display: block;
        margin-right: 0;
        box-sizing: border-box;
    }
   /* body.main .main_menu_line {
        display: block !important;
    }*/
    #main .columns div,
    #main .columns div:nth-child(2){
        width: 100%;
        float: none;
        margin: 0;
        box-sizing: border-box;
    }
    .hotspec {
        width: 100% !important;
        margin-left: 0 !important;
        position: static !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    .hotspec .spec, .hotspecs .spec {
        width: 100%;
        float: none;
        margin: 0 0 10px 0;
        box-sizing: border-box;
        text-align: center;
    }
    h1.collapse, h2.collapse {
        line-height: 1.35;
        text-align: center;
        min-height: 58px;
    }
    .settlement .collapse {
        text-align: left;
    }
    #content #main .hotspec a.pblock {
        margin: 0 auto;
        float: none;
    }
    .main_menu li {
        float: none;
        display: inline-block;
    }
    .main_menu {
        text-align: center;
    }
    #main .news_container .news {
        width: 100% !important;
        margin-right: 0;
        float: none;
        box-sizing: border-box;
    }
    #main .news_container .news img.floatleft {
        margin: 0 0 20px 0;
        float: none;
        display: block;
    }
    .fb_iframe_widget iframe {
        width: auto !important;
        position: static !important;
    }
    iframe {
        max-width: 100%;
    }
    #main .news_container .list,
    .settlement .photos,
    .settlement .comunikations{
        width: 100% !important;
        float: none;
        box-sizing: border-box;
    }
    .settlement .photos ul li {
        width: 100%;
    }
    #main .settlements  {
        text-align: center;
    }
    #main .settlements a {
        margin: 0 7px 15px 7px !important;
        display: inline-block;
        float: none;
    }
    .paginator {
        margin: 20px 0;
    }
    .list_blog {
        width: 100% !important;
        float: none;
        box-sizing: border-box;
    }
    .list_blog,
    .settlement .genplan .map,
    .settlement .genplan,
    .settlement .price  {
        width: 100% !important;
        float: none;
        height: auto;
        box-sizing: border-box;
    }
    #map {
        width: 100% !important;
        height: 500px !important;
    }
    .genplan .text .appstore_b1,
    .genplan .text .appstore_b2 {
        display: block;
        float: none;
        margin: 0 auto 15px;

    }
    .tabs {
        line-height: 1.4;
        padding-top: 25px;
    }
    .price table th,
    .price table td {
        border: 1px solid #d2d2d2;
    }
    .homestead_page .map-legend {
        padding-left: 42px;
    }
    .homestead_page .btn-bottomarrow {
        width: 100%;
    }
    .homestead_page .btn-bottomarrow:after {
        transform: rotate(-14deg) skewX(59deg) !important;
        width: 100% !important;
        top: 52px !important;
    }
    .homestead_page .site-plan-link:after {
        top: 0 !important;
    }
    .homestead_page .contacts {
        text-align: center;
    }
    .homestead_page .contacts .social-list {
        margin-bottom: 30px;
    }
    .homestead_page .contacts .form-group .form-input{
        padding: 10px !important;
        border-radius: 10px !important;
        text-align: center;
    }
    .homestead_page .contacts .form-group .btn{
        width: 220px;
        border-radius: 10px !important;
    }

}

/*планшеты*/
@media (min-width: 768px) and (max-width: 1023px) {
    /*body.main .main_menu_line {
        display: block !important;
    }*/
		#top_place_link {
	    height: 24px !important;
		width: 16px !important;
	}
	  #top_place_link span {
    display: none !important;
  }
}

@media (max-width: 768px) {
	#top_place_block2 {
		padding: 20px 0px;
	}
	#top_place_link {
	    height: 24px !important;
		width: 16px !important;
	}
	#top_place_link  span {
	    display: none !important;
	}

	#top_place_block2 .selected_areas table th, #top_place_block2 .selected_areas table th a {
	  font-size: 14px !important;
	}
	#top_place_block2 .selected_areas table td {
	  font-size: 14px !important;
	  height: 30px!important;
	}
#top_place_block2 .request_form input[type="text"] {
  background-color: #ffef94;
  border: 0 none;
  color: #000;
  font-size: 20px;
  height: 32px;
  margin-bottom: 12px;
  padding: 9px 25px 10px;
  width: 200px;
}

#top_place_block2 .request_form {
    background-color: #ffd800;
    display: none;
    margin-bottom: 20px;
    margin-left: -150px;
    width: 300px;
}
#top_place_block2 .request_form button.submit {
  background: rgba(0, 0, 0, 0) url("/_design/_img/submit_bg.png") no-repeat scroll left top;
  border: medium none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  height: 72px;
  margin: 12px 0 0 18px;
  text-transform: uppercase;
  width: 116px;
}

}
