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

/*************** ADD CUSTOM CSS HERE.   ***************/
h1, h2, h3, h4, h5, h6 {
    text-wrap: inherit;
}
.header-button-1 i.icon-phone{
    background: #871915;
    padding: 6px 7px;
    border-radius: 50%;
}
.header-button-1 a {
    border-radius: 20px;
    padding-left: 8px;
    background: #131b4c;
}
.header-button-1 a span{
    color: #fff;
}
body.home .header-main {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 95%);
    transition: all .25s ease-in-out;
}
.nav-spacing-xlarge>li {
    margin: 0 18px;
}
.icon-menu:before{color: #000 !important;}
.header.show-on-scroll, .stuck .header-main {
    background: transparent !important;
}
.bannerhome .text-box-content {
    background: linear-gradient(270deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 100%);
}

.form-flat-lienhe label{
    font-size: 16px;
    padding-bottom: 5px;
}
.nav-dropdown-default {
    padding: 0px;
}
.nav-column>li>a, .nav-dropdown>li>a, .nav-vertical-fly-out>li>a, .nav>li>a {
    color: #000;
}

li.html.custom.html_topbar_left {
    color: #AB0102;
}
.header-social-icons .social-icons,.header-contact li a {
    color: #AB0102 !important;
}
.logo img {
    max-height: 120px !important;
    min-width: auto;
    background: #373435;
    padding: 10px;
    border-radius: 0px 0px 15px 15px;
    border: 1px solid #373435;
    border-top: 0;
}
.stuck #logo img {
    min-height: 90px !important;
    min-width: auto !important;
}

.quytrinhhome .col .icon-box, .quytrinhhome2 .col .icon-box, .mfp_portfolio_item_inner,.doitachome .col-inner{
    transition: all 0.4s ease-in-out;
}
.quytrinhhome .col .icon-box:hover,.quytrinhhome2 .col .icon-box:hover,.mfp_portfolio_item_inner:hover,.doitachome .col-inner:hover{
    transform: translateY(-10px);
}
.quytrinhhome .quytrinhs .col-inner{
    border: 1px solid #d3d3d3;
}
.quytrinhs .col-inner:after {
    position: absolute;
    right: 5%;
    bottom: -30px;
    font-size: 2rem;
    font-weight: bold;
    color: #f0f0f0;
    z-index: 1;
    line-height: 1;
    border: 1px solid #f0f0f0;
    border-radius: 50%;
    padding: 15px;
    background: #1f2e4e;
}
.quytrinh1 .col-inner:after {
    content: "01";
}
.quytrinh2 .col-inner:after {
    content: "02";
}
.quytrinh3 .col-inner:after {
    content: "03";
}
.quytrinh4 .col-inner:after {
    content: "04";
}
.textlienhe::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 0;
    height: 0;
    border-top: 30px solid #ab0102;
    border-right: 30px solid transparent;
}
.textlienhe {
    position: relative;
}
.absolute-footer.dark {
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
a#js-hide-all-icon-e {
    display: none !important;
}
.doitachome .col-inner{
    display: flex;
    justify-content: center;
    align-items: center;}
.doitachome .img-inner img{}
.slidereview .flickity-viewport{min-height: 255px;}
.pt-half {
    padding-top: 0;color: #000;
}
.reviewtitle h3{padding-left: 15px;}
.page-wrapper {
    padding-bottom: 70px;
    padding-top: 70px;
}

/*Blog*/
.box.box-text-bottom.box-blog-post.has-hover {
    background: #f2f2f2;
    border-radius: 15px;
    border: 1px solid #d3d3d3;
}
.box-text.text-left {
    padding: 15px;
}
.widget .is-divider {
    margin-top: .66em;
    display: none;
}
.product-hotline,.product-policises-wrapper {
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px;
}
.badge.post-date.badge-outline {
    width: 90px;
    height: 60px;
}
span.post_comments.op-7.block.is-xsmall {
    display: none;
}
.flex-row.recent-blog-posts.align-top.pt-half.pb-half {
    padding-top: 15px;
}
.recent-blog-posts a {
    font-size: 14px;
}
.type-post h1.entry-title {
    text-align: left
}
.type-post .article-inner.has-shadow .entry-header-text-top {
    padding-top: 0;
    padding-bottom: 0
}
.type-post .entry-divider {
    
}
.entry-header-text.entry-header-text-top.text-left {
    padding-top: 0;
    padding-bottom: 0;
}
.entry-content {
    padding-top: 5px;
}
#toc_container p.toc_title {
    text-align: left;
}
.blog-wrapper>.archive-page-header {
    /*
    background: url(/wp-content/uploads/2024/07/bg-breadcrumb.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    margin-bottom: 20px;
    min-height: 334px;
    display: flex;
    align-items: center;
    position: relative;
    */
}
/*Blog*/

/*THUÊ XE*/
/*uxbuilder*/
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}
.car-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}
.car-image {
    position: relative;
    max-height: 220px;
    background: linear-gradient(45deg, #f0f2f5, #e2e8f0);
    overflow: hidden;
}
.car-image img {
    min-height: 220px;
    object-fit: cover;
}
.car-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgb(225 20 20);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.car-info {
    padding: 12px;
}
.car-title {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}
.car-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 22px;
    text-align: left;
}
.car-name > a{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.car-year {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
}
.car-price {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.giaxe {
    border: solid 1px #ccc;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}
.giaxe p:first-child {
    background: #21a2ab;
    padding: 5px 10px;
    color: #fff;
    font-size: 14px;
    margin: 0;
}
.gia-xe {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: red;
    padding: 10px;
    margin: 0;
}
.gia-xe span {13px;
    color: #64748b;
    font-weight: 400;
}
.car-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
}
.spec-icon {
    width: 16px;
    height: 16px;
    fill: #667eea;
}
.car-actions {
    display: flex;
    gap: 10px;
}
.car-actions .btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.2) !important;
}
.car-actions .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}
.car-actions .btn {
    flex: 1;
    padding: 5px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.contact-info {
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3px 15px;
    margin-top: 15px;
    border-left: 4px solid #667eea;
}
.contact-info h4 {
    color: #1e293b;
    margin-bottom: 8px;
}
.contact-info p {
    color: #64748b;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}
.contact-info figure.gallery-item {
    padding: 0;
}
.contact-info figure.gallery-item img{
    max-height: 60px;
    object-fit: contain;
}
/*Singe*/
.vehicle-card {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}
.contact-badge {
    position: absolute;
    top: 5px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.large-6.col.vehicle-info {
    border: 1px solid #d3d3d3;
    padding: 20px;
    border-radius: 5px;
}
.vehicle-image .gallery-car{
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.vehicle-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.vehicle-header{

}
.vehicle-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.vehicle-subtitle {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}
.vehicle-subtitle  ul {
    list-style-type: none;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 15px;
}
.specs-grid .spec-item {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}


.webvipduan-slider img {
    width: 100%;
}
.webvipduan-slider_thumb .col {
    max-height: 110px;
    overflow: hidden
}
.webvipduan-slider_thumb .col img {
    max-height: 110px;
    object-fit: cover
}
.image-gallery {
    padding: 0 0 20px;
}

/*Tax*/


/*Search*/



/*THUÊ XE*/
.bannerwhy {
    border-radius: 15px;
    overflow: hidden;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .post-item .contact-info{
        
    }
    .contact-info .gallery{
        display: flex;
        flex-wrap: nowrap;
    }
    .logo img {
        max-height: 95px !important;
        min-width: auto;
        padding: 10px;
    }
}