#sendFormReservationPreloader {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

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



body.active {
    position: relative;
    pointer-events: all;
    transition: 0.5s all;
    overflow: hidden !important;
}

body.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1100;
}

.modal-reservation {
    display: none;
    max-height: 100%;
    overflow-y: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: var(--light-creamy-color);
    background-image: url('../img/modal.png');
    background-repeat: no-repeat;
    background-position: left top;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

@media all and (max-width: 815px) and (orientation: landscape) {
    .modal-reservation {
        max-height: 370px;
        overflow-y: auto;
    }
    .modal-reservation .form-contact__btn {
        margin-bottom: 30px;
    }
}

.modal-reservation.active {
    display: grid;
    grid-template-columns: 372px 1fr;
    gap: 26px;
    /*max-height: 100%;*/
    /*overflow-y: auto;*/
}

.modal-reservation.success .modal-reservation__right,
.modal-reservation.success .modal-reservation__title,
.modal-reservation.success .modal-reservation__text {
    display: none;
}

.modal-reservation.success {
    display:block;
    width: 505px;
}

.modal-reservation.success .modal-reservation__left {
    padding: 67px 80px 80px;
}

.modal-reservation__title-success {
    display: none;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    color: #031938;
    text-align: center;
}

.modal-reservation.success .modal-reservation__title-success {
    display: block;
}

.modal-reservation__left {
    padding: 67px 30px 80px 83px;
}

.modal-reservation__right {
    padding: 67px 83px 80px 0;
}

.modal-reservation__title {
    display: block;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    color: #031938;
}

.modal-reservation__text {
    display: block;
    font-family: "Stratos";
    font-weight: 300;
    font-size: 13px;
    line-height: 1.23;
    color: #031938;
    padding-top: 18px;
    max-width: 176px;
}

.modal-reservation .form-contact__group {
    margin-top: 0px;
    margin-bottom: 28px;
    width: 414px;
    font-size: 17px;
}

.modal-reservation .form-contact__group .error_text {
    font-family: "Stratos";
    font-weight: 300;
    font-size: 12px;
    padding-top: 3px;
    color: #e41d1d;
    display: none;
}

.modal-reservation .form-contact__group._error {
    margin-bottom: 12px;
}
.modal-reservation .form-contact__group._error .error_text {
    display: block;
}

.modal-reservation .form-contact__group input,
.modal-reservation .form-contact__group textarea {
    padding: 6px 5px 4px 0;
    line-height: 1.2;
}

.modal-reservation .form-contact__group input::placeholder {
    color: rgba(66, 102, 153, .4);
    font-size: 13px;
}

.modal-reservation .form-contact__group input._error {
    border-bottom: 1px solid #e41d1d;
}

.modal-reservation .form-contact__btn {
    padding: 12px 57px;
    margin-top: 0;
}

.date-group {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.date-group .form-contact__group {
    width: calc((100% - 38px) / 2);
    margin-top: 0;
}

.close-modal {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
}

.close-modal:before,
.close-modal:after {
    content: "";
    position: absolute;
    top: 12px;
    width: 24px;
    height: 2px;
    background: rgba(45, 86, 142, 0.5);
}

.close-modal:before {
    transform: rotate(45deg);
}

.close-modal:after {
    transform: rotate(-45deg);
}

input[type="date"] {
    display: block;
    position: relative;
    background: url("../img/calendar.svg") right center no-repeat;
    cursor: pointer;
}

input[type="date"]:focus {
    outline: none;
}

::-webkit-datetime-edit-month-field:hover,
::-webkit-datetime-edit-day-field:hover,
::-webkit-datetime-edit-year-field:hover {
    background: transparent;
}

::-webkit-datetime-edit-text {
    opacity: 0;
}

::-webkit-clear-button,
::-webkit-inner-spin-button {
    display: none;
}

::-webkit-calendar-picker-indicator {
    position: absolute;
    width: 21px;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.form-contact__group .dropdown {
    position: relative;
}

.form-contact__group .dropdown .select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    color: #031938;
    border: 1px solid rgba(45, 86, 142, 0.5);
    padding: 6px 5px 4px 5px;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .3s;
}

.form-contact__group .dropdown .select._error {
    border: 1px solid #e41d1d;
}

.form-contact__group .dropdown .select .caret {
    width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(45, 86, 142, 0.5);
    transition: 0.3s;
}

.caret-rotate {
    transform: rotate(180deg);
}

.form-contact__group .dropdown .menu {
    padding: 6px 5px;
    background-color: var(--light-creamy-color);
    border: 1px solid rgba(45, 86, 142, 0.5);
    box-shadow: -3px -3px 7px #ffffff73, 3px 3px 5px rgba(94, 104, 121, 0.288);
    color: rgba(45, 86, 142, 0.5);
    position: absolute;
    top: 35px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    opacity: 0;
    display: none;
    transition: 0.2s;
    z-index: 1;
}

.form-contact__group .dropdown .menu li {
    padding: 5px;
    cursor: pointer;
}

.form-contact__group .dropdown .menu li:not(:last-child) {
    border-bottom: 1px solid rgba(45, 86, 142, 0.5);
}

.form-contact__group .dropdown .menu li:hover {
    box-shadow: -3px -3px 7px #ffffff73, 3px 3px 5px rgba(94, 104, 121, 0.288);
}

.form-contact__group .dropdown .menu li.active {
    box-shadow: -3px -3px 7px #ffffff73, 3px 3px 5px rgba(94, 104, 121, 0.288);
}

.form-contact__group .dropdown .menu.menu-open {
    display: block;
    opacity: 1;
}

.tribe-events-calendar-month__day[reserve-disable="true"] {
    cursor: default !important;
    pointer-events: none;
}
@media (max-width: 960px) {
    .modal-reservation.active {
        grid-template-columns: 275px 1fr;
    }
    .modal-reservation__left {
        padding: 40px 30px 30px 30px;
    }

    .modal-reservation__right {
        padding: 40px 30px 30px 0;
    }

}
@media (max-width: 768px) {
    .modal-reservation.active {
       display: block;
    }

    .modal-reservation__left {
        padding: 40px 15px 20px;
    }

    .modal-reservation.success .modal-reservation__left {
        padding: 60px 30px;
    }

    .modal-reservation.success {
        width: 300px;
    }

    .modal-reservation__title-success {
        font-size: 20px;
    }

    .modal-reservation__right {
        padding: 0 15px 30px;
    }

    .modal-reservation .form-contact__btn {
        margin: 0 auto;
        display: block;
    }
    .date-group .form-contact__group {
        width: calc((100% - 15px) / 2);
        margin-top: 0;
    }
    .modal-reservation__text {
        max-width: 100%;
    }
    .modal-reservation .form-contact__group {
        margin-bottom: 20px;
    }
    .close-modal {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 500px) {
    .modal-reservation {
        max-height: 600px;
    }
    .modal-reservation__left {
        padding: 35px 10px 20px;
    }
    .modal-reservation__title {
        font-size: 25px;
    }
    .modal-reservation__right {
        padding: 0 10px 20px;
    }
    .modal-reservation .form-contact__group {
         width: 330px;
    }
    .date-group {
        flex-direction: column;
    }
}

@media (max-width: 375px) {
    .modal-reservation .form-contact__group {
        width: 290px;
    }
}
span[data-available-to-click="false"]:hover{
    text-decoration:none;
}