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

/*************** ADD CUSTOM CSS HERE.   ***************/
.heading-2 {
    display: flex;
}

.heading-2_text {
    margin-left: 10px;
    font-size: 20px;
    color: #000;
}

ul#header-contact a span {
    color: #000;
    font-weight: 100;
}

.absolute-footer {
    display: none;
}

.row-hinh-thuc img {
    border-radius: 50%;
}

/* Video Start */
.vid-vay {
    padding: 0 !important;
    height: 100%;
}

.col-vid .col-inner,
.col-vid .wp-video,
.col-vid video {
    height: 100% !important;
}

.col-uu-diem {
    padding-left: 0;
}

div#mep_0 {
    height: 100% !important;
}

/* Video End */

.title-uu-diem {
    margin-left: 200px;
}

.uu-diem-chan {
    margin-left: 200px;
    transform: translateX(28%);
    text-align: center;
}

/* css copy */
.heading-11.pb20.white {
    color: #000;
}

.calc_slider_container {
    margin-top: 25px;
}

.calc_slider_label_container {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: 120px 1fr;
    grid-auto-columns: 1fr;
    justify-content: space-between;
    padding-bottom: 20px;
    display: grid;
}

.calc_slider_label.white {
    color: #2d2d2d;
    margin-top: 0;
}

.calc_loan_counter_container.white {
    color: #fff;
    white-space: nowrap;
    font-size: 12px;
}

.calc_slider_counter {
    color: var(--primary-color);
    flex: none;
    align-self: auto;
    margin-right: 5px;
    font-size: 28px;
    font-weight: 800;
    line-height: 32px;
    display: inline;
}

.calc_loan_currency {
    color: var(--primary-color);
    font-size: 18px;
    line-height: 23px;
    display: inline;
}

.calc-range-slider {
    margin-top: 16px;
    margin-bottom: 24px;
    padding-bottom: 0;
}

.CALC-range-slider {
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    -webkit-appearance: none;
    border-radius: 65px;
}

.calc_slider_minmax_box {
    display: none;
}

.submit-button-copy.white-button {
    color: #fff;
    cursor: pointer;
    border-radius: 7px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    font-size: 23px;
    font-weight: 800;
    display: block;
    text-transform: none;
}


/* Styles for WebKit browsers (Chrome, Safari) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    /* Kích thước nút tròn */
    height: 30px;
    /* Kích thước nút tròn */
    border-radius: 50%;
    /* Bo tròn */
    background: #000;
    /* Màu đen */
    cursor: pointer;
    /* Con trỏ */
    border: 2px solid #555;
    /* Đường viền nếu cần */
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #fff;
    /* Màu đen nhạt hơn khi hover */
}

/* Styles for Mozilla browsers (Firefox) */
input[type="range"]::-moz-range-thumb {
    width: 20px;
    /* Kích thước nút tròn */
    height: 20px;
    /* Kích thước nút tròn */
    border-radius: 50%;
    /* Bo tròn */
    background: #000;
    /* Màu đen */
    cursor: pointer;
    /* Con trỏ */
    border: 2px solid #555;
    /* Đường viền nếu cần */
}

input[type="range"]::-moz-range-thumb:hover {
    background: #FFF;
    /* Màu đen nhạt hơn khi hover */
}

/* and copy css */

/* css slide swiper start */
#testimonial .testimonial-slider {
    height: 30rem;
    padding: 2rem 0;
    position: relative;
}

@media (max-width:500px) {
    #testimonial .testimonial-slider {
        height: 45rem;
    }
}

.testimonial-slide {
    width: 20rem;
    position: relative;
    background-color: #FFF;
    border-radius: 12px;
    text-align: center;
    padding: 10px;
    box-shadow: 2px 2px 10px;
}

.testimonial-slide .testimonial-slide-img {
    width: max-content;
}

@media (max-width:500px) {
    .testimonial-slide {
        width: 12rem !important;
        height: 20rem !important;
    }

    .testimonial-slide .testimonial-slide-img img {
        width: 12rem !important;
        height: 20rem !important;
    }
}

.testimonial-slide .testimonial-slide-img {
    display: flex;
    margin: auto;
    margin-bottom: 10px;
}

.testimonial-slide .testimonial-slide-img img {
    width: 10rem;
    height: 10rem;
    border-radius: 2rem;
    object-fit: cover;
}

.testimonial-slide .testimonial-slide-content {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.testimonial-slide-content .food-price {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--primary-color);
}

.testimonial-slide-content .testimonial-slide-content-bottom {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: var(--primary-color);
}

.food-rating {
    padding-top: 1rem;
    display: flex;
    gap: 1rem;
}

.rating ion-icon {
    color: var(--primary);
}

.swiper-slide-shadow-left,
.swiper-slide-shadow-right {
    display: none;
}

.testimonial-slider-control {
    position: relative;
    bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.testimonial-slider-control .swiper-button-next {
    left: 60% !important;
    transform: translateX(-58%) !important;
}

.testimonial-slider-control i {
    color: #FFF;
    z-index: 0;
}

@media (max-width:990px) {
    .testimonial-slider-control .swiper-button-next {
        left: 70% !important;
        transform: translateX(-70%) !important;
    }
}

@media (max-width:450px) {
    .testimonial-slider-control .swiper-button-next {
        left: 80% !important;
        transform: translateX(-80%) !important;
    }
}

@media (max-width:990px) {
    .testimonial-slider-control .swiper-button-prev {
        left: 30% !important;
        transform: translateX(-30%) !important;
    }
}

@media (max-width:450px) {
    .testimonial-slider-control .swiper-button-prev {
        left: 20% !important;
        transform: translateX(-20%) !important;
    }
}



.swiper-slide {
    opacity: 0.7;
}

.swiper-slide-active {
    opacity: 1;
}



.testimonial-slider-control .slider-arrow {
    background: var(--primary-color);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    left: 40%;
    transform: translateX(-42%);
    filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.testimonial-slider-control .slider-arrow ion-icon {
    font-size: 1.5rem;
    color: var(--white);
}

.testimonial-slider-control .slider-arrow::after {
    content: '';
}

.testimonial-slider-control .swiper-pagination {
    position: relative;
    width: 15rem;
    bottom: 1rem;
}

.testimonial-slider-control .swiper-pagination .swiper-pagination-bullet {
    filter: drop-shadow(0px 8px 24px rgba(18, 28, 53, 0.1));
}

.testimonial-slider-control .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* css slide swiper end */





.text-box-banner em {
    text-transform: uppercase;
}


.section-cam-ket .icon-box.featured-box.icon-box-left {
    margin-bottom: -15px;
}


.section-cam-ket {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg,
            #edf1ff 0%,
            /* hơi xanh ở trái */
            #ffffff 45%,
            /* trắng giữa */
            #ffeefe 100%
            /* hơi hồng ở phải */
        );
}

/* để nội dung nằm trên hiệu ứng */
.section-cam-ket .section-content {
    position: relative;
    z-index: 1;
}

/* hai “vệt” loang đậm hơn giống ảnh */
.section-cam-ket::before,
.section-cam-ket::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.section-cam-ket::before {
    background: radial-gradient(ellipse at 10% 100%,
            /* sát góc trái dưới */
            rgba(90, 115, 255, 0.85) 0%,
            rgba(90, 115, 255, 0.45) 35%,
            rgba(90, 115, 255, 0.15) 60%,
            rgba(90, 115, 255, 0) 100%);
}

/* mảng hồng tím ở trên bên phải */
.section-cam-ket::after {
    background: radial-gradient(circle at 90% 10%,
            /* vị trí: góc phải trên */
            rgba(255, 178, 240, 0.9) 0%,
            rgba(255, 178, 240, 0.55) 30%,
            rgba(255, 178, 240, 0.0) 60%);
    mix-blend-mode: screen;
    /* cho màu hoà nhẹ vào nền */
}

/* xoá background cũ của Flatsome section */
.section-cam-ket .section-bg {
    background: transparent !important;
}


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


}