:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --font-jost: 'Jost', sans-serif;
    --main-text-color: #233778;
}

.content_wp {
    background: none;
}

.content_wp::before {
    content: "";
}

.content_programm {
    position: relative;
    padding: 5px 0;
    margin-bottom: 40px;
}

.scheme_link {
    color: var(--main-text-color);
}

.scheme_link:hover {
    color: var(--main-text-color);
    text-decoration: underline;
}

.page_wp {
    margin-top: 50px;
}

.program-file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin: 35px 15px 0;
    padding-bottom: 18px;

    border-bottom: 1px solid var(--main-text-color);
}

.program-file-row__text {
    flex: 1 1 auto;
    min-width: 0;

    font-family: var(--font-jost);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--main-text-color);

    overflow-wrap: anywhere;
    word-break: normal;
}

.program-file-row__download {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;

    min-width: 120px;
    height: 42px;
    padding: 0 18px;

    font-family: var(--font-jost);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;

    color: #fff;
    background-color: rgba(26, 102, 154, .95);

    border: 1px solid rgba(26, 102, 154, .95);
    border-radius: 5px;

    text-decoration: none;

    transition: 0.3s all;
}

.program-file-row__download:hover,
.program-file-row__download:focus {
    color: var(--main-text-color);
    background-color: #fff;
    text-decoration: none;
}

.program_tabs {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.program_tabs .tabs {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
}

.exb_date-block {
    margin-top: 45px;
    padding: 0 15px;
}

.day-picker {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 73px;
    padding: 10px 15px;

    transition: 0.5s all;

    background-color: rgba(26, 102, 154, .15);

    text-align: center;
}

.day-picker:hover {
    background-color: var(--main-text-color);
    color: #fff;
}

.exb_date {
    font-family: var(--font-jost);
    font-size: 19px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;

    text-align: center;
    color: var(--main-text-color);

    margin-bottom: 0;

    text-decoration: none;
}

.day-picker.active {
    background-color: rgba(26, 102, 154, .95);
    color: #fff;
}

.exb_date:hover,
.exb_date:focus {
    background-color: rgba(26, 102, 154, .95);
    color: #fff;
    text-decoration: none;
}

.program-schedule-row {
    margin: 0 15px;
    padding: 30px 0;

    border-bottom: 1px solid rgba(35, 55, 120, .35);
}

.program-schedule-row:last-child {
    border-bottom: none;
}

.program-schedule-row__content {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    width: 100%;
    min-width: 0;
}

.exb_schedule-time {
    flex: 0 0 164px;
    width: auto;
    min-width: 0;

    margin-top: 0 !important;

    font-family: var(--font-jost);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;

    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;

    text-align: left;

    color: var(--main-text-color);

    white-space: nowrap;
}

.exb_schedule-place {
    flex: 0 0 240px;
    width: auto;
    min-width: 0;

    margin-left: 0;

    font-family: var(--font-jost);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;

    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;

    text-align: left;

    color: rgba(35, 55, 120, .8);

    overflow-wrap: anywhere;
    word-break: normal;
}

.exb_schedule-topic {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;

    font-family: var(--font-jost);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;

    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;

    text-align: left;

    color: var(--main-text-color);

    overflow-wrap: anywhere;
    word-break: normal;
}

.exb_schedule-topic:hover {
    color: var(--main-text-color);
}

.exb_schedule-topic-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    width: 100%;
    min-width: 0;

    font-weight: 700;
}

.exb_schedule-topic-icon {
    flex: 0 0 auto;

    width: 39px;
    height: 26px;
}

.exb_schedule-topic-link,
.exb_schedule-topic-text {
    min-width: 0;

    color: var(--main-text-color);

    overflow-wrap: anywhere;
    word-break: normal;
}

.exb_schedule-topic-link {
    text-decoration: none;
}

.exb_schedule-topic-link:hover,
.exb_schedule-topic-link:focus {
    color: var(--main-text-color);
    text-decoration: underline;
}

.exb_schedule-anounce {
    font-weight: 400;
    margin-top: 10px;
}

.exb_download {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 220px;
    height: 73px;

    margin-right: 15px;
    margin-top: 20px;
    margin-bottom: 30px;

    background-color: #364b7b;
}

.exb_download-text {
    width: 150px;
    height: 40px;

    margin-left: 5px;

    font-family: var(--font-jost);
    font-size: 20px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: normal;

    text-align: center;

    color: var(--main-text-color);
}

.exb_program {
    margin-top: 40px;
    margin-bottom: 70px;
    margin-left: 1px;
}

.exb_h {
    min-height: 45px;

    margin-bottom: 22px;
    margin-top: 10px;
    margin-left: 1px;
}

.exb_program-h {
    font-family: var(--font-jost);
    font-size: 22px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 0.87;
    letter-spacing: normal;

    text-align: left;

    color: var(--main-text-color);
}

.exb_text {
    font-family: var(--font-jost);
    font-size: 29px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 37px;
    letter-spacing: normal;

    text-align: left;

    color: var(--main-text-color);

    align-items: center;

    margin-bottom: 0;
}

.exb_bottom {
    justify-content: flex-end;
}

.exb_schedule {
    display: flex;
}

.exhibition::before {
    content: "";

    display: block;
    position: absolute;

    top: 0;
    right: 0;

    opacity: 0.5;

    height: 100%;
    width: 100%;

    background-color: #004286;
    background-size: 100%;

    z-index: -1;
}

.content_wp hr {
    border: none;

    color: var(--main-text-color) !important;
    background-color: var(--main-text-color) !important;

    height: 1px;
    width: 97%;

    margin-top: 10px;
}

.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;

    list-style-type: none;

    padding: 0;
}

@media (max-width: 1200px) {

    .page_wp {
        margin-top: 0;
    }

    .program-schedule-row__content {
        flex-wrap: wrap;
    }

    .exb_schedule-time {
        flex: 0 0 140px;
    }

    .exb_schedule-place {
        flex: 1 1 220px;
    }

    .exb_schedule-topic {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (max-width: 991px) {

    .content_wp hr {
        margin-top: 11px;
    }

    .program_tabs {
        gap: 10px;
    }

    .day-picker {
        min-height: 60px;
        padding: 8px 10px;
    }

    .exb_date {
        font-size: 16px;
    }

    .exb_text {
        font-size: 18px;
        padding-right: 140px;
        line-height: 1.2;
    }

    .exb_h {
        min-height: 22px;

        margin-bottom: 0;
        margin-top: 14px;
    }
}

@media (max-width: 767px) {

    .program-file-row {
        gap: 15px;

        margin-top: 25px;
        padding-bottom: 15px;
    }

    .program-file-row__text {
        font-size: 17px;
    }

    .program-file-row__download {
        min-width: 100px;
        height: 38px;

        padding: 0 12px;

        font-size: 12px;
    }


    .program_tabs {
        gap: 8px;
    }

    .day-picker {
        min-height: 52px;
        padding: 7px 8px;
    }

    .exb_date {
        font-size: 14px;
    }

    .exb_date-block {
        margin-top: 22px;
        padding: 0 15px;
    }


    .program-schedule-row {
        margin: 0 15px;
        padding: 20px 0;
    }

    .program-schedule-row__content {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;

        gap: 8px;
    }

    .exb_schedule-time,
    .exb_schedule-place,
    .exb_schedule-topic {
        flex: none;

        width: 100%;
        max-width: 100%;

        margin: 0;

        font-size: 16px !important;
    }

    .exb_schedule-time {
        white-space: normal;
    }

    .exb_schedule-place,
    .exb_schedule-topic,
    .exb_schedule-topic-link,
    .exb_schedule-topic-text {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .exb_schedule-topic-title {
        width: 100%;
    }

    .exb_schedule-topic-icon {
        width: 30px;
        height: auto;
    }

    .exb_program {
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 1px;
    }
}

@media (max-width: 576px) {
    .program_tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;

        padding-bottom: 4px;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .program_tabs::-webkit-scrollbar {
        display: none;
    }

    .program_tabs .tabs {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .day-picker {
        width: auto;
        min-width: 0;
        min-height: 46px;

        padding: 6px 5px;
    }

    .exb_date {
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (max-width: 500px) {

    .program-file-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .program-file-row__download {
        align-self: flex-start;
    }
}

@media (max-width: 400px) {

    .day-picker {
        width: 100%;
        min-height: 46px;

        padding: 6px 10px;
    }

    .exb_date {
        font-size: 13px;
    }

    .program-schedule-row {
        margin: 0 10px;
        padding: 16px 0;
    }

    .exb_schedule-time,
    .exb_schedule-place,
    .exb_schedule-topic {
        font-size: 15px !important;
    }
}