/*
Theme Name: xe Bách Việt
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.3
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Thanh trượt  */
/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #efefef;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #3DACB7;
    border-radius: 3.5px 3.5px 3.5px 3.5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #63AA4A;
}

/* Hết thanh trượt  */
.absolute-footer,
.wpcf7-spinner {
    display: none;
}

.header-wrapper {
    border-bottom: 4px solid #34C700
}

.header-wrapper.stuck {
    border-bottom: 0
}

.banner h1,
.banner h2,
.banner h3 {
    line-height: 1.2;
}

.nav-dropdown>li>a {
    color: #000;
}

.text-bg-light {
    background: rgb(99, 170, 74);
    background: linear-gradient(42deg, rgba(99, 170, 74, 1) 0%, rgba(61, 172, 183, 1) 50%, rgba(61, 172, 183, 1) 100%);
    padding: 5px 20px;
    border-radius: 30px
}

.gallery-img-rounded-50 .box-image {
    border-radius: 50%
}

.gallery-img-rounded-50 .flickity-button {
    display: none;
}

.gallery-img-rounded-50 .gallery-col {
    padding: 3px;
}

.gallery-img-rounded-50 .flickity-viewport {
    background: rgb(99, 170, 74);
    background: linear-gradient(42deg, rgba(99, 170, 74, 1) 0%, rgba(61, 172, 183, 1) 50%, rgba(61, 172, 183, 1) 100%);
    border-radius: 50%;
}

.product-small .box,
.product-style .product-small {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 15px;
    padding: 10px;
}

.key-stack {
    display: flex;
    justify-content: space-between
}

.key-stack .button {
    padding: 3px 8px;
    line-height: 1;
    margin-right: 0;
    margin-bottom: 0;
    min-height: 1rem;
}

.key-stack .button span {
    font-size: 12px;

}

.mfp-close {
    background: rgba(255, 255, 255, 0.3);
}

.key-stack .btn-quote {
    background: rgb(99, 170, 74);
    background: linear-gradient(42deg, rgba(99, 170, 74, 1) 0%, rgba(61, 172, 183, 1) 50%, rgba(61, 172, 183, 1) 100%);
}

.key-short .item {
    margin-right: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgb(99, 170, 74);
    background: linear-gradient(42deg, rgba(99, 170, 74, .2) 0%, rgba(61, 172, 183, .2) 50%, rgba(61, 172, 183, .1) 100%);
    /* 		color: #fff; */
    font-size: 12px;
}

.product-style .product-title a,
.box-text-products .product-title a {
    color: #000;
    font-size: 18px;
    font-weight: bold
}

.product-style .price-wrapper,
.box-text-products .price-wrapper {
    text-align: end;
}

.product-style .price-wrapper span,
.box-text-products .price-wrapper span {
    color: #b62831;
    font-size: 16px;
}

.product-detail .price-wrapper span {
    color: #b62831;
}

.col-shadow>.col-inner {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.tabs-category .nav-tabs>li {
    margin: 0;
}

.tabs-category .nav-tabs>li>a {
    background: rgb(99, 170, 74);
    background: linear-gradient(42deg, rgba(99, 170, 74, 1) 0%, rgba(61, 172, 183, 1) 50%, rgba(61, 172, 183, 1) 100%);
    color: #fff;
    font-size: 16px;
    border: 0;
}

.tabs-category .nav-tabs>li:first-child>a {
    border-radius: 15px 0 0 0;
}

.tabs-category .nav-tabs>li:last-child>a {
    border-radius: 0 15px 0 0;
}

.tabs-category .nav-tabs>li.active>a {
    background: #fff;
    color: #000;
}

.tabs-category .nav>li:hover>a {
    color: #000;
}

.tabs-category .tab-panels {
    border: 0;
    border-radius: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding-bottom: 0
}

.tabs-category .product-category>.col-inner {
    transition: all .3s;
    border-radius: 15px;
}

.tabs-category .product-category:hover>.col-inner {
    background: rgb(99, 170, 74);
    background: linear-gradient(42deg, rgba(99, 170, 74, .1) 0%, rgba(61, 172, 183, .1) 50%, rgba(61, 172, 183, .1) 100%);
    border-radius: 15px;
}

.product-small .box-image {
    border-radius: 8px 8px 0 0
}

.col-form-dat-xe-detail .wpcf7-text {
    border-radius: 10px
}

.col-form-dat-xe-detail .wpcf7-text {
    border-radius: 10px;
}

.col-form-dat-xe-detail .wpcf7-submit {
    border-radius: 30px;
    background: rgb(99, 170, 74);
    background: linear-gradient(42deg, rgba(99, 170, 74, 1) 0%, rgba(61, 172, 183, 1) 50%, rgba(61, 172, 183, 1) 100%);
}

.xuatphat,
.dichvu,
.ngay-di {
    border-radius: 10px 0 0 10px !important;
}

.loaixe,
.diemden,
.ngay-ve,
.ten-xe {
    border-radius: 0 10px 10px 0 !important;
}

.wpcf7-form label {
    color: #4CAB97;
    letter-spacing: 1px;
}

.product-detail .wc-tabs li {
    display: none;
}

.table-search .tab-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.table-search .input-search-route {
    max-width: 500px;
    padding-left: 30px;
    background: url('/files/uploads/geo-alt-c.svg') left 5px center no-repeat;
    background-size: 20px;
    border: 0;
    border-bottom: 1px solid #3DACB7;
    box-shadow: none;
}

.table-responsive {
    position: relative;
    overflow: auto;
    max-height: 500px;
}

.table-price {
    background: #fff;
    width: 100%;
    border-collapse: collapse;
}

.table-price .sticky-column {
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-price thead th {
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    background: #4CAB97;
    color: #fff;
    min-width: 80px;
    text-transform: none;
}

.table-price .head td.name {
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    background: #4CAB97;
    color: #fff;
    min-width: 150px;
    text-align: start;
    text-transform: uppercase;
    font-weight: bold;
    padding: 8px;
}

.table-price td.name {
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    background: #4CAB97;
    color: #fff;
    min-width: 150px;
    text-align: start;
    padding: 8px;
    position: sticky;
    left: 0;
    z-index: 1;
}

.table-price td {
    color: #000;
    border: 1px solid #fce5e5;
    text-align: center;
}

.table-responsive.drag-scroll {
    cursor: grab;
}

.table-responsive.drag-scroll:active {
    cursor: grabbing;
}


.post-item .box-blog-post .box-image {
    border-radius: 15px 15px 0 0;
}

.post-item .box-vertical .box-image {
    border-radius: 10px;
}

.table-style th,
.table-style td {
    color: #000;
    border: 1px solid #fce5e5;
    padding: 10px 15px;
}

.table-style {
    min-width: 500px;
}

.portfolio-inner img {
    width: auto;
}

.portfolio-inner ul {
    padding-left: 1rem;
}

.portfolio-summary.entry-summary p {
    display: none;
}

.portfolio-box .box-image {
    border-radius: 15px;
}

.block-product-tab .nav-tabs>li {
    margin: 0;
}

.block-product-tab .nav>li>a {
    background: rgb(99, 170, 74);
    background: linear-gradient(0deg, rgba(99, 170, 74, .5) 0%, rgba(61, 172, 183, 1) 50%, rgba(61, 172, 183, 1) 100%);
    color: #fff;
    font-size: 16px;
    border-color: #3DACB7;
}

.block-product-tab .nav>li:hover>a {
    color: #000;
}

.block-product-tab>ul>li:first-child>a {
    border-radius: 15px 0 0 0;
}

.block-product-tab>ul>li:last-child>a {
    border-radius: 0 15px 0 0;
}

.block-product-tab .nav-tabs>li.active>a {
    background: #fff;
    color: #000;
    border-color: #3DACB7;
}

.block-product-tab .tab-panels {
    border-radius: 10px;
    border-color: #3DACB7;
}

.menu-stack .ux-menu-link__link {
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 10px;
    padding-left: 10px;
    min-height: 1em;
}

.menu-stack .ux-menu-link__link:hover {
    background: #000;
}

.menu-stack .ux-menu-link__link i {
    color: #3DACB7;
}

.testimonial-box .star-rating:before,
.star-rating span:before {
    color: #FFC107;
}

.col-feedback .flickity-slider .col-inner {
    border: 1px dashed #ccc;
    border-radius: 10px;
    padding: 10px;
}


/* FOOTER SCRIPTS */
.tool {
    position: fixed;
    z-index: 999;
    right: 0;
    bottom: 170px;
    color: #1A1A1A;
    width: 48px;
}

.tool .tool-item {
    background-color: #ffffff;
    width: 48px;
    height: 48px;
    /*     border: 1px solid #cccccc; */
    display: flex;
    justify-content: left;
    align-items: center;
    transition: width 0.5s;
    padding-left: 12px;
    float: right;
    overflow: hidden;
    position: relative;
}

.tool .tool-item img {
    width: auto;
}

.tool .tool-item:hover span {
    left: 30px;
}

.tool .tool-list {
    background-color: #ffffff;
    width: 48px;
    height: 48px;
    border: 1px solid #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    float: right;
    font-size: 20px;
    color: #1a1a1a;
    cursor: pointer;
}

.tool-item:hover {
    width: 260px;
    transition: width 1s;
}

.tool .tool-item>span {
    margin-left: 20px;
    color: #1A1A1A;
    /* text-overflow: ellipsis; */
    position: absolute;
    right: 100%;
    width: max-content;
}

.tool-list-contain {
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease 0s;
}

.tool-list-contain.show {
    height: auto;
    opacity: 1;
    visibility: visible;
}

.tool-list-contain .tool-list-item {
    min-width: 3rem;
    display: table;
    margin-right: auto;
    cursor: pointer;
    font-size: 1rem;
    background-color: #0074bb;
    padding-right: 16px;
    /* padding: 10px 10px 10px 0px; */
    transition: all 0.5s ease 0s;
    margin-bottom: 1px;
    border-radius: 10px 0 0 10px
}

.tool-list-contain .tool-list-item.quote {
    background: linear-gradient(42deg, rgba(99, 170, 74, 1) 0%, rgba(61, 172, 183, 1) 50%, rgba(61, 172, 183, 1) 100%);
}

.tool-list-contain .tool-list-item.phone {
    background: #34C700;
}

.tool-list-contain .tool-list-item.zalo {
    background: #015CE0
}

.tool-list-contain .tool-list-item.messenger {
    background: #4285f4;
}

.tool-list-contain .tool-list-item:hover {
    /* transform: translateX(0); */
    transform: translateX(calc(-100% + 1.5rem + 24px));
}

.tool-list-contain .tool-list-item .item-contain {
    height: 48px;
    display: flex;
    align-items: center;
}

.tool-list-contain .tool-list-item .item-contain .item-image {
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.tool-list-contain .tool-list-item .item-contain .item-image img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}

.tool-list-contain .tool-list-item .item-contain .item-title {
    font-size: 16px;
    line-height: 23px;
    color: #1A1A1A;
    white-space: nowrap;
}

.tool-list-contain .tool-list-item:hover .item-contain .item-title {
    color: #fff;
}

.tool-list-contain .tool-list-item a {
    display: flex;
    align-items: center;
}

#float-contact {
    display: none;
}

.wp-caption.aligncenter {
    text-align: center;

}

.post-xe-di-tinh {
    padding-top: 30px;
    padding-bottom: 30px;
}

.post-xe-di-tinh .title-page {
    margin-bottom: 2.5rem;
}

.post-xe-di-tinh .box-blog-post {
    padding: 10px 20px;
}

.post-xe-di-tinh .box-blog-post .box-title {
    font-size: 22px;
    /* 		border: 2px dashed #3dacb7;
		border-radius: 10px; */
    padding: 3px 10px;
    margin-bottom: 15px;
    min-height: 65px;
}

.post-xe-di-tinh .box-blog-post .box-text-inner p {
    margin-bottom: 8px
}

.post-xe-di-tinh .box-blog-post .contact-footer {
    text-align: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    transform: translatex(-50%);
}

.post-xe-di-tinh .box-blog-post .box-text-inner {
    margin-bottom: 40px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    min-height: 250px;
}

.post-xe-di-tinh .box-blog-post .contact-footer .btn-style {
    border-radius: 10px;
    text-transform: none;
    font-weight: 100;
}

.col-hover .col-inner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.col-hover:hover .col-inner {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px)
}

.col-style>.col-inner {
    background: linear-gradient(1turn, #f1f6fd 30%, #edf1f7);
    box-shadow: 3px 3px 9px rgba(164, 164, 186, 0.2);
    border: 1px solid #fff;
    border-bottom: none;
    border-radius: 20px;
}

/* BOOKING CAR */


.mfp-wrap {
    width: 100%;
    /* Ensure it spans the full width */
    height: 100%;
    /* Ensure it spans the full height */
    padding: 0 !important;
    top: 0;
    /* Position from the top */
    left: 0;
    /* Position from the left */
    display: flex;
    /* Use flexbox for centering */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    overflow: auto !important;
}

.mfp-content {
    width: 100% !important;
    /* Limit the maximum width of the content */
    max-height: 90vh;
    /* Limit the maximum height of the content */
}

.mfp-wrap .lightbox-content:has(.dxbv-booking-form) {
    max-height: 100vh;
    padding: 0 !important;
    border-radius: 0 !important;
}

.mfp-container:has(.dxbv-booking-form):not(.mfp-wrap) {
    height: 0 !important;
}

.ux-modal-content,
.lightbox-content {
    /* height: 100vh; */
    overflow-y: auto !important;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table-container th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.table-container th {
    background-color: #f2f2f2;
}


.car-card .button {
    margin: 0 !important;
    margin-bottom: 10px !important;
}

/* Pagination Styles */
.navigation.pagination {
    margin: 40px 0;
    text-align: center;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.navigation.pagination .page-numbers:hover {
    background-color: #f5f5f5;
    border-color: #999;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navigation.pagination .page-numbers.current {
    background-color: var(--fs-color-primary);
    color: #fff;
    border-color: var(--fs-color-primary);
    font-weight: 600;
    cursor: default;
    box-shadow: 0 2px 4px rgba(68, 96, 132, 0.3);
}

.navigation.pagination .page-numbers.current:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(68, 96, 132, 0.3);
}

.navigation.pagination .page-numbers.next,
.navigation.pagination .page-numbers.prev {
    font-weight: 600;
    background-color: #f8f8f8;
}

.navigation.pagination .page-numbers.next:hover,
.navigation.pagination .page-numbers.prev:hover {
    background-color: var(--fs-color-primary);
    color: #fff;
    border-color: var(--fs-color-primary);
}

.navigation.pagination .screen-reader-text {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}






/* Custom CSS Tablet */
@media (max-width: 849px) {
    .key-stack .button {
        padding: 3px 8px;
        line-height: 1;
        margin-right: 0;
        margin-bottom: 0;
        min-height: 1rem;
    }

    .key-stack .button span {
        font-size: 10px;
    }

    .key-short .item {
        margin-right: 5px;
        padding: 2px 5px;
        border-radius: 10px;
        background: rgb(99, 170, 74);
        background: linear-gradient(42deg, rgba(99, 170, 74, .2) 0%, rgba(61, 172, 183, .2) 50%, rgba(61, 172, 183, .1) 100%);
        /* 		color: #fff; */
        font-size: 8px;
    }

    .product-style .product-title a,
    .box-text-products .product-title a {
        color: #000;
        font-size: 14px;
        font-weight: bold
    }

    .product-style .price-wrapper,
    .box-text-products .price-wrapper {
        text-align: end;
    }

    .product-style .price-wrapper span,
    .box-text-products .price-wrapper span {
        color: #b62831;
        font-size: 12px;
    }

    .xuatphat,
    .dichvu,
    .loaixe,
    .diemden,
    .ngay-di,
    .ngay-ve,
    .ten-xe {
        border-radius: 10px !important;
    }

    .tool .tool-list-contain {
        display: none;
    }

    /* float-contact  */
    #float-contact {
        position: fixed;
        bottom: 8px;
        z-index: 9;
        right: 10px;
        display: flex;
    }

    #float-contact .phone-container {
        display: none;
    }

    #float-contact img {
        width: 20px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #float-contact>div {
        background: #d01515;
        padding: 0 10px;
        margin-bottom: 6px;
        height: 45px;
        width: 45px;
        border-radius: 50%;
        box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.2);
        transition: box-shadow 0.3s;
        animation: pulse 2s infinite;
        margin-left: 8px
    }

    #float-contact .hotline {
        background: #008800;
    }

    #float-contact .zalo {
        background: #0068FF;
    }

    #float-contact .whatapp {
        background: #34C700;
    }

    @keyframes pulse {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
        }

        70% {
            transform: scale(1);
            box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        }
    }

    .hotline:hover {
        box-shadow: 0px 0px 25px rgba(50, 50, 50, 0.4);
    }

    .hotline a {
        font-size: 15px;
        color: white;
        font-weight: 400;
        text-transform: none;
        line-height: 0;
    }

    .portfolio-box .portfolio-box-category {
        display: none;
    }

    .table-container table {
        min-width: 800px;
    }
}


/* Custom CSS Mobile */
@media (max-width: 549px) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .key-stack .button {
        padding: 3px 5px;
        line-height: 0;
        margin-right: 0;
        margin-bottom: 0;
        min-height: .5rem;
    }

    .key-stack .button span {
        font-size: 8px;
    }

    .table-price td.name {
        min-width: 50px;
    }

    .block-product-tab .nav-tabs {
        flex-wrap: nowrap;
        overflow: auto;
        justify-content: start;
    }

    .block-product-tab .nav>li>a {
        background: rgb(99, 170, 74);
        background: linear-gradient(0deg, rgba(99, 170, 74, .5) 0%, rgba(61, 172, 183, 1) 50%, rgba(61, 172, 183, 1) 100%);
        color: #fff;
        font-size: 16px;
        border-color: #3DACB7;
        min-width: 90px;
    }

    .block-product-tab .tab-panels {
        padding: 0;
        border-radius: 0 0 10px 10px;
        border-color: #3DACB7;
    }

    .box-bounce .box-text {
        padding: 10px 5px;
    }

    .tool .tool-list-contain {
        display: none;
    }


    /* float-contact  */
    #float-contact {
        position: fixed;
        bottom: 8px;
        z-index: 9;
        right: 10px;
        display: flex;
    }

    #float-contact .phone-container {
        display: none;
    }

    #float-contact img {
        width: 20px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #float-contact>div {
        background: #d01515;
        padding: 0 10px;
        margin-bottom: 6px;
        height: 45px;
        width: 45px;
        border-radius: 50%;
        box-shadow: 0px 0px 15px rgba(50, 50, 50, 0.2);
        transition: box-shadow 0.3s;
        animation: pulse 2s infinite;
        margin-left: 8px
    }

    #float-contact .hotline {
        background: #008800;
    }

    #float-contact .zalo {
        background: #0068FF;
    }

    #float-contact .whatapp {
        background: #34C700;
    }

    @keyframes pulse {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
        }

        70% {
            transform: scale(1);
            box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        }
    }

    .hotline:hover {
        box-shadow: 0px 0px 25px rgba(50, 50, 50, 0.4);
    }

    .hotline a {
        font-size: 15px;
        color: white;
        font-weight: 400;
        text-transform: none;
        line-height: 0;
    }

    .portfolio-box.box-push .box-text {
        padding: 5px 10px !important;
    }

    #quote {
        padding: 0px !important;
    }

    .mfp-container.mfp-s-ready {
        width: 100% !important;
        height: 100% !important;
        padding: 0;
        top: 0 !important;
        left: 0 !important;
        position: fixed !important;
        z-index: 9999 !important;
        /* Ensure it's on top */
        /* Add other styles for background, etc. */
    }

    .navigation.pagination {
        margin: 30px 0;
    }

    .navigation.pagination .nav-links {
        gap: 6px;
    }

    .navigation.pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }
}