/*
Theme Name: lachongvien
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

#wide-nav {
    width: 100%;
}

.ul-gia-dat ion-icon {
    color: #026328;
    padding-right: 10px;
}

.ul-gia-dat li {
    padding: 3px 0;
    margin-left: 0px !important;
}

.card-detail li {
    border-bottom: #026328 1px dashed;
}

.container-price {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.card-price {
    width: calc(50% - 10px);
    border: #026328 solid 1px;
    margin-bottom: 10px;
}

.card-price-3 {
    width: calc((100% / 3) - 10px);
    border: #026328 solid 1px;
    margin-bottom: 10px;
}

.card-bottom {
    padding: 10px;
}

.card-title a {
    color: #026328;
}

.card-image {
    height: 200px;
    width: 100%;
    margin-bottom: 10px;
    flex-shrink: 0;
    object-fit: cover;
    overflow: hidden;
    position: relative;
}

.card-image img {
    height: 100%;
    width: 100%;
}

span.voucher {
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #ffffff;
    padding: 0px 3px;
    color: #026328;
    border-radius: 5px;
    font-weight: 600;
}

.card-button {
    display: flex;
    justify-content: center;
}

.card-button a {
    margin: 0 10px;
}

.card-button-success {
    background-color: #026328;
    padding: 5px 10px;
    color: white;
    border-radius: 5px;
}

.card-button-secondary {
    border: #026328 1px solid;
    padding: 5px 10px;
    color: #026328;
    border-radius: 5px;
}

.video-container {
    position: relative;
    height: 0;
    width: 100%;
    padding-top: calc(100% / (var(--aspect-ratio)));

    video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.order-mobile {
    display: none;
}

.ux-menu-link__link {
    color: white;
}

.widget_custom_html {
    list-style: none;
}

/* Button to open modal */
#openModalBtn {
    background-color: #026328;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 10px;

}

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease;
    z-index: 9999999;
}

.modal-content {
    background-color: white;
    padding: 20px;
    height: 90%;
    width: 90%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    margin-right: auto;
}

.close-btn {
    position: absolute;
    top: 50px;
    right: 24px;
    font-size: 17px;
    cursor: pointer;
    color: #333;
    background-color: white;
    border: 1px solid;
    padding: 0px 12px;
    border-radius: 3px;
}

.text-center>div,
.text-center>div>div,
.text-center .is-divider,
.text-center .star-rating,
.text-center .is-star-rating {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.cta-button {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* When modal is active */
.modal.show {
    left: 0;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .card-price {
        width: 100%;

    }

    .card-price-3 {
        width: 100%;
    }
}

@media only screen and (max-width: 849px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .large-4.col.order-1 {
        display: none !important;
    }

    .order-mobile {
        display: block;
    }
}