:root {
    --nm-red: #652b25;
    --nm-red-dark: #970203;
    --nm-white: #ffffff;
    --nm-lightgray: #F2F2F2;
    --nm-gray: #939598;
    --nm-black: #2B2A29;
    --nm-green: #0C9347;
    --nm-purple: #E80B75;
    --nm-orange: #F7941D;
    --nm-blue: #312E83;
    --nm-lightblue: #02ABE2;

    --bs-body-line-height: 1.125;
    --bs-link-color: #D3181F;
    --bs-link-color-rgb: 211, 24, 31;
    --bs-link-hover-color: #970203;
    --bs-link-hover-color-rgb: 151, 2, 3;
    --nm-midgray: #e0e0e0;
    --nm-grayborder: #d8d7db;
    --nm-shadow-normal: -12px -12px 24px #fff, 4px 4px 24px rgba(211, 24, 31, .1);
    --nm-shadow-active: inset -2px -2px 2px #fff, inset 2px 2px 4px rgba(211, 24, 31, .2);
    --nm-shadow-hover: -3px -3px 6px #fff, 1px 1px 6px rgba(211, 24, 31, .2);
    --anim-hover-out: unset
}

* {
    -webkit-locale: auto;
}

html, body {
    background-color: #652b25;
}

.btn-vk {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    --bs-btn-color: var(--nm-white);
    --bs-btn-bg: #0077FF;
    --bs-btn-hover-color: var(--nm-white);
    --bs-btn-hover-bg: #2d85ff;
    --bs-btn-active-color: var(--nm-white);
    --bs-btn-active-bg: #2d85ff;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: var(--nm-white);
    --bs-btn-disabled-bg: #2d85ff;
}

.btn-vk .vk-img {
    height: calc(var(--bs-btn-font-size) * .875);
    padding-left: .375rem;
}

.auth--vkapp {
    max-width: 720px;
    margin-inline: auto;
    padding-block: .5rem;
}

.vkapp {
    padding-top: var(--vk-inset-top, env(safe-area-inset-top, 0px));
}

.ticket-card {
    border: 1px solid var(--nm-grayborder);
    border-radius: 1rem;
    padding: 1rem;
    background: var(--nm-white);
}

.ticket-preview-image-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.ticket-preview-image {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
}

.form-check {
    display: block;
    min-height: 2rem;
    padding-left: 2rem;
    margin-bottom: .5rem;
}

.form-check .form-check-input {
    margin-left: -2rem;
    margin-right: 1rem;
}

.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0;
}

.form-check-input:checked {
    background-color: var(--nm-red);
    border-color: var(--nm-red);
}

.form-check-input:focus {
    border-color: var(--nm-red);
    box-shadow: none;
}

.btn-check + .list-group-item {
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-neo {
    display: grid;
    align-items: center;
}

.event-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-group.event-group--single {
    grid-template-columns: minmax(0, 1fr);
}

.event-item {
    height: 100%;
    position: relative;
}

.btn-check + .list-group-item .pseudo-checkbox {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: white;
    border-radius: 4px;
}

.btn-check:checked + .list-group-item .pseudo-checkbox {
    background-color: var(--nm-red);
    border-color: var(--nm-red);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.btn-check:focus + .list-group-item .pseudo-checkbox {
    border-color: var(--nm-red);
    box-shadow: none;
}

.btn-check + .btn-neo:hover, .btn-check + .list-group-item:hover {
    box-shadow: -3px -3px 6px #FFFFFF, 1px 1px 6px rgba(211, 24, 31, 0.2);
    background: #F7F7F7;
}

.btn-check:checked + .btn-neo {
    background: #F2F2F2;
    font-weight: 500;
    box-shadow: inset -2px -2px 2px #FFFFFF, inset 2px 2px 4px rgba(211, 24, 31, 0.2);
    color: var(--nm-black);
}

.btn-check:checked + .list-group-item {
    background: #F2F2F2;
    box-shadow: inset -2px -2px 2px #FFFFFF, inset 2px 2px 4px rgba(211, 24, 31, 0.2);
}

.btn-check:checked + .list-group-item strong {
    color: var(--nm-red-dark);
}

.btn-check[disabled] + .btn-neo,
.btn-check:disabled + .btn-neo {
    pointer-events: none;
    filter: none;
    color: var(--nm-gray);
}

.program-notifications {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.program-notifications-title {
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 18px;
}

.program-notifications-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 8px;
}

.icon {
    display: inline-block;
    height: 2em;
    width: auto;
    min-width: 1.5em;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

.event-notify-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.event-notify-icons .icon {
    height: 2.25em;
}


.list-group-item {
    --bs-list-group-border-width: 0;
    padding: 16px 20px;
    background: #F2F2F2;
    box-shadow: -12px -12px 24px #FFFFFF, 4px 4px 24px rgba(211, 24, 31, 0.1);
    border-radius: 12px !important;
    cursor: pointer;
}

.form-success {
    position: fixed;
    background: var(--nm-lightgray);
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    overflow: auto;
    z-index: 100;
}


.ff-hand {
    font-family: 'DactilHand31', emoji;
    color: var(--nm-red);
}

.form-success .h1 {
    font-size: 120px;
    font-weight: 500;
    line-height: 1.1;
}

.form-success .ff-hand {
    line-height: 1;
    margin-bottom: -.1em;
}

.input-number {
    -moz-appearance: textfield;
    text-align: center;
    padding: 0.5rem 0;
    min-width: 48px;
}

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

.list-group-item-number {
    padding-right: 1rem;
}

.btn-number {
    --bs-btn-disabled-opacity: .4;
}

.btn-number:first-child {
    padding: 0 .5rem 0 0;
}

.btn-number {
    padding: 0 0 0 .5rem;
}

.btn-number:hover svg {
    fill: var(--nm-red);
}


.modal-header {
    padding: 2.25rem 3rem 2rem 3rem;
    border-bottom: 0;
}

.modal-body {
    padding: 0 3rem 2.25rem 3rem;
}

.schedule .day {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
}

.program-day {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.25rem;
    color: var(--nm-red);
    line-height: 1;

    grid-column: span 2;
    text-align: center;
}

.program-event {
    /*margin-bottom: 2rem;*/
    position: relative;
    padding-right: 2.25em;
}

.program-event .event-title {
    line-height: 1.2;
    font-weight: bold;
    /*display: flex;*/
    /*align-items: center;*/
}

.program-event .icon-row {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    position: absolute;
    right: 0;
    top: 0;
}

.program-event .icon {
    width: 1.8rem;
    height: 1.5rem;
}


.program-event .event-type {
    margin-top: 2px;
    line-height: 1.15;
    font-weight: 500;
}

.program-event .event-address {
    margin-top: 4px;
    color: var(--nm-gray);
    font-size: 14px;
    font-weight: 400;
}


.program-event .event-rate {
    font-weight: 500;
}


.day:last-child .program-event:last-child {
    margin-bottom: 0;
}

.person-photo {
    margin: auto;
    width: 120px;
}

.person-info {
    line-height: 1.3;
    text-align: center;
    margin-bottom: 0;
    margin-top: .5rem;
    font-weight: 400;
    font-size: 12px;
}

.person-city {
    font-weight: 400;
    color: var(--nm-red);
    text-align: center;
    font-size: 12px;
}

.map-pin {
    position: relative;
    font-style: normal;
}

.map-pin:before {
    content: "\F3E7";
    font-family: 'bootstrap-icons';
    position: relative;
    top: .125em;
    margin-right: .25rem;
    color: var(--pin-color, var(--nm-black));
}


.forms label {
    margin-bottom: .5rem;
}


.login-email {
    cursor: pointer;
}

.tns-controls {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.tns-controls button {
    border: 1px solid var(--nm-blue);
    background: var(--nm-blue);
    color: white;
    border-radius: 10px;
    padding: 8px 24px;
    font-weight: 500;
}


.card-body {
    box-shadow: var(--nm-shadow-normal);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
    word-break: break-word;
    align-items: flex-start;
    line-height: 1.3;
}

.card-meta {
    font-size: 12px;
    color: var(--nm-gray);
    margin-bottom: 0
}

.card-body img {
    width: 250px;
    height: auto;
    max-width: 100%;
}

.card-link {
    display: block;
    text-decoration: none
}

.card-link {
    color: inherit
}

.card-link:hover {
    color: var(--nm-red-dark)
}

.card-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}

.card-news .card-link {
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-size: 19px
}

.event-title {
    font-size: 18px;
}

.event-rate {
    font-weight: 500;
    margin-left: .5em;
}

.event-description {
    font-size: 14px;
    line-height: 1.2;
}

.event-date {
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    width: 120px;
    line-height: 1.1;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
}

.event-rate {
    color: var(--nm-gray);
}

.btn-check:checked + .list-group-item .event-date {
    color: var(--nm-red-dark);
}

.schedule {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 30px;
}

.policy {
    max-width: 800px;
}

.position-sticky.top {
    top: 120px;
}

.ticker {
    overflow: hidden;
}

.ticker__viewport {
    position: relative;
    overflow: hidden;
    margin-top: 24px;
    padding: 20px 0;
}

.ticker__viewport::before,
.ticker__viewport::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: min(120px, 18vw);
    pointer-events: none;
}

.ticker__viewport::before {
    left: 0;
    background: linear-gradient(90deg, #f8f9fa, transparent);
}

.ticker__viewport::after {
    right: 0;
    background: linear-gradient(270deg, #f8f9fa, transparent);
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 36s linear infinite;
}

.ticker__group {
    display: flex;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    padding-right: clamp(32px, 5vw, 72px);
}

.ticker__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(120px, 14vw, 190px);
    height: 88px;
    flex: 0 0 auto;
}

.ticker__item img {
    display: block;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.btn-neo {
    color: #515151;
    font-size: 20px;
}

.btn-check:checked + .btn-neo {
    font-weight: 700;
}


@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

#event-tab-exclusive + label {
    background-color: var(--nm-green);
    color: var(--nm-white);
}

#event-tab-performances + label {
    color: var(--nm-white);
    background-color: var(--nm-orange);
}

#event-tab-edu + label {
    color: var(--nm-white);
    background-color: var(--nm-lightblue);
}

@media (prefers-reduced-motion: reduce) {
    .ticker__track {
        animation: none;
    }
}

@media (max-width: 1399.98px) {

}

@media (max-width: 1199.98px) {

}

@media (max-width: 991.98px) {
    .modal-dialog {
        --bs-modal-width: 600px;
    }
}

@media (max-width: 767.98px) {


    .h2, h2, .fs-2 {
        font-size: 24px !important;
    }

    .h4, h4, .fs-4 {
        font-size: 20px!important;
    }

    .h6, h6, .fs-6 {
        font-size: 16px!important;
    }

    .ticker__viewport{
        margin-top: 0;
        padding: 0;
    }

    .program-notifications {
        gap: 4px 16px;
    }

    .program-notifications-item .icon{
        height: 1.75em;
        width: 1.75em;
    }

    .ticker__group {
        display: flex;
        align-items: center;
        gap: clamp(20px, 5vw, 72px);
        padding-right: clamp(20px, 5vw, 72px);
    }

    .ticker__item img {
        max-height: 48px;
    }

    .ticker__item {
        height: 54px;
    }

    .event-data{
        position: relative;
    }

    .event-date {
        margin-right: auto;
        text-align: left;
    }
    .event-date .day{
        font-weight: 600;
    }

    .program-notifications-title{
        font-size: 16px;
    }

    .event-notify-icons{
        position: absolute;
        right: 0;
        top: 0.25rem;
    }

    .event-notify-icons .icon {
        height: 2.5rem;
    }

    .btn-number{
        font-size: 20px;
    }

    .input-number, .js-quota-sum-total{
        border-radius: 0;
        border: unset;
        padding: 0;
        min-height: 32px;
        min-width: 40px;
        text-align: center;
    }

    .schedule .event-date .day {
        grid-row: 1 / span 2;
    }

    .event-date .month {
        line-height: 1;
    }

    .event-date .time {
        line-height: 1;
    }

    .form-success .h1 {
        font-size: 90px;
    }

    .event-group {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .modal-header {
        padding: 1rem 1.25rem 1rem 1.25rem;
        border-bottom: 0;
    }

    .modal-body {
        padding: 0 1.25rem 1rem 1.25rem;
    }
}

@media (max-width: 575.98px) {

    .schedule {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 12px;
        border-radius: 16px;
    }

    .program-event {
        padding-left: 0;
    }

    .form-success {
        padding: 16px;
    }

    .form-success .h1 {
        font-size: 15vw;
    }
}

@media (max-width: 350px) {
}
