:root {
    --ambi-text-color: #070707;
    --ambi-green-color: #7BEF16;
    --ambi-pink-color: #FF00D0;
    --ambi-violet-color: rgba(127, 27, 189, 0.95);
}

@font-face {
    font-family: 'AristaPro';
    src: url('../font/AristaPro.ttf') format('truetype');
}

body {
    font-family: "AristaPro", sans-serif;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
    width: 100%;
    background-color: transparent;
    margin: 15px auto;
    width: 100%;
    padding: 2vw;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}

a {
    color: var(--ambi-violet-color);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select2-container .select2-selection--single {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ambi_widget__body {
    position: relative;
    width: 100%;
    max-width: 940px;
    min-height: 600px;
    padding: 5vw 4vw 4vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    row-gap: 4vw;
    background: url('../img/title_bg.svg') no-repeat;
    background-size: 30vw auto;
    background-position: 51% 0;
    border-radius: 18px;
    background-color: #fff;
    border: 3px solid #ff00d0;
    box-shadow: 0px 0px 12px 2px #ff00d0;
}

.ambi_widget__body_inner_section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    row-gap: 4vw;
    width: 100%;
}

.ambi_title_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 25vw;
}

.ambi_title_inner {
    display: inline-block;
    border-radius: 50vh;
    padding: 5% 10% 4%;
    background: white;
    color: var(--ambi-violet-color);
    font-size: 26px;
    text-align: center;
    border: 0.05em solid #FF00D0;
    width: 100%;
    -webkit-box-shadow: 0px 2px 0px 1px rgba(127, 27, 189, 0.239) inset;
    box-shadow: 0px 2px 0px 1px rgba(127, 27, 189, 0.239) inset;
    text-wrap: nowrap;
    font-weight: bold;
}

.ambi_widget__row_wrap {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
}

.ambi_widget__row_wrap label.ambi_label_select {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 0.5vw;
}

#ambi_ticket_section {
    width: 100%;
}

#ambi_ticket_section h2 {
    color: var(--ambi-violet-color);
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 1vw;
}

.ambi_ticket_section_row,
.ambi_ticket__summary {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
}


.quantity {
    position: relative;
    border: 2px solid var(--ambi-violet-color);
    width: 60%;
    margin-top: 2px;
    border-radius: 20px;
    font-size: 20px;
}

.quantity.disabled {
    opacity: 0.5;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-ms-clear {
    display: none;
}

.quantity input[type="number"] {
    width: 100%;
    outline: none;
    border: none;
    background-color: transparent;
    height: 40px;
    font-size: 20px;
    padding: 0 30px;
    text-align: center;
}

.quantity .quantity-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: 30px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
}

.quantity .quantity-button.quantity-down {
    left: 0;
    border-right: 2px solid var(--ambi-violet-color);
}

.quantity .quantity-button.quantity-up {
    right: 0;
    border-left: 2px solid var(--ambi-violet-color);
}

.ambi_ticket__summary {
    font-size: 22px;
    font-weight: 600;
}

.ambi_ticket_section_row>div {
    padding: 10px 5px 5px;
    border-bottom: 1px solid var(--ambi-violet-color);
}

.ambi_ticket__summary>div {
    padding: 10px 5px 5px;
}

.ambi_ticket_section_row>div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ambi_ticket_section_row .ambi_tickets__label h3 {
    font-weight: 500;
}

.ambi_ticket_section_row .ambi_tickets__label span {
    color: #777;
    font-size: 16px;
    line-height: 1.2;
}

.ambi_ticket_section_row .ambi_ticket_price {
    display: flex;
    align-items: center;
    column-gap: 0.5vw;
    color: var(--ambi-violet-color);
}

.ambi_ticket_section_row .ambi_ticket_price>span:first-child {
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 1.7px;
}

.ambi_ticket_section_row .ambi_ticket_price>span:last-child {
    font-size: 20px;
}

.ambi_discount__section {
    margin-top: 12px;
}

.ambi_discount__section p {
    margin-bottom: 8px;
}

.discount__comment {
    color: #777;
}

.ambi_ticket_discount_row {
    display: flex;
    position: relative;
    margin-top: 1vw;
}

.ambi_ticket_discount_row input[type="checkbox"] {
    position: absolute;
    width: 0;
    height: 0;
    display: none;
}

.ambi_ticket_discount_row label {
    padding-left: 40px;
    position: relative;
    line-height: 30px;
}

.ambi_ticket_discount_row label::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: 2px solid rgb(135, 141, 158, 0.5);
    border-radius: 0.7vh;
    width: 20px;
    height: 20px;
    min-width: 16px;
    min-height: 16px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: clip;
    text-overflow: clip;
}

.ambi_ticket_discount_row input:checked+label::before {
    background: url('../img/checked.png') #FFAA00;
    border: 2px solid #FFAA00;
    background-size: 100%;
    background-repeat: no-repeat;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}

#ambi_ticket_registration {
    margin-top: 4vw;
    position: relative;
}

#ambi_ticket_registration .ambi_registration_client {
    display: flex;
    align-items: start;
    column-gap: 2vw;
    margin-top: 15px;
}

#ambi_ticket_registration input {
    height: 46px;
    padding: 0.5vw 2vw;
    border-radius: 25px;
    font-size: 20px;
    border: 2px solid var(--ambi-violet-color);
    width: 50%;
    display: block;
    outline: none;
}

.ambi_client_info__row,
.children__div {
    width: 44%;
}

.ambi_form__input {
    font-size: 20px;
    border: none;
    border-bottom: 1px solid var(--ambi-violet-color);
    width: 100%;
    display: block;
    outline: none;
}

.ambi_client_info__row.not__valid .ambi_form__input {
    border-color: var(--ambi-pink-color);
    box-shadow: 0 1px var(--ambi-pink-color);
}

#ambi_ticket_client .ambi_client_info__row.not__valid .client_label {
    color: var(--ambi-pink-color);
}

.ambi_btn {
    display: flex;
    align-items: center;
    height: 46px;
    max-width: 220px;
    opacity: 0.9;
    font-size: 16px;
    line-height: 1;
    padding: 1vw 3vw;
    color: white;
    border: 2px solid #FF00D0;
    border-radius: 50px;
    background: #FF00D0;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(255, 0, 208, 0.641);
    box-shadow: 0px 0px 6px 0px rgba(255, 0, 208, 0.641);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-shadow: 1.591px .796px 3.183px rgba(0,0,0,.25);
    transition: all .3s;
}

.ambi_btn:hover {
    background-color: #fff;
    color: #FF00D0;
}

#ambi_phone_validation {
    color: var(--ambi-pink-color);
    font-size: 0px;
    line-height: 1.6;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

#ambi_phone_validation.not-valid {
    font-size: 16px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

#ambi_ticket_client {
    position: relative;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.logout_btn {
    position: absolute;
    right: 0;
    top: 0;
    color: var(--ambi-pink-color);
    font-weight: 600;
    font-size: 24px;
    cursor: pointer;
}

#ambi_ticket_client .client_label {
    color: #777;
    font-size: 16px;
    line-height: 1.2;
    padding-right: 16px;
}

#ambi_ticket_client ul {
    list-style-type: none;
    padding-left: 50px;
}

#ambi_ticket_client ul li {
    padding-bottom: 8px;

}

.children__div {
    display: grid;
    grid-template-columns: 0 auto;
}

#ambi_ticket_payment {
    margin-top: 16px;
}

#ambi_ticket_payment p {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 8px;
}

#after_payment_message {
    width: 50%;
}

#after_payment_message p {
    line-height: 1.4;
}

/* Loader */
.loader {
    font-size: 10px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    animation: mulShdSpin 1.1s infinite ease;
    transform: translateZ(0);
    position: absolute;
    top: 50%;
    left: 50%;
}

@keyframes mulShdSpin {

    0%,
    100% {
        box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.9), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.5), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.7);
    }

    12.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.5);
    }

    25% {
        box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.5), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
    }

    37.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.5), 2.5em 0em 0 0em rgba(0, 0, 0, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.5), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.2), -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
    }

    62.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.5), 0em 2.5em 0 0em rgba(0, 0, 0, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(0, 0, 0, 0.2), -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
    }

    75% {
        box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.5), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2);
    }

    87.5% {
        box-shadow: 0em -2.6em 0em 0em rgba(0, 0, 0, 0.2), 1.8em -1.8em 0 0em rgba(0, 0, 0, 0.2), 2.5em 0em 0 0em rgba(0, 0, 0, 0.2), 1.75em 1.75em 0 0em rgba(0, 0, 0, 0.2), 0em 2.5em 0 0em rgba(0, 0, 0, 0.2), -1.8em 1.8em 0 0em rgba(0, 0, 0, 0.5), -2.6em 0em 0 0em rgba(0, 0, 0, 0.7), -1.8em -1.8em 0 0em #ffffff;
    }
}

/* Select2 */
.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    border: 2px solid var(--ambi-violet-color);
    border-radius: 25px;
}

.select2-dropdown {
    border: 2px solid var(--ambi-violet-color);
}

.select2-container .select2-selection--single {
    height: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--ambi-violet-color);
    line-height: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
    width: 50px;
}

.select2-container--default .select2-results__option {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--ambi-green-color);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--ambi-pink-color);
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 20px;
}

/* Popup */
.ambi_modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    text-align: center;
    background-color: #fff;
    box-sizing: border-box;
    padding: 10px;
    z-index: 100;
    display: none;
}

.inner_modal_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 2vw;
    width: 100%;
    height: 100%;
}

.inner_modal_wrap h3 {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #54a115;
}

.inner_modal_wrap input {
    height: 80px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 26px;
    border: 2px solid var(--ambi-violet-color);
    width: 162px;
    letter-spacing: 20px;
    display: block;
    outline: none;
}


.ambi_modal .close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    background-color: #232323;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

.ambi_modal .close-btn:hover {
    cursor: pointer;
}

.checkout-modal.micromodal-slide div.checkout-modal__overlay {
    background: rgba(255 255 255 /99%);
}

.MuiTypography-root {
    color: #282828;
}

@media (max-width: 768px) {
    .ambi_widget__body {
        background-size: 37vw auto;
    }

    .ambi_title_wrap {
        width: 33vw;
    }

    .ambi_widget__row_wrap label.ambi_label_select {
        row-gap: 1vw;
    }

    .ambi_widget__row_wrap {
        grid-template-columns: 1fr;
        row-gap: 4vw;
    }

    .ambi_ticket_section_row input {
        width: 100%;
    }

    .quantity {
        width: 100%;
        font-size: 18px;
    }

    .ambi_client_info__row,
    .children__div {
        width: 66%;
    }

    #after_payment_message {
        width: 100%;
    }
}

@media (max-width: 525px) {
    .ambi_widget__body {
        padding: 7vw 3vw 5vw;
    }

    .ambi_widget__body {
        background-size: 51vw auto;
    }

    .ambi_title_wrap {
        width: 47vw;
    }

    .ambi_ticket_section_row {
        grid-template-columns: 1.8fr 1fr 1.6fr;
    }

    #ambi_ticket_registration>div {
        flex-direction: column;
        align-items: center;
        row-gap: 4vw;
    }

    #ambi_ticket_registration input {
        width: 80%;
        padding: 1vw 4vw;
    }

    button,
    .ambi_btn {
        padding: 1vw 10vw;
    }
}

@media (max-width: 430px) {
    .ambi_widget__body {
        background-size: 60vw auto;
    }

    .ambi_title_wrap {
        width: 51vw;
    }

    .ambi_ticket_discount_row {
        margin-top: 3vw;
    }

    .ambi_ticket_section_row .ambi_tickets__label span {
        font-size: 14px;
    }

    .quantity input[type="number"] {
        font-size: 16px;
    }

    .quantity .quantity-button,
    .ambi_ticket_section_row .ambi_ticket_price>span:last-child,
    .ambi_ticket_section_row .ambi_tickets__label h3 {
        font-size: 18px;
    }

    .ambi_ticket_discount_row label {
        padding-left: 30px;
        line-height: 20px;
        font-size: 18px;
    }

    .ambi_ticket_discount_row label::before {
        top: -2px;
        width: 16px;
        height: 16px;
    }
    
    .ambi_ticket__summary,
    .ambi_ticket_section_row .ambi_ticket_price>span:first-child {
        font-size: 20px;
    }

    .ambi_client_info__row,
    .children__div {
        width: 100%;
    }
}