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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root{
    --primary-color: #F7DC55;
    --secondary-color: #e62e2d;
    --success-color: #1e3b86;
    --alert-color: #000000;
    /* 
    var(--primary-color); 
    var(--secondary-color); 
    var(--success-color); 
    var(--alert-color); 
    */
}

/* .header:not(.transparent) .header-nav-main.nav > li > a {
    color: var(--primary-color) !important;
} */
.header:not(.transparent) .header-nav-main.nav > li.active > a {
    color: #fff !important;
	transition: all .3s;
}
.header:not(.transparent) .header-nav-main.nav > li:hover > a{
	color: #fff !important;
	background-color: var(--primary-color);
}
.ul-footer ul li{
    list-style: none;
    margin-left: 0;
}
.text-center .hoi-dap .toggle{
    margin-left: 0 !important;
}
.dich-vu .my-price .icon-box-text{
    padding-left: 0.5em;
    padding-top: 4px;
}
.dich-vu .box-image{
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.dich-vu .box-text-inner .button{
    margin-top: 0;
}
.back-to-top {
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    color: white !important;
}
.dau_x_phone{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
}
.dau_x_phone .mfp-close{
    top: 0 !important;
}
.title-phone{
    transform: translateY(7px);
}
.popup-contact .button.mfp-close {
    position: relative;
    opacity: 1;
    width: unset;
    font-size: .97em !important;
    mix-blend-mode: normal !important;
    transition: unset !important;
    height: unset !important;
    
    margin-top: -15px !important;
    margin-right: 1em !important;
    font-weight: bolder !important;
    line-height: 2.4em;
}
.huy-phone {
    display: inline-block;
}
.form-server input::placeholder{
    font-weight: normal;
}

.form-server .wpcf7-date, .form-server select, .form-server input{
    box-shadow: unset !important;
    font-weight: normal;
    margin-bottom: 0;
}
.form-server .wpcf7-submit{
    padding-left: 40px;
    padding-right: 40px;
}
.form-server > p:first-child{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.form-server label{
    text-align: left;
}
.form-server i{
    /* font-weight: bold !important; */
    margin-right: 4px;

}
.wrap-fr-sv .wpcf7-submit{
    margin-top: 20px;
    margin-right: 0 !important;
    padding-left: 35px;
    padding-right: 35px;
}
.wrap-fr-sv .wpcf7-spinner{
    position: absolute;
}
.wpcf7-response-output{
    margin-top: 20px;
    margin-top: 15px !important;
}
/* Liên hệ fixed mặc định */
.cst-contact-fix{
    position: fixed;
    right: 15px;
    bottom: 10%;
    z-index: 99999;
    background: #fff;
    border-radius: 10px;
    max-width: 70px !important;
    margin: 0 !important;
    padding-top: 7px;
    padding-bottom: 7px;
    box-shadow: 0 0 7px 0 #cdcdcd;
}
.cst-contact-fix .col{
    padding: 0 !important;
}
.cst-contact-fix .icon-box-img {
    display: table;
    margin: auto;
}
.cst-contact-fix .icon-box-text{
    font-size: 13px;
    text-align: center;
}
@media (max-width: 849px){
    .popup-contact .button.mfp-close{
        margin-top: -15px  !important;
    }
}
@media (max-width: 549px){
    .phone-icon-fix::after{
        width: 80px;
        height: 80px;
        position: absolute;
        border-radius: 100%;
        content: "";
        top: -17px;
        left: -23px;
        box-shadow: 0 0 10px #17c132, 0 0 10px #17c132;
        animation: phone-animation 1.2s .5s infinite;
        background-color: transparent;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        border-radius: 100%;
        border: 2px solid rgba(30,30,30,.4);
        opacity: 1;
        transform-origin: 50% 50%;
    }
    .phone-icon-fix {
        transform: translateY(-25px);
    }
    .phone-icon-fix img{
        transform: scale(1.25);
    }
    .phone-icon-fix .icon-box-text{
        padding-top: 0;

    }
    .cst-contact-fix{
        max-width: 100% !important;
        border-radius: 0;
        bottom: 0;
        top: unset;
        right: 0;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .cst-contact-fix .col-inner{
        display: flex;
        justify-content: space-evenly;
    }
    .cst-contact-fix .icon-box-img {
        width: 35px !important;
    }
    .cst-contact-fix .icon-box-text {
        font-size: 11.5px;
    }
    .form-server > p:first-child {
        grid-template-columns: repeat(1, 1fr);
    }
}