

/* Start:/local/components/o2k/webinars.detail/templates/.default/bitrix/news.detail/webinar/style.css?17854040207413*/
/* Адаптивный баннер первого экрана */
.event__head picture.event__head-frame--adaptive {
    aspect-ratio: auto;
    margin-bottom: 36px;
}

.event__head .event__head-frame--adaptive img {
    aspect-ratio: auto
}

/* Галерея: квадратные и прямоугольные фото в одном слайдере */
.event__slider--adaptive .product-slide__head--adaptive {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 360 / 225;
    background: #fff;
    overflow: hidden;
}

.event__slider--adaptive .product-slide__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.event__slider--adaptive .product-slide__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event__slider--adaptive.big_photo .image-slide__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 360 / 225;
    background: #fff;
    overflow: hidden;
}

.event__slider--adaptive.big_photo .image-slide__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event__slider--adaptive .event-gallery-fancybox {
    display: flex;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    text-decoration: none;
}

.event__slider--adaptive .product-slide__fancybox,
.event__slider--adaptive .image-slide__fancybox {
    align-items: center;
    justify-content: center;
}

/* Кнопка в контентном блоке */
.event__content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    margin-top: 16px;
}

/* Ссылки в текстовом контенте блоков */
.event .event__body .event__chapter > div a:not(.event__content-btn),
.event .event__body .event__chapter--timeline > div a:not(.event__content-btn) {
    font-weight: 700;
    text-decoration: underline;
}

.event .event__body .event-table td a {
    font-weight: inherit;
    text-decoration: none;
}

/* Обычные списки — list-item; flex только у пунктов расписания (h4 + div) */
.event .event__body li {
    display: list-item;
}

.event .event__body .event__chapter--timeline li:has(> h4 + div) {
    display: flex;
}

.event .event__body .event__chapter > div li a,
.event .event__body .event__chapter--timeline > div li a {
    display: inline;
}

/* В обычных секциях списки должны обтекать float-картинки (align=right).
   display:flex у ul/li создаёт BFC с min-width:auto и выталкивает список под картинку. */
.event .event__body .event__chapter:not(.event__chapter--timeline) > div ul,
.event .event__body .event__chapter:not(.event__chapter--timeline) > div ol {
    display: block;
}

.event .event__body .event__chapter:not(.event__chapter--timeline) > div ul > li,
.event .event__body .event__chapter:not(.event__chapter--timeline) > div ol > li {
    display: block;
}

.event .event__body .event__chapter:not(.event__chapter--timeline) > div ul > li + li,
.event .event__body .event__chapter:not(.event__chapter--timeline) > div ol > li + li {
    margin-top: 8px;
}

.event .event__body .event__chapter img[align="right"],
.event .event__body .event__chapter a.i-fancy img[align="right"] {
    float: right;
    margin: 0 0 16px 16px;
}

.event .event__body .event__chapter img[align="left"],
.event .event__body .event__chapter a.i-fancy img[align="left"] {
    float: left;
    margin: 0 16px 16px 0;
}

/* Grid — только для пунктов расписания первого уровня.
   Вложенные списки (ul/ol внутри li) возвращаем к обычному отображению. */
.event .event__body section.event__chapter.event__chapter--timeline li li {
    display: list-item;
    width: auto;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0;
    list-style: disc;
    padding: 0;
}

.event .event__body section.event__chapter.event__chapter--timeline li ul {
    margin-left: 20px;
}

/* Вертикальный скролл модалки заявки, если контент не помещается на экране */
.modal-webinar-single {
    max-height: 100vh;
    overflow-y: auto;
}

/* Иконка «Место проведения»: map pointer над кольцом, цвет как у мультиконференций */
.event__subscribe .event__subscribe-icon[data-type="location"] {
    background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 2.5C13.0294 2.5 9 6.5 9 11.5C9 16.5 18 22.5 18 22.5C18 22.5 27 16.5 27 11.5C27 6.5 22.9706 2.5 18 2.5Z' fill='%235C3795'/%3E%3Ccircle cx='18' cy='11.5' r='3' fill='white'/%3E%3Ccircle cx='18' cy='29' r='4' stroke='%235C3795' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

.event__subscribe .event__subscribe-item--location .event__subscribe-text {
    flex: 1;
}

.event__subscribe .event__subscribe-item--location .event__subscribe-arrow {
    margin-left: auto;
}

.event__subscribe .event__subscribe-text a.event__subscribe-text--highlight {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

.event__subscribe .event__subscribe-text a.event__subscribe-text--highlight:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Иконка календаря слева от обеих строк (заголовок + ссылки), по вертикали по центру */
.event .event__schedule {
    display: flex;
    align-items: center;
    gap: 16px;
}

.event .event__schedule .event__schedule-icon {
    position: relative;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.event .event__schedule .event__schedule-frame {
    display: block;
    width: 36px;
    height: 36px;
}

.event .event__schedule .event__schedule-frame img {
    display: block;
    width: 100%;
    height: 100%;
}

.event .event__schedule .event__schedule-day {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    width: 28px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    background: #fff;
    font-size: 14px;
    line-height: 120%;
    font-weight: 700;
    color: var(--color-primary);
}

.event .event__schedule .event__schedule-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.event .event__schedule .event__schedule-title {
    display: block;
    margin-bottom: 0;
}

.event .event__schedule .event__schedule-list {
    padding-left: 0;
}

/* Левая колонка должна прокручиваться независимо от правой */
@media (min-width: 1200px) {
    .event .event__aside {
        align-self: start;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .event .event__aside::-webkit-scrollbar {
        display: none;
    }
}

/* End */


/* Start:/local/templates/diam/components/bitrix/photo.section/galery_v2/style.css?1782897157980*/
/* Lightbox: стили из шаблона galery */
.fancybox-overlay .preview-text-block {
    color: #000;
    margin-top: 6px;
}

.fancybox-overlay .preview-text-block .title {
    font-size: 14px;
    font-weight: bold;
}

.fancybox-overlay .preview-text-block .descr {
    font-size: 12px;
}

.fancybox-nav {
    width: 50px;
}

.fancybox-wrap .fancybox-prev span {
    background: url(/local/templates/diam/css/images/arrow_left.png) no-repeat;
}

.fancybox-wrap .fancybox-next span {
    background: url(/local/templates/diam/css/images/arrow_right.png) no-repeat;
}

.fancybox-wrap .fancybox-nav span {
    visibility: visible;
}

.fancybox-wrap .fancybox-prev {
    left: -65px;
}

.fancybox-wrap .fancybox-next {
    right: -65px;
}

.fancybox-title-float-wrap {
    top: calc(100% + 7px);
    bottom: auto;
}

.fancybox-title-float-wrap .child {
    white-space: break-spaces;
    word-break: break-word;
}

.fancybox-title .preview-text-block a {
    color: #000;
}

/* End */
/* /local/components/o2k/webinars.detail/templates/.default/bitrix/news.detail/webinar/style.css?17854040207413 */
/* /local/templates/diam/components/bitrix/photo.section/galery_v2/style.css?1782897157980 */
