/* Переменные для удобного внесения изменений при необходимости */
:root {
    --color-black: #222; /* Черный цвет */
    --color-red: #f61818; /* Красный цвет */
    --color-white: #fff; /* Белый цвет */
    --color-dark-grey: #9b9b9b; /* Тёмно-серый цвет */
    --color-light-grey: #f8f8f8; /* Светло-серый цвет */
}

/* Кастомизация скроллбара */
html {
    scrollbar-color: var(--color-black) #f1f1f1;
}

/* Выделение текста на всём сайте */
html::-moz-selection {
    background: var(--color-red);
    color: var(--color-white);
}

html::selection {
    background: var(--color-red);
    color: var(--color-white);
}

/* Выделение текста тегами */
b,
strong {
    font-weight: 600 !important;
}

/* Ссылки в шапке и подвале */
header a svg:hover,
header a img:hover,
footer a svg:hover,
footer a img:hover {
    opacity: 0.7 !important;
    transition: all 0.2s !important;
}

.header-nav a:hover {
    border-bottom: 2px solid var(--color-red) !important;
}

/* Ссылки на странице */
.more-info-1 a,
.link-underline-1 a {
    border-bottom: 2px solid var(--color-black) !important;
}

.more-info-1 a:hover,
.link-underline-1 a:hover {
    border-bottom: 2px solid var(--color-red) !important;
    transition: all 0.2s !important;
}

div[data-elem-type="text"] a:hover {
    color: var(--color-red) !important;
    transition: all 0.2s !important;
}

/* Кликабельные изображения, плашки услуг и крестик попап окна услуг */
.my-img-link a:hover,
.my-services-link:hover,
a[href="#closepopup"]:hover {
    opacity: 0.85 !important;
    transition: all 0.2s !important;
}

/* Дополнительные стили для меню бургера */
.uc-header_burger .t450__logowrapper {
    margin-top: 30px !important;
    margin-bottom: 35px !important;
}
@media (max-width: 640px) {
    .uc-header_burger .t450__container {
        padding: 42px 40px 25px !important;
    }
}

/* Логотипы на главной */
.uc-partners-logo .t-slds__main.t-container {
    max-width: 1360px;
}

@media (max-width: 480px) {
    .uc-partners-logo .t738__item_6-in-row {
        width: 33% !important;
    }

    .uc-partners-logo .t-width .t-slds__wrapper {
        padding: 0 13px !important;
    }

    .uc-partners-logo .t738__item {
        padding: 18px 14px !important;
    }
}

/* Убираем скроллбар для содержимого табов раздела "Отрасли" */
.uc-tab-content .t396__artboard::-webkit-scrollbar,
.uc-our-tech .t396__artboard::-webkit-scrollbar {
    height: 0 !important;
    display: none !important;
}

.uc-tab-content .t396__artboard,
.uc-our-tech .t396__artboard {
    scrollbar-width: none !important;
}

/* Перенос текста */
.need-wrap {
    width: 100px !important;
}

/* Маркированные списки */
ul li::marker {
    color: var(--color-red) !important;
}
ol li::marker {
    color: var(--color-red) !important;
    font-weight: 600 !important;
}

/* Контактная форма в отдельном блоке */
.form-discuss-idea-project button {
    margin-right: 0 !important;
}

@media (min-width: 480px) and (max-width: 640px) {
    #rec917647585 .t-form__inputsbox.t-form__inputsbox_flex {
        flex-direction: column !important;
    }
    #rec917647585 .t-form__inputsbox_inrow,
    #rec917647585 .t-input-group {
        width: 100% !important;
    }
}

/* Уведомление о куки */
@media (max-width: 480px) {
    .uc-cookie-notice .t887 {
        width: 70% !important;
    }
}

/* Дополнительные стили для виджета заказа звонка */
.uc-callback .t708 .t708__wrapper {
    max-height: 75vh !important;
}

.uc-callback .t708 .t708__bottom-text>div {
    font-size: 12px !important;
    line-height: 16px !important;
}

/* Кнопка "Наверх" */
.uc-scroll-to-top button {
    border: 1px solid var(--color-black);
}

/* Скругление фреймов */
iframe {
    border-radius: 10px !important;
}

@media (max-width: 1199px) {
    iframe {
        border-radius: 6px !important;
    }
}

/* Корректировка оступов и размеров стандартных блоков */
@media (min-width: 1440px) {
    .uc-table .t-container {
        max-width: 1374px !important;
    }
    
    .uc-table .t-col {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Горизонтальный скролл со стрелками в zero block
* Для работы скролла используется ScrollBooster, скрипт подключен в подвале сайта
*/
.scrollbooster-viewport {
    cursor: -webkit-grab;
    cursor: grab;
    padding-bottom: 30px;
    margin-bottom: -30px;
    overflow-y: hidden !important;
}

.scrollbooster-viewport:active {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.scrollbooster-content {
    position: absolute;
    width: 100%;
    height: 100%;
}

[class*="sb_arrow"] {
    cursor: pointer !important;
}

[class*="sb_arrow"]:hover {
    opacity: 0.6 !important;
    transition: all 0.2s !important;
}

/* Выделение активного пункта меню (скрипт подключен в подвале сайта) */
a.active {
    color: var(--color-red) !important;
    transition: all 0.2s !important;
}

/* Скрыть буквы AI на фоне у первого блока для мобильных устройств */
@media (max-width: 480px) {
    .main-page_ai_bg {
        display: none !important;
    }
}