/*
Theme Name: smarthome
Description: Theme for SUNTHAO SmartHome
Author: SONQB Solutions
Template: flatsome
Version: 1.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.wpcf7-spinner {
    display: none;
}
.nav-sidebar .ux-sidebar-menu-icon {
    display: none;
}
.form-ung-tuyen-page {
    text-align: center;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
}
.form-ung-tuyen-page input {
    border-radius: 3px!important;
}
.form-ung-tuyen-page .file-cv input {
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
}
.page-right-sidebar li {
	list-style:none;
}
.page-right-sidebar li>i {
    width: 20px;
    text-align: center;
}

.list-loai-du-an .post-title {
    font-size: 15px;
    font-weight: 400;
}
.list-loai-du-an .is-divider {
    display: none;
}
.item-job {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 15px;
}
.item-job .col {
    padding-bottom: 0;
}
.item-job i {
    width: 20px;
    text-align: center;
}
.item-job li {
    list-style: none;
}

.header:not(.transparent) .header-bottom-nav.nav > li.active > a:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -7px;
    width: 100%;
    height: 7px;
    background: url(/media/2021/03/from_top.png);
    background-repeat: no-repeat;
}

.form-flat input:not([type="submit"]) {
    background-color: transparent!important;
    border: none;
    border-bottom: 1px solid #ccc;
}

.header-bottom {
    border-bottom: 2px solid #ff0000;
}
.header-nav-main span {
    color: red;
    font-size: 16px;
    padding-right: 15px;
}

.tin-tuc .xem-them {
    padding-bottom: 0;
}

.tin-tuc .blog-left, .tin-tuc .blog-right {
    padding-bottom: 0;
}

.giai-phap .flickity-page-dots {
    margin-bottom: -20px;
}
.giaiphap-home {
    padding: 0 15px;
}

.item-gp {
    background: #f5f5f5;
    margin-bottom: 20px;
    border-radius: 10px;
}

.item-gp .col-img {
    padding: 10px;
}
.page-right-sidebar .left {
    border: none!important;
}
.blog-single h3, .woocommerce-tabs h3 {
    font-size: 18px;
}
.blog-single h2, .woocommerce-tabs h2{
    font-size: 20px;
}
.blog-single h1 {
    font-size: 24px;
}

.article-inner p, .page-right-sidebar p {
    text-align: justify;
}

.entry-meta #breadcrumbs {
    text-align: center;
}
.single-page {
    padding-top: 15px;
}
.entry-header-text {
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f2f2;
}

.entry-header-text .entry-meta {
    font-style: italic;
}

.related-post .duong-line {
    background: rgba(0,0,0,0) url(images/line.png) repeat scroll 0 0;
    height: 12px;
    margin-top: 5px;
    overflow: hidden;
}
.related-post h7{
	font-weight: bold;
	    font-size: 18px;
    float: left;
    margin: -8px 20px 0 0;
}

.related-post .is-divider{
	display: none;
}

.related-post .post-title{
	font-size: 13px;
	padding: 5px 0px;
}
/*************** Title Sidebar Right   ***************/
.post-sidebar .widget ul, #secondary .widget ul, #product-sidebar .widget ul, #shop-sidebar .widget ul{
    padding: 0 10px!important;
    font-size: 15px!important;
}
.post-sidebar, .page-right-sidebar .large-3 {
    padding: 0 15px!important;
}
.sidebar-wrapper .widget-title, #secondary .widget-title, #product-sidebar .widget-title, #shop-sidebar .widget-title{
    display: block;
    text-align: center;
    background-color: #dd1c1c;
    padding: 8px 5px;
    color: #fff;
    margin-bottom: 10px;
	font-size: 15px;
}

.post-sidebar .widget , #secondary .widget, #product-sidebar .widget, #shop-sidebar .widget {
    background-color: #f7f7f7;
    margin-bottom: 10px;
}

.post-sidebar .widget .is-divider, #secondary .widget .is-divider, #product-sidebar .widget .is-divider, #shop-sidebar .widget .is-divider{
    display: none;
}

.product .content-row .large-9 {
    border: none!important;
    padding: 0 10px 0 15px;
}

.srpw-ul li {
    margin-left: 0!important;
}

.price_slider_wrapper {
    padding: 5px 15px 0px 15px;
}

#product-sidebar {
        padding: 25px 10px 0px 15px;
}
/*************** End. Title Sidebar Right   ***************/


.lienhe-content {
    padding-bottom: 0!important;
}

.lienhe-info .col {
    padding-bottom: 15px!important;
}
.lienhe-info p {
    font-size: 14px;
}
.lienhe-info h3 {
    font-size: 17px;
}

.footer-widgets .textwidget p {
    margin-bottom: 10px;
}
.footer-widgets .network {
    margin-top: 15px;
}
.footer-widgets .network a {
    margin: 0 10px;
}
.info-footer .ten-cty {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
	color: yellow;
}
.info-footer li {
    font-size: 14px;
    margin-bottom: 5px;
}


.footer-widgets .textwidget {
    font-size: 15px;
}

.back-to-top {
    border: 2px solid #ccc!important;
}
.tinmoi-home .col {
    padding-bottom: 0;
}
.form-tuvan .wpcf7 {
    max-width: 800px;
}

.form-tuvan .wpcf7 input {
    border-radius: 3px!important;
    background-color: #ffffff96;
}

.form-tuvan .wpcf7 textarea {
    min-height: 90px;
    background-color: #ffffff96;
}

.form-tuvan .col {
    padding-bottom: 15px;
}

.form-tuvan .wpcf7 input::placeholder, .form-tuvan .wpcf7 textarea::placeholder {
    color: #333;
}
.gioithieu-home h2 {
    margin-bottom: 0!important;
}
.title-css {
    background: url(/media/2021/01/after-global-title.png) no-repeat center;
	height: 10px;
}
.gioithieu-home .title-css{
	height: 30px;
}
.gioithieu-home p {
    line-height: 35px!important;
}

/* .header-main {
    background-color: #ffffff;
    background-image: linear-gradient(0deg, #fdfcdd 0%, #ffffff 100%);
} */

.product-images {
    border: 1px solid #f1f1f1;
}


.woocommerce-tabs .tab-panels table {
    border: 1px solid #DEE2E6;
    background: #f5f5f5;
}

.woocommerce-tabs .tab-panels td, .woocommerce-tabs .tab-panels th {
    border: 1px solid #dee2e6;
}

.woocommerce-tabs .tab-panels td, .woocommerce-tabs .tab-panels th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.product-main {
    padding: 25px 0 !important;
}

.product-tabs {
    background-color: #f1f1f1;
    text-align: center;
}
.woocommerce-tabs .nav>li.active>a {
    background-color: #e6e6e6;
}
.woocommerce-tabs .nav li {
    margin: 0;
}
.woocommerce-tabs .nav a {
    padding: 10px 30px 5px;
    background-color: #f1f1f1;
}

.zoom-button:hover {
    background-color: transparent!important;
}
.zoom-button {
    border: none!important;
}
.zoom-button i{
	color: red;
}

.social-icons a {
    margin: 5px 8px!important;
}

p {
    margin-bottom: 10px!important;
}
 

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .item-gp .text-left {
        text-align: center;
    }
    .item-gp .is-divider {
        margin: 10px auto!important;
    }
        
    .product-short-description {
        text-align: center;
    }
    .product_meta {
        text-align: center;
    }
        .bt-support-sp .text-left {
        text-align: center!important;
    }
        .product-info {
        padding-bottom: 0;
    }
    .product-info .social-icons {
        display: block;
        text-align: center;
    }

    .tinmoi-home .box-text {
        text-align: center;
    }

    .tinmoi-home .is-divider {
        margin: 10px auto;
    }

    .tinmoi-home .post-title {
        font-size: 15px;
    }
        
    .lienhe-info .icon-box-text {
        padding: 0!important;
    }
    .lienhe-info .icon-box {
        display: block;
        text-align: center;
    }
    .lienhe-info .icon-box-img {
        margin: 0 auto;
    }	
    .blog-right .text-left {
        text-align: center;
        margin-top: 10px;
    }
    .blog-right .is-divider {
        margin: 10px auto;
    } 

}
/* update home 4/5/2025 */ 
.header-top{
    padding-top: 20px;
    min-height: 40px !important;
    margin-bottom: -15px;
}
.searchform{
    background: #fff;
    min-width: 250px;
}
.searchform input[type="search"]{
    border: none;
    box-shadow: inset 0 -1.8em 1em 0 rgba(0, 0, 0, 0);
}
.searchform button[type="submit"]{
    border: none;
    background: #fff!important;
    color: #000;
}
.searchform button:hover{
    box-shadow: none!important;
    -webkit-box-shadow: none!important;
}

.header-main{
    background-image: url(https://test1.cmsmart.net/vthouse/wp-content/uploads/2025/05/background.jpg)!important;
    background-repeat: repeat-y;
}
.stuck .header-main{
    position: fixed;
    background-image: none !important;
    background-color: #ffff;
    box-shadow: 0px 0px 3px #ccc;
    width: 100%;
    left: 0;
    z-index: 1000;
}
.header-nav .ux-menu-icon{
    display: none;
}
.slider-home .flickity-button{
     width: 40px;
     height: 50px;
     background: #fff;
     opacity: 0.4;
     transition: width 0.5s
}
.slider-home .flickity-button:hover{
    width: 80px;
}
.slider-home .flickity-button.previous{
    left: 0%;
}
.slider-home .flickity-button.next{
    right: 0%;
}
.slider-product-home .box-image{
    max-height: 350px; 
    text-align: center; 
    padding: 10px 0px 20px 0px;
}
.slider-product-home .box-image img{
    max-height: 350px;
    max-width: 100%;
    width: inherit;
}
.slider-product-home .box-image:hover img.show-on-hover{
    display: none!important;
} 
.slider-product-home .box-text{
    text-align: left;
    padding: 0px 25px 25px 25px;
    font-size: 1.75rem;
    text-transform: uppercase;
    position: relative;
}
.slider-product-home::after{
    position: absolute;
    bottom:90px;
    left: 25px;
    content:'';
    width: 170px;
    height: 41px;
    background: var(--primary-color);
    z-index: 100;
}
.slider-product-home::before{
    position: absolute;
    content: "HOMEGY PROJECT";
    bottom:95px;
    left: 35px;
    color: #fff;
    z-index: 101;
    font-weight: 500;
    font-size: 16px;
} 
.slider-product-home .flickity-button{
    width: 40px;
    height: 50px;
    background: #ffffff19; 
    opacity:0.7!important;
    top: 40%!important; 
    bottom:inherit!important;
    margin-top:inherit!important;
}
.slider-product-home .flickity-button:hover{
    opacity: 1!important;
}
.slider-product-home .flickity-button svg{
    fill:#000;
} 
.slider-product-home .flickity-button .arrow{
    fill:#000;
}
.slider-product-home .col-inner{
    box-shadow:none;
}
.box-event{
    position: relative;
    background-color: #fff;
    padding: 80px 25px 65px 25px; 
    min-height: 435px;
}
.box-event .brand-event{
    position: absolute;
    top:20px;
    left: -10px;
    color: #fff;
    background: var(--primary-color);
    padding: 5px 7px;
    text-transform: uppercase;
} 
.box-event h3 a{
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
}
.box-event .desc-event{
    line-height: 28px;
    color:#666;
}
.box-event  .time-event{
    text-align: right;
    font-size: 14px;
    color:#666;
}
.box-event  .link-event{
    position: absolute;
    bottom: 10px;
    text-align: right;
    width: 100%;
    left: 0px;
    padding-right: 20px;
    font-size: 14px;
    text-transform: uppercase;
} 
.box-event  .link-event:hover a{
    color: var(--primary-color);
}
.latest-posts-list{
    display: flex; 
    margin: 0px -15px;
}
.latest-posts-list .latest-post-item{
    max-width: 33.333%;
    padding: 0px 15px;
    position: relative;
    margin-bottom: 30px;
} 
.latest-posts-list .post-thumbnail img{
    height: 270px;
    width: 100%;
    object-fit: cover;
}
.latest-posts-list .latest-post-item .post-categories{
    position: absolute;
    position: absolute;
    left: 15px;
    top: 235px;
    color: #fff;
}
.post-categories{
    padding: 5px 7px;
    background:var(--primary-color);
    display: inline-block;
}
.post-categories a{
    color: #fff;
    margin: 0px 3px;
}
.post-categories a:hover{
    text-decoration: underline;
    color: #fff;
}
.post-categories strong{
    display:none; 
}
.post-content-wrap{
    background-color: #fff;
    padding: 20px;
}
.post-content-wrap .post-date{
    position: relative;
    padding-left:20px;
    margin-bottom: 10px;
}
.post-content-wrap .post-date::after{
    position: absolute;
    content: "\f073";
    font-family:FontAwesome;
    left: 0px;
    top: 2px;
    font-size: 13px;
    color: #666;
}
.post-content-wrap  h2{
    font-weight: 500;
}
.read-more{
    margin-top: 10px;
    text-align: right;
}
/* copyright */
#footer .large-12{
    padding: 0px;
}
.footer-wrapper{
    background-color: #004b97;
}
.menu_f{
    padding: 30px 0px 0px 0px;
}
.list_f{
    list-style:none;
    display: flex;
    margin: 0px;
    padding: 0px;
}
.list_f li {
    padding: 0px 10px;
    margin-bottom: 0px;
}
.list_f li:first-child{
    padding-left: 0px;
    margin-left: 15px;
}
.list_f li a{
    color:#fff;
    font-weight: bold;
    font-size: 14px;
}
.list_f li a:hover{
    text-decoration: underline;
}
.copyright_footer{
    display: flex; 
    flex-direction: row; 
    justify-content: space-between;
    padding:5px 0px; 
    color: #fff;
    font-size: 14px;
}
.copyright_footer a{
    color: #fff;
}
.copyright_footer a:hover{
    text-decoration: underline;
}
.copyright_footer p{
    margin-bottom: 0px!important;
}
.copyright_footer .content_copyright_footer{
    max-width: 70%; 
}
.copyright_footer .copy_right{
    max-width: 30%; 
}
.absolute-footer{
    padding: 10px 0 10px;
} 
/* end copyright */
@media(min-width:768px) and (max-width:991px){
    .latest-posts-list{
        flex-wrap: wrap;
    }
    .latest-posts-list .latest-post-item{
        max-width: 50%!important;
    }
    .box-event{
        padding: 65px 25px 30px 25px;
    }  
    .copyright_footer .content_copyright_footer{
        text-align: left;
    }
    
} 
@media(max-width:767px){
    .slider-home .img-inner img{
        height: 65vh;
        object-fit: cover;
    }
    .box-text{
        text-align: center!important;
        font-size: 1.3rem!important;
    }
    .slider-product-home::before{
        display:none;
    }
    .slider-product-home::after{
        display:none;
    }
    .latest-posts-list{
        flex-direction: column;
    }
    .latest-posts-list .latest-post-item{
        max-width: 100%;
    }
    /* mobile copyright */
    .copyright_footer{
        flex-direction: column;
    } 
    .copyright_footer .content_copyright_footer{
        margin-bottom: 20px;
    } 
    .copyright_footer .content_copyright_footer,
    .copyright_footer .copy_right{
        max-width: 100%;
        text-align: center;
    }
}