

/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/style.css?17745187621164*/
.trial-section {
    background-color: #f0f0f0;
    /* Путь к картинке. Если она в папке шаблона, путь нужно уточнить */
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/img/request_free_lesson_2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.benefit-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: #555;
    font-weight: bold;
}

.content-relative {
    position: relative;
    z-index: 2;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/catalog.section.list/languages_menu/style.css?17817949575807*/
.lang-item-flex {
    flex: 0 0 calc(100% / 9 - 22px);
    min-width: 122px;
    position: relative;
}

.card.lang-card {
    border-radius: 12px !important;
    transition: all 0.2s ease;
}

@media (min-width: 992px) {
    .lang-item-flex:hover .lang-card {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

    .sub-menu-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        width: 200px;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .lang-item-flex:hover .sub-menu-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 991px) {
    .lang-item-flex {
        flex: 0 0 calc(50% - 10px);
        min-width: 120px;
    }

    /* Прозрачная кнопка поверх всей карточки для открытия меню */
    .mobile-menu-trigger {
        position: absolute;
        inset: 0;
        z-index: 2;
        cursor: pointer;
    }

    .sub-menu-dropdown {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        max-width: 400px;
        background: #fff;
        z-index: 2000; /* Выше всего */
        border-radius: 15px !important;
    }

    .js-lang-item.is-active .sub-menu-dropdown {
        display: block;
    }
}

/* Затемнение фона */
.menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 1500;
}

body.menu-open .menu-backdrop {
    display: block;
}

/* Стили элементов списка */
.dropdown-item {
    font-size: 14px;
    color: #333;
    white-space: normal;
}
.dropdown-item:active {
    background-color: #0d6efd;
}

@media (max-width: 1200px) { .lang-item-flex { flex: 0 0 calc(100% / 5 - 10px); } }
@media (max-width: 425px) { .lang-item-flex { min-width: 117px; } }
@media (max-width: 375px) { .lang-item-flex { min-width: 100px; } }
.animate-item {
    opacity: 0;
    transform: translateX(-15px);
    animation: slideInRight 0.4s ease forwards;
    /* Задержка рассчитывается на основе переменной --i из HTML */
    animation-delay: calc(var(--i) * 0.05s);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.min-height-40 {
    min-height: 48px;
    align-items: center;
    font-size: 15px;
    background-color: #f9f7f7;
    padding: 10px 15px;
    border-radius: 12px;
}

#dynamic-top-menu a:hover{
    color: #000 !important;
    text-shadow: 0 0 0.3px currentColor, 0 0 0.3px currentColor;
    transform: scale(1.01);
}

.card.lang-card.is-active {
    border-color: #BFC0C5 !important;
    box-shadow: 2px 2px 0px 0px #A7A7AC !important;

}
#dynamic-top-menu {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: hidden; /* Скрываем полосу, управляем мышкой */
    white-space: nowrap;
    cursor: ew-resize; /* Меняем курсор, чтобы подсказать пользователю возможность сдвига */
    user-select: none; /* Чтобы текст не выделялся при активном вождении мышкой */
}

.small-menu-link {
    display: inline-block;
    flex-shrink: 0; /* Не даем ссылкам сжиматься */
    padding-right: 10px; /* Запас между ссылками */
}

/* Скрываем стандартный некрасивый скроллбар, но оставляем возможность прокрутки */
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Чтобы ссылки не сжимались и не переносились */
.small-menu-link {
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Убираем отступ снизу, если скролл не нужен */
.custom-scrollbar {
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;  /* Firefox */
}
.custom-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.lang-title {
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-transform: unset !important;
}
.mob-title{
    display: none;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
}
@media screen and (max-width: 600px){

    .sections-menu-container h2 {
        font-weight: 400;
        font-size: 24px;
        line-height: 130%;
        letter-spacing: 0%;
        margin-bottom: 20px;
    }
    .sections-menu-container .d-flex{
        gap: 9px !important;
        margin-bottom: 0px !important;
    }
    .sections-menu-container .d-flex .card{
        padding: 6px 6px !important;
        width: 90px;
    }
    .lang-item-flex {
        width: 31% !important;
        min-width: auto !important;
    }
    .sections-menu-container .lang-title{
        font-weight: 300;
        font-size: 12px;
        overflow: hidden;
        height: 1.5em;
    }
    .mob-title{
        display: block;
    }
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/form.result.new/gray_form/style.css?17816771031998*/
.trial-section {
    background-color: #f0f0f0;
    /* Путь к картинке. Если она в папке шаблона, путь нужно уточнить */
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/gray_form/img/request_free_lesson_2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.trial-section.gray {
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/gray_form/img/form-gray-bg.png');
    background-size: cover;
}
.form-control-pill {
    border-radius: 50rem !important;
    padding: 0.7rem 1.3rem !important;
    border: 1px solid #ced4da !important;
    background-color: #fff !important;
}

.btn-pill {
    border-radius: 50rem !important;
    padding-left: 2 !important;
    padding-right: 2rem !important;
}

.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}

.benefit-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.trial-section.gray .benefit-list li::before {
    content: ' ';
    background-image: url('/local/templates/bigwig_wm/components/bitrix/form.result.new/gray_form/img/point-red-star.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 2px;
    color: #555;
    font-weight: bold;
    width: 15px;
    height: 15px;
}

.content-relative {
    position: relative;
    z-index: 2;
}
.trial-section h2{
    font-weight: 400 !important;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
}
.trial-section{
    padding: 60px 80px;
    margin-bottom: 120px;
    margin-top: 80px;
}
.trial-section.gray button[type="submit"]{
    background: #DF0611;
    text-align: left;
    padding: 14px 20px !important;
    color: white;
    font-weight: 400;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 130%;
    letter-spacing: 0%;
    position: relative;
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/others/style.css?17908745691280*/

.others_header h2 {
    margin-bottom: 60px;
}
.others_list {
    display: flex;
    gap: 32px;
    overflow: hidden;
    padding-bottom: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.others_list::-webkit-scrollbar {
    display: none;
}
.others_element {
    padding: 16px 20px;
    min-width: 260px;
    padding-right: 115px;
    position: relative;
    border-radius: 40px;
    background: #E7EBE4;
    font-size: 16px;
}
.others_element:nth-child(4n+1){
    background: #F9F7F7;
}
.others_element:nth-child(4n+2){
    background: #E6EAED;
}
.others_element:nth-child(4n+3){
    background: #E7EBE4;
}
.others_element::after{
    content: "\f138";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    font-size: 20px;
}
@media screen and (max-width: 600px){
    .others_list {
        overflow: auto;
        scroll-behavior: smooth;

    }

    .others_list::-webkit-scrollbar {
        display: initial;
    }
}
/* End */


/* Start:/local/templates/bigwig_wm/components/bitrix/news.list/contacts/style.css?17810103932174*/
/* Принудительно включаем анимацию для слайдера */
.carousel-item {
    transition: transform 0.6s ease-in-out !important;
}
.address-section h2{
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
}
.branch-select {
    display: flex;
    justify-content: center;
    align-items: center;
}
.branch-select label{
    width: 40%;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    margin-bottom: 0;
}
.branch-select select{
    width: 60%;
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0%;
}
.school {
    padding: 20px;
    border: 1px solid #BFC0C5;
    border-radius: 12px;
}
.school h3{
    text-align: center;
}
.address-section .card-body {
    width: 100%;
    min-width: 100%;
    text-align: center;
}
.address-section .card-body .card-text{
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 0;
}
.address-section .card-list {
    border-bottom: 1px solid #BFC0C5;
    padding-bottom: 20px;
}
.address-section .card-list h5{
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 12px;
}
.address-section .card-list button{
    border: none;
    background: none;
    font-weight: 300;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 130%;
    text-align: center;
    color: #666;

}
.address-section .card-list button:hover{
    border: none;
    background: none;
    color: #666;
}
.address-section .card-body .flex-wrap{
    flex-direction: column;
}
.address-section .card-body .flex-wrap .card-list{
    width: 100%;
}
.address-section .card-body .flex-wrap .card-list .d-block{
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 12px;
}
.address-section .card-body .flex-wrap .card-list .data{
    font-weight: 300;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #353535;
}
/* End */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/callback_popup/style.css?17745187621164 */
/* /local/templates/bigwig_wm/components/bitrix/catalog.section.list/languages_menu/style.css?17817949575807 */
/* /local/templates/bigwig_wm/components/bitrix/form.result.new/gray_form/style.css?17816771031998 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/others/style.css?17908745691280 */
/* /local/templates/bigwig_wm/components/bitrix/news.list/contacts/style.css?17810103932174 */
