/*==========  Desktop First Method  ==========*/
.formResponsive .formError{
	display: none !important;
}
@media only screen and (max-width : 1272px) {
    .recall__owl-carousel {
        max-width: 960px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    *{
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    body {
        position: relative;
    }
    #main,
    #footer,
    #banner,
    #features {
        width: 100%;
        padding: 0 15px 0 15px;
    }
    #main > div#header,
    #main > #up_menu,
    #main > #banner,
    #main > #features{
        display: block;
    }
    .footer_inner{
        width: 100%;
    }
    #features{
        height: auto;
        padding-top: 15px;
        padding-bottom: 5px;
    }
    .feature{
        display: inline-block;
        height: 210px;
        float: none;
        vertical-align: text-top;
        margin-bottom: 15px;
    }
    #features_wrapper{
        width: 100%;
        height: auto;
        text-align: center;
    }
    .recall {
        padding: 0 15px;
    }
    .recall__owl-carousel {
        max-width: 930px;
    }
    .filter_open_button {
        position: relative;
        display: table;
    }
    #content_left2 {
        position: relative;
        width: 100%;
        float: none;
    }
    #flats_filter {
        display: none;
        width: 260px;
        height: auto;
        position: absolute;
        top: 50px;
        left: 0;
        z-index: 1100;
    } 
	.flats_menu {
		display: none;
		width: 260px;
		height: auto;
		position: absolute;
		top: 50px;
		left: 0;
		z-index: 1100;
		background-color: #f7f5f5;
		border-radius: 20px;
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		float: left;
		margin: 0px 0px 10px 0px;
		padding: 15px 10px 15px 20px;
		overflow: hidden;
    }
    #content_right2 {
        width: 100%;
        float: none;
        padding-left: 0;
    }
    .flats_navigation_wrapper {
        width: 820px;
    }
    .flats_navigation_left {
        width: 66%;
    }
    .flats_navigation_left {
        width: 66%;
    }
    .flats_navigation_right {
        width: 34%;
    }
    .flats_column_card {
        width: 100%;
        float: none;
    }
    .flats_column_card_left {
        width: 66%;
    }
    .flats_column_card_img {
        width: 100%;
    }
    span[id^="nextBtn"] {
        left: auto !important;
        right: 0;
    }
    /* .fotorama__wrap {
        width: 100% !important;
    }
    .fotorama__wrap--css3 .fotorama__html,
    .fotorama__wrap--css3 .fotorama__stage .fotorama__img {
        width: 100% !important;
        height: auto !important;
        top: auto !important;
        left: 0 !important;
    } */
    .flats_column_card_right {
        width: 34%;
    }
    .flats_column_card_bottom {
        width: 66%;
    }
    .flat_card {
        width: 49%;
    }
    .flat_card_right {
        margin-left: 2%;
    }
    .flat_img_wrapper {
        height: auto;
    }
    .flat_card img {
        width: 100%;
    }
    #content {
        width: 100%;
        float: none;
    }
    #recall {
        float: none;
    }
    #footer {
        float: none;
    }
    .djc_item .djc_mainimage {
        float: none;
    }
    .formResponsive select,
    .formResponsive textarea,
    .formResponsive input[type="text"],
    .formResponsive input[type="password"] {
        width: 100% !important;
        height: 40px;
    }
    #reserve_this_flat .rsform-calendar-box.hasDatepicker {
        width: 100% !important;
    }
    .formResponsive textarea {
        height: auto;
    }
    .flats_menu {
        display: none;
    }
    #read_also {
        display: none;
    }
    .recall_list_card_right {
        width: 73%;
    }
    .formResponsive input[type="file"] {
        height: 50px;
        width: 100% !important;
    }
    /* .fotorama__loaded--full {
        height: auto !important;
    }
    #esliderMain .fotorama__stage .fotorama__img--full {
        width: 100% !important;
    } */
    .form_reserve {
        margin-bottom: 50px;
    }
    .flats_column_card span[id^="prevBtn"],
    .flats_column_card span[id^="nextBtn"] {
        height: 100% !important;
    }
    .flats_column_card span[id^="prevBtn"] a,
    .flats_column_card span[id^="nextBtn"] a {
        height: 100% !important;
        background-position: 20px 50% !important;
    }
    .banner_button {
	    margin-top: 10px;
	}
	#read_also2{
		display: block;
	}
	.filter_open_button_div2{
		display: block;
		padding-bottom: 20px;
	}
	.filter_open_button_div2 a{
		position: relative;
		display: block;
		width: 114px;
		height: 40px;
		border-radius: 20px;
		border: 2px solid #d86583;
	    -webkit-transition: all 300ms ease-in-out;
	    -moz-transition: all 300ms ease-in-out;
	    -ms-transition: all 300ms ease-in-out;
	    -o-transition: all 300ms ease-in-out;
	    transition: all 300ms ease-in-out;
	}
	.filter_open_button_div2 a span{
		position: absolute;
		width: 78px;
		height: 3px;
		background-color: #d86583;
		left: 50%;
		margin-left: -39px;
	    -webkit-transition: all 300ms ease-in-out;
	    -moz-transition: all 300ms ease-in-out;
	    -ms-transition: all 300ms ease-in-out;
	    -o-transition: all 300ms ease-in-out;
	    transition: all 300ms ease-in-out;
	    opacity: 1;
	}
	.filter_open_button_div2 a:hover{
		border-color: #d25273;
	}
	.filter_open_button_div2 a:hover span{
		background-color: #d25273;
	}
	.filter_open_button_div2 a span:nth-child(1){
		top: 9px;
	}
	.filter_open_button_div2 a span:nth-child(2){
		top: 16px;
	}
	.filter_open_button_div2 a span:nth-child(3){
		top: 23px;
	}
	.filter_open_button_div2 a.active{
		width: 40px;
	}
	.filter_open_button_div2 a.active span:nth-child(1){
		top: 9px;
		width: 30px;
		top: 16px;
		margin-left: -15px;
	    -moz-transform: rotate(-45deg); /* Для Firefox */
	    -ms-transform: rotate(-45deg); /* Для IE */
	    -webkit-transform: rotate(-45deg); /* Для Safari, Chrome, iOS */
	    -o-transform: rotate(-45deg); /* Для Opera */
	    transform: rotate(-45deg);
	}
	.filter_open_button_div2 a.active span:nth-child(2){
		opacity: 0;
	}
	.filter_open_button_div2 a.active span:nth-child(3){
		width: 30px;
		top: 16px;
		margin-left: -15px;
	    -moz-transform: rotate(45deg); /* Для Firefox */
	    -ms-transform: rotate(45deg); /* Для IE */
	    -webkit-transform: rotate(45deg); /* Для Safari, Chrome, iOS */
	    -o-transform: rotate(45deg); /* Для Opera */
	    transform: rotate(45deg);
	}
}

@media only screen and (max-width : 1110px) {
    .recall__owl-carousel {
        max-width: 820px;
    }
    #content_left1 {
        width: 100%;
        float: none;
    }
    .recall_list_card, .recall_list_card_detail {
        width: 100%;
    }
    #content_right1 {
        float: none;
        padding-left: 0;
        margin: 0 auto;
    }
    #map_canvas0{
	    width: 100% !important;
	    max-width: 820px;
	    height: 400px;
	    margin-left: auto;
	    margin-right: auto;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    #banner_bg{
        display: none;
    }
    #banner_content{
        width: 100%;
        background-color: rgba(43,43,54,0.8);
        height: auto;
    }
    #banner{
        height: auto;
        background-size: cover;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    #banner_inner{
        width: 100%;
        height: auto;
        margin: 0px auto 0px auto;
    }
    .banner_line{
        height: auto;
        overflow: hidden;
        padding-top: 5px;
    }
    .banner_line1{
        padding-top: 0px;
        padding-bottom: 20px;
    }
    #banner_rooms_header, #banner_guests_header{
        padding-bottom: 15px;
    }
    .banner_line ul{
        padding-bottom: 20px;
    }
    .recall__owl-carousel {
        max-width: 720px;
    }
    .flat_price {
        margin-top: 12px;
    }
    .flat_price_val, .flat_price_text {
        font-size: 30px;
    }
    #map_canvas0 .flats_column_price, 
    #map_canvas0 .flats_column_rooms, 
    #map_canvas0 .flats_column_address,
    #map_canvas0 .gm_info_card_content .flats_column_price{
	    margin-top: 5px !important;
    }
    #map_canvas0 .flats_column_price_val, 
    #map_canvas0 .flats_column_price_text{
	    font-size: 22px !important;
    }
    #map_canvas0 .gm_info_card_content .flats_column_price_last{
	    margin-top: -25px;
	    margin-left: 55px;
    }
    
    #map_canvas0 .flat_price_last_val, 
    #map_canvas0 .flat_price_last_text {
        font-size: 18px;
    }
    #map_canvas0 .flats_column_price{
	    min-width: 120px;
    }
}
@media only screen and (max-width : 892px) {
    html, body, #main, #content {
        width: 100%;
    }
    #logo-title{
        font-size: 38px;
    }
    #logo-slogan{
        font-size: 11px;
        margin: 5px 0px 0px 131px;
    }
    .phone{
        font-size: 26px;
    }
    #logo{
        width: 285px;
    }
    .recall__owl-carousel {
        max-width: 600px;
    }
    .flats_navigation_wrapper {
        width: 100%;
    }
    .flats_navigation_left {
        width: 50%;
    }
    .flats_navigation_right {
        width: 50%;
    }
    .flats_column_card {
        width: 48.5% !important;
        height: auto !important;
    }
    .flats_column_card.flats_column_card_right {
        margin-left: 3% !important;
    }
    .flats_column_card_img {
        height: 200px;
    }
    .flats_column_card_left {
        height: 200px;
        width: 100%;
        float: none;
    }
    .flats_column_card_right {
        width: 100%;
        height: 400px;
        float: none;
        padding-left: 0;
    }
    .flats_column_card_right > a:last-child {
        display: block;
        width: 100%;
    }
    .flats_column_price,
    .flats_column_rooms,
    .flats_column_area,
    .flats_column_guests,
    .flats_column_floor,
    .flats_column_address {
        display: table;
        width: auto;
        float: none;
        margin: 20px auto 0;
    }
    .flats_column_floor + a {
        display: table;
        margin: 0 auto;
    }
    .flats_column_card_bottom {
        display: none;
    }
    .flats_column_card_bottom.mob {
        display: table;
        width: auto;
        float: none;
        margin: 20px auto 0;
    }
    .flats_column_button {
        display: block;
        margin: 15px auto 0;
    }
    .flats_column_map {
        margin-right: 10px;
    }
    .flat_price {
        margin-top: 7px;
    }
    .flat_price_val, .flat_price_text {
        font-size: 30px;
    }
    .flat_price_last_val, .flat_price_last_text {
        font-size: 18px;
    }
    .banner_button2 {
        font-size: 16px;
        padding: 12px 22px;
    }
    .djc_item .djc_images {
        width: 820px !important;
        height: auto;
    }
    /* .djc_item .djc_mainimage {
        height: auto !important;
    } */
    /* #esliderMain .fotorama__stage img {
        width: 100% !important;
    } */
    #esliderMain {
        height: auto;
    }
    #flats_item_add {
        margin-top: 115px;
    }
    #flats_item_add .flats_column_room,
    #flats_item_add .flats_column_area,
    #flats_item_add .flats_column_guests,
    #flats_item_add .flats_column_floor {
        width: 25%;
    }
    #flats_item_add .flats_column_area,
    #flats_item_add .flats_column_guests,
    #flats_item_add .flats_column_floor {
        display: block;
        float: left;
    }
    .news_blog_item_left {
        float: none;
        margin: 0 auto;
    }
    .news_blog_item_right, .news_blog_item_right2 {
        width: 100%;
        padding-left: 0;
        margin-top: 20px;
    }
    .news_blog_item_title {
        text-align: center;
    }
}

@media only screen and (max-width : 850px) {
    .djc_item .djc_images {
        width: 100% !important;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    #up_menu > ul{
        text-align: center;
    }
    #banner_rooms_header, #banner_guests_header,
    #banner_rooms_ico, #banner_guests_ico{
        display: inline-block;
        float: none;
    }
    .banner_line ul{
        float: none;
        width: auto; 
    }
    .banner_button{
        margin-top: 20px;
    }
    .recall__owl-carousel {
        max-width: 390px;
    }
    .feature {
        margin-bottom: 30px;
    }
    .flat_card {
        width: 100%;
    }
    .flat_card_right {
        margin-left: 0;
    }
    .flats_column_card_left {
        height: auto;
    }
    .flats_column_card_img {
        height: auto;
    }
    .flats_column_card_right {
        height: 440px;
        float: left;
    }
    .banner_button2 {
        margin-top: 0;
    }
    /* .flats_column_card_left {
        height: 325px;
    }
    .flats_column_card_img {
        height: 100%;
    } */
}

@media only screen and (max-width : 708px) {
    .header-right{
        float: none;
        width: 406px;
        margin-left: auto;
        margin-right: auto;
    }
    #header{
        text-align: center;
        height: auto;
    }
    #logo{
        width: 375px;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    #logo-title{
        font-size: 52px;
    }
    #logo-slogan{
        font-size: 14px;
        margin: 5px 0px 0px 192px;
    }
}

@media only screen and (max-width : 700px) {
    #footer{
        height: auto;
        padding-bottom: 50px;
    }
    #banner_header{
        font-size: 22px;
    }
    #banner_all_flats{
        margin-top: 5px;
    }
    .banner_line1{
        height: auto;
        padding-bottom: 25px;
        overflow: hidden;
    }
    .flats_navigation_left {
        width: 100%;
    }
    .flats_navigation_right {
        width: 100%;
        padding-left: 0;
    }
    .djc_item .djc_mainimage {
        height: 375px !important;
    }
    .djc_mainimage #esliderMain .fotorama__stage {
        height: 375px !important;
    }
    /* .flats_column_card_left {
        height: 250px;
    } */
    /* .flats_column_card_img {
        height: 100%;
    } */
    #flats_item_add {
        height: auto;
    }
    #flats_item_add .flats_column_room,
    #flats_item_add .flats_column_area,
    #flats_item_add .flats_column_guests,
    #flats_item_add .flats_column_floor {
        width: auto;
        height: auto;
        float: none;
    }
    .form_reserve h2 {
        font-size: 20px;
    }
    .formResponsive .formHorizontal .rsform-block {
        width: 100%;
    }
    .formResponsive .formHorizontal .rsform-block.rsform-block-rs-dateto,
    .formResponsive .formHorizontal .rsform-block.rsform-block-rs-datefrom {
        width: 50%;
    }
    .recall_list_card_left {
        float: none;
        margin: 0 auto;
    }
    .recall_list_card_right {
        width: calc(100% - 20px);
        margin: 10px 20px 0;
    }
    .form_recall h2 {
        font-size: 20px;
    }
    /* .fotorama--fullscreen .fotorama__stage {
        height: 373px !important;
    } */
    .flats_item_price{
	    margin-right: 25px;
    }
    .flats_item_price_val, .flats_item_price_text{
	    font-size: 25px;
    }
    #flats_item_add .flats_column_room,
    #flats_item_add .flats_column_area,
    #flats_item_add .flats_column_guests,
    #flats_item_add .flats_column_floor{
	    overflow: hidden;
    }
    .flats_column_param_icon_wrapper{
	    width: auto;
	    float: left;
    }
    .flats_column_param_value,
    .flats_column_param_measure{
	    padding-top: 11px;
    }
}
@media only screen and (max-width : 560px) {
    #banner_header{
        float: none;
        text-align: center;
        display: block;
        padding-bottom: 15px;
        line-height: 1.3;
    }
    .banner_line1{
        padding-bottom: 20px;
    }
    #banner_all_flats{
        width: 108px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .banner_button{
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    .recall__owl-carousel {
        max-width: 290px;
    }
    .recall-slide__photo {
        float: none;
        margin: 0 auto;
    }
    .recall-slide__info {
        float: none;
        text-align: center;
        margin-top: 20px;
        margin-left: 0;
    }
    .recall-slide__date {
        margin-top: 15px;
    }
    .recall__owl-carousel .owl-nav button.owl-prev {
        left: 0;
    }
    .recall__owl-carousel .owl-nav button.owl-next {
        right: 0;
    }
    .banner_button2 {
        float: right;
    }
    #flats_item_description_tabs > ul > li {
        margin: 0;
    }
    #flats_item_description_tabs > ul > li a {
        font-size: 13px;
        padding: 0 5px;
    }
    body #sbox-window.shadow {
        width: 320px !important;
        height: 525px !important;
        left: calc(50% - 160px) !important;
    }
    #sbox-content.sbox-content-iframe {
        overflow: hidden;
    }
    #sbox-window.shadow iframe {
        width: 100%;
        height: 100%;
    }
    .blog h1, .item-page h1 {
        font-size: 22px;
    }
    /* .fotorama--fullscreen .fotorama__stage {
        height: 320px !important;
    } */
    .modal-window__feed {
        width: 320px;
        left: calc(50% - 160px);
    }
    .modal-window__input-wrap {
        width: 100%;
        margin-left: 0 !important;
    }
    .modal-window__input-wrap:first-child {
        margin-bottom: 10px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .flats_column_price,
    .flats_column_rooms,
    .flats_column_area,
    .flats_column_guests,
    .flats_column_floor,
    .flats_column_address {
        margin: 20px 0 0;
    }
    .flats_column_floor + a {
        margin: 0;
    }
    .flats_column_card_bottom {
        margin: 20px 0 0;
    }
    /* .fotorama--fullscreen .fotorama__stage {
        height: 257px !important;
    } */
    #prevBtnMain a,
    #nextBtnMain a,
    #esliderMainnext a,
    #esliderMainprev a {
        background-position: 25px 50%;
    }
    #nextBtnMain a, #esliderMainnext a {
        background-position: 29px 50%
    }
    .flats_column_card_bottom.mob {
        margin: 20px 0 0;
    }
    .banner_button {
        margin: 0 0 10px 0;
    }
    .banner_button_flats {
        padding: 20px 0 0px 0;
    }
    .djc_item .djc_mainimage {
        height: 250px !important;
    }
    .djc_mainimage #esliderMain .fotorama__stage {
        height: 250px !important;
    }
    .recall__owl-carousel{
	    max-width: 266px;
    }
    .flats_item_price_val,
    .flats_item_price_text{
	    font-size: 20px;
    }
    #features_wrapper {
    margin: 40px auto 20px auto;
    }
    #flats {
    margin: 0px 0px 50px 0px;
    }
    
}
@media only screen and (max-width : 450px) {
    .social{
        display: block;
        margin-right: 0px;
        margin-top: 0px;
        margin-bottom: 10px;
    }
    #footer .contacts{
        float: none;
    }
    .footer_inner{
        text-align: center;
    }
    #flats_item_add .flats_column_rooms {
        font-size: 22px;
    }
    .flats_column_card {
        width: 100% !important;
    }
    .flats_column_card.flats_column_card_right {
        margin-left: 0 !important;
    }
    /* .flats_column_card_left {
        height: 210px;
    } */
    .formResponsive .formHorizontal .rsform-block.rsform-block-rs-dateto,
    .formResponsive .formHorizontal .rsform-block.rsform-block-rs-datefrom {
        width: 100%;
    }
    
    .gm_info_card {
	    height: 100px;
    }
    .gm_info_card .gm_info_card_img{
	    display: none;
    }
    #map_canvas0 .gm_info_card_content{
	    padding-top: 0px;
	    margin-top: 0px;
    }
    #map_canvas0 .gm_info_card_background{
	    height: 100px;
    }
    #map_canvas0 .ymaps-2-1-74-map ymaps{
	   /* background-color: transparent !important;*/
    }
    #map_canvas0 .ymaps-2-1-74-balloon{
	    box-shadow: none !important;
    }
    #map_canvas0 .ymaps-2-1-74-balloon__close-button{
	    opacity: 1 !important;
	   /* margin-right: 45px !important;
	    margin-top: -8px !important;*/
    }
    #map_canvas0 .flat_price_last_val {
	    margin: 7px 0px 0px 31px;
	}
	#map_canvas0 .flat_price_last_text.rouble {
	    margin: 5px 0px 0px 2px;
	}
	#flats_all_tab .flat_price_last_val{
		margin: 18px 0px 0px 10px;
	}
	#flats_all_tab .flat_price_last_text{
		margin: 19px 0px 0px 2px;
	}
}
@media only screen and (max-width : 440px) {
    #up_menu > ul > li:nth-child(2) .dropdown-menu {
        border-radius: 25px 0 25px 25px;
        left: auto !important;
        right: -2px;
    }
    #logo-title{
        font-size: 38px;
    }
    #logo-slogan{
        font-size: 11px;
        margin: 10px 0px 0px 125px;
        text-align: left;
    }
    .phone{
        font-size: 26px;
    }
    #logo{
        width: 285px;
    }
    .header-right{
        width: 100%;
    }
    .feature{
        width: 100%;
        display: block;
        height: auto;
        padding-bottom: 25px;
    }
    #content_right1 {
        width: 100%;
    }
    .form_recall {
        padding: 15px 15px 5px;
    }
}
@media only screen and (max-width : 384px) {
    /* .flats_column_card_left {
        height: 194px;
    } */
    /* .fotorama {
        height: 100%;
    }
    .fotorama__wrap {
        height: 100%;
    }
    .fotorama__wrap--toggle-arrows .fotorama__stage {
        height: 100% !important;
    }
    .fotorama__wrap--css3 .fotorama__html,
    .fotorama__wrap--css3 .fotorama__stage .fotorama__img {
        height: 100% !important;
    } */
}
@media only screen and (max-width : 380px) {
    #banner_content{
        padding-left: 15px;
        padding-right: 15px;
    }
    .flats_navigation_left {
        height: auto;
        margin-bottom: 15px;
    }
    .banner_button2 {
        font-size: 10px;
        padding: 10px 20px;
    }
    .contact_phone {
        font-size: 26px;
    }
    .modal-window__feed {
        width: 290px;
        left: calc(50% - 145px);
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

 /* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}