/*
Theme Name: Neo Media
Theme URI: https://neomedia.io.vn/
Description: Neo Media Theme
Author: Neo Media
Template: bricks
Version: 1.0.1
Text Domain: neomedia
*/

.stroke-text {
    color: transparent;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #10B981;
    text-shadow: 0 0 0 #10B981;
}

.pricing-table-title {
    width: 100%;
}

.brxe-post-content ul li {
    margin-bottom: 10px;
}

.brxe-post-sharing {
    gap: 10px;
}

#booking-form .form-group:nth-child(13) {
    margin-right: auto;
    margin-left: 2%;
}

#booking-form label {
    text-transform: unset;
    font-size: 16px;
    font-weight: 500;
}

#booking-form .brxe-heading {
    font-size: 35px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
    font-weight: 600;
}

#booking-form .submit-button-wrapper {
    margin: 0 auto;
}

:where(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus {
    border-color: #0ea5a8;
    box-shadow: 0 0 0 1px #0ea5a8;
    outline: none;
}

#booking-popup .brx-popup-content {
    max-width: 460px;
    width: calc(100vw - 24px);
    border-radius: 8px;
}

.neo-tour-booking-form,
.neo-tour-booking-form * {
    box-sizing: border-box;
}

.neo-tour-booking-form {
    width: 100%;
    color: #0EA5A8;
    font-size: 15px;
    line-height: 1.4;
}

.neo-tour-booking-form h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.neo-booking-order {
    margin-bottom: 20px;
}

.neo-booking-rule {
    width: 100%;
    height: 1px;
    margin: 8px 0 12px;
    background: rgba(132, 83, 126, 0.5);
}

.neo-booking-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 10px;
    color: #0EA5A8;
}

.neo-booking-row span,
.neo-booking-row strong {
    font-weight: 600;
    font-size: 16px;
}

.neo-booking-row strong {
    min-width: 0;
}

.neo-booking-divider {
    height: 1px;
    margin: 0 0 22px;
    background: rgba(132, 83, 126, 0.5);
}

.neo-booking-grid {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 16px;
}

.neo-tour-booking-form input,
.neo-tour-booking-form select,
.neo-tour-booking-form textarea {
    width: 100%;
    min-height: 40px;
    margin: 0 0 16px;
    padding: 10px 12px;
    color: #6d6d6d;
    font: inherit;
    background: #fff;
    border: 1px solid #e8e3e7;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.neo-tour-booking-form select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 38px;
    background-color: transparent;
    background-image: linear-gradient(45deg, transparent 50%, gray 0), linear-gradient(135deg, gray 50%, transparent 0);
    background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 16px) calc(50% + 2px);
    background-repeat: no-repeat;
    background-size: 4px 4px, 4px 4px;
    border-radius: 0;
}

.neo-tour-booking-form textarea {
    min-height: 122px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #0EA5A8;
}

.neo-tour-booking-form input::placeholder,
.neo-tour-booking-form textarea::placeholder {
    color: #8c8c8c;
    opacity: 1;
}

.neo-booking-quantity-label select {
    min-height: 40px;
    margin: 0;
    padding: 8px 38px 8px 12px;
    color: #0EA5A8;
    font-weight: 800;
    background-color: #fff;
    border: 1px solid #e8e3e7;
}

.neo-booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
    justify-content: center;
}

.neo-booking-button {
    min-height: 44px;
    padding: 10px 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    background: #0EA5A8;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.neo-booking-button-secondary {}

.neo-booking-button:hover,
.neo-booking-button:focus {
    background: #ad68a5;
}

.neo-booking-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.neo-booking-message {
    min-height: 20px;
    margin: 12px 0 0;
    color: #6d6d6d;
    font-size: 14px;
    text-align: center;
}

.neo-booking-message[data-type="success"] {
    color: #178a4d;
}

.neo-booking-message[data-type="error"] {
    color: #c0392b;
}

.neo-booking-message[data-type="info"] {
    color: #8a6284;
}

.neo-tour-booking-form .iti {
    display: block;
    width: 100%;
    margin-bottom: 16px;
}

.neo-tour-booking-form .iti input {
    margin-bottom: 0;
}

.neo-tour-booking-form .iti__country-list {
    z-index: 100020;
    width: min(420px, calc(100vw - 40px));
    max-height: 220px;
    color: #5f5f5f;
    border-color: #d8d0d6;
    border-radius: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.neo-tour-booking-form .iti__country {
    font-size: 15px;
}

.neo-tour-booking-form.is-loading [data-neo-tour-name],
.neo-tour-booking-form.is-loading [data-neo-total-price] {
    opacity: 0.6;
}

input[type="date"],
input.flatpickr,
input[name="check-in"],
input[name="check-out"],
input[name="departure_date"] {
    padding-right: 42px;
    background-image: url('assets/images/icon-calendar.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px 20px;
}

#neo-booking-search-form input {
    background-image: url('assets/images/icon-calendar.png'), url('assets/images/icon-date-down.png');
    background-repeat: no-repeat;
    background-position: left 0 center, right 0 center;
    background-size: 20px 20px, 16px auto;
    padding: 0 40px;
    border: none;
    border-bottom: 1px solid #ebebeb;
}

.neo-booking-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
    width: 100%;
}

.neo-booking-search-form input,
.neo-booking-search-form select {
    margin-bottom: 0;
}

#neo-booking-search-form input:focus,
#neo-booking-search-form input:focus-visible {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 2px solid #0ea5a8;
    box-shadow: unset !important;
}

.neo-booking-search-submit {
    min-height: 42px;
    padding: 0 28px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    background: #0ea5a8;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-family: "Barlow Condensed";
}

.neo-booking-search-submit:hover,
.neo-booking-search-submit:focus {
    background: #0ea5a8;
}

@media (max-width: 767px) {
    .neo-booking-search-form {
        grid-template-columns: 1fr;
    }

    .neo-booking-search-submit {
        width: 100%;
    }
}

.brx-popup-content {border-radius: 20px;}

.bricks-mobile-menu-wrapper {padding-top: 50px;}

@media (max-width: 850px){
    #booking-form .brxe-heading {margin-top: 20px}
    #booking-form .form-group:nth-child(13) {margin-left: 0;}
}

@media (max-width: 480px) {
    #booking-popup .brx-popup-content {
        width: calc(100vw - 20px);
    }

    .neo-tour-booking-form {
        font-size: 14px;
    }

    .neo-booking-row {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .neo-booking-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .neo-booking-button {
        font-size: 16px;
    }
}
