@media screen and (max-width: 1023px) {
    .content {
        /*padding-top: 79px;*/
        padding-top: 153px;
    }
}

@media screen and (max-width: 767px) {
    .content {
        /*padding-top: 117px;*/
        padding-top: 108px;
    }
}

@media screen and (max-width: 479px) {
    .content {
        padding-top: 108px;
    }
}

/* layout */
@media screen and (max-width: 1279px) {
    .layouts__items {
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

    .layout {
        width: 33.33%;
        min-width: 220px;
        max-width: 220px;
        /*height: 270px;*/
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 15px 25px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .layout__about {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }

    .layout__examples {
        display: none;
    }

    .layout__image {
        width: 175px;
        height: 130px;
        margin: 0 auto;
        margin-bottom: 10px;
        position: relative;
        z-index: -5;
    }

    .layout__size {
        width: 40%;
    }

    .layout__price {
        max-width: 50%;
    }

    .layout__about-type {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .layout__about-name {
        font-size: 16px;
    }

    .layout__size {
        font-size: 16px;
    }

    .layout__price {
        font-size: 12px;
        padding: 15px 10px;
    }

    .layout__image-hover {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .layouts__nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .layouts__filter {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin-top: 25px;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .layouts__filter-item {
        width: 30%;
        margin-right: 0;
    }

    .layout {
        margin-left: auto;
        margin-right: auto;
    }

    .layouts__inner {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media screen and (max-width: 479px) {
    .layouts__head {
        font-size: 43px;
    }
}

/* about */
@media screen and (max-width: 1279px) {
    .about__text {
        max-width: 320px;
    }

    .about__main {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 1023px) {
    .about {
        padding-bottom: 50px;
    }

    .about__main {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 50px;
    }

    .about__image {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        height: 330px;
    }

    .about__text {
        max-width: initial;
        width: auto;
    }
    .about__blocks {
        margin-right: 0;
        flex: 1 1 100%;
        max-width: 100%;
    }
    .about__bonus {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-flow: row wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-evenly;
        margin-top: 20px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
        .about__main > div {
            width: 100%;
        }
    .about__bonus-item {
        margin-bottom: 20px;
        padding: 0 20px;
        text-align: left;
    }

    .about__bonus-item-image {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .about__bonus-item-head {
        text-align: center;
        margin-right: 15px;
    }

}

@media screen and (max-width: 767px) {
    .about__head {
        font-size: 43px;
        }

    .about__list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .about__inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    .about__list-item {
        width: 100%;
    }

    .about__bonus {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        /*justify-content: flex-start;*/
        justify-content: center;
    }

    .about__bonus-item-image-wrapper {
        width: 100px;
        display: flex;
        align-items: center;
        margin-right: 15px;
    }
    .about__bonus-item-image, .about__bonus-item-head {
        margin-right: auto;
        margin-left: auto;
    }

    .about__bonus-item {
        margin-bottom: 25px;
    }

    .about__bonus-item-head {
        text-align: left;
    }

    .about__terms {padding-left: 0; padding-right: 0;}
}

@media screen and (max-width: 479px) {
    .about__head {
        font-size: 30px;
    }

    .about__image {
        width: 100%;
        height: 175px;
    }

    .about__list-item-image {
        width: 65px;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin-right: 20px;
    }

    .about__list-item-image img {
        width: 80%;
    }

    .about__list-item-text {
        font-size: 16px;
    }

    .about {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}
/* docs */
@media screen and (max-width: 767px) {
    .docs-list a {
        font-size: 16px;
        letter-spacing: .8px;
        text-transform: none;
        line-height: 1.4;
    }
}

/* feedback */
@media screen and (max-width: 1279px) {
    .feedback__form {
        bottom: initial;
        left: 0;
        right: 0;
        margin: 0;
        top: 0;
        line-height: 40px;
    }
}

@media screen and (max-width: 767px) {
    .feedback {
        height: auto;
    }
    .feedback__map {
        position: relative;
        height: 600px;
    }
    .feedback__form {
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        line-height: 32px;
        position: relative;
        height: auto;
        opacity: 1;
    }
}

/* welcome */
@media screen and (max-width: 1023px) {
    .welcome__text {
        font-size: 70px;
    }
}

@media screen and (max-width: 767px) {
    .welcome__inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    .welcome {
        min-height: calc(100vh - 147px);
    }
}

@media screen and (max-width: 479px) {
    .welcome__text {
        font-size: 46px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* popup */
@media screen and (max-width: 1023px) {
    .popup {
        padding-top: 0;
    }

    .popup__inner {
        padding: 25px 35px;
        width: 100%;
    }

    .popup__about {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .popup__image {
        margin-bottom: 50px;
        width: 400px;
        height: 300px;
        margin-right: 0;
        flex: 0 0 auto;
    }

    .popup__closer {
        position: fixed;
    }
}

@media screen and (max-width: 479px) {
    .popup__image {
        width: 270px;
        height: 200px;
    }

    .popup .feedback__form {
        padding-left: 0;
        padding-right: 0;
    }
    .popup#mob_menu .popup__inner {
        min-height: 100vh;
        padding-top: 50px;
        }
}

/* header */
@media screen and (max-width: 1023px) {
    .header__list-item {
        margin-right: 10px;
    }

    .header__list-link {
        font-size: 16px;
    }

    .header__phone {
        font-size: 18px;
    }

/*    .header__logo-img {
        display: none;
    }

    .header__logo-img-mobile {
        display: block;
        width: 70%;
        height: 80px;
    }*/
}

@media screen and (max-width: 900px) {
    .header__navigation {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        width: 100%;
        margin: 0;
    }

    .header__list {
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin-top: 20px;
    }

    .header__inner {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-left: 25px;
        padding-right: 25px;
    }
}
@media screen and (max-width: 676px) {
    .header {
        padding-top: 10px;
        padding-bottom: 15px;
        }
    .header .header__nav {display: none;}
    .nav-ico {display: flex;}
    }

@media screen and (max-width: 479px) {
    .header__phone {
        font-size: 14px;
        /*flex: 0 0 100%;*/
        text-align: right;
    }
    .header__title {
        margin-right: 0;
    }

    .header__list-link {
        font-size: 12px;
    }
}

/* footer */
@media screen and (max-width: 1279px) {
    .footer__logo {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .footer__socios {
        display: none;
    }

    .footer__inner {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .footer__more {
        width: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        margin-top: 50px;
    }
}

@media screen and (max-width: 479px) {
    .footer__inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer__list-link {
        font-size: 12px;
    }

    .footer {
        padding-bottom: 35px;
    }
}

/** logo **/
@media (max-width: 479px) {
    .bl_logo {
        flex-direction: column;
        }
    }

/** terms_of_purchase **/
@media (max-width: 1023px) {
    .terms_of_purchase__item {
        margin-bottom: 20px;
        }
    }

/** sliders **/
@media (max-width: 676px) {
    .gallery img {max-height: 300px;}
    }
@media (max-width: 479px) {
    .gallery img {max-height: 200px;}
    }

/** text in footer**/
@media (max-width: 767px) {
    .footer__info_text {margin: 0;}
    }

/** список документов **/
@media (max-width: 1024px) {
    .docs-list {
        column-count: 2;
        }
    }
@media (max-width: 767px) {
    .docs-list {
        column-count: 1;
        }
    }
