.header_search .header_search_fields {
    overflow: hidden;
    float: left;
}
.header_search dl {
    width: 160px;
}
.header_search dl dt {
    width: 55px;
}
.header_search .prefix {
    top: 6px;
}
.header_search dl:nth-child(2) {
    width: 240px;
}
.header_search dl:nth-child(2) dt {
    width: 30px;
}
.header_search dl:nth-child(2) select {
    width: 180px;
}
.header_search dl:nth-child(4) dt {
    width: 30px;
}

.header_nav_mob_outer,
.header_nav_mob_inner,
.fast_buy.after_spec,
.footer_social {
    display: none;
}


@media (min-width: 1200px) {
    .wf {
        width: 1140px;
    }
    .no-lg {
        display: none;
    }
    
    article iframe {
        display: block;
        float: left;
        margin: 0 20px 20px 0;
    }
    article p:last-child iframe {
        margin-right: 0;
    }
    .fast_buy {
        clear: both;
    }
    .presentation {
        width: 1026px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {

    .slick-slider {
        width: 675px !important;
    }
    .slick-slide {
        width: 225px !important;
    }
}

/********** 1200 **********/

@media (max-width: 1199px) {
    
    .wf { width: 750px; }
    h1 { font-size: 36px; }
    
    .header_top {
        height: auto;
        padding: 10px 0;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        background-size: cover;
    }
    .header_top span {
        display: inline-block;
        padding: 0 20px;
    }
    .header_top_social {
        top: 90px;
        right: 20px;
        z-index: 10;
    }
    .header_top_social li {
        margin-left: 20px;
    }
    
    .header_call {
        left: 200px;
    }
    .header_call_link {
        font-size: 14px;
    }
    
    .header_search {
        top: 80px;
        right: 150px;
        z-index: 10;
        height: auto;
        background: #fff;
        box-shadow: 1px 1px 13px rgba(0,0,0,.5);
        display: none;
    }
    .header_search_toggle {
        font-size: 14px;
        color: #fff;
        text-transform: uppercase;
        padding: 10px;
        background: #d03b3d;
        border: none;
        position: absolute;
        top: 80px;
        right: 0;
        width: 140px;
    }
    
    .header_nav_item {
        margin: 0 10px;
    }
    .header_nav_link {
        margin: 0 -10px;
        padding: 0 10px;
    }
    .header_nav ul {
        left: -10px;
        width: 130px;
    }
    
    .header_sub_nav {
        height: 90px;
        background-size: cover;
    }
    .header_sub_nav_link {
        padding-top: 0;
        width: 185px;
        height: 42px;
        font-size: 14px;
    }
    .header_sub_nav_icon {
        display: inline-block;
        margin-right: 10px;
    }
    .header_sub_nav_icon svg {
        width: 20px;
        vertical-align: middle;
    }
    
    .slider {
        width: 750px !important;
        height: 285px !important;
    }
    .slider_item_img {
        width: 750px;
        height: 260px;
    }
    
    .ad_list_img {
        width: 175px;
    }
    .ad_list_deal {
        top: 111px;
    }
    .ad_list_link {
        display: inline-block;
        width: 175px;
        line-height: 18px;
    }
    .ad_list_price_cont {
        width: 100%;
    }
    
    .slick-slider .ad_list_link {
        width: 215px;
    }
    .slick-slider .ad_list_img {
        width: 200px;
    }
    .slick-slider .ad_list_deal {
        top: 132px;
    }
    
    .mortgage-title-img img {
        max-width: 100%;
    }
    
    .fast_buy {
        clear: both;
    }
    .fast_buy_left {
        width: 70%;
    }
    .fast_buy_left .fast_buy_inner {
        padding: 15px 10px 0 10px;
    }
    .fast_buy_right {
        width: 30%;
        height: 80px;
    }
    .fast_buy_right .fast_buy_inner {
        display: none;
    }
    .fast_buy_toggle {
        position: absolute;
        top: 24px;
        right: 24px;
    }
    .fast_buy.add_my_object .fast_buy_left,
    .fast_buy.add_my_object .fast_buy_right {
        width: 50%;
    }
    .fast_buy.add_my_object .fast_buy_right .fast_buy_inner {
        display: block;
    }
    .add_my_object_link a {
        display: inline-block;
        width: 200px;
        padding: 0 0 0 40px;
        margin-top: -14px;
        font-size: 20px;
        background-position: 0 50%;
    }
    
    .object_img,
    .object_meta,
    .object_description,
    .object_map {
        width: 100%;
        margin: 0;
    }
    .object_meta {
        margin-top: 30px;
    }
    .object_description {
        margin-bottom: 30px;
    }
    .fotorama__wrap,
    .fotorama__stage {
        width: 100% !important;
    }
    
    article iframe {
        float: none;
        margin-bottom: 10px;
        width: 640px;
        height: 480px;
    }
    .team_item {
        width: 185px;
    }
    .gallery_item {
        width: 180px;
        margin-right: 10px;
    }
    .gallery_item:last-child {
        margin: 0;
    }
    .gallery_item img {
        max-width: 100%;
    }
    
    .presentation {
        width: 100%;
    }
    
    .services_list li {
        height: 160px;
    }
    .services_list .services_item{
        height: 115px;
    }
    
    footer {
        height: auto;
    }
    .footer_copyright {
        display: block;
    }
    .footer_call {
        right: 0;
    }
    .footer_call_phone {
        margin: 0;
    }
    .footer_delelopers {
        position: static;
        display: block;
        margin: 10px 0;
    }
    
}


/********** 768 **********/

@media (max-width: 767px) {
	
    .wf {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    h1 {
        height: auto;
        position: static;
        line-height: 1.2;
        background: none !important;
    }
    h1 span {
        height: auto;
        padding: 0;
        display: inline;
    }
    h1::before,
    h1::after {
        display: none;
    }
    
    .header_top {
        height: auto;
        padding: 5px 0;
        font-size: 14px;
        line-height: 19px;
        text-align: center;
        background-size: cover;
    }
    .header_top span {
        padding: 0;
    }
    .header_top_social {
        right: 30px;
    }
    
    .header_logo {
        float: left;
        margin: 0 0 10px 10px;
    }
    .header_call {
        position: static;
        width: 272px;
        margin: 0 auto;
        padding: 20px 0 0;
        background: none;
    }
    .header_search {
        top: 140px;
        right: 10px;
    }
    .header_search_toggle {
        right: 10px;
    }
    .header_search button {
        bottom: 10px;
    }
    .header_nav {
        display: none;
    }
    
    .header_nav_mob_outer {
        display: block;
        clear: both;
        list-style: none;
        margin: 0;
        padding-left: 20px;
        height: 40px;
        background: url('../_i/nav_bg.png') 0 0 repeat-x;
    }
    .header_nav_mob_outer .header_nav_link {
        width: 120px;
    }
    .header_nav_mob_inner,
    .header_nav_mob_inner ul {
        font-size: 14px;
        margin: 0;
        padding: 0;
        position: absolute;
        z-index: 10;
        list-style: none;
        background: #fff;
        line-height: 20px;
        box-shadow: 2px 2px 10px rgba(0,0,0,.4);
    }
    .header_nav_mob_inner {
        top: 100%;
        left: -10px;
        width: 140px;
        text-transform: uppercase;
    }
    .header_nav_mob_inner ul {
        visibility: hidden;
        margin-left: 1px;
        left: 100%;
        top: 0;
        width: 160px;
        text-transform: capitalize;
    }
    .header_nav_mob_inner li {
        width: 100%;
        border-bottom: 1px solid #e2d4d4;
        text-align: left;
    }
    .header_nav_mob_inner li a	 {
        padding: 10px 25px;
        border: none;
        display: block;
        color: #b50b0d;
    }
    .header_nav_mob_inner li a.active{
        color:#fff;
        background-color: #b03a3c;
        background: -webkit-linear-gradient(bottom, rgba(176,51,52,1) 0%, rgba(213,88,90,1) 100%);
        background: -o-linear-gradient(bottom, rgba(176,51,52,1) 0%, rgba(213,88,90,1) 100%);
        background: -moz-linear-gradient(bottom, rgba(176,51,52,1) 0%, rgba(213,88,90,1) 100%);
        background: -ms-linear-gradient(bottom, rgba(176,51,52,1) 0%, rgba(213,88,90,1) 100%);
        background: linear-gradient(bottom, rgba(176,51,52,1) 0%, rgba(213,88,90,1) 100%);
    }
    
    .header_sub_nav {
        display: none;
        position: absolute;
        left: 172px;
        z-index: 10;
        width: 180px;
        height: auto;
        background-size: cover;
        box-shadow: 2px 2px 10px rgba(0,0,0,.4);
    }
    .header_sub_nav_link {
        padding: 0 10px 0;
        width: 160px;
        height: 42px;
        font-size: 13px;
        text-align: left;
    }
    .header_sub_nav_icon {
        display: inline-block;
        margin-right: 10px;
    }
    .header_sub_nav_icon svg {
        width: 20px;
        vertical-align: middle;
    }
    
    .ad_list_item {
        width: 33%;
    }
    .ad_list_img {
        width: 90%;
    }
    .ad_list_deal {
        top: 0;
        border-radius: 0 0 10px 0;
    }
    .ad_list_link {
        display: inline-block;
        width: 90%;
    }
        
    .slider {
        display: none;
    }
    .slick-slider {
        width: 100% !important;
        margin: 0 !important;
    }
    .slick-slider .ad_list_item {
        height: 360px;
    }
    .slick-slider .ad_list_link {
        width: 96%;
    }
    .slick-slider .ad_list_img {
        width: 96%;
    }
    .slick-slider .ad_list_deal {
        top: 0;
    }
    .slick-prev, .slick-next {
        display: none !important;
    }
    
    .fast_buy.before_spec {
        display: none;
    }
    .fast_buy.after_spec {
        display: block;
    }
    .fast_buy {
        background: #f06c19;
    }
    .fast_buy h3 {
        font-size: 18px;
    }
    .fast_buy_left {
        width: 64%;
    }
    .fast_buy_right {
        width: 36%;
    }
    .fast_buy.add_my_object {
        display: none;
    }
    
    .mortgage-title .mortgage-title-percent {
        margin: 10px 0;
        font-size: 14px;
    }
    .mortgage-title .mortgage-title-text {
        font-size: 13px;
        line-height: 1.2;
    }
    .mortgage-title-img {
        height: 90px;
        line-height: 90px;
    }
    .mortgage-title-img img {
        max-height: 90px;
        line-height: normal;
        display: inline-block;
        vertical-align: middle;
    }
    .partners_item {
        line-height: 100px;
    }
    .partners_item a {
        line-height: normal;
        display: inline-block;
        vertical-align: middle;
    }
    .partners_item img {
        max-width: 80%;
    }
        
    article iframe {
        width: 100%;
        height: 360px;
    }
    .team {
        text-align: center;
    }
    .team_item {
        width: 33%;
    }
    .gallery_item {
        width: 25%;
        margin: 0;
    }
    
    .mortgage li {
        height: auto;
        margin-bottom: 30px;
    }
    .mortgage li img {
        max-width: 90%;
    }
    .bank_logo {
        width: 30%;
    }
    .bank_logo img {
        width: 100%;
    }
    .bank_description {
        margin-left: 33%;
    }
    
    .services_list li {
        width: 50%;
        height: auto;
        margin-bottom: 30px;
    }
    .services_list .services_item{
        height: auto;
    }
    
    .news_full_img {
        margin-right: 20px;
    }
    .news_full_lead {
        margin: 0;
    }
    
    .reviews_v2 .reviews_item {
        width: 100%;
    }
    .reviews_v2 .reviews_item:nth-child(1) {
        margin-top: 120px;
    }
    .reviews_v2 .reviews_item:nth-child(2) {
        margin-left: -100%;
    }
    
    .paginator a, .paginator span {
        padding: 5px 11px;
        margin: 5px;
    }
    
    .footer_call {
        margin-right: 10px;
    }
}


/********** 640 **********/

@media (max-width: 640px) {
    
    h1 {
        font-size: 30px;
    }
    
    header .wf {
        padding-top: 20px;
    }
    .header_top {
        display: none;
    }
    .header_call {
        padding: 0 0 0 20px;
        float: left;
    }
    .header_search {
        top: 180px;
        width: 440px;
    }
    .header_search_toggle {
        top: 140px;
        width: auto;
    }
    
    .fast_buy {
        padding-bottom: 10px;
    }
    .not_found_object .fast_buy_left,
    .not_found_object .fast_buy_right {
        background: none;
    }
    .fast_buy input {
        margin: 0 6px;
        width: 200px;
    }
    .fast_buy .fast_buy_right button {
        display: block;
        margin: 5px auto;
    }
    .fast_buy_toggle,
    .fast_buy_left::before,
    .fast_buy_left::after,
    .not_found_object .fast_buy_left::before,
    .not_found_object .fast_buy_left::after {
        display: none;
    }
    .fast_buy_left, .fast_buy_right {
        width: 100%;
        float: none;
        background: none;
    }
    .fast_buy_right {
        height: auto;
        padding: 0;
        overflow: hidden;
        text-align: center;
    }
    .fast_buy_left .fast_buy_inner {
        height: auto;
    }
    .fast_buy_inner {
        padding: 10px 0 0;
    }
    .fast_buy_right .fast_buy_inner {
        display: block;
        height: auto;
    }
    
    .ad_list_item {
        width: 50%;
        height: 300px;
    }
    .ad_list_img {
        max-width: 100%;
    }
    .ad_sort {
        width: 160px;
    }
    .ad_sort a, .ad_sort span {
        width: 146px;
        font-size: 16px;
    }
    .ad_filter {
        width: 180px;
        font-size: 16px;
    }
    .ad_filter li {
        width: 166px;
    }
    
    .slick-slider .ad_list_item {
        height: 300px;
    }
        
    .team_item {
        width: 49%;
    }
    .gallery_item {
        width: 33.3%;
    }
    
    .bank_logo {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
    .bank_logo img {
        max-width: 80%;
    }
    .bank_description {
        margin: 0;
    }
    
    .service_full {
        display: table;
        border-collapse: collapse;
        border-spacing: 0;
    }
    .service_full_left {
        display: table-footer-group;
        float: none;
    }
    .service_full_right {
        display: table-header-group;
        float: none;
        width: 100%;
        margin: 0;
    }
    .service_full_content {
        margin: 0;
    }
    
    .contacts_data,
    .contacts_map_wrapper {
        width: 100%;
    }
    .contacts + article > table td {
        width: 100% !important;
        display: block;
    }
    
    .footer_copyright,
    .footer_delelopers {
        float: none;
    }
    .footer_call {
        display: none;
    }
    
    .footer_social {
        display: block;
        position: absolute;
        right: 20px;
        bottom: 0;
        list-style: none;
        margin: 0;
        padding: 0;
        z-index: 10;
    }
    .footer_social li {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin-left: 20px;
        background: url('../_i/social.png') 0 0 no-repeat;
    }
    .footer_social li.ok{
        background-position:0 0;
    }
    .footer_social li.vk{
        background-position:-28px 0;
    }
    .footer_social li.fb{
        background-position:-57px 0;
    }
    .footer_social li.ig{
        background-position:-86px 0;
    }
}

@media (max-width: 560px) {
    .slick-slider .ad_list_item {
        height: 270px;
    }
}


/********** 480 **********/

@media (max-width: 480px) {
    
    h1 {
        font-size: 25px;
    }
    
    .header_logo {
        float: none;
        margin: 0 auto;
    }
    .header_call {
        float: none;
        margin-bottom: 30px;
        text-align: center;
    }
    .header_search {
        top: 30px;
        right: 50%;
        margin-right: -130px;
        width: 240px;
        height: 220px;
    }
    .header_search dl:nth-child(2) {
        width: 220px;
    }
    .header_search dl:nth-child(3) {
        width: 130px;
    }
    .header_search dl:nth-child(4) {
        width: 60px;
    }
    .header_search dl:nth-child(4) dt {
        display: none;
    }
    .header_search input {
        width: 45px;
    }
    .header_search_toggle {
        position: static;
        display: block;
        margin: 0 auto;
    }
    .header_nav_mob_outer {
        padding: 0;
        margin-top: 30px;
    }
    
    .fast_buy input {
        width: 140px;
    }
    
    .ad_list_item {
        width: 100%;
        overflow: hidden;
        height: auto;
        margin-bottom: 20px;
    }
    .ad_list_img {
        width: 100%;
    }
    .ad_list_link {
        display: inline-block;
        width: 100%;
    }
    
    .slick-slider .ad_list_item {
        height: 220px;
    }
    
    .mortgage-title li {
        width: 100%;
        height: 180px;
        margin: 10px 0;
        float: none;
        box-sizing: border-box;
    }
    .mortgage-title .mortgage-title-item {
        height: 180px;
        box-sizing: border-box;
    }
    .partners_item {
        width: 50%;
    }
    
    .gallery_item {
        width: 50%;
        margin-bottom: 20px;
    }
    .sub_nav_item {
        width: 100%;
    }
    .mortgage li {
        width: 100%;
    }
    .services_list li {
        width: 100%;
    }
    
    .news_list_item_img {
        display: none;
    }    
    .news_list_item_dt,
    .news_list_item_header,
    .news_list_item_lead {
        margin-left: 0;
    }
    .news_full_img {
        margin-right: 0;
    }
    .news_full_lead {
        float: left;
    }
}


/********** 360 **********/

@media (max-width: 360px) {
    
    .header_nav_mob_outer .header_nav_link:first-child {
        width: 100px;
    }
    .header_nav_mob_inner {
        width: 120px;
    }
    .header_nav_mob_inner ul {
        width: 140px;
    }
    .header_nav_mob_inner li a {
        padding: 10px 15px;
    }
    .header_sub_nav {
        left: 72px;
    }
    .fast_buy input {
        margin: 5px 0;
        width: 96%;
        box-sizing: border-box;
    }
    .team_item {
        width: 100%;
    }
    .partners_item {
        width: 100%;
    }
    .gallery_item {
        width: 100%;
        text-align: center;
    }
    .footer_social li {
        margin-left: 10px;
    }
}
