/** GENERAL **/
body {
    margin: 0 !important;
    background-color: white;
    font-family: Almarena !important;
}

p {
    font-family: Almarena !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

h1 {
    font-family: Almarena !important;
    font-size: 60px !important;
    font-weight: 800 !important;
}

h2 {
    font-family: Almarena !important;
    font-size: 50px !important;
    font-weight: 800 !important;
}

h3 {
    font-family: Almarena !important;
    font-size: 30px !important;
    font-weight: 800 !important;
}

h4 {
    font-family: Almarena !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    font-size: 20px !important;
    letter-spacing: -1px;
}

h5 {
    font-family: Almarena !important;
    font-weight: 600 !important;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

.span1 {
    font-family: Almarena !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    margin: 0 !important;
}

.button_pri {
    background-color: #EE7501 !important;
    border: 0 !important;
    width: 100% !important;
    border-radius: 30px;
    padding: 20px;
    color: #fff;
    transition: .3s;
    font-size: 18px;
    font-family: Almarena;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}



@font-face {
    font-family: 'Myriad';
    src: url('../fonts/myriad/MYRIADPRO-REGULAR.OTF') format('opentype');
}

@font-face {
    font-family: 'Chaney';
    src: url('../fonts/chaney/CHANEY-Extended.otf') format('opentype');
}

@font-face {
    font-family: 'Almarena';
    src: url('../fonts/almarena/AlmarenaNeue-DisplayRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Almarena';
    src: url('../fonts/almarena/AlmarenaNeue-DisplayMedium.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Almarena';
    src: url('../fonts/almarena/AlmarenaNeue-DisplayBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

/** OFFERS **/
.offers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    align-items: flex-start;/
}

.offer {
    background-color: white;
    transition: transform 0.3s;
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}

.offer .offer_title {
    font-size: 30px;
    font-weight: 800;
}

.offer .offer_description {
    font-family: Myriad;
    max-height: 100px;
    overflow: hidden;
}

.offer .offer_price {
    font-size: 30px;
    font-weight: 800;
}

.offer .offer_notes {
    font-size: 13px;
    font-family: myriad;
    color: #755f59;
    position: absolute;
    bottom: 30px;
}

.offer .offer_button {
    text-align: right;
    position: absolute;
    right: 30px;
    bottom: 30px;
}

.offer .offer_registrationFee {}

.offer .offer_taxRate {}

.offer .offer_repaymentSchedule {}

.offer .offer_paymentperiod {}

.offer .offer_isProrated {}

.offer .offer_validFrom {}

.offer .offer_validThrough {}

.offerimage {
    flex: 0 0 auto;
    box-sizing: border-box;
    min-width: 300px;
    max-width: 300px;
    height: 300px;
    display: block;
    background-color: #ffe8d2;
    background-repeat: no-repeat;
    background-position: left;
}

.offerimage img{
    height:100%;
}
.offerdescription {
    flex: 1;
    box-sizing: border-box;
    padding: 30px 30px 0px 30px;
    background-color: #ffe8d2;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: calc(100% - 300px);
    position: relative;
    max-height: 300px;
}

@media (max-width: 1000px) {
    .offer .offer_title {
        font-size: 20px;
        line-height: 23px;
    }

    .offer .offer_price {
        font-size: 20px;
        line-height: 23px;
    }

    .offer .offer_notes {

        font-size: 10px;
    }

    .offer .offer_button {}

    .offerdescription {
        padding: 20px;
    }
}

@media (max-width: 830px) {
    .offer .offer_title {
        font-size: 20px;
        line-height: 23px;
    }

    .offer .offer_price {
        font-size: 20px;
        line-height: 23px;
    }

    .offer .offer_notes {
        position: static;
        font-size: 10px;
    }

    .offer .offer_button {
        position: static;
        text-align: center;
    }

    .offerdescription {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .offers {
        flex-direction: column;
    }

    .offerimage,
    .offerdescription {
        max-width: 100%;
    }

    .offerdescription {
        position: static;
        margin-top: -10px;
    }

    .offerimage {
        background-size: cover;
        max-width: none;
        height: auto;
        width: 100%;
    }

    .offer .offer_notes {
        padding-top: 20px;
    }

    .offerimage img {
        width: 100%;
    }

    .offer .offer_button {
        text-align: center;
    }
}

/** THANK YO **/

.as_thankyou_wrapper {
    display: none;
}

.as_thankyou_box {
    text-align: center;

}

.as_thankyou_box .subtitle {
    color: #ed7603;

}

.caja {
    border-radius: 50px;
    background-color: #cde7df;
    padding: 100px;
    box-sizing: border-box;
    margin-top: 40px;
    text-align: center;
}

.title {
    font-family: Almarena !important;
    font-size: 60px !important;
    font-weight: 800 !important;
}

.subtitle {
    font-family: Almarena !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    font-size: 20px !important;
    letter-spacing: -1px;
    margin: 30px 0px;
    margin-right: 0px;
    margin-left: 0px;
}

@media (max-width: 600px) {
    .as_thanks_title {
        font-size: 34px !important;
    }

    .as_thankyou_box .subtitle {
        font-size: 18px !important;
    }

    .caja {
        padding: 40px;
    }
}

/** FORM **/
.as_twocolumns_wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.as_col50 {
    padding: 15px;
    flex: 1;
    box-sizing: border-box;
}

.flatpickr-months .flatpickr-month {
    background-color: #ee7501 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background-color: #ee7501 !important;
}

.flatpickr-weekdays {
    background-color: #ee7501 !important;
}

span.flatpickr-weekday {
    background-color: #ee7501 !important;
    color: white !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: #ee7501 !important;
    border-color: #ee7501 !important;
}


.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-item {
    flex: 1;
    min-width: 200px;
}

.full-width {
    flex: 100%;
}

input,
select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.form-item {
    position: relative;
    margin-bottom: 20px;
}

label {
    color: gray;
    padding-left: 20px;
    font-size: 13px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.2s ease all;
    color: #aaa;
    pointer-events: none;
    z-index: 1;
}

input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    background-color: #f1efef;
    border-radius: 30px;
    padding: 25px 10px 10px 30px;
    height: 60px;
}

#card-element {
    height: 20px;
    background-color: #f1efef !important;
    border-radius: 50px;
    padding: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    outline-width: 0px !important;
}

#card-element iframe {
    outline-width: 0px !important;
}

.select-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-container::after {
    content: '▼';
    font-size: 12px;
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select {
    border: none;
    border-radius: 30px;
    padding: 25px 10px 10px 30px;
    background-color: #f1efef;
    color: #6f6e6e;
    height: 60px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}

select:focus {
    outline-width: 0px !important;
}

input:focus {
    outline: none;
}

form input.validated {
    background-color: #e3eadf;
}

form input.has-content {}

#card-element.StripeElement--invalid {
    background-color: #eadfdf !important;
}

#card-element.StripeElement--complete {
    background-color: #e3eadf !important;
}

form input.has-error {
    background-color: #eadfdf;
}

form select.has-content {
    background-color: #e3eadf;
}

.as-error-form-field-error {
    font-size: 12px;
    line-height: auto;
    display: block;
    color: red;
    padding: 0px 30px;
}

form label.has-content {
    left: 10px;
    top: 20px;
}

form label.has-error {
    color: red;
}

form label.has-error::after {
    color: red;
    left: 10px;
    top: 20px;
    padding-left: 5px;
}

form input:focus+label {
    left: 10px;
    top: 20px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
}

.checkbox-conditions {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: grey;
}

.form-item {
    display: flex;
    align-items: center;
}

.form-checkbox {
    margin-right: 10px;
}

#error-message {
    background-color: #fbdcdc;
    border-radius: 50px;
    padding: 40px;
    color: red;
    display: none;
    font-size: 15px;
    margin-top: 20px;
}


.spinner {
    border: 2px solid #f3f3f3; /* Light gray */
    border-top: 2px solid #ee7501; /* Blue */
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

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

/**** ticket */
.as_reciept table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,
.as_reciept .as_reciept table td {
    border-bottom: 1px solid #b5e1ff;
    padding: 15px 0px;
    text-align: left;
    font-weight: 100;
}

.as_reciept table td {
    border-bottom: 1px solid #b5e1ff;
    padding: 15px 0px;
    text-align: right;
    font-weight: 100;
    min-width: 100px;
}

.as_reciept table th {
    text-transform: lowercase;
}

.as_reciept table th::first-letter {
    text-transform: uppercase;
}

.as_reciept .price {
    font-weight: bold;
    text-transform: uppercase;
}

.as_reciept .price_light {
    font-weight: 100;
}

.footer {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 20px;
}

.as_reciept {
    font-family: Almarena !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    background-color: #dff2ff;
    border-radius: 50px;
    padding: 30px;
}

.as_reciept h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.as_reciept .as_membership_name {
    font-size: 26px;
    font-weight: 800;
    line-height: 40px;
}

.as_reciept .as_centername {
    font-size: 23px;
    font-weight: 800;
    color: #ee7501;
}

.as_reciept hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0.5px solid #b5e1ff;
}

.as_reciept .as_subtitle {
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.as_reciept .as_notes {
    font-size: 12px;
}

/*
.as_backwrap{
    margin: 30px 0px;
} */


.as_header {
    display: flex;
    align-items: center;
    /* Vertically align content */
}

.as_headercolum1 {
    flex: 0 0 60%; /* 75% width */
}

.as_headercolum2 {
    flex: 0 0 40%; /* 75% width */
    width: 100%;
}


.as_headercolumn:first-child {
    margin-right: 10px;
    /* Add some space between the columns */
}

.nopadding-left {
    padding-left: 0px;
}

.nopadding-right {
    padding-right: 0px;
}

.as_minibutton {
    background-color: #ccc;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 6px 15px;
    font-size: 12px;
    color: white;
    cursor: pointer;
}

.as_minibutton:hover {
    background-color: #aaaaaa;
}

.text-right {
    text-align: right;
}



@media (min-width: 768px) {
    .as_col50 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #edit-conditions {
        appearance: none;
        -webkit-appearance: none;
        display: flex;
        align-content: center;
        justify-content: center;
        font-size: 10px;
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, 0);
        border-radius: 5px;
    }


    #edit-conditions::before {
        width: 10px;
        height: 10px;
        content: "\2713";
        transform: scale(0);
        color: green;
        font-weight: bold;
        font-size: 20px;
        position: relative;
        top: -10px;
        left: -2px;
    }

    #edit-conditions:checked::before {
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .as_col50 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}