

/* 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/components/o2k/webinars.detail/templates/.default/bitrix/news.detail/webinar/max.css?17907516181022*/
.event__subscribe .event__subscribe-icon[data-type="max"] {
    background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%235C3795' fill-rule='evenodd' clip-rule='evenodd' d='M12.2363 22.9372C10.0773 22.9372 9.07399 22.6207 7.32998 21.3544C6.22682 22.7789 2.73353 23.8922 2.58118 21.9875C2.58118 20.5578 2.26599 19.3496 1.90878 18.0306C1.48329 16.4056 1 14.596 1 11.9739C1 5.71138 6.11652 1 12.1786 1C18.2459 1 22.9999 5.94353 22.9999 12.0319C23.0203 18.0262 18.2046 22.9052 12.2363 22.9372ZM12.3257 6.41307C9.37343 6.26008 7.07256 8.31241 6.56302 11.5307C6.14277 14.1951 6.88872 17.4397 7.52433 17.6086C7.82901 17.6824 8.59597 17.0599 9.07399 16.5798C9.86444 17.1282 10.7849 17.4576 11.7426 17.5347C14.8016 17.6825 17.4154 15.3435 17.6208 12.2746C17.7403 9.19921 15.3851 6.59436 12.3257 6.41836V6.41307Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;
}

/* 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/components/o2k/webinars.detail/templates/.default/bitrix/news.detail/webinar/max.css?17907516181022 */
/* /local/templates/diam/components/bitrix/photo.section/galery_v2/style.css?1782897157980 */
