@media only screen and (max-width: 1200px) {
    /*.slider-news img{height: 600px;}*/
    .slider-bottom-arrows .slider-news__text{top: 50%; transform: translateY(-50%); margin-top:0;}
    .slider-news__title{font-size: 55px;}
    .front-title{font-size: 35px;}
    .front-title:before{font-size: 16px;}
    .box-board--right .front-title--board, .box-board--left .front-title--board{margin-top: 100px; margin-bottom: 25px;}
    .box-board--left .page-content__text--board, .box-board--left .btn--boxes {margin-left: 15px;}
    .box-board--right .page-content__text--board, .box-board--right  .btn--boxes {margin-right: 15px;}
    .route-legend-box{margin-left:0;}

    .banner-bottom__title{font-size: 60px; }
    .banner-bottom__wrap, .banner-bottom{height: 500px;}

    .searchbox-house__button,.btn--ask-house,.searchbox-house__button:first-child{margin-left:0;}
    .searchbox-house__button:nth-child(2){margin-top:10px;}
    .searchbox-house-description__name{margin-top:0; font-size: 32px;}
    .searchbox-house-description__row--header{margin-bottom:0;}

    .gallery-menu__button-col{width: 180px;}
    .gallery-menu__box{position: relative; left: 50%; transform: translateX(-50%); display: block; width: 600px; max-width: 100%;}

    .front-title--contact-form{margin-bottom: 80px;}
    .searchbox-house__map, .searchbox-house,.gallery-menu{margin-bottom: 100px;}
    .boxes-board{margin-bottom: 116px;}
    .slick-slide img {
        margin: 0 auto;
        width: 100%;
        /*        height: 536px;*/
    }


}




@media only screen and (max-width: 991px) {
    .header-menu-center .header-logo__img{max-width: 160px;}
    .slider-news__title{font-size: 45px;}
    /*.slider-news img{height: 550px;}*/
    .slick-dots{margin-bottom:25px;}
    /*
.box-board--right .front-title--board, .box-board--left .front-title--board{font-size: 27px; margin-top: 76px;}
.front-title--board:before{font-size: 13px; padding-bottom:10px;  top: -33px; width: 110px; }
    */
    .box-board--right .front-title--board, .box-board--left .front-title--board{margin-top: 60px; margin-bottom: 15px;}
    .box-board--left .page-content__text--board, .box-board--left .btn--boxes{margin-left:0;}
    .box-board--right .page-content__text--board, .box-board--right  .btn--boxes{margin-right: 0; margin-left:0;}
    .page-content__text--board{line-height: 1.8; margin-bottom:10px;}
    .front-title{font-size: 27px; margin-top: 76px;}
    .front-title:before{font-size: 13px; padding-bottom:10px;  top: -33px; width: 110px; }
    .front-title:after{ bottom: -16px; width: 110px;}



    .route-legend-box{margin-bottom: 20px;}
    .front-title--map{margin-bottom: 60px;}
    .route-map__wrap{margin-top: 30px;}
    .route-map__wrap{height: 440px;}
    .route-map__searchbox{height: auto; margin-top:0; padding-bottom: 18px;}
    .map-searchbox-title{margin-top:15px; font-size: 19px;}

    .btn--route-map{margin-left:0;}
    .route-legend__label{float: none; padding-left:0; line-height: 1; margin-top: 10px;}
    .route-legend__icon, .route-legend-box{display: block; float: none; margin: 0 auto; text-align: center; }
    .route-map__legend{margin-bottom: 0;}

    .banner-bottom__title{font-size: 50px; line-height:1.35}
    .banner-bottom__wrap, .banner-bottom{height: 450px;}
    .searchbox-house__subtitle{margin-bottom: 40px;}
    .searchbox-house__map{margin-top: 30px;}
    .searchbox-house-description__label-col{width: 200px;}
	.searchbox-house-description__label-col.prices_history {
		width: 100%;
	}
    .searchbox-house-description__label{padding-right: 15px;}
    .searchbox-house__button:nth-child(2){margin-left: 15px;}
    .btn--ask-house{width: 411px;}
    .round-button-slider{margin-top: 20px;}
    .round-button-slider{width: 668px; max-width: 100%; margin-bottom:10px;}

    .gallery__photo--no-margin{width: auto;}

    .front-title--gallery{margin-bottom: 50px;}
    .gallery-menu__menu{margin-bottom: 45px;}
    .front-title--contact-form{margin-bottom: 60px;}
    .searchbox-house__map, .searchbox-house,.gallery-menu{margin-bottom: 30px;}
    .boxes-board{margin-bottom: 40px;}
    .slider-bottom-arrows{margin-bottom:50px;}
    .searchbox-house{margin-top:45px;}
    .contact-transparent-round{margin-bottom: 80px;}

    .searchbox-house__subtitle{display: none;}
    .front-title--searchbox-house:after{display: none;}
    .searchbox-house__details{margin-bottom: 60px;}
    #main_popup {display: none}
}

@media only screen and (max-width: 768px) {
    /*.slider-news img{height: 500px;}*/
    .slick-dots{margin-bottom:15px;}
    .slider-news__title{font-size: 36px;}
    .slider-news__text{padding-right:20px; padding-left:20px;}
    .gallery-menu .gallery-menu__link--selected {
        background: #2D9135;
        border-color:#2D9135;
        color: #fff;
        box-shadow: 0px 3px 0px 0px #0D4719;
    }
    
    .gallery-menu .gallery-menu__link--selected:hover {
        background: #2D9135;
        border-color:#2D9135;
        color: #fff;
        box-shadow: 0px 3px 0px 0px #0D4719;
    }
    #page_body .btn:hover, .home .btn:hover{
        background: #2D9135;
        box-shadow: 0px 3px 0px 0px #0D4719;
    } 
    .box-board{margin-bottom: 60px;}
    .box-board-img, .box-board__description{max-width: 100%;  height: auto;  width: 450px; margin: 0 auto; display: block; }
    .route-map__searchbox{text-align: center;}
    .form-input--map-destination{width: 400px; max-width:100%;}
    .btn--route-map{font-size: 14px;}
    .route-map__col{ margin: 0 auto;}
    .route-legend-box--1, .route-legend-box--3{margin-left:0;}
    .route-map__legend-box{display: block; margin:0 auto; text-align: center; width: 250px; }
    .route-map__col--2{clear: left;}
    .route-map__col--0, .route-map__col--1{padding-bottom: 17px;}
    .banner-bottom__title{font-size: 40px; }
    .front-title{font-size: 24px;}
    .searchbox-house__subtitle{margin-bottom: 30px; font-size: 15px;}
    .route-legend__label{font-size: 14px;}

    .gallery-menu__button-col{clear: both; margin-bottom: 15px;}
    .gallery-menu__box{width: 196px;}
    .gallery-menu__menu{margin-bottom: 30px;}


    .round-button-slider__image img{width:100%;}
    .searchbox-house__button, .btn--ask-house, .searchbox-house__button:first-child {margin-top:15px;}

    .gallery__photo--no-margin{width: 33%;}
    .burger__mobile-nav ul{padding-top:0;}
}
@media only screen and (max-width: 600px) {
    .btn--slider{display: inline-block}
    .gallery__photo--no-margin{width: 50%;}



    .round-button-slider .slick-prev{left:0;}
    .round-button-slider .slick-next{right: 0;}
    .round-button-slider .slick-prev, .round-button-slider .slick-next, .round-button-slider .slick-prev:hover, .round-button-slider .slick-prev:focus, .round-button-slider .slick-next:hover, .round-button-slider .slick-next:focus{
        width: 30px; height: 30px;    background-size: 6px 22px; background-image: url(../dobry_adres_5/img/slider_button_arrow_white.svg); background-color:#fdc519;
    }
    .round-button-slider__image img { width: calc(100% - 78px);}
}

@media only screen and (max-width: 480px) {
    /*.slider-news img{height: 460px;}*/
    .slider-news__title{font-size: 32px;}
    .banner-bottom__title{font-size: 35px; }
    .banner-bottom{background-position: 29%;}

    .searchbox-house__button{margin-right: 100px; margin-left:0;}
    .searchbox-house__button:nth-child(2){margin-left:0;}
    .searchbox-house-description__label{font-size: 13px; padding-right:0}
    .searchbox-house-description__value{font-size: 15px;}
    .searchbox-house-description__label-col{width: 166px; }
	.searchbox-house-description__label-col.prices_history {
		width: 100%;
	}
    .searchbox-house-description__name{font-size:28px;}
    .searchbox-house-description__state{font-size:14px;}
    .searchbox-house-description__label-val{width: 150px;}
}
@media only screen and (max-width: 360px) {
    .banner-bottom__title{font-size: 32px; line-height: 1.4;}

}

@media only screen and (max-width: 1200px) and (min-width: 991px) {
    .searchbox__container {
        margin-top: 100px;
    }

    .round-button-slider__image img {
        padding-top: 15px;
    }
}
