/* --- Media styles --- */

@media screen and (min-width:1200px) {}

@media screen and (max-width:1500px) {
    .topSlider .wImg img {
        width: 1600px;
    }
}

@media screen and (max-width:1299px) {
    .all_cnt {
        padding-top: 130px;
    }
    .topSlider .wImg img {
        width: 1300px;
    }
    header .logo {
        margin-right: 40px;
        width: 250px;
    }
    header .wrapPhone a {
        font-size: 14px;
        margin-right: 15px;
    }
    header .wrapPhone {
        margin-right: 15px;
    }
    header .btnCalc a {
        font-size: 14px;
    }
    header .btnCalc {
        padding-left: 35px;
    }
    .topSlider .btnTS {
        left: calc((100% - 930px) / 2);
    }
    .titleAll {
        font-size: 26px;
    }
    .bannerMenu .itemBM:nth-child(1) {
        width: 32%;
    }
    .bannerMenu .itemBM:nth-child(2) {
        width: calc(68% - 20px);
    }
    .bannerMenu .itemBM:nth-child(3) {
        width: calc(42.5% - 20px);
    }
    .bannerMenu .itemBM:nth-child(4) {
        width: calc(34% - 20px);
    }
    .bannerMenu .itemBM:nth-child(5) {
        width: 23.5%;
    }
    .bannerMenu .itemBM:nth-child(6),
    .bannerMenu .itemBM:nth-child(7),
    .bannerMenu .itemBM:nth-child(8) {
        width: calc((100% - 40px) / 3);
    }
    .calcHome .itemsCH {
        grid-template-columns: repeat(2, calc((100% - 20px) / 2));
    }
    .calcHome .itemCH:nth-child(5) {
        grid-column-start: unset;
        grid-column-end: span 2;
        grid-row-start: unset;
        grid-row-end: unset;
        flex-direction: row;
    }
    .calcHome .textCH {
        font-size: 20px;
    }
    .wrapPreim {
        flex-direction: column;
    }
    .preim .leftPreim,
    .preim .rightPreim {
        width: auto;
    }
    .preim .leftPreim {
        margin-bottom: 40px;
    }
    .preim .rightPreim {
        padding-left: 0;
    }
    .ustPotolok .titleUP {
        padding-left: 0;
    }
    .ustPotolok .itemsUP {
        padding: 0;
    }
    .ustPotolok .itemUP {
        width: 280px;
        height: 280px;
    }
    .ustPotolok .itemUP:nth-child(3n+3),
    .ustPotolok .itemUP:nth-child(3n+1) {
        transform: none;
    }
    .ustPotolok {
        margin-bottom: 100px;
    }
    .homepage .reviews .leftRev {
        width: calc(100% - 500px);
    }
    .reviews .rightRev {
        width: 500px;
    }
    .homepage .reviews .wrapItemsTextRev {
        margin-right: -120px;
        padding: 50px 60px 70px;
    }
    .reviews .itemTextRev .bodyTextRev {
        line-height: 1.4;
        font-size: 15px;
    }
    .footer {
        grid-template-columns: 360px 320px 1fr;
    }
}

@media screen and (max-width:1024px) {
    /* бощий отступ между блоками  */
    .topSlider,
    .bannerMenu,
    .calcHome,
    .ustPotolok,
    .preim,
    .reviews,
    .parters {
        margin-bottom: 50px;
    }
}

@media screen and (max-width:991px) {
    .all_cnt {
        padding-top: 70px;
    }
    .topSlider .wImg img {
        width: auto;
        max-width: 1000px;
    }
    header .btnCalc {
        display: none;
    }
    header .btnCallBack {
        display: none;
    }
    .wrapBottomLineHead {
        display: none;
    }
    .topSlider .btnTS {
        left: calc((100% - 690px) / 2);
        bottom: 20px;
    }
    .bannerMenu .itemBM .nameBM {
        font-size: 14px;
        padding: 0 20px 27px 20px;
    }
    .bannerMenu .itemBM .nameBM::after {
        display: none;
    }
    .ustPotolok .itemUP {
        width: 220px;
        height: 220px;
    }
    .ustPotolok .itemUP::before {
        font-size: 30px;
    }
    .ustPotolok .wImg {
        max-height: 70px;
        margin-bottom: 10px;
    }
    .ustPotolok .textUP {
        font-size: 14px;
        min-height: auto;
        text-align: center;
    }
    .ustPotolok .textUP br {
        display: none;
    }
    .reviews .columnRev {
        flex-direction: column-reverse;
    }
    .reviews .rightRev,
    .homepage .reviews .leftRev {
        width: auto;
    }
    .homepage .reviews .wrapItemsTextRev {
        margin-right: 0;
    }
    .reviews .titleRev {
        margin-bottom: 25px;
    }
    .footer {
        grid-template-columns: 360px 1fr;
    }
    .footer .colFoot-3 {
        display: none;
    }
    .itemsGallery .itemGallery a {
        height: 170px;
    }
    .jshop_list_category .list_category,
    .jshop_list_product .list_product {
        grid-template-columns: repeat(2, calc((100% - 10px) / 2));
        grid-gap: 10px;
    }
}

@media screen and (max-width:767px) {
    .all_cnt {
        padding-top: 55px;
    }
    /* общий доступ */
    .topSlider,
    .bannerMenu,
    .calcHome,
    .ustPotolok,
    .preim,
    .reviews,
    .parters {
        margin-bottom: 30px;
    }
    header .logo {
        width: 155px;
        margin-right: 15px;
    }
    .calcHome .textCH {
        font-size: 14px;
    }
    .calcHome .wImg {
        max-width: 70px;
    }
    .calcHome .itemsCH {
        grid-template-columns: 1fr;
    }
    .calcHome .itemCH:nth-child(5) {
        grid-column-end: unset;
    }
    .calcHome .itemCH:nth-child(5) .wImg {
        margin: -80px 0;
    }
    .calcHome .textCH .btnAll {
        text-align: center;
        padding: 10px;
    }
    .topSlider .wImg img {
        width: auto;
        max-width: 800px;
    }
    .topSlider .slick-dots {
        bottom: auto;
        left: 10px;
        transform: translateY(-50%);
        display: flex;
        top: 50%;
        flex-direction: column;
    }
    .topSlider .slick-dots li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }
    .topSlider .btnTS {
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
    }
    .topSlider .btnTS .btnAll {
        padding: 10px 15px;
    }
    .preim .itemsPP {
        grid-template-columns: repeat(2, 50%);
        grid-row-gap: 0;
    }
    .preim .titlePreim {
        margin-bottom: 20px;
    }
    .preim .itemPP:nth-child(4n+1),
    .preim .itemPP {
        border: none;
        padding: 5px;
    }
    .preim .itemsPP::before {
        display: none;
    }
    .reviews .rightRev .itemImgRev {
        height: auto;
    }
    .itemsGallery {
        grid-template-columns: repeat(2, calc((100% - 20px) / 2));
    }
    .extra_fields div {
        margin-bottom: 10px;
    }
    .extra_fields div .data,
    .extra_fields div .label-name {
        font-size: 14px;
        line-height: 1.2;
    }
    .jshop_list_category .block_category,
    .jshop_list_product .block_product {
        padding: 15px 20px;
    }
    .calc .itemsOknaImg {
        grid-template-columns: repeat(3, calc((100% - 20px) / 3));
        grid-gap: 10px;
        margin-bottom: 20px;
    }
    .calc .wrapColumnCalc {
        flex-direction: column-reverse;
    }
    .calc .rightCC,
    .calc .leftCC {
        width: auto;
    }
    .calc .rightCC {
        margin-bottom: 15px;
        display: block;
    }
    .calc .block_result {
        grid-template-columns: 250px 1fr;
    }
    .price_orientir {
        grid-column-start: span 2;
    }
    .itemsGallery .itemGallery a img {
        max-height: 450px;
    }
}

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

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

@media screen and (max-width:600px) {
    .all_cnt {
        padding-top: 65px;
    }
    .topSlider .btnTS {
        bottom: 15px;
    }
    .topSlider .btnTS .btnAll {
        white-space: nowrap;
    }
    .topSlider .wImg img {
        max-width: 600px;
    }
    .topSlider .itemTS {
        padding-bottom: 70px;
    }
    .bannerMenu .itemBM:nth-child(1),
    .bannerMenu .itemBM:nth-child(2),
    .bannerMenu .itemBM:nth-child(3),
    .bannerMenu .itemBM:nth-child(4),
    .bannerMenu .itemBM:nth-child(5),
    .bannerMenu .itemBM:nth-child(6),
    .bannerMenu .itemBM:nth-child(7),
    .bannerMenu .itemBM:nth-child(8) {
        width: calc((100% - 10px) / 2)
    }
    .bannerMenu .itemsBM {
        gap: 10px;
    }
    .bannerMenu .itemBM {
        height: 300px;
    }
    .bannerMenu .itemBM .wImg {}
    .bannerMenu .itemBM .wImg img {
        max-width: none;
    }
    header .wrapPhone {
        flex-direction: column;
        margin: 0;
        align-items: flex-start;
    }
    header .wrapPhone a {
        margin: 0;
    }
    footer {
        padding-top: 25px;
    }
    .footer {
        grid-template-columns: 1fr;
        margin-bottom: 15px;
    }
    .footer .logo {
        margin-bottom: 20px;
    }
    .footer .logo a {
        justify-content: center;
    }
    .footer .btnFoot {
        justify-content: center;
    }
    .footer .workTime {
        margin-bottom: 15px;
    }
    .footer .workTime span {
        margin-bottom: 10px;
    }
    .footer .wrapPhone {
        text-align: center;
    }
    .footer .colFoot-1 {
        text-align: center;
    }
    .footer .colFoot-2 {
        padding-top: 15px;
    }
    .webrazrabotka a,
    .webrazrabotka {
        text-align: center;
    }
    .jshop_list_category .block_category .image,
    .jshop_list_product .product .image {
        margin-bottom: 15px;
    }
    .jshop_list_category .list_category .category_name a,
    .jshop_list_product .product .name {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .jshop_list_product .product .jshop_price {
        margin-bottom: 15px;
        font-size: 20px;
    }
    .preim .itemsPreim .slick-prev,
    .preim .itemsPreim .slick-next {
        transform: translateY(-50%);
    }
    .preim .itemsPreim .slick-prev {
        left: -15px;
    }
    .preim .itemsPreim .slick-next {
        right: -15px;
    }
    .insidepage .reviews .itemTextRev {
        padding: 10px 15px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width:485px) {
    .topSlider .slick-dots {
        bottom: 85px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        top: auto;
    }
    .topSlider .slick-dots li {
        padding: 0 5px;
    }
    .topSlider .slick-dots li button {
        height: 15px;
        width: 15px;
    }
    .topSlider .wImg img {
        max-width: 485px;
    }
    .ustPotolok .itemsUP {
        justify-content: space-around;
        margin: 0 -15px;
    }
    .ustPotolok .itemUP {
        width: 150px;
        height: 150px;
        position: relative;
        justify-content: center;
        display: flex;
        padding: 10px;
        margin-bottom: 15px;
    }
    .ustPotolok .itemUP::before {
        font-size: 25px;
        position: absolute;
        left: 10px;
        top: 10px;
    }
    .ustPotolok .wImg {
        max-height: 40px;
    }
    .ustPotolok .textUP {
        line-height: 1;
    }
    .reviews .numTextRev {
        left: auto;
        right: 15px;
    }
    .homepage .reviews .wrapItemsTextRev {
        padding: 50px 15px 70px;
    }
    .reviews .itemTextRev .bodyTextRev {
        line-height: 1.2;
        font-size: 14px;
        text-align: justify;
    }
    .callback-modal .wImg {
        display: none;
    }
    .callback-modal__form {
        width: 100%;
    }
    .jshop_list_category .list_category,
    .jshop_list_product .list_product {
        grid-template-columns: 100%;
        grid-gap: 20px;
    }
    .pagination_result_counter {
        justify-content: center;
    }
    .calc .itemsOknaImg {
        grid-template-columns: repeat(2, calc((100% - 10px) / 2));
        grid-gap: 10px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width:425px) {
    .bannerMenu .itemBM {
        height: 170px;
    }
    .parters .itemPart {
        height: 100px;
    }
    .menuGallery .listManuGallery li a {
        font-size: 16px;
        padding: 10px 15px;
    }
}

@media screen and (max-width:400px) {
    .titleAll {
        text-align: center;
    }
    .callback-modal .wrapInput label {
        width: 100%;
    }
    .menuGallery .listManuGallery li {
        margin: 0 5px 15px;
    }
    .itemsGallery {
        grid-template-columns: repeat(2, calc((100% - 10px) / 2));
        grid-gap: 10px;
    }
    .calc .block_result {
        grid-template-columns: 180px 1fr;
    }
    .calc .alarm {
        font-size: 14px;
    }
}

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

@media screen and (max-width:335px) {
    header .logo {
        width: 135px;
    }
}