

/* Start:/local/templates/main_b2b/components/bitrix/news.detail/calendar/style.css?177718665319388*/
.page-container.page-container--with-padding > .section-with-description:first-of-type {
    display: none;
}

.calendar-detail {
    display: grid;
    grid-template-columns: 416px minmax(0, 1fr) 308px;
    grid-template-areas:
        "cover main aside"
        "cover content aside";
    column-gap: 32px;
    align-items: start;
}

@media (min-width: 1281px) {
    .calendar-detail__cover, .calendar-detail__aside, .calendar-detail__main {
        position: sticky;
        top: 83px;
    }
    .calendar-detail__main {
        background-color: #f9fcff;
        z-index: 1;
        padding-bottom: 10px;
    }
    .calendar-detail__actions * {
        z-index: auto !important;
    }
}

.calendar-detail__cover {
    grid-area: cover;
    width: 416px;
    height: 282px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.calendar-detail__img {
    display: block;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

@media (max-width: 767px) {
    .calendar-detail__cover {
        width: 100vw;
        max-width: 100%;
        height: auto;
        min-height: 180px;
    }
    .calendar-detail__img {
        max-width: 100vw;
        max-height: 220px;
    }
}

.calendar-detail__main {
    grid-area: main;
    min-width: 0;
}

.calendar-detail__content {
    grid-area: content;
    min-width: 0;
}

.calendar-detail__favorite-wrap {
    margin-top: 13.5px;
    margin-bottom: 13.5px;
}

.calendar-detail .b-detail__favorite {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #919191;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
    gap: 8px;
    cursor: pointer;
}

.calendar-detail .b-detail__favorite:hover {
    opacity: 0.85;
}

.calendar-detail .b-detail__favorite .detail__favorite-icon,
.calendar-detail .b-detail__favorite .detail__favorite-icon svg {
    width: 22px;
    height: 22px;
}

.calendar-detail .b-detail__favorite .detail__favorite-icon svg path {
    fill: transparent !important;
    stroke: #919191;
}

.calendar-detail .b-detail__favorite.remove-to-favorite .detail__favorite-icon svg path {
    fill: #919191 !important;
    stroke: #919191;
}

.calendar-detail__title {
    margin: 0;
    font-size: 32px;
}

.calendar-detail__tags {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calendar-detail__tag {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
}

.calendar-detail__tag-dot {
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.calendar-detail__text {
    margin-top: 16px;
    display: flow-root;
    color: #123670;
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    word-break: break-word;
}

.calendar-detail__text > * {
    margin-top: 0;
    margin-bottom: 0;
}

.calendar-detail__actions {
    margin-top: 32px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.calendar-detail__more-btn {
    width: 232px;
    min-height: 48px;
    max-width: 100%;
}

.calendar-detail__next-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(10, 26, 62, 0.5);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
}

.calendar-detail__next-link svg path {
    stroke: rgba(10, 26, 62, 0.5);
}

.calendar-detail__next-link:hover {
    color: #0a1a3e;
}

.calendar-detail__next-link:hover svg path {
    stroke: #0a1a3e;
}

.calendar-detail__aside {
    grid-area: aside;
    width: 308px;
    min-height: 264px;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    min-width: 0;
}

.calendar-detail__aside-label {
    margin: 0 0 8px;
    color: #919191;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
}

.calendar-detail__aside-block + .calendar-detail__aside-block {
    margin-top: 20px;
}

.calendar-detail__date-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.calendar-detail__date-item {
    display: flex;
    align-items: flex-start;
    gap: 2px;
}

.calendar-detail__date-day {
    margin: 0;
    color: #123670;
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
}

.calendar-detail__date-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
}

.calendar-detail__date-month {
    color: #123670;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.calendar-detail__date-weekday {
    color: #adadad;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.calendar-detail__date-separator {
    display: block;
    flex-shrink: 0;
}

.calendar-detail__date-separator svg {
    display: block;
}

.calendar-detail__date-fallback,
.calendar-detail__address {
    margin: 0;
    color: #123670;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
}

.calendar-detail__aside-action {
    margin-top: 20px;
    width: 268px;
    max-width: 100%;
    min-height: 48px;
}

.calendar-detail-modal[hidden] {
    display: none;
}

.calendar-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.calendar-detail-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 62, 0.45);
}

.calendar-detail-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 632px);
    min-height: 736px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(10, 26, 62, 0.18);
    font-family: "Raleway", Arial, sans-serif;
}

.calendar-detail-modal__dialog--success {
    min-height: 721px;
}

.calendar-detail-modal__view[hidden] {
    display: none;
}

.calendar-detail-modal__view--success {
    min-height: 641px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calendar-detail-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #0a1a3e;
    cursor: pointer;
}

.calendar-detail-modal__close-icon {
    width: 17px;
    height: 17px;
}

.calendar-detail-modal__close-icon--mobile {
    display: none;
}

.calendar-detail-modal__close:hover {
    background: transparent;
}

.calendar-detail-modal__title {
    margin: 0 52px 24px;
    text-align: center;
    color: #0a1a3e;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 130%;
}

.calendar-detail-modal__body .tour-request-form-wrapper {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.calendar-detail-modal__body .error-message {
    margin: 0 0 16px;
    color: #d92d20;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0.01em;
}

.calendar-detail-modal__body .tour-request-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.calendar-detail-modal__body .tour-req-form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px !important;
}

.calendar-detail-modal__body .custom-text-label,
.calendar-detail-modal__body .custom-number-label,
.calendar-detail-modal__body .custom-d-range-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calendar-detail-modal__body .custom-text-label label,
.calendar-detail-modal__body .custom-number-label label,
.calendar-detail-modal__body .custom-d-range-label label {
    display: inline-flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 0 !important;
    color: #344054;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0.01em;
}

.calendar-detail-modal__body .custom-text-label label > span + span,
.calendar-detail-modal__body .custom-number-label label > span + span,
.calendar-detail-modal__body .custom-d-range-label label > span + span {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 8px;
    height: 20px;
    margin-left: 0 !important;
    color: #2f8eed !important;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
    vertical-align: top;
}

.calendar-detail-modal__body .custom-text-input,
.calendar-detail-modal__body .custom-number-input,
.calendar-detail-modal__body .custom-d-range-input {
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #0a1a3e;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0.01em;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.calendar-detail-modal__body .custom-text-input:focus,
.calendar-detail-modal__body .custom-number-input:focus,
.calendar-detail-modal__body .custom-d-range-input:focus {
    border-color: #2f8eed;
    box-shadow: none;
    outline: none;
}

.calendar-detail-modal__body .custom-number-input::-webkit-outer-spin-button,
.calendar-detail-modal__body .custom-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calendar-detail-modal__body .custom-number-input[type="number"] {
    -moz-appearance: textfield;
}

.calendar-detail-modal__body .custom-text-input::placeholder,
.calendar-detail-modal__body .custom-number-input::placeholder,
.calendar-detail-modal__body .custom-d-range-input::placeholder {
    color: #919191;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0.01em;
}

.calendar-detail-modal__body .custom-text-label.is-error label > span + span,
.calendar-detail-modal__body .custom-number-label.is-error label > span + span,
.calendar-detail-modal__body .custom-d-range-label.is-error label > span + span {
    color: #fda29b !important;
}

.calendar-detail-modal__body .custom-text-label.is-error .custom-text-input,
.calendar-detail-modal__body .custom-number-label.is-error .custom-number-input,
.calendar-detail-modal__body .custom-d-range-label.is-error .custom-d-range-input {
    border-color: #fda29b;
    color: #0a1a3e;
    box-shadow: none;
}

.calendar-detail-modal__body .tour-request-field-error {
    margin-top: 0;
    color: #d92d20;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0.01em;
}

.calendar-detail-modal__body .tour-request-field-error[hidden] {
    display: none;
}

.calendar-detail-modal__body .tour-req-agree {
    margin: 0 0 24px !important;
}

.calendar-detail-modal__body .tour-req-agree label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    color: #123670 !important;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 130% !important;
    letter-spacing: 0.01em !important;
}

.calendar-detail-modal__body .tour-req-agree input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
}

.calendar-detail-modal__body .tour-req-agree.is-error input[type="checkbox"],
.calendar-detail-modal__body .tour-req-agree input[type="checkbox"].is-error {
    border-color: #fda29b;
}

.calendar-detail-modal__body .tour-req-agree input[type="checkbox"]::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    opacity: 0;
}

.calendar-detail-modal__body .tour-req-agree input[type="checkbox"]:checked {
    border-color: #2f8eed;
    background: #2f8eed;
}

.calendar-detail-modal__body .tour-req-agree input[type="checkbox"]:checked::after {
    opacity: 1;
}

.calendar-detail-modal__body .tour-req-agree input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(47, 142, 237, 0.28);
    outline-offset: 2px;
}

.calendar-detail-modal__body .tour-req-agree span {
    display: block;
    color: #123670;
}

.calendar-detail-modal__body .tour-req-agree a {
    color: #123670;
}

.calendar-detail-modal__body .b2c-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
}

.calendar-detail-modal__body .b2c-btn_1 {
    background: #2f8eed;
    border-color: #2f8eed;
    color: #fff;
}

.calendar-detail-modal__body .b2c-btn span {
    font-family: "Raleway", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0.01em;
}

.calendar-detail-modal__body .b2c-btn:disabled,
.calendar-detail-modal__body .b2c-btn_1:disabled,
.calendar-detail-modal__body .b2c-btn.disabled,
.calendar-detail-modal__body .b2c-btn_1.disabled,
.calendar-detail-modal__body .b2c-btn[disabled],
.calendar-detail-modal__body .b2c-btn_1[disabled] {
    background: #adadad;
    border-color: #adadad;
    color: #fff;
    opacity: 1 !important;
    cursor: not-allowed;
}

.calendar-detail-modal__success-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1 1 auto;
}

.calendar-detail-modal__success-title {
    max-width: 380px;
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 130%;
}

.calendar-detail-modal__success-text {
    margin: 12px 0 0;
    color: #123670;
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
}

.calendar-detail-modal__success-btn {
    width: 268px;
    min-height: 48px;
    margin-top: 24px;
}

.calendar-detail-modal__support {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #919191;
    font-size: 16px;
    line-height: 140%;
}

.calendar-detail-modal__support a {
    color: #123670;
    text-decoration: none;
}

.calendar-detail-modal-open {
    overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1280px) {
    .calendar-detail {
        grid-template-columns: minmax(0, 1fr) 300px;
        grid-template-areas:
            "cover cover"
            "main aside"
            "content content";
        column-gap: 32px;
        row-gap: 32px;
        align-items: start;
    }

    .calendar-detail__cover {
        grid-area: cover;
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 728 / 493;
    }

    .calendar-detail__main {
        grid-area: main;
    }

    .calendar-detail__aside {
        grid-area: aside;
        width: 300px;
        min-height: 238px;
        padding: 16px;
    }

    .calendar-detail__favorite-wrap {
        margin-top: 9.5px;
        margin-bottom: 9.5px;
    }

    .calendar-detail__title {
        font-size: 22px;
        line-height: 120%;
    }

    .calendar-detail__tags {
    margin-top: 24px;
    }

    .calendar-detail__aside-label {
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 130%;
    }

    .calendar-detail__date-day {
        font-size: 32px;
    }

    .calendar-detail__date-meta {
        gap: 2px;
        padding-top: 1px;
    }

    .calendar-detail__date-month,
    .calendar-detail__date-weekday {
        font-size: 12px;
    }

    .calendar-detail__text {
        margin-top: 0;
    }

    .calendar-detail__actions {
        margin-top: 32px;
        margin-bottom: 34px;
    }

    .calendar-detail__more-btn {
        width: 212px;
    }
}

@media (max-width: 767px) {
    .calendar-detail {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cover"
            "main"
            "aside"
            "content";
        row-gap: 0;
    }

    .calendar-detail__cover {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 320 / 216;
    }

    .calendar-detail__main {
        margin-top: 33.5px;
    }

    .calendar-detail__favorite-wrap {
        margin-top: 0;
        margin-bottom: 13.5px;
    }

    .calendar-detail__title {
        font-size: 22px;
        line-height: 120%;
    }

    .calendar-detail__tags {
        margin-top: 24px;
    }

    .calendar-detail__tag-dot {
        margin-top: 4px;
    }

    .calendar-detail__aside {
        margin-top: 24px;
        width: 100%;
        max-width: 100%;
        min-height: 217px;
        padding: 16px;
    }

    .calendar-detail__aside-label {
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 130%;
    }

    .calendar-detail__date-day {
        font-size: 28px;
    }

    .calendar-detail__date-meta {
        gap: 2px;
        padding-top: 1px;
    }

    .calendar-detail__date-month,
    .calendar-detail__date-weekday {
        font-size: 12px;
    }

    .calendar-detail__content {
        margin-top: 24px;
    }

    .calendar-detail__text {
        margin-top: 0;
        font-size: 16px;
    }

    .calendar-detail__aside-action,
    .calendar-detail__more-btn {
        width: 330px;
        max-width: 100%;
    }

    .calendar-detail__next-link {
        width: 330px;
        max-width: 100%;
        justify-content: center;
    }

    .calendar-detail__actions {
        margin-top: 24px;
        margin-bottom: 48.5px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16.5px;
    }

}

@media (max-width: 767px) {
    .calendar-detail-modal {
        padding: 16px;
    }

    .calendar-detail-modal__dialog {
        max-height: calc(100vh - 32px);
        min-height: 0;
        padding: 40px 20px 20px;
    }

    .calendar-detail-modal__title {
        margin-left: 32px;
        margin-right: 32px;
        font-size: 22px;
    }

    .calendar-detail-modal__body .tour-req-agree label {
        font-size: 14px !important;
    }

    .calendar-detail-modal__body .tour-req-agree input[type="checkbox"] {
        margin-top: 1px;
    }

    .calendar-detail-modal__close-icon--desktop {
        display: none;
    }

    .calendar-detail-modal__close-icon--mobile {
        display: block;
        width: 15px;
        height: 15px;
    }

    .calendar-detail-modal__success-title {
        font-size: 22px;
    }

    .calendar-detail-modal__success-text {
        font-size: 16px;
    }

    .calendar-detail-modal__support {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 360px) {
    .calendar-detail-modal {
        padding: 0;
    }

    .calendar-detail-modal__dialog {
        width: 100%;
        min-height: 100vh;
        max-height: none;
        border-radius: 0;
    }
}

/* End */
/* /local/templates/main_b2b/components/bitrix/news.detail/calendar/style.css?177718665319388 */
