* {
    margin: 0;
    padding: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

body {
    font-family: var(--main-font);
    height: 100vh;
    width: 100%;
    overflow-y: hidden;
    color: var(--theme-font-color);
    background-color: var(--theme-second-background);
    transition: 0.5s;
}

.row {
    display: flex;
    flex-direction: row;
}

.column {
    display: flex;
    flex-direction: column;
}

.left-wrapper {
    width: 80%;
    height: 100vh;
}

.pointer {
    cursor: pointer;
}

.header {
    height: 80px;
    align-items: center;
    border-bottom: 1px solid var(--theme-border-color);
    box-shadow: -5px 2px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--theme-second-background);
}

.title {
    padding-left: 100px;
    padding-right: 22px;
    color: var(--main-font-color);
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    background-image: url("../img/logo-cust.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: center;
    width: 111px;
    height: 32px;
}

.title-light {
    background-image: url("../img/logo_light.png");
}

.nav-button {
    font-family: var(--main-second-font);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    background-color: var(--theme-header-item-color);

    display: flex;
    align-items: center;
    padding: 4px 14px;
    margin-left: 12px;
    height: 28px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    white-space: nowrap;
    transition: 0.5s;
}

.active-nav-button {
    background-color: var(--main-color);
    color: var(--main-light-color);
    transition: 0.5s;
}

.canvas {
    flex: 1;
    background-color: var(--theme-background);
    overflow-y: auto;
    transition: 0.4s;
}

.question {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--main-light-color);
    position: absolute;
    left: 32px;
    bottom: 32px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
}

.right-wrapper {
    height: 100vh;
    width: 20%;
    border-left: 1px solid var(--theme-border-color);
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.25);
    border-radius: 20px 0 0 20px;
    background-color: var(--theme-second-background);
    transition: 0.5s;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    padding-top: 32px;
}

.place {
    cursor: pointer;
}

.puff {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #252525;
}

.cinema-wrapper {
    align-items: center;
}

.puff-wrapper {
    flex-wrap: wrap;
    gap: 80px;
    max-width: 630px;
    justify-content: center;
    row-gap: 0px;
    padding-top: 35px;
}

.sofa-wrapper {
    padding-top: 35px;
    gap: 100px;
}

.sofa:first-child {
    transform: rotate(15deg);
}

.sofa:last-child {
    transform: rotate(-15deg);
}

.chair-wrapper {
    padding-top: 70px;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 930px;
}

.logo-icon {
    background-image: url("../img/logo_front.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 140px;
    height: 31px;
}

.logo-label {
    color: var(--main-color);
    font-size: 24px;
    font-weight: 600;
    padding-left: 10px;
}

.place.selected > svg > path {
    fill: #FE2D29;
}

.puff.selected {
    background-color: #FE2D29;;
}

.place {
    position: relative;
}

.puff.reserved {
    background-color: #D0D5DD;
}

.place.reserved > svg > path {
    fill: #D0D5DD;
}

.order-modal-body {
    padding-left: 10px;
    padding-top: 10px;
}

#event-name {
    color: var(--text-text, #101828);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.label-place {
    color: #FFF;
    font-family: Montserrat, serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    position: absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

.menu-content {
    display: flex;
    flex: 1 0 auto;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.menu-footer {
    flex: 0 0 auto;
    padding: 32px 16px;
}

.menu-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image {
    width: 100%;
    height: 350px;
    background-size: cover;
}

.event-title {
    color: var(--gray-900, #101828);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px; /* 116.667% */
}

.event-date {
    color: var(--gray-900, #101828);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px; /* 200% */
}

.event-description {
    color: var(--gray-900, #101828);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.event-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
}

.prices-information {
    color: var(--gray-700, #344054);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    gap: 12px;
    padding-bottom: 12px;
}

.button-reset {
    display: flex;
    align-items: center;
    width: 150px;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.5s;
}

.button-ok {
    cursor: pointer;
    color: #F1F1F2;
    display: flex;
    align-items: center;
    width: 150px;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 12px;
    background: var(--main-color);
    border: 1px solid var(--main-color);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}

.button-ok-disable {
    border: 1px solid var(--theme-border-color);
    background: var(--main-disable-color);
    cursor: default;
}

.button-order {
    display: flex;
    align-items: center;
    height: 44px;
    justify-content: center;
    background-color: var(--main-color);
    color: var(--main-light-color);
    border: 1px solid var(--second-color);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px;
}

.button-order > svg {
    padding-left: 10px;
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid var(--main-color);
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    display: none;
}

.spinner {
    animation: spin 1.5s linear;
}

.order-disable {
    border: 1px solid var(--theme-border-color) !important;
    background: var(--main-disable-color) !important;
    cursor: default !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}

.screen-wrapper {
    justify-content: center;
    padding-top: 20px;
}

.help-labels {
    position: absolute;
    display: flex;
    flex-direction: row;
    bottom: 70px;
    left: 70px;
}

.label-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.label {
    width: 40px;
    height: 15px;
    border-radius: 7px;
    background-color: black;
}

.grey-label {
    background-color: var(--main-disable-color);
}

.viol-label {
    background-color: var(--main-color);
}

.info {
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
}

.first-floor-wrapper {
    top: 130px;
    right: 500px;
}

.icon-confirm {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.title-confirm {
    padding: 6px 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: var(--theme-font-color);
}

#mail-order {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #667085;
}

.description-confirm {
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #667085;
}

@keyframes float {
    0% {
        margin-right: 0;
    }
    50% {
        margin-right: 10px;
    }
    100% {
        margin-right: 0;
    }
}

.location {
    margin-left: -2000px;
    display: none;
}

.active-location {
    display: block;
    margin-left: 0px;
    transition: 1s;
}

.ml-3 {
    margin-left: 20px;
}

.modal-order-wrapper {
    background: rgba(52, 64, 84, 0.2);
}

.modal-order-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: var(--theme-font-color);
}

.mo-date-start > div {
    padding: 10px 14px;
}

.mo-date-start {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #101828;
}

.mo-date-labels, .mo-date {
    gap: 10px;
}

.mo-label {
    color: var(--theme-font-color) !important;
}

.modal-order {
    width: 330px;
}

.button-modal-ok, .button-modal-cancel {
    width: 110px;
}

.mo-price {
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
    font-family: 'Inter', sans-serif;
}

.mo-date-wrapper {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.mo-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
}

.mo-input {
    margin-top: 5px;
}

.mo-label-date {
    padding-left: 10px;
    padding-top: 7px;
}

.name-order-detail {
    width: 90px;
}

.promo-wrapper {
    position: relative;
}

.promo-button {
    padding: 9px 0;
    position: absolute;
    right: 0;
    top: 50px;
}

.promocode-input {
    width: 158px;
}

.old-price {
    color: #D0D5DD;
    position: relative;
    padding-right: 10px;
}

.old-price:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 1px;
    top: 8px;
    background-color: #D0D5DD;
    transform: rotate(25deg);
}

#new-sum-order {
    color: #039855;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.promo-label {
    /* Text sm/Normal */
    font-family: Inter, serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding-top: 10px;
}

.promo-success {
    color: #039855;
}

.promo-error {
    color: #D92D20;
}

#sum-order {
    font-weight: 500;
}

.header {
    transition: 0.5s;
    overflow-x: auto;
}

/*=========events=======*/

.button-change-date-wrapper {
    display: none;
}

.event-price-modal {
    padding-bottom: 0;
}

.button-order-mobile {
    display: none;
}

.order-mobile {
    display: none;
}

.hide {
    display: none;
}

.payment-wrapper {
    justify-content: space-between;
}

.select-pay {
    width: 45%;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
}

.icon-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EAECF0;
    border-radius: 6px;
    padding: 4px 11px;
}

.label-pay {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--main-disable-color);
}

.active-method {
    background-color: var(--theme-active-method);
    border: 1px solid var(--theme-border-color);
}

.active-method > .icon-pay {
    border: 1px solid #D6BBFB;
}

.icon-pay > svg > .pay-c {
    fill: #EAECF0;
}

.active-method > .icon-pay > svg > .pay-c {
    fill: #EAECF0;
}

.active-method > .icon-pay > svg > .pay-sh {
    stroke: var(--theme-active-font-color);
}


.active-method > .label-pay {
    color: var(--theme-active-font-color);
}

.medium-table {
    width: 125px;
    height: 250px;
    border-radius: 20px;
}

.button-change-theme {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 20px;
    background-color: var(--theme-second-background);
    left: 20px;
    width: 50px;
    height: 50px;
    transition: 0.5s;
}

.label-price-footer {
    display: none;
}

@media (max-width: 1700px) {
    .right-wrapper {
        width: 24%;
    }
    .left-wrapper {
        width: 76%;
    }
    .menu-header {
        display: none;
    }
    .time-calendar-wrapper {
        padding-bottom: 14px;
    }
    .ml-3 {
        margin-left: 70px;
    }
}

@media (max-width: 1460px) {
    .right-wrapper {
        width: 25%;
    }
    .left-wrapper {
        width: 75%;
    }
}

@media (max-width: 1350px) {
    .right-wrapper {
        width: 27%;
    }
    .left-wrapper {
        width: 73%;
    }
}

@media (max-width: 1240px) {
    .right-wrapper {
        width: 29%;
    }
    .left-wrapper {
        width: 71%;
    }

    .screen > svg {
        width: 700px;
    }

    .puff-wrapper {
        gap: 60px;
    }

    .puff {
        width: 60px;
        height: 60px;
    }

    .sofa > svg {
        width: 240px;
    }

    .chair > svg {
        width: 80px;
    }
}

@media (max-width: 1240px) {
    .right-wrapper {
        width: 33%;
    }
    .left-wrapper {
        width: 67%;
    }
    .event-image > img {
        height: 100%;
    }
}

@media (max-width: 1000px) {
    .button-order {
        display: none;
    }

    .label-price-footer {
        display: flex;
        flex-direction: column;
    }

    .button-order-mobile {
        display: flex;
        width: 90%;
    }

    .right-wrapper {
        width: 100%;
    }

    .left-wrapper {
        width: 100%;
    }

    .help-labels {
        display: none;
    }

    .order-mobile {
        width: 80%;
    }

    .footer-left {
        position: fixed;
        width: 100%;
        justify-content: center;
        display: flex;
        bottom: 0;
        padding-bottom: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--theme-border-color);
    }

    .label-price-footer {
        position: fixed;
        bottom: 87px;
        padding-left: 12px;
        padding-bottom: 6px;
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        color: var(--theme-font-color);
    }

    .menu-footer {
        padding: 0;
        justify-content: center;
        position: fixed;
        padding-bottom: 25px;
        display: flex;
        bottom: 0;
        width: 100%;
    }

    .order-mobile {
        display: flex;
    }

    .title {
        display: none;
    }

    .btn {
        font-size: 14px;
        width: 100px;
    }

    .modal {
        width: 310px;
    }

    .input-default {
        width: 280px;
    }

    .hide-mobile {
        display: none;
    }

    .ml-3 {
        margin-left: 50px;
    }
}

@media (max-width: 760px) {
    .hall {
        width: 320px;
        height: 160px;
    }

    .button-change-theme {
        bottom: 110px;
        left: auto;
        right: 30px;
    }

    .button-order-mobile {
        width: 80%;
    }

    .screen > svg {
        width: 500px;
    }

    .puff-wrapper {
        gap: 30px;
    }

    .puff {
        margin-left: 20px;
        margin-right: 20px;
    }

    .sofa-wrapper {
        gap: 50px;
    }

    .chair-wrapper {
        gap: 20px;
    }

    .screen {
        display: flex;
        justify-content: center;
    }

    .screen > svg {
        width: 90%;
    }
}

@media (max-width: 510px) {
    .puff-wrapper {
        gap: 2px;
    }

    .sofa-wrapper {
        gap: 30px;
        padding-top: 0;
    }

    .sofa > svg {
        width: 170px;
    }

    .chair-wrapper {
        padding-top: 25px;
        gap: 15px;
    }

    .puff {
        margin-left: 10px;
        margin-right: 10px;
        width: 50px;
        height: 50px;
    }

    .label-place {
        font-size: 12px;
    }

    .chair > svg {
        width: 50px;
    }
}

@media (max-height: 700px) {
    .vertical-table {
        width: 40px !important;
        height: 80px !important;
    }
    .large-table {
        width: 300px;
        height: 65px;
    }
    .medium-table {
        width: 65px  !important;
        height: 170px  !important;
    }
    .input-dates {
        padding: 7px 0;
    }
    .slider-date {
        padding-top: 16px;
    }
}

@media (max-height: 750px) {
    .event-description {
        display: none;
    }
    .menu-footer {
        padding-top: 0;
    }
    .event-content {
        padding-bottom: 0;
    }
    .prices-information {
        gap: 6px;
    }
}

@media (max-height: 600px) {
    .vertical-table {
        width: 30px !important;
        height: 60px !important;
    }
    .large-table {
        width: 300px;
        height: 65px;
    }
    .medium-table {
        width: 65px  !important;
        height: 170px  !important;
    }
    .input-dates {
        padding: 0px 0;
    }
    .slider-date {
        padding-top: 8px;
    }
    .chair-right > .chair {
        width: 24px;
        height: 40px;
    }
    .chair-left > .chair {
        width: 24px;
        height: 40px;
    }
    .calendar-wrapper {
        padding: 2px 4px 0;
    }
}

.show {
    display: flex;
}

.full-size {
    width: 100%;
}


