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

/* ========== Мобильные прокрутки (scrollbar) ========== */
@media (max-width: 600px) {
    .mobile-scrolled::-webkit-scrollbar-thumb {
        background-color: #999999;
        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;
    }

    /* Тело на мобильных устройствах */
    body .mobile-scrolled {
        display: flex;
        /* overflow: auto; */
        /* padding-bottom: 15px !important; */
        /* margin-bottom: -15px !important; */
        /* padding-top: 15px !important; */
        /* margin-top: -15px !important; */
        grid-gap: 24px;
        flex-direction: column;
        align-items: center;
    }

    /* Секция "Главная проекты" */
    .mobile-scrolled .sections-list__item-image-wrapper--BG {
        padding-top: 60%;
    }

    /* Исправление экранированного селектора */
    #main .mobile-scrolled--items-2 > div {
        width: 300px;
    }
}

/* ========== Партнеры ========== */
.partner-list-inner__image-wrapper .show-link.partner-list-inner__image {
    width: 100%;
}

.partner-list-inner__image-wrapper .show-list.partner-list-inner__image-bg {
    background-size: cover;
}

.show-partner .gallery-small {
    padding: 30px 0;
}

/* ========== Галерея выставочные площадки ========== */
.galery_vp {
    margin: 0 auto;
    padding: 25px 15px;
    text-align: center;
}

/* ========== Видеоотзывы на главной ========== */
.video_wrapper {
    margin: 0 2px;
}

/* ========== Стили таблицы (IKSWEB) ========== */
table.iksweb {
    text-decoration: none;
    border-collapse: collapse;
    width: 100%;
    text-align: center;
}

table.iksweb th {
    font-weight: normal;
    font-size: 14px;
    color: #ffffff;
    background-color: #0f65a3;
}

table.iksweb td {
    font-size: 13px;
    color: #354251;
}

table.iksweb td,
table.iksweb th {
    white-space: pre-wrap;
    padding: 10px 5px;
    line-height: 13px;
    vertical-align: middle;
    border: 1px solid #0f65a3;
}

table.iksweb tr:hover {
    background-color: #f9fafb;
}

table.iksweb tr:hover td {
    color: #354251;
    cursor: default;
}

/* ========== Детальная карточка проекта ========== */
#navigation {
    display: none;
}

.detail-image--top_on_head:before {
    content: "";
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
}

/* ========== Баннеры, заголовки ========== */
@media (min-width: 601px) {
    .has-long-banner .topic h1 {
        color: #fff;
        border-color: #fff;
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .topic__heading #pagetitle {
        font-size: 2em;
        line-height: calc(1em + 6px);
        /*color: white;*/
    }
}

/*@media (max-width: 767px) {
    .banners-big--adaptive-1 .banners-big__depend-height {
        height: 200px;
    } */
}

/* ========== Кнопка Авито в футере ========== */
.avito {
    width: 39px;
    height: 39px;
    border-radius: 5px;
    background-color: #474747;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-color 0.3s;
    margin: 6px;
}

.avito img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.avito:hover {
    background-color: #278AC9;
}

.avito-text {
    position: fixed;
    background-color: white;
    color: black;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 3px;
    display: none;
    pointer-events: none;
    z-index: 1000;
}

.avito:hover .avito-text {
    display: block;
}

/* ========== Кнопка WhatsApp ========== */
.whatsapp-button {
    position: fixed;
    bottom: 65px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    fill: white;
}

.blink {
    animation: blink-animation 2s infinite;
}

@keyframes blink-animation {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ========== Стиль для виджета Битрикс24 (B24) ========== */
.b24-widget-button-wrapper.b24-widget-button-position-bottom-right,
.b24-widget-button-wrapper.b24-widget-button-position-bottom-middle,
.b24-widget-button-wrapper.b24-widget-button-position-bottom-left {
    margin: 0 -34px 81px 0;
}

.slider-solution .scrollbar {
    overscroll-behavior: auto;
}