/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


/*************** ADD CUSTOM CSS HERE.   ***************/

.page-inner ol li, .page-inner ul li {
    margin-left: 1.3em;
}

.product-thumbnails a img {
    aspect-ratio: 1/1.25;
    object-fit:cover
}


.product-small.has-hover:hover img:has( + .show-on-hover) {
    opacity:  0;
}


.product-small.has-hover:hover img.show-on-hover {
    opacity:  1;
}

.box:not(.box-normal, .box-vertical, .box-shade, .box-overlay, .box-label, .box-push, .box-badge, .box-bounce, .box-none) .box-image {
    background-color: #f5f5f5;
}
.box:not(.box-normal, .box-vertical, .box-shade, .box-overlay, .box-label, .box-push, .box-badge, .box-bounce, .box-none) .box-image > div {
        padding-top: 100%;
}

.box:not(.box-normal, .box-vertical, .box-shade, .box-overlay, .box-label, .box-push, .box-badge, .box-bounce, .box-none) .box-image img {
    width: 100%;  bottom: 0;
    font-family: "object-fit: cover;";
    height: 100%;
    left: 0;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

#header .header-text-desc {
        font-size: 20px;
    font-weight: 500;
}



#header .header-text-desc strong {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fs-color-primary);
}

 #header  .header-row-block {
     
 }
#header .header-row-block .large-3 {
    flex-basis: 250px;
    max-width: 250px;
}

#header .header-row-block .large-9 {
    flex-basis: calc( 100% - 250px);
    max-width: calc( 100% - 250px);
}


.rank-math-breadcrumb a:not(:hover) {
    color: var(--fs-color-base);
}

.header-block-block-1 .icon-box h3 {
    margin-bottom: 5px
}

.header-main {
    background: url(/wp-content/uploads/2020/04/bg-header.jpg);
}

.header-nav li {
    margin: 0;
}

.section-title-center span:after {
    content: "";
    display: table;
    clear: both;
    background: url(/wp-content/uploads/2020/04/line.png);
    width: 100%;
    height: 20px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: bottom;
    padding-top: 0;
}

.section-title b {
    background: none
}

.section-title-container {
    margin-bottom: 8px;
}

.section-title-center span {
    margin: 0 15px;
    font-size: 34px;
    color: var(--fs-color-primary);
}

.list-post .post-item .post-title {
    text-transform: uppercase;
    font-size: 17px;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 10px;
}

.list-post .post-item .post-title:hover {
    coloR: #ca0000
}


.list-post .post-item a:hover {
    color: black
}

.box-blog-post .is-divider {
    display: none
}

.header-bottom-nav li a {
    line-height: 25px;
    padding-left: 18px;
    padding-right: 18px
}

/*.header-bottom-nav li:hover a,*/
/*.header-bottom-nav li.active a {*/
/*    background: var(--fs-color-primary);*/
/*}*/

.nav-dropdown-default {
    padding: 0;
    border: none;
}

.nav-dropdown>li>a {
    font-size: 15px;
    padding: 8px 12px !important
}

.nav-dropdown.nav-dropdown-default>li>a {
    border-bottom: 1px solid var(--fs-color-secondary);
}

.nav-dropdown.nav-dropdown-default>li>a:hover {
    font-weight: 500;
    padding-left: 14px !important;
    color: white !important
}

.nav-dropdown li a {
    margin: 0 !important
}

.tieu-chi-section .icon-box img {
    width: 88%;
    margin: 0px 6px !important;
    background: var(--fs-color-primary);
    border-radius: 99%;
    padding: 5px;
}

.tieu-chi-section .icon-box h3 {
    text-align: center;
    line-height: 25px;
    color: black;
}

.tieu-chi-section .icon-box .icon-box-text {
    font-size: 15px
}

.tieu-chi-section .large-3::after {
    content: "";
    width: 2px;
    height: 280px;
    background: #fff;
    position: absolute;
    top: 1%;
    right: 0;
    -webkit-transform: skew(-5deg);
    -ms-transform: skew(-5deg);
    transform: skew(-5deg);
}

.tieu-chi-section .icon-box .icon-box-img {
    background: var(--fs-color-primary);
    border-radius: 99%;
}

.tieu-chi-section .col {
    padding-bottom: 0
}

.list-post2 .post-item .post-title {
    margin: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 21px;
    font-weight: normal;
    border: 2px solid #888888;
    padding: 6px 10px;
    transition: background 0.5s;
    transition-timing-function: linear;
}

.list-post2 .post-item:hover .post-title {
    background: #ce0000;
    border: 2px solid red;
    color: white
}

.cong-trinh-section .row-slider .flickity-page-dots {
    bottom: -20px;
}

.list-post2 .flickity-prev-next-button {
    bottom: -65%
}

.list-post2 .flickity-prev-next-button.previous {
    left: 46%
}

.list-post2 .flickity-prev-next-button.next {
    right: 46%
}

.nhan-xet-section .icon-box {
    background: white;
    border-radius: 4px;
    padding: 10px;
}

.nhan-xet-section .icon-box .icon-box-text {
    font-size: 15px;
}

.nhan-xet-section .icon-box .icon-box-text p {
    margin-bottom: 5px
}

.nhan-xet-section .icon-box h5 {
    color: red;
    font-weight: normal;
}

.nhan-xet-section .col {
    padding-bottom: 10px
}

.hotline-bar {
    background: rgb(216, 0, 0);
}

.footer-section .col {
    padding-bottom: 0
}

.hotline_fix {
    position: fixed;
    bottom: 0;
    right: 0px;
    z-index: 9999;
    margin-top: 6px;
    background: #d60027;
    text-align: center;
    padding: 5px 20px;
    border: 2px solid #9e0404;
}

.hotline_fix span {
    display: block;
    font-size: 18px;
    color: #fff;
}

.hotline_fix a {
    font-size: 22px;
    color: yellow
}

.fa {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hotline-bar>a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-indent: 32px;
    letter-spacing: 0;
}

a.back-to-top {
    background: #da0000 !important;
    border: none !important;
    color: white !important
}

.chu-chay-section .col {
    padding-bottom: 0
}

.chu-chay-section marquee {
    height: 32px;
    line-height: 40px;
    color: #cd0000
}

.chu-chay-section br {
    display: none
}

.chu-chay-section p {
    margin-bottom: 0
}

.blog-archive .archive-page-header {
    margin-bottom: 30px;
    background: url(/wp-content/uploads/2026/07/banner-td-2-img.jpg) no-repeat center / cover;
    padding: 0;
    margin: 0;
    margin-bottom: 30px
}

.page-wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

.blog-archive .archive-page-header .large-12 {
    padding: 60px 0
}

.blog-archive .page-title {
    font-size: 30px;
    color: white;
    font-weight: normal;
    text-shadow: 2px 2px 10px black;
    letter-spacing: 0
}

#breadcrumbs {
    margin-bottom: 0;
    font-size: 15px;
    color: white;
}

#breadcrumbs a {
    color: #e00000
}

button.xem-them {
    margin-bottom: 0;
    border: 1px dashed var(--fs-color-primary);
    text-transform: none;
    font-weight: normal;
    letter-spacing: 0;
    padding: 4px 10px;
    min-height: 12px;
    line-height: 17px;
    color: red;
    margin-top: 10px;
}

.blog-archive .post-item .post-title {
    margin: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 18px;
}

.blog-archive .post-item a:hover {
    color: black
}

.blog-archive .post-item .post-title:hover {
    color: #d60027
}

.blog-archive .post-item .box-text {
    padding-right: 0
}

.blog-archive .large-3 {
    padding-left: 0
}

.widget img {
    width: 100%
}

.widget .is-divider {
    display: none
}

span.widget-title {
    color: var(--fs-color-secondary);
    border-bottom: 2px solid #c3c3c3;
    display: block;
    padding: 5px 0;
    margin-bottom: 15px;
    font-family: "roboto condensed", sans-serif;
    letter-spacing: 0;
    font-size: 20px;
    font-weight: normal;
}

.recent-blog-posts-li a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: normal
}

.recent-blog-posts-li a:hover {
    coloR: #d60027;
    text-decoration: underline
}

.blog-single .entry-title {
    color: #EC1B1E;
}

.is-divider {
    display: none
}

.blog-single .entry-category {
    display: None
}

.entry-header-text {
    padding: 0;
}

.entry-content {
    padding-top: 0;
    padding-bottom: 0;
}

.blog-single .entry-header {
    padding-top: 20px
}

.blog-single .large-3 {
    padding-left: 0;
    padding-top: 20px
}

.blog-single .entry-content h2 {
    font-size: 20px
}

.blog-single .entry-content h3 {
    font-size: 19px
}

.blog-single .entry-content h4 {
    font-size: 18px
}

.blog-single .tieu-de-bai-viet {
    background: url(/wp-content/uploads/2020/04/bg_page.jpg) no-repeat center top;
    padding: 0;
    margin: 0;
    padding: 65px 0;
}

.blog-single .tieu-de-background {
    text-align: center;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 30px;
    color: white;
    text-shadow: 2px 2px 10px black;
}

.blog-single #breadcrumbs {
    padding: 5px;
    background-image: linear-gradient(to right, transparent, #000000ba, transparent);
    text-align: center
}

.blog-single .blog-share {
    text-align: left
}

.xem-them .tieu-de-xem-them {
    font-family: "roboto condensed";
    font-size: 22px;
    color: #d60027;
    display: block;
    margin-bottom: 10px;
}

.xem-them .tieu-de-xem-them {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    color: black;
    font-weight: normal;
}

.xem-them ul li {
    margin-bottom: 3px;
}

.xem-them ul li a {
    font-size: 15px;
    color: #2a9e2f;
}

.xem-them ul li a:hover {
    text-decoration: underline;
}

.blog-single .entry-meta {
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
    color: gray;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 10px;
    background: #f9f9f9;
}

.danh-muc {
    margin-bottom: 15px;
}

.danh-muc span.title,
.the-tim-kiem span.title {
    border-radius: 4px;
    background: var(--fs-color-secondary);
    padding: 4px 10px;
    color: white;
    margin-right: 5px;
}

.danh-muc a,
.the-tim-kiem a {
    line-height: 32px;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #dedede;
    color: #464646;
}

.danh-muc a:hover,
.the-tim-kiem a:hover {
    background: #6dca19;
    color: white;
}

.bai-viet-lien-quan {
    margin-top: 15px;
}

.bai-viet-lien-quan h3 {
    font-size: 22px;
    color: black;
    font-weight: normal;
}

.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}

.bai-viet-lien-quan ul li {
    list-style: none;
    width: 33.33%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}

.bai-viet-lien-quan ul li .box-image img {
    height: 180px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
}

.bai-viet-lien-quan h4 {
    font-size: 17px;
    color: black;
    line-height: 24px;
    padding-top: 7px;
    height: 64px;
    overflow: hidden;
    font-weight: normal;
}

.post-item .box-image:hover::before {
    -webkit-animation: shine .75s;
    animation: shine .75s
}

@-webkit-keyframes shine {
    100% {
        left: 125%
    }
}

@keyframes shine {
    100% {
        left: 125%
    }
}

.post-item .box-image::before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg)
}

.bai-viet-lien-quan h4:hover {
    text-decoration: underline;
    color: #d60027
}

.wpcf7 input,
.wpcf7 textarea {
    border: 1px solid #b5b5b5;
    font-size: 14px;
    box-shadow: none;
}

.wpcf7 label {
    display: inline-block;
    width: 100%;
    font-weight: normal;
    font-size: 15px;
}

.page-right-sidebar .large-9 {
    border-right: none !important;
    padding-top: 20px
}

h1.entry-title.mb {
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: none;
    font-weight: normal;
    font-size: 25px;
    letter-spacing: 0;
}

.page-right-sidebar .large-3 {
    padding-left: 0;
    padding-top: 20px
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-archive .large-3 {
        padding-left: 15px
    }

    body,
    html {
        width: 100%;
        overflow-x: hidden
    }

    .blog-single .large-3 {
        padding-left: 15px;
    }

    .bai-viet-lien-quan ul li {
        width: 50%;
    }

    .bai-viet-lien-quan ul li .box-image img {
        height: 100px;
    }

    .page-right-sidebar .large-3 {
        padding-left: 15px
    }

    .off-canvas:not(.off-canvas-center) .nav-vertical li>a {
        padding-left: 20px;
        PADDING-TOP: 12PX;
        PADDING-BOTTOM: 12PX;
        FONT-SIZE: 17PX;
        color: #292929;
        font-weight: normal;
    }

    .header-block-block-1 .row {
        background: white;
        padding: 10px;
        box-shadow: 2px 2px 10px #00000017;
        border: 1px dashed #cccccc;
    }

    .tieu-chi-section .col {
        padding-bottom: 10px
    }

    .stuck .header-bottom {
        display: none
    }

    .bai-viet-lien-quan h4 {
        height: 55px
    }

}

/**/
.ten-box {
    background: #f3fddd;
    border: 1px solid #000;
    padding: 20px;
    margin-bottom: 20px;
}

.ten-box p {
    margin-bottom: unset;
}






/**/
@media screen and (max-width: 849px) {
    .fix-mobile {
        display: block !important;
    }
}

.fix-mobile {
    position: fixed;
    bottom: 0px;
    width: 100%;
    left: 0;
    background: #1e73be;
    z-index: 999;
    display: none;
}

.fix-mobile ul li {
    text-align: center;
    width: 25%;
    padding: 0;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
}

.fix-mobile ul li a,
.fix-mobile ul li a i {
    margin: 0 auto;
    display: block;
    font-size: 20px;
    color: #fff;
}

.fix-mobile .nav>li>a>i.icon-menu {
    font-size: 20px;
    font-weight: bold !important;
}

.fix-mobile .nav>li>a:hover {
    color: white;
}

.fix-mobile .nav>li>a>i+span {
    font-size: 15px;
    font-weight: normal;
}

.block-html-after-header {
    display: none;
}

.taxonomy-description {
    background: #f3fddd;
    border: 1px solid #000;
    padding: 20px 20px 0px 20px;
}

/**/
.tieu-chi-section .icon-box .icon-box-img {
    background: var(--fs-color-primary);
    border-radius: 99%;
}

.tieu-chi-section .icon-box .icon-box-img:before {
    position: absolute;
    content: "";
    border: 1px solid #fff;
    border-radius: 100%;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
}

.service .icon-box:hover .icon-box-img:before {
    opacity: 0;
    top: 40%;
    right: 40%;
    bottom: 40%;
    left: 40%;
}

/**/
.tieu-chi-section .has-icon-bg .icon .icon-inner {
    color: #157efb !important;
}

.tieu-chi-section .icon-box img {
    background: #157efb !important;
    width: 65%;
    border-radius: 0%;
    margin: 0px 18px !important;
}

.tieu-chi-section .icon-box .icon-box-img {
    background: #157efb;
}

.wpcf7 input[type='submit']:not(.is-form) {
    background-color: var(--fs-color-secondary) !important;
}

/**/
.cong-trinh-section {}

.cong-trinh-section .tabbed-content .nav-pills>li>a {
    border-radius: unset;
}

.cong-trinh-section .tabbed-content .nav-pills>li.active>a {
    background: var(--fs-color-secondary)!important;
    transition: all 0.5s;
}

.cong-trinh-section .tabbed-content .nav,
.cong-trinh-section .tabbed-content .tab-panels {
    gap: 5px;
}

.cong-trinh-section .nav-pills>li>a {
    display: inline-block;
    margin: 0 1px 6px 1px;
    border: 1px solid #EBEBEB;
    background: #fff;
    padding: 7px 14px;
    cursor: pointer;
    min-width: 140px;
    text-align: center;
}

.product-small .box-text {
    display: flex;
    flex-direction: column;
}

.product-small .box-text .title-wrapper {
    order: 1;
}

.product-small .box-text .price-wrapper {
    order: 3;
}

.product-small .box-text .box-excerpt {
    order: 2;
    display: -webkit-box; /* Tạo box layout dạng flex cũ */
-webkit-line-clamp: 2; /* Giới hạn số dòng hiển thị */
-webkit-box-orient: vertical; /* Hướng xếp các box theo chiều dọc */
overflow: hidden; /* Ẩn phần văn bản tràn */
text-overflow: ellipsis; 
}

.product-small .box-text .product-title {
font-size: 16px;
    text-transform: uppercase;
}

span.amount {
    color: red;
    font-weight: 400;
    white-space: nowrap;
}

/**/
.wrap_dichvu {
    padding: 0 10px;
}

.ten_dichvu {
    background: #008ADF;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    text-align: center;
    line-height: 1.5;
    padding: 0 10px 0 10px;
    position: relative;
    margin-bottom: -72px;
    z-index: 2;
}

.ten_dichvu a {
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
}

.ten_dichvu:after {
    content: "";
    position: absolute;
    width: 56px;
    height: 39px;
    background: url(/wp-content/uploads/2023/04/icon_dichvu.png) no-repeat;
    left: calc(50% - 28px);
    bottom: 0;
}

.mota_dichvu {
    text-align: center;
    padding: 30px 15px 150px 15px;
    position: relative;
    background: #fff;
}

.mota_dichvu p {
    color: #252525;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.box_sd_right {
    height: 100%;
    top: 0;
    position: absolute;
    right: 0;
    box-shadow: 2px 0 5px 1px #e0e0e0;
}

.box_sd_left {
    height: 100%;
    top: 0;
    position: absolute;
    left: 0;
    box-shadow: 1px 0 5px 1px #e0e0e0;
}

.img_dichvu {
    position: relative;
    z-index: 1;
    margin-top: -121px;
}

.img_dichvu img {
    border-radius: 50%;
    margin: auto;
    display: flex;max-width: 70%;
}

/**/
.row-visao .icon-box-img .icon {
    width: 96px;
    height: 96px;
    margin: auto;
    background: url(/wp-content/uploads/2023/04/before_visao.png) center center no-repeat;
}

.row-visao .icon-box-text h3 {
    text-transform: uppercase;
    margin-bottom: 3px;
}

.row-visao .vi-sao-1 .icon-box-img .icon {
    transform: rotate(90deg);
}

.row-visao .vi-sao-1 .icon-box-img .icon img {
    transform: rotate(-90deg);
}

.row-visao .vi-sao-3 .icon-box-img .icon {
    transform: rotate(-65deg);
}

.row-visao .vi-sao-3 .icon-box-img .icon img {
    transform: rotate(65deg);
}

.row-visao .vi-sao-4 .icon-box-img .icon {
    transform: rotate(-125deg);
}

.row-visao .vi-sao-4 .icon-box-img .icon img {
    transform: rotate(125deg);
}

/**/
.cong-trinh-section {
    background: rgba(0, 0, 0, 0.5);
}

.cong-trinh-section .box-badge .box-text {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    bottom: 0;
}

.cong-trinh-section .box-text h5 {
    color: white;
}

.cong-trinh-section .box-badge:hover .box-text {
    background: rgba(0, 0, 0, 0.5) !important;
}


.single-product .product-images .woocommerce-product-gallery__image  {
    position: relative;
    padding-top: 100%;
    background-color: #f5f5f5;
}

.single-product .product-images .woocommerce-product-gallery__image img  {
    bottom: 0;
    font-family: "object-fit: cover;";
    height: 100%;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.button.icon.is-small i {
    top: 0px;
}

#header .nav .sub-menu  {
    display:block;
}

#header .nav .sub-menu  > li {
    position: relative;
    width:100%;
    display: block;
}


#header .nav .sub-menu  > li > a {
    color: #fff;
    font-weight: 400;
}

#header  .nav .sub-menu .sub-menu {
    position: absolute;
    left: calc(100% + 4px);
    top:0;
    display: table;
    border: 2px solid #ddd;
    background: var(--fs-color-primary);
    min-width: 260px;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, .15);
    pointer-events: none;
    opacity: 0 !important;
    transition: all 0.3;
}

#header  .nav .sub-menu > li:hover .sub-menu {
        pointer-events: all;
    opacity: 1 !important;
}

@media( max-width: 1199px ) {
    #header .header-text-desc {
        font-size: 16px;
    }
    #header .header-text-desc strong {
        font-size: 28px;
    }
}


@media( max-width: 849px ) {
    .cong-trinh-section .nav-pills>li>a {
        padding: 2px 8px;
        min-width: unset;
        font-size: 12px;
    }
    
    .back-to-top {
        bottom: 80px;
    }
}




@media( max-width: 549px ) {
    
}

