@media only screen and (max-width: 1480px) {
    .quatro {
        margin: 0px;
        height: 430px;
    }
}

@media only screen and (max-width: 1231px) {
    body .container {
        width: 100%;
    }

}

@media only screen and (max-width: 1200px) {
    header .navbar-header .wrap-tel {
        flex-wrap: wrap;
        flex-direction: column;
        flex: 1 0 0;
    }

    header .navbar-header .logo {
        margin-right: 10px;
        flex: 0 0 auto;
    }
}

@media only screen and (max-width: 1115px) {
    .sec-5 .right-img {
        transform: translate(0, 0);
    }
}


/*сворачиваем навигацию*/

@media screen and (max-width: 991px) {

    header .navbar-header {
        flex-wrap: wrap;
    }

    .container-fluid>.navbar-collapse,
    .container-fluid>.navbar-header,
    .container>.navbar-collapse,
    .container>.navbar-header {
        margin-right: 0;
        margin-left: 0;

    }

    header .navbar-header .collback {
        margin: 15px 0 15px auto;
        flex: 0 0 auto;
    }

    .navbar-header {
        float: none;
    }

    .navbar-left,
    .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

    .navbar-nav>li {
        float: none;
        width: 100%;
    }

    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in {
        display: block !important;
    }

    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background: transparent !important;
    }

    .navbar-toggle {
        margin: 0;
        background-color: transparent;
        border: none;
    }

    .navbar-default .navbar-nav {
        height: auto;
    }

    .navbar-fixed-top .navbar-collapse {
        background: #44b759;
        order: 5;
    }

    .navbar-toggle .icon-bar {
        width: 32px;
        height: 4px;
        border-radius: 3px;
        margin-left: auto;
        background: #282728;
    }

    .navbar-toggle .icon-bar+.icon-bar {
        margin-top: 5px;
    }

    .navbar-default .navbar-toggle {
        position: absolute;
        right: 0;
        top: 0;
    }

    header .wrap-all {
        display: flex;
        flex-direction: column;
        padding-top: 0;
    }

    header .navbar {
        padding: 0;
    }

    header .navbar-header {
        width: 100%;
    }

    header .wrap-nav {
        display: table;
        width: 100%;
        padding-top: 0px;
        padding-bottom: 0;
    }

    header .navbar-nav {
        padding: 10px;
        width: 100%;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    header .wrap-tel {
        flex: 0 0 100%;
        justify-content: center;
        order: 1;
    }

    header .wrap-collback {
        flex: 0 0 100%;
        justify-content: center;
    }

    header .wrap-tel .mail {
        margin: 0 15px;
    }

    header .wrap-tel .tel {
        margin: 0 15px;
    }

    .sec-2 .service {
        width: 50%;
    }

    .sec-4 .form-flexbox-line {
        justify-content: center;
        align-items: center;
    }

    .sec-4 .item.sec-4-title {
        padding: 0 20px;
        flex: 0 0 100%;
    }

    .sec-4 .title-top {
        text-align: center;
    }

    .sec-4 .title-bottom {
        text-align: center;
        margin: 0 auto;
    }

    .sec-4 .item {
        margin: 0 27px 23px;
    }
}

@media only screen and (max-width: 991px) {
    .contact-items {
        flex-wrap: wrap;
    }

    .contact-item {
        width: 100%;
    }

    .two-items {
        flex-direction: column;
    }

    .two-item {
        width: 100%;
        padding: 0 15px 15px 37px;
    }


    .hidden {
        /* display: flex !important; */
    }

    .mob-hidden {
        display: none !important;
    }

    header .wrap-schedule,
    header .wrap-tel {
        padding: 18px;
        justify-content: flex-start;
    }

    .wrap-schedule img {
        flex: 1;
        max-width: 36px;
        margin-right: 10px;
    }

    header .navbar-header {
        justify-content: flex-start;
    }

    .sec-10 .confidentiality-img img {
        width: 100%;
        height: auto;
        transform: translate(0px, -37px);
    }

    .sec-6 .wrap-advantages {
        justify-content: center;
    }

    .sec-6 .advantages-item,
    .sec-3 .where-item {
        width: 33.3333%;
    }

    .sec-4 .our-item {
        width: 50%;
    }

    .sec-4 .our-inner {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 891px) {
    .wrap-spends .wrap-spend {
        width: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .wrap-apartments--three {
        flex-wrap: wrap;
        justify-content: center;
    }

    .apartments-item {
        width: 50%;
    }

    .new-text--visible {
        margin-right: 0;
    }

    .new-text--visible .two-item-auto--mar {
        width: 100% !important;
        margin-right: 0;
    }

    .sec-6 .wrap-advantages--four .advantages-item {
        width: 50%;
    }

    .wrap-answers--four .wrap-answer {
        width: 50%;
        padding: 15px 20px;
    }

    .mob-hidden {
        display: none !important;
    }

    .three-hotel {
        width: 100%;
    }

    .three-hotel .p-15 {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .wrap-hotel.wrap-hotel--2_1 .hotel:nth-child(1),
    .wrap-hotel.wrap-hotel--2_1 .hotel:nth-child(2) {
        width: 100%;
    }

    .wrap-hotel.wrap-hotel--1_2 .hotel:nth-child(1),
    .wrap-hotel.wrap-hotel--1_2 .hotel:nth-child(2) {
        width: 100%;
    }

    .wrap-two-hotel {
        flex-wrap: wrap;
        margin: 0;
    }

    .wrap-learn {
        flex-wrap: wrap;
    }

    .learn {
        width: 100%;
    }

    .learn .wrap-img {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wrap-fours {
        flex-wrap: wrap;
    }

    .wrap-fours .wrap-four {
        width: 50%;
    }

    .wrap-two-auto {
        flex-wrap: wrap;
    }

    .two-auto {
        width: 100%;
        margin-bottom: 25px;
        padding: 0;
    }

    .auto--w100 {
        max-width: 344px;
        margin: 0 auto;
    }

    .flex-col-left {
        order: 2;
    }

    .wrap-two-item-auto .two-item-auto:nth-child(3n+1) {
        width: 100%;
    }

    .wrap-two-item-auto .two-item-auto:nth-child(2) {
        width: 100%;
        text-align: center;
    }

    .wrap-two-item-auto .two-item-auto:nth-child(3n) {
        width: 100%;
        text-align: center;
        order: 3;
    }

    .wrap-answer {
        width: 50%;
    }

    .flex-two--various .flex-two-item:nth-child(1) {
        width: 100%;
    }

    .flex-two--various .flex-two-item:nth-child(2) {
        width: 100%;
    }

    .flex-two.flex-two--flex-start {
        flex-direction: column-reverse;
    }

    .wrap-two-item-audit,
    .wrap-two,
    .two-article {
        flex-wrap: wrap;
    }

    .wrap-two-item-audit .two-item-audit {
        width: 100%;
        padding: 24px 0;
    }

    .wrap-two .wrap-two-item,
    .two-article .article {
        width: 100%;
    }

    .sec-7 {
        overflow: hidden;
    }

    .wrap-new--report .new-item:nth-child(1) {
        width: 100%;
    }

    .wrap-new--report .new-item:nth-child(2) {
        width: 100%;
    }

    .p-16.sticky {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .wrap-blogs {
        width: 50%;
    }

    .map-items {
        flex-wrap: wrap;
    }

    .map-item {
        width: 100%;
    }

    .h3-20.sticky {
        margin-bottom: 0;
    }

    .flex-two--accordion .flex-two-item {
        width: 100%;
    }

    .flex-two--accordion .flex-two-item:nth-child(2) {
        width: 100%;
    }

    .wrap-three {
        justify-content: center;
    }

    .wrap-three-shadow {
        flex-wrap: wrap;
    }

    .new-item--three {
        width: 100%;
    }

    .new-item--three:nth-child(2) {
        width: 100%;
    }

    .wrap-tel--2 .tel-item:nth-child(1) {
        width: 100%;
        order: 2;
    }

    .wrap-tel--2 .tel-item:nth-child(2) {
        width: 100%;
        order: 1;
    }

    .box-grey--tel p {
        font-size: 16px !important;
    }

    .wrap-three-shadow .three-item {
        width: 100%;
        padding: 15px 0;
    }

    .sec-2 .wrap-service--tm .service:nth-child(1) {
        width: 100%;
    }

    .sec-2 .wrap-service--tm .service:nth-child(2) {
        width: 100%;
    }

    .sec-16 .online {
        width: 100%;
    }

    .sec-6 .wrap-advantages--three .advantages-item {
        width: 50%;
    }

    .wrap-card {
        width: 50%;
    }

    .wrap-why {
        flex-wrap: wrap;
    }

    .why-item:nth-child(1) {
        width: 100%;
    }

    .why-item:nth-child(2) {
        width: 50%;
        margin: auto;
    }

    .wrap-accordion {
        padding: 3px 0 67px;
    }

    .wrap-dropdown {
        display: inline-block;
        float: none;
        position: absolute;
        top: 25px;
        right: 3px;
    }

    .accordion {
        padding: 10px 30px 10px 10px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    .panel p {
        padding: 0;
    }

    .flex-two {
        flex-direction: column;
        align-items: center;
    }

    .flex-two-item {
        width: 100%;
    }

    .flex-two--accordion .flex-two-item:nth-child(2) {
        order: 1;
    }

    .flex-two-item:nth-child(2) {
        order: -1;
    }

    .blog.flex {
        flex-direction: column;
        align-items: center;
    }

    .blog-img {
        width: auto;
        flex: 0 0 auto;
        padding: 15px 0;
    }

    .blog p {
        padding: 0 0px 18px;
    }

    .form.form--blog {
        flex-wrap: wrap;
    }

    .form.form--blog .item {
        width: 100%;
        flex: 0 0 auto;
    }

    .form.form--blog .item:nth-child(3) {
        flex: 0 0 auto;
    }

    .form.form--blog .item:nth-child(3) .btn-main {
        margin: 0 auto;
        display: table;
    }

    body h2 {
        line-height: 1.1em;
    }

    .testimonial-item {
        height: auto;
    }

    .wrap-new {
        flex-direction: column;

    }

    .new-item {
        width: 100%;
    }

    .new-text--normal {
        padding: 15px;
    }

    .wrap-audit {
        flex-direction: column;
        margin: 0;
    }

    .audit-item {
        margin: 15px 0px 15px;
        width: 100%;
    }

    .calc-img {
        margin: 15px auto;
    }

    .cash-item {
        width: 100%;
        min-height: 245px;
    }

    .three-item {
        width: 100%;
        padding: 15px;
    }


    .wrap-tel {
        flex-wrap: wrap;
    }

    .tel-img {
        margin-right: auto;
        border-radius: 18px;
    }

    .tel-item:nth-child(1) {
        width: 100%;
    }

    .tel-item:nth-child(2) {
        width: 100%;
    }

    .wrap-about-3 {
        flex-wrap: wrap;
        padding-top: 15px;
    }

    .service-2 .service:nth-child(1) {
        width: 100%;
    }

    .service-2 .service:nth-child(2) {
        width: 100%;
    }

    .about-3-item:nth-child(1) {
        width: 100%;
    }

    .about-3-item:nth-child(2) {
        width: 100%;
    }

    .about-3-item {
        margin: 0;
    }

    footer .footer-wrap {
        flex-wrap: wrap;
    }

    footer .footer-top .footer-item:nth-child(1) {
        flex-basis: 100%;
    }

    footer .footer-top .footer-item:nth-child(2) {
        flex-basis: 50%;
    }

    footer .footer-top .footer-item:nth-child(3) {
        flex-basis: 50%;
    }

    footer .footer-bottom p {
        padding-bottom: 15px;
    }

    .sec-14 .man-item {
        width: 100%;
    }

    .sec-14 .wrap-man {
        flex-direction: column;
    }

    .sec-14 .man-img {
        margin-top: 0;
    }

    .sec-14 .man-item:nth-child(2) {
        align-self: center;
    }

    .sec-7 .wrap-form {
        flex-direction: column;
        align-items: center;
    }

    .sec-7 .form {
        padding: 20px;
        margin-right: 0;
    }

    .sec-7 .wrap-btn-submit-popup {
        justify-content: center;
    }

    .sec-7 .form__img {
        margin-left: 0;
        transform: translate(0px, 12px);
    }

    .sec-7 .subtitle {
        width: 100%;
    }

    .sec-13 .wrap-control {
        flex-direction: column;
    }

    .sec-13 .control-item {
        width: 100%;
        padding: 8px;
    }

    .sec-12 .wrap-faq {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .sec-12 .item-faq {
        width: 100%;
        padding: 0 0 18px;
    }

    .sec-12 .answer {
        justify-content: flex-start;
    }

    .sec-10 .wrap-confidentiality {
        flex-direction: column;
    }

    .sec-10 .confidentiality-item:nth-child(1) {
        width: 100%;
    }

    .sec-10 .confidentiality-item:nth-child(2) {
        width: 100%;
    }

    .sec-10 .confidentiality-img img {
        width: auto;
        height: auto;
        transform: translate(0px, 0px);
        display: block;
        margin: 0 auto 25px;
    }

    .sec-9 .wrap-testimonials {
        padding: 25px 0px;
    }

    .sec-8 .wrap-warranty {
        /* flex-direction: column; */
        flex-wrap: wrap;
        justify-content: center;
    }

    .sec-8 .warranty-item {
        width: 50%;
        padding: 10px 0;
    }

    .sec-6 .advantages-item,
    .sec-3 .where-item {
        width: 50%;
    }

    .sec-4 .our-item {
        width: 100%;
    }

    .sec-2 .service {
        width: 100%;
    }

    .sec-2 .wrap-img {
        margin: 0 auto;
    }

    .sec-1 .topic {
        min-height: 277px;
        padding: 31px 25px 30px;
    }

}

@media only screen and (max-width: 720px) {
    .sec-1 .topic {
        margin: 84px auto 39px;
    }

    .slick-slider {
        margin: 0px;
    }

    .slick-prev {
        left: 0;
    }

    .slick-next {
        right: 0;
    }
    
    .services-detail-footnote .service-footnote{
        padding: 30px 50px;
    }
}

@media only screen and (max-width: 660px) {
    .wrap-hotel {
        flex-wrap: wrap;
    }

    .wrap-hotel .hotel {
        padding: 20px 0;
    }

    .padding-20 {
        padding: 0;
    }

    .hotel__img {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wrap-hotel.wrap-hotel--1_2 .hotel:nth-child(1) {
        order: 1;
    }

    .pagination-wrap {
        flex-direction: column;
    }

    .pagination-dots {
        flex-wrap: wrap;
    }

    .fancybox-content {
        padding: 20px;
    }

    .visit-item {
        width: 100%;
        padding: 15px 10px;

    }

    .wrap-arrows .arrow-item p {
        text-align: center;
    }

    .wrap-arrows {
        flex-direction: column;
    }

    .arrow-item.center {
        padding: 15px 0;
    }

    .arrow-item.center img {
        transform: rotate(90deg);
    }

    .wrap-line {
        flex-direction: column;
    }

    .line-item {
        text-align: center;
    }

    .line-item.red-arrow {
        padding: 20px 0;
    }

    .line-item.red-arrow img {
        transform: rotate(90deg);
    }

    .form-control--textarea {
        min-height: 150px;
    }
}

@media only screen and (max-width: 600px) {
    .wrap-spends .wrap-spend {
        width: 100%;
    }

    .wrap-blogs {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .blogs {
        max-width: 295px;
    }

    .sec-2 {
        margin-top: 20px;
    }

    footer .footer-top .footer-item:nth-child(1),
    footer .footer-top .footer-item:nth-child(2),
    footer .footer-top .footer-item:nth-child(3) {
        flex-basis: 100%;
    }

    footer .footer-wrap {
        padding: 0;
    }

    footer .footer-top .footer-item {
        padding: 0;
    }

    footer p {
        padding-bottom: 15px;
    }


    .sec-5 .wrap-tabs {
        margin-left: 0;
    }

    .sec-5 .tab-inner {
        flex-direction: column;
    }

    .sec-5 .tab {
        width: 100%;
        margin-left: 0;
        padding-left: 10px;
    }

    .sec-5 .tab-text {
        padding-left: 10px;
    }

    .sec-5 .tab-item {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
    }

    .tab-icon-1,
    .tab-icon-2,
    .tab-icon-3,
    .tab-icon-4,
    .tab-icon-5 {
        flex: 0 0 auto;
    }

}

@media only screen and (max-width: 550px) {

    .wrap-two {
        flex-direction: column;
    }

    .tur-item {
        width: 100%;
    }

    .tur-item__img {
        padding: 20px 0;
        justify-content: center;
    }

    .sec-16 .control-item p {
        padding-left: 0px;
    }

    .wrap-three-line.wrap-three-line--four .three-line__item {
        margin-right: 0;
    }

    .sec-6 .wrap-advantages--three .advantages-item {
        width: 100%;
    }

    .box-grey--normal {
        padding: 20px 15px;
    }

    .contact__tel,
    .contact__feedback,
    .contact__schedule,
    .contact__mail {
        padding-left: 40px;
    }

    .contact-item form {
        padding: 20px 10px;
        margin-right: 0;
    }


    .main-service .wrap-control {
        flex-direction: column;
    }

    .main-service .wrap-control .control-item {
        min-height: 36px;
        width: 100%;
    }

    .sec-7 .form-item {
        width: 100%;
    }

    .sec-6 .advantages-item,
    .sec-3 .where-item {
        width: 100%;
    }

    .sec-6 .advantages {
        padding: 0 0 50px;
    }

    .sec-1 .w-50 {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .wrap-two-why {
        flex-wrap: wrap;
    }

    .two-why-item:nth-child(2) {
        order: -1;
    }

    .two-why-item {
        width: 100%;
    }

    .why-item:nth-child(2) {
        width: 100%;
    }

    .navbar-default .navbar-toggle {
        margin-top: 22px;
        margin-left: 19px;
    }

    .sec-2 .num {
        padding: 0;
        width: 100%;
    }

    .sec-2 .wrap-service {
        margin-top: 15px;
    }

    .sec-2 .service {
        margin-bottom: 25px;
    }

    .num {
        width: 100%;
    }

    .wrap-card {
        width: 100%;
        padding: 15px 0;
    }

    .wrap-three {
        margin: 0;
    }
}

@media only screen and (max-width: 480px) {
    .apartments-item {
        width: 100%;
    }

    .sec-6 .wrap-advantages--four .advantages-item {
        width: 100%;
    }

    .wrap-answers--four .wrap-answer {
        width: 100%;
        padding: 15px 20px;
    }

    .learning-program-section__item.learning-program-section__item_active:last-child .learning-program-section__item-line {
        display: block;
    }

    .wrap-answer {
        width: 100%;
    }

    .wrap-fours .wrap-four {
        width: 100%;
    }
    .researches-preview{
        display: none;
    }
    .researches-preview.mm{
        display:block;
    }
    .services-detail-text h1, .services-detail-text h2, .sec-4.services-detail-our h2, .sec-13.sec-4.services-detail-faq h2{
        font-size: 18px;
    }
    .sec-13 h2 span{
        font-size: 18px;
    }
    .services-detail-footnote .service-footnote{
        padding: 20px;
    }
}


@media only screen and (max-width: 400px) {
    .spend__item {
        width: 100%;
        padding: 10px 5px;
    }

    .testimonials-img {
        width: 100%;
        height: auto;
    }

    .sec-8 .warranty-item {
        width: 100%;
        padding: 10px 0;
    }

    .sec-1 .topic {
        margin: 50px auto 20px;
    }

    header .navbar-header .collback {
        margin: 15px auto;
        flex: 0 0 auto;
    }

    .box-grey--form {
        border: 1px solid #e0e0e4;
        border-radius: 12px;
        padding: 20px 15px 25px;
    }
}


/***************************************************** */


/********************* min-width********************** */


/***************************************************** */

@media only screen and (min-width: 992px) {
    header .navbar-nav {
        float: right;
        margin: 0;
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 0;
    }
}


@media(max-width: 992px) {
    .is-detail .is-detail-send{
        display: none;
    }
    .is-preview{
        text-align: center;
        padding-top: 40px;
    }
    .is-detail .is-detail-send.mm{
        display: block;
    }
    .sec-4.is-detail-icons .our-item{
        width: 50%;
    }
    .sec-4.is-detail-icons .our-inner{
        display: flex;
    }
    .sec-4.is-detail-icons .our-text{
        margin: 0px 0px 0px 10px;
    }
    .services-detail-faq .faq-s-item .faq-s-question{
        min-height: 32px;
    }
}
@media(max-width: 880px) {
    .services-detail-faq .faq-s-item .faq-s-answer{
        min-height: 160px;
    }
}
@media only screen and (min-width: 1200px) {
    .dropdown-toggle {
        display: none;
    }

    .dropdown-menu {
        display: flex;
        top: 0;
        min-width: auto;
        background: transparent;
        position: relative;
        box-shadow: none;
        border: none;
    }

    .dropdown-menu li>a {
        padding: 11px 9px;
        border-bottom: 2px solid transparent;
    }

    .dropdown-menu li>a.active,
    .dropdown-menu li>a:hover,
    .dropdown-menu li>a:focus {
        background: transparent;
        color: #fff569;
        border-bottom: 2px solid #fff569;
    }
}

@media(max-width: 767px){
    .sec-4.is-detail-icons .our-item{
        width: 100%;
    }
    .services-detail-faq .faq-s-item .faq-s-question{
        min-height: initial;
    }
    .services-detail-faq .faq-s-item .faq-s-answer{
        min-height: initial;
    }
}