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

:root {
    /* Color */
    --primary-color: #146d3c;
    --secondary-color: #d26e4b;
    --success-color: #0743ab;
    --alert-color: #b20000;
    /* 
    Use With Value
    var(--primary-color); 
    var(--secondary-color); 
    var(--success-color); 
    var(--alert-color); 
    */
}


span.widget-title {
    background: var(--primary-color);
    display: block;
    padding: 10px;
    color: white;
}
.widget .is-divider{
    height: 0;
}
#logo p{
    margin: 4px 0px;
}
.row-dich-vu .col .box:hover h3 a{
    color: var(--primary-color);
}
.widget a:hover {
    color: var(--primary-color) !important;
}
#secondary .icon-box-text:hover h3{
    color: var(--primary-color) !important;
}
.bt-sdt{
    color: white !important;
}
div#secondary .widget {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
}
#secondary .ux-menu, #secondary .icon-box, #secondary ul{
    padding-left: 10px;
    padding-right: 10px;
}

.pdb-0 {
    padding-bottom: 0 !important;
}


.mxh-footer img {
    margin-bottom: 0 !important;
    margin: 0 10px;
}

.cf7-footer form {
    margin-bottom: 0;
}

.cf7-footer form p {
    display: flex;
    gap: 20px;
}

.cf7-footer form span.wpcf7-spinner {
    position: absolute;
}

.cf7-footer form input {
    height: 40px;
    margin: 0;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

.cf7-footer form .wpcf7-submit {
    width: 300px;
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
}

.cf7-footer form .wpcf7-submit:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color);
}
.flex-img .col-inner{
    display: flex;
    gap: 15px;
}
.flex-img::before, .flex-img::after{
    border: none !important;
}
.icon-contact-footer .icon-box p{
    margin-bottom: 0 !important;
}
.header-nav-main.nav.nav-right .nav-top-link{
	    font-size: .94em;
}
.menu-footer a{
    /* color: #000000; */
    font-weight: 600;
}
.menu-footer a:hover{
    color: var(--primary-color) !important;
}
.custome-title .button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}
.custome-title .col-inner {
    position: relative;
}
.blogs-vertaical .box-text {
    vertical-align: sub;
}
.list-blogs .is-divider{
    display: none;
}
.list-blogs .box-text{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.list-blogs .post-item{
    padding-bottom: 15px;
}
.blog-1, .blog-2, .blog-1 .col{
    padding-bottom: 0;
}
.blog-1 .post-item img, .blogs-pb-0 .post-item img{
    border-radius: 12px;
}
.blogs-pb-0 .post-item img{
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.blog-2{
    border-left: 3px solid var(--primary-color) !important;
}
.blogs-pb-0 .post-item{
    padding-bottom: 0 !important;
}
.box-blog-post .is-divider{
    display: none;
}
.blogs-duan .col-inner,
.category-du-an .post-item .col-inner{
    box-shadow: 0 0 9px 0 #949494cf;
    border-radius: 12px;
    transition: all 0.5s linear;
}
.blogs-duan .col-inner:hover, 
.category-du-an .post-item .col-inner:hover{
    box-shadow: none;
}
.blogs-duan .box-text{
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}
.blogs-duan .image-cover,
.category-du-an .image-cover{
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}
.blogs-duan .button, 
.category-du-an .post-item .button{
    margin-left: auto;
    margin-right: auto;
    display: table;
    font-size: 1em;
}
.button-hover-secondary:hover{
   background-color: var(--secondary-color) !important;
   box-shadow: none;
}
.blogs-duan .post-title::after, 
.category-du-an .post-title::after{
    display: block;
    content: "";
    height: 1.5px;
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
}
.blogs-duan .post-title a, 
.category-du-an .post-title a
{
    margin-bottom: 10px;
}
.blogs-duan .post-title, 
.category-du-an .post-title{
    margin-bottom: 20px;
}
.blogs-duan .cat-label{
    position: absolute;
    right: 5px;
    top: -30px;
    padding-top: 7px;
    padding-bottom: 5px;
    background-color: red;
    opacity: 1;
}
.box-after-post .my-field{
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.box-after-post .my-field span{
    margin-top: 10px;
}
.box-after-post .my-field img{
    width: 22px;
    height: 22px;
}
.post-item .button{
    border-radius: 12px;
}
.my-count-up h3{
    margin-bottom: 0;
}
.why-we .col-inner{
    border: 2px solid white;
    border-radius: 5px;
    transition: background .3s linear ;
}
.why-we .col-inner:hover{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.tab_category {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    font-weight: 600;
    border-bottom: 2px var(--primary-color) solid;
    margin-bottom: 30px;
}
.blog-archive{
    padding-top: 0;
}
.banner-category{
    padding-bottom: 30px;
}
.box.box-vertical .box-text {
    vertical-align: sub;
}
.category-du-an h1{
    font-size: 2em !important;
}
.category-du-an .from_the_blog_excerpt {
    display: none;
}
.category-du-an .box-text{
    padding: 20px;
}
.entry-header-text{
    text-align: center;
}
.entry-header-text .entry-divider{
    display: none;
}
.tab_category .ux-menu-link__link{
    border-color: transparent;
}
.form-vin input.wpcf7-submit{
    margin: 0
}
.form-vin span.wpcf7-spinner{
    position: absolute;
}
.button-center{
    display: table;
    margin-left: auto;
    margin-right: auto;
}
.banner-vin{
    position: relative;
}
.banner-vin::after{
    position: absolute;
    top: 0;
    opacity: .5;
    background: url(https://phatdatinvest.com/wp-content/uploads/2023/08/f2c8a3c5-4bab-4336-81bb-2671f2fee49c-20230720075057-caw5a.png) no-repeat;
    width: 100%;
    height: 100%;
    display: block;
    content: '';
    background-size: contain;
}
.vin-text-shadow h4, .vin-text-shadow p{
    text-shadow: rgb(0, 0, 0) 1px 2px 3px;
}
@media (max-width: 600px){ 
    .pdb-mb-0 {
        padding-bottom: 0;
    }
    .vin-text-shadow h4{
        transform: translateX(-9px);
        font-size: 1.3em;
    }
    .vin-text-shadow p{
        /* margin: 10px; */
        margin: 5px;
        margin-right: 0;
        padding-right: 5px !important;
    }
    .cf7-footer form p {
        gap: 10px;
        flex-direction: column;
    }
    .cf7-footer form .wpcf7-submit{
        width: 100%;
    }
    .tab_category {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        font-size: 15px;
    }
}








/* Áp dụng cho item trong category archive thôi, không ảnh hưởng footer */
.category .post-item .col-inner {
    box-shadow: 0 0 9px 0 #949494cf;
    border-radius: 12px;
    transition: all 0.5s linear;
}

.category .post-item .col-inner:hover {
    box-shadow: none;
}

.category .post-item .box-text {
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    padding: 20px;
}

.category .post-item .image-cover {
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.category .post-item .button {
    margin-left: auto;
    margin-right: auto;
    display: table;
    font-size: 1em;
}

.category .post-item .post-title {
    position: relative;
    margin-bottom: 20px;
}

.category .post-item .post-title::after {
    display: block;
    content: "";
    height: 1.5px;
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
}

.category .post-item .post-title a {
    margin-bottom: 10px;
}


.logo-my .col-inner .img,
.logo-my .col-inner {
    padding-top: 0;
    padding-bottom: 15px;
}
.row-dashed.logo-my .col:after,
.row-solid.logo-my .col:after {
    z-index: 999999;
}

.review-slider ol.flickity-page-dots {
    bottom: -10px !important;
}

.review-slider .flickity-button {
    display: none;
}