@media (max-width:1260px) {

    .desktop {
        display: none !important;
    }

    .mobile {
        display: block;
    }

    .main_menu {
        height: 60px;
    }

    .main_menu ul li:first-child {
   //     width: 80px;
    }

    .main_menu ul li:last-child {
        display: inline-block;
    }

    .main_menu ul li .lang-menu a {
        display: block;
        width: 60px;
    }

    .main_menu ul li div , .main_menu ul li a , .main_menu ul li .lang-menu a:first-child {
        margin: 0;
        margin-left: 10px;
    }

    a.orange-link {
        border: 1px solid #ff5c06;
        border-radius: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .main_menu a.orange-link {
      //  margin-right: 60px;
        float: none;
        display: block;
        margin: 0 auto;
        margin-left: 20px;
        margin-right: 20px;
        width: 180px;
        height: 45px;
        text-align: center;
        line-height: 45px;
        font-size: 16px;
    }

    @media (max-width:600px) {
        .cb-specoffer .cb-flex {
                flex-direction: column;
        }
        .main_menu a.orange-link {
            width: 90px;
            font-size: 14px;
            text-wrap: none;
            line-height: 22px;
        }
        .teaser-image img {
            height: auto;
        }
        .cb-apartment-image {
            object-fit: cover;
            height: auto;
            width: 100%;
        }
    }


    .content-block.header {
        height: 640px;
    }

    .header-logo-bg {
        top: 15%;
        left: -20%;
        width: 65%;
        height: 50%;
    }

    .header-logo-holder {
        top: 15%;
        left: -10%;
        width: 55%;
        height: 40%;
    }

    .header-subcaption {
        bottom: 15%;
        left: 35%;
    }

    .header-form-holder {
        width: 600px;
        height: 180px;
        z-index: 10;
    }

    .header-form-fieldset {
        width: 465px;
        height: 213px;
    }

    .header-form-submit {
        width: 135px;
        height: 135px;
    }

    @media (max-width:960px) {


        .header-vertical-slides-nav {
            display: none;
        }

        .header-logo-bg {
            width: 100%;
            left: -30%;
            height: 27%;
        }

        .header-logo-holder {
            top: 10%;
            left: 5%;
            width: 55%;
            height: 40%;
        }

        .header-subcaption {
            bottom: 24%;
            left: 35%;
            font-size: 30px;
        }

        @media (max-width:660px) {

            .cb-advantages h3 {
                padding: 20px;
                font-size: 30px;
            }
            .content-block.header {
                height: 650px;
            }

            .header-logo-bg {
                top: 12%;
                height: 22%;
            }

            .header-logo-holder {
                top: 11%;
                left: -10%;
                width: 65%;
                height: 25%;
            }

            .header-subcaption {
                bottom: 22%;
                left: 35%;
                font-size: 24px;
            }

            .header-form-holder {
                bottom: 220px;
                width: 350px;
                height: 180px;
            }

            .header-form-fieldset {
                width: 275px;
                height: 380px;
            }

            .header-form-submit {
                width: 75px;
                height: 135px;
                font-size: 22px;
                line-height: 38px;
            }

        }


    }

    .cb-description {
        padding: 30px;
        background-image: none;
    }


    .cb-description h3 {
        font-size: 42px;
        line-height: 42px;
    }

    .cb-description .cb-content {
        flex-direction: column;
    }


    .description-image-holder , .description-text-holder {
        margin: 20px auto;
    }

    @media (max-width:840px) {

        .cb-description h3 {
            margin: 10px auto;
            font-size: 22px;
            line-height: 22px;
        }

        .description-image-holder {
            width: 360px;
            height: 320px;
        }

        .cb-description-image {
            top:40px;
            left:40px;
        }

        .description-text-holder {
            margin: 10px auto;
            padding: 5px;
            width: 90%;
        }
    }

    .apartment-slide {
        flex-direction: column;
    }

    .apartment-images-holder {
        margin: 0 auto;
    }

    .apartment-description-holder {
        width: 90%;
    }

    @media (max-width:940px) {

        .cb-apartments h3 {
            padding: 80px;
            padding-bottom: 40px;
            font-size: 36px;
            line-height: 36px;
        }

        .cb-apartments .navigation-slider span {
            font-size: 20px;
            line-height: 20px;
        }

        .apartments-info-holder {
            padding-left: 10px;
            padding-right: 10px;
        }

        .apartment-images-holder {
            width: 380px;
            height: 325px;
        }

        .orange-square {
            width: 270px;
            height: 220px;
        }

        .grey-square {
            width: 215px;
            height: 230px;
        }

        .apartment-images-carousel-holder {
            left: 38px;
            top: 33px;
            width: 320px;
            height: 200px;
        }


    }

    .services-slide {
        flex-direction: column;
    }

    .services-images-holder{
        margin: 0 auto;
    }

    .services-description-holder {
        width: 90%;
        margin-bottom: 60px;
    }


    @media (max-width:940px) {

        .cb-services h3 {
            padding: 40px;
            font-size: 36px;
            line-height: 36px;
        }

        .cb-services .navigation-slider span {
            font-size: 20px;
            line-height: 20px;
        }

        .services-info-holder {
            padding: 20px;
        }

        .services-images-holder {
            width: 380px;
            height: 325px;
        }

        .services-images-holder .red-square {
            width: 270px;
            height: 220px;
        }

        .services-images-holder  .white-square {
            width: 215px;
            height: 230px;
        }


        .services-description-holder {
            margin: 20px;
            margin-top: 0px;
        }

        .service-images-carousel-holder {
            left: 38px;
            top: 33px;
            width: 320px;
            height: 200px;
        }
    }


    .advantages-holder {
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
    }

    .advantage-block {
        width: 90%;
    }

    .advantage-block .red-square {
        width: 160px;
        height: 160px;
    }

    .advantage-teaser {
        padding: 20px;
        margin: 20px;
    }

    .advantage-title {
        margin: 30px auto;
    }

    .advantage-text {
        margin: 10px auto;
        max-width: none;
    }



    @media (max-width:960px) {

        .cb-npa .flex-teasers-holder {
            margin: 10px auto;
            /* margin-top: 80px; */
			margin-top: 0px;
            margin-bottom: 40px;
            flex-direction: column;
        }

        .cb-npa .flex-teaser {
            flex: none;
            margin: 0 auto;
            padding: 20px;
            width: 60%;
        }

        @media (max-width:660px) {
            .cb-npa .flex-teaser {
                width: 90%;
            }
        }


    }


    .footer-contacts {
        position: relative;
        left:0;
        width: 100%;
        height: auto;
    }

    .footer-contacts.white-blur {
        background-color: #ff7534 !important;
    }

    .footer-contacts .payment-methods {
        margin-top: 50px;
    }
    @media (max-width:660px) {
        .slider-mobile {
            display: block;
        }
        #apartment-images-carousel-0,#apartment-images-carousel-1,#apartment-images-carousel-2,#apartment-images-carousel-3 {
            display: none;
        }
        .mobile-size-img {
            width: 320px;
            height: auto;
        }
        .footer-contacts .payment-methods {
            width: 234px;
            height: 31px;
        }
        .teaser-desc {
            padding-left: 0px!important;
            padding-right: 0px!important;
            padding-bottom: 40px;

        }
    }

    .map-holder {
        height: 520px;
    }

    .content-block.cb-footer-menu {
        height: auto;
    }

    .footer-menu-items {
        flex-direction: column;
        height: auto;
    }

    .footer-menu-item {
        margin: 16px;
    }


    /* Main menu positionning */
    .main-nav {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        text-align: center;
        background: #FFFFFF;
        opacity: 0;
        z-index: -1;
        visibility: hidden;
        transition: all .375s;
    }

    .main-nav.is-open {
        opacity: 1;
        z-index: 100;
        visibility: visible;
    }

    .main-nav::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: -15px;
        background: #ff5c06;
        transform-origin: 0 0;
        transform: skew(-14deg) translateX(-120%);
        transition: all .275s .1s;
    }

    .main-nav.is-open::before {
        transform: skew(-14deg) translateX(0);
    }

    /* Skewing effect on menu links */
    .main-nav ul {
        display: inline-flex;
        flex-direction: column;
        height: 100%;
        align-items: flex-end;
        justify-content: center;
        transform: translateX(-18%) skew(-16deg);
    }

    .main-nav li {
        display: block;
        margin: .5rem 0;
        text-align: right;
        transform: skew(16deg);
    }

    .main-nav a {
        opacity: 0;
        transform: translateY(-10px);
    }

    .main-nav.is-open a {
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav li:nth-child(1) a {
        transition: all 275ms 175ms
    }
    .main-nav li:nth-child(2) a {
        transition: all 275ms 225ms
    }
    .main-nav li:nth-child(3) a {
        transition: all 275ms 275ms
    }
    .main-nav li:nth-child(4) a {
        transition: all 275ms 325ms
    }
    .main-nav li:nth-child(5) a {
        transition: all 275ms 375ms
    }

    .main-nav ul,
    .main-nav li {
        list-style: none;
        padding: 0;
    }
    .main-nav a {
        display: block;
        padding: 12px 0;
        color: #FFFFFF;
        font-size: 1.4em;
        text-decoration: none;
        font-weight: bold;
    }

    .open-main-nav {
        position: absolute;
        top: 15px;
        padding-top: 20px;
        right: 15px;
        z-index: 1000;
        background: none;
        border: 0;
        cursor: pointer;



        top: 0;
        height: 50px;
        width: 43px;
        padding: 7px;
        padding-top: 20px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        background-color: #FFFFFF;

        //border: 1px solid red;
    }
    .open-main-nav:focus {
        outline: none;
    }
    .burger {
        position: relative;
        display: block;
        width: 28px;
        height: 4px;
    //  margin: 0 auto;
        background: #ff5c06;
    // transform: skew(5deg);
        transition: all .275s;
    }

    .burger:after,
    .burger:before {
        content: '';
        display: block;
        height: 100%;
        background: #ff5c06;
        transition: all .275s;
    }

    .burger:after {
        transform: translateY(-12px) translateX(0px) skew(0deg);
    }

    .burger:before {
        transform: translateY(-16px) skew(-10deg);
    }

    /* Toggle State part */
    .open-main-nav.is-open .burger {
        transform: skew(5deg) translateY(-8px) rotate(-45deg);
        background: #000000;
    }

    .open-main-nav.is-open .burger , .open-main-nav.is-open .burger:before, .open-main-nav.is-open .burger:after {
        background: #000000;
    }

    .open-main-nav.is-open .burger:before {
        transform: translateY(0px) skew(-10deg) rotate(75deg);
    }

    .open-main-nav.is-open .burger:after {
        transform: translateY(-12px) translateX(10px) skew(-20deg);
        opacity: 0;
    }

    .mobile-menu-container {
        position: fixed;
        top: 0;
        right: 0;
        overflow: hidden;
        height: 100px;
        width: 70px;
    // background: linear-gradient(to bottom, #eee, #ddd);
        z-index: 30;
    }

    .mobile-menu-container.is-open {
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }



}
