/* CSS kod pishite v etom faile, chotobi pri ustanovke obnovlenii ne bilo problem  */
/* --------------------------------------- */
/* Here you can put custom css rules for your site */


@media (max-width: 991px) {
    .drag-block.GALLERY .gallery-list .owl-carousel--items-1.owl-carousel--show-next {
        max-width: 1078px !important;
    }
}

@media (max-width: 990px) {
    .drag-block.GALLERY .gallery-list .owl-carousel--items-1.owl-carousel--show-next {
        width: 100% !important;
        max-width: 100% !important;
    }

    .sticky-block.company-item__info.mobile-image-top-margin {
        margin-top: 52px;
    }
}

@media (max-width: 601px) {
    .drag-block.GALLERY .gallery-list__item-image-wrapper--BG {
        padding-top: 137% !important;
    }

    /* .drag-block.GALLERY .gallery-list .owl-item {
        width: 260px !important;
    } */

}


@media (max-width: 600px) {
    .mobile-scrolled::-webkit-scrollbar-thumb {
        background-color: rgba(153, 153, 153, 1);
        background-color: var(--gray_bg_black);
        border-radius: 10px;
        border: 2px solid var(--black_bg_black);
    }

    .mobile-scrolled::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: var(--black_bg_black);
    }

    .index-block--fon .mobile-scrolled::-webkit-scrollbar-track {
        background: #f8f8f8;
        background: var(--darkerblack_bg_black);
        border-color: var(--darkerblack_bg_black);
    }

    .mobile-scrolled::-webkit-scrollbar {
        width: 0;
        height: 6px;
    }

    .mobile-scrolled {
        -ms-overflow-style: none;
        overflow: -moz-scrollbars-none;
        scrollbar-width: none;
    }

    .index-block--padding-bottom-N .mobile-scrolled {
        position: relative;
        z-index: 5;
    }

    .sticky-block.company-item__info.mobile-image-top-margin {
        margin-top: 18px;
    }

    .drag-block.COMPANY_TEXT .company-item__tizers.company-item--mt-49 {
        margin-top: 18px !important;
    }
}

@media (max-width: 1259px) {
    .has-long-banner .page-top-info {
        padding-top: 55%;
    }
}

@media (max-width: 767px) {
    .has-long-banner .page-top-info {
        padding-top: 65%;
        margin-bottom: 15px;
    }
}

@media (max-width: 601px) {
    .has-long-banner .page-top-info {
        padding-top: 71%;
        margin-bottom: 48px;
        position: relative;
        min-height: 320px;
    }

    .detail-image--top_on_head:before {
        display: block !important;
    }


    .has-long-banner .page-top-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 3;
        bottom: 0;
    }

    .props-block-special+.page-top-wrapper {
        padding-bottom: 120px;
    }

    .detail-image--top_on_head {
        position: static !important;
        padding-top: 15% !important;
    }

    .page-top-info .props-block-special {
        order: 0 !important;
        z-index: 4;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding-bottom: 20px;
    }

    .has-long-banner .breadcrumbs__item-name {
        color: #fff;
    }

    .has-long-banner .topic h1 {
        color: #fff;
        border-color: #fff;
    }

    .has-long-banner .props-block-special .banner-light-text {
        color: #fff;
    }

    .banners-big--adaptive-1 .banners-big__depend-height {
        height: 425px;
    }
}

@media (max-width: 499px) {

    .has-long-banner .page-top-info {
        padding-top: 90% !important;
        margin-bottom: 0 !important;
    }

    .props-block-special+.page-top-wrapper {
        padding-bottom: 160px !important;
    }

    .topic__heading #pagetitle {
        font-size: 25px;
    }

    .page-top-info .props-block-special__wrapp {
        gap: 10px;
    }

    .banners-big--adaptive-1 .banners-big__depend-height {
        height: 325px;
    }
}

@media (max-width: 374px) {
    .has-long-banner .page-top-info {
        padding-top: 100% !important;
    }

    .topic__heading #pagetitle {
        font-size: 22px;
    }

    .detail-image--top_on_head {
        padding-top: 20% !important;
    }

    .has-long-banner .props-block-special .prop-item-value {
        font-size: 13px;
    }
}

.footer-info-review {
    display: flex;
    width: 100%;
    max-width: 150px;
    margin: 15px 0 0;
}

.footer-info-review iframe {
    display: block;
}





/* Блок с отзывами начало*/

.reviews-widget {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1412px;
    margin: 0 auto;
    padding: 40px 32px;
}

.reviews-widget__title {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    z-index: 10;
    color: #555;
    font-family: "Literata", Arial, sans-serif;
    font-size: 40px;
    line-height: 50px;
    margin: 0;
    flex: 1;
}

.reviews-widget__content {
    overflow: hidden;
    position: relative;
    flex: 1;
    width: 100%;
    height: 800px;
}

.reviews-widget__content iframe {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
}

.reviews-widget__link {
    box-sizing: border-box;
    text-decoration: none;
    color: #b3b3b3;
    font-size: 10px;
    font-family: YS Text, sans-serif;
    padding: 0 20px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-height: 14px;
    white-space: nowrap;
    padding: 0 16px;
}

@media (max-width: 992px) {
    .reviews-widget {
        padding: 40px 24px;
        gap: 10px;
    }
}

@media (max-width: 767px) {

    .reviews-widget {
        flex-direction: column;
        gap: 15px;
    }

    .reviews-widget__title {
        position: relative;
        top: auto;
        font-size: 30px;
        line-height: 40px;
    }

    .reviews-widget__content {
        flex: auto;
    }
}

@media (max-width: 600px) {
    .reviews-widget__title {
        font-size: 24px;
        line-height: 34px;
    }
}

/* Блок с отзывами конец*/

@media (max-width: 999px) {
    .detail-block.ordered-block.desc .content p>img {
        height: auto;
    }
}

@media (max-width: 600px) {
    .grid-list.grid-list--compact .js-popup-block, .owl-carousel .catalog-block__item {
        padding: 10px 8px 12px;
    }
}

#block-search-inner {
    background: #46718b;
    margin-top: 1px;
    padding: 0;
}

#block-search-inner .tl-container {
    box-sizing: border-box;
    max-width: 1170px;
    margin: 0 auto 30px;
}

#tl-search-form.fixed {
    top: 85px !important;
}

#tl-search-form {
    transition: 0.3s;
}

#tl-search-form.fixed {
    position: fixed !important;
    z-index: 99 !important;
    top: 70px !important;
    left: 0;
    right: 0;
    background: #46718b;
    max-width: 100% !important;
}

#tl-search-form.fixed>div {
    max-width: 1170px;
    margin: 0 auto;
}

.mobileheader.mobileheader_1 .page-header__link {
    color: #46718b;
}

#tl-search-form iframe {
    height: 135px !important;
}

@media (max-width: 1099px) {
    #tl-search-form iframe {
        height: 200px !important;
    }

}

@media (max-width: 999px) {
    #tl-search-form iframe {
        height: 220px !important;
    }
}

@media (max-width: 689px) {
    #tl-search-form iframe {
        height: 255px !important;
    }
}

@media (max-width: 414px) {
    #tl-search-form iframe {
        height: 378px !important;
    }
}

@media (max-width: 339px) {
    #tl-search-form iframe {
        height: 385px !important;
    }
}