

/* Start:/local/components/custom/main.menu/templates/.default/style.css?1764758929328*/
.main-menu .main-menu__container {
    display: none;
}

.main-menu .main-menu__container.active {
    display: flex;
}

.main-menu .main-menu__container .main-menu__section {
    display: flex;
    flex-direction: column;
}

.main-menu .main-menu__container .main-menu__section .main-menu__group {
    flex: 1;
}
/* End */


/* Start:/local/components/custom/main.menu/templates/burger/style.css?1764758929246*/
.burger-links .burger-links__container {
    display: none !important;
    height: 100%;
    flex-direction: column;
    overflow-y: auto;
    gap: 32px;
}

.burger-links .burger-links__container.active {
    display: flex !important;
}
/* End */


/* Start:/local/css/base-components.css?17647813935745*/
/* Базовые компоненты для текстовых страниц */

/* Блок ссылок (base-link) */
.base-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.base-link__item {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--color-blue-light, #E8F6FF);
    text-decoration: none;
    color: inherit;
    transition: background-color 200ms linear;
}

@media screen and (min-width: 768px) {
    .base-link__item {
        padding: 32px;
    }
}

.base-link__name {
    flex: 1 1 auto;
    letter-spacing: -0.3px;
    line-height: 22px;
    font-weight: 400;
    font-size: 15px;
    color: #161333;
    transition: color 200ms linear;
}

@media screen and (min-width: 768px) {
    .base-link__name {
        letter-spacing: -0.36px;
        line-height: 26px;
        font-size: 18px;
    }
}

@media screen and (min-width: 1280px) {
    .base-link__item:hover .base-link__name {
        color: var(--color-bright-blue);
    }
}

.base-link__box {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
}

@media screen and (min-width: 768px) {
    .base-link__box {
        width: 20px;
        height: 20px;
    }
}

.base-link__icon {
    flex: 0 0 auto;
    display: block;
    width: 8px;
    height: 8px;
    stroke: none;
    fill: #161333;
    margin-top: 6px;
    transition: fill 200ms linear;
}

@media screen and (min-width: 768px) {
    .base-link__icon {
        width: 11px;
        height: 11px;
    }
}

@media screen and (min-width: 1280px) {
    .base-link__item:hover .base-link__icon {
        fill: var(--color-bright-blue);
    }
}

/* Блок файла (base-file) */
.base-file {
    flex: 0 0 auto;
    background: var(--color-blue-light, #E8F6FF);
    padding: 24px 16px;
}

@media screen and (min-width: 768px) {
    .base-file {
        padding: 32px;
        cursor: pointer;
    }
}

.base-file__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.base-file__text {
    flex: 0 0 auto;
    letter-spacing: -0.3px;
    line-height: 22px;
    font-weight: 400;
    font-size: 15px;
    color: #161333;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .base-file__text {
        letter-spacing: -0.36px;
        line-height: 26px;
        font-size: 18px;
    }
}

.base-file__year {
    flex: 0 0 auto;
    letter-spacing: -0.3px;
    line-height: 20px;
    font-weight: 400;
    font-size: 15px;
    color: rgba(22, 19, 51, 0.4);
    margin: 0;
}

@media screen and (min-width: 768px) {
    .base-file__year {
        letter-spacing: -0.36px;
        line-height: 26px;
        font-size: 18px;
    }
}

.base-file__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

@media screen and (min-width: 768px) {
    .base-file__box {
        margin-top: 32px;
    }
}

.base-file__info {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.22px;
    line-height: 16px;
    font-weight: 500;
    font-size: 11px;
    color: #161333;
}

@media screen and (min-width: 768px) {
    .base-file__info {
        gap: 10px;
        letter-spacing: 0.3px;
        line-height: 22px;
        font-weight: 500;
        font-size: 15px;
    }
}

.base-file__size {
    flex: 0 0 auto;
    display: flex;
    gap: 4px;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .base-file__size {
        gap: 8px;
    }
}

.base-file__size span {
    flex: 0 0 auto;
}

.base-file__date {
    flex: 0 0 auto;
    position: relative;
    padding-left: 9px;
    margin: 0;
}

@media screen and (min-width: 768px) {
    .base-file__date {
        padding-left: 11px;
    }
}

.base-file__date::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    display: block;
    width: 1.5px;
    height: 12px;
    background-color: var(--color-dark-blue);
}

@media screen and (max-width: 1279px) {
    .base-file__date::before {
        width: 1px;
    }
}

@media screen and (min-width: 1280px) {
    .base-file__date::before {
        height: 18px;
    }
}

.base-file__link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.22px;
    line-height: 16px;
    font-weight: 500;
    font-size: 11px;
    color: #3D61F3;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .base-file__link {
        gap: 8px;
        letter-spacing: 0.3px;
        line-height: 22px;
        font-weight: 520;
        font-size: 15px;
        padding: 0 2px;
    }
}

@media screen and (min-width: 1280px) {
    .base-file__link {
        position: relative;
        background-image: linear-gradient(to right, var(--color-blue-sky), var(--color-blue-sky));
        background-repeat: no-repeat;
        background-position: 0 0;
        background-size: 0% 100%;
        transition: background-size 0s;
    }
    .base-file:hover .base-file__link {
        background-size: 100% 100%;
        transition: background-size 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
}

.base-file__icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    stroke: none;
    fill: #3D61F3;
}

@media screen and (min-width: 1280px) {
    .base-file__icon {
        width: 20px;
        height: 20px;
    }
}


/* End */


/* Start:/local/css/admin-panel.css?17647589295846*/
/* Глобальные стили для панели редактирования Bitrix */
.ui-btn-container {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 1000;
}

.prime__events .ui-btn-container {
    z-index: 2;
}

/* Стили для кнопки удаления */
.ui-btn--delete {
    background: #F4D2D5 !important;
    border-color: #F4D2D5 !important;
    color: #B72E39 !important;
    min-width: 120px;
    height: 32px;
    line-height: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    justify-content: center;
}

/* Размер SVG в кнопке удаления */
.ui-btn--delete svg {
    width: 24px;
    height: 24px;
}

/* Стили для кнопки редактирования */
.ui-btn--edit {
    background: #60bae3 !important;
    border-color: #60bae3 !important;
    color: #ffffff !important;
    min-width: 120px;
    height: 32px;
    line-height: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    justify-content: center;
}

/* Стили для кнопки добавления */
.ui-btn--add {
    background: #60bae3 !important;
    border-color: #60bae3 !important;
    color: #ffffff !important;
    min-width: 120px;
    height: 32px;
    line-height: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    justify-content: center;
}

/* Стили для кнопки сохранения */
.ui-btn--save {
    all: revert;
    display: inline-block;
    background: #60bae3 !important;
    border-color: #60bae3 !important;
    color: #ffffff !important;
    min-width: 200px;
    height: 32px;
    line-height: 1;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    justify-content: center;
    cursor: pointer;
    border-radius: 3px;
    padding: 6px 14px;
    margin-top: 12px;
}

/* Стили для инпутов админ-панели */
.ui-input {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgba(22, 19, 51, 0.2);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
    letter-spacing: -0.3px;
    line-height: 20px;
    font-weight: 400;
    font-size: 15px;
    color: rgba(22, 19, 51, 1);
    outline: none;
    transition: border-color 200ms linear, box-shadow 200ms linear;
}

.ui-input:focus {
    border-color: #60bae3;
    box-shadow: 0 0 0 3px rgba(96, 186, 227, 0.1);
}

.ui-input::placeholder {
    font: inherit;
    color: rgba(22, 19, 51, 0.4);
}

/* Стили для textarea админ-панели */
.ui-textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgba(22, 19, 51, 0.2);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
    letter-spacing: -0.3px;
    line-height: 20px;
    font-weight: 400;
    font-size: 15px;
    color: rgba(22, 19, 51, 1);
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: border-color 200ms linear, box-shadow 200ms linear;
    font-family: inherit;
}

.ui-textarea:focus {
    border-color: #60bae3;
    box-shadow: 0 0 0 3px rgba(96, 186, 227, 0.1);
}

.ui-textarea::placeholder {
    font: inherit;
    color: rgba(22, 19, 51, 0.4);
}

/* Стили для чекбоксов админ-панели */
.ui-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    letter-spacing: -0.3px;
    line-height: 20px;
    font-weight: 400;
    font-size: 15px;
    color: rgba(22, 19, 51, 1);
    user-select: none;
}

.ui-checkbox {
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(22, 19, 51, 0.2);
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    transition: border-color 200ms linear, background-color 200ms linear, box-shadow 200ms linear;
    flex-shrink: 0;
}

.ui-checkbox:checked {
    background: #60bae3;
    border-color: #60bae3;
}

.ui-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 6l3 3 5-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ui-checkbox:focus {
    box-shadow: 0 0 0 3px rgba(96, 186, 227, 0.1);
}

.ui-checkbox:hover {
    border-color: #60bae3;
}

/* Стили для битрикс панели */
#bx-panel {
  position: fixed !important;
  width: 100% !important;
  z-index: 9999 !important;
}

/* Стили для header при открытой битрикс панели */
body:has(#bx-panel.bx-panel-folded) .header {
  top: 38px !important;
}

body:has(#bx-panel:not(.bx-panel-folded)) .header {
  top: 147px;
}

/* Добавляем padding-top для страницы при открытой панели Bitrix */
/* При свернутой панели: 38px (панель) + 108px (шапка) = 146px */
body:has(#bx-panel.bx-panel-folded) .page {
  padding-top: 146px;
}

/* При развернутой панели: 147px (панель) + 108px (шапка) = 255px */
body:has(#bx-panel:not(.bx-panel-folded)) .page {
  padding-top: 255px;
}


/* End */
/* /local/components/custom/main.menu/templates/.default/style.css?1764758929328 */
/* /local/components/custom/main.menu/templates/burger/style.css?1764758929246 */
/* /local/css/base-components.css?17647813935745 */
/* /local/css/admin-panel.css?17647589295846 */
