/*
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.   ***************/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --color-main: #007437;
    --color-main2: #eb1e1d;
}

body{
    line-height: 1.6;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

body.home, body.home #main{
    background: #f4f4f4;
}

.header-policy{
    gap: 15px !important;
}

.header-policy .icon-box-text h3{
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    line-height: 1;
}

.header-policy .icon-box-left .icon-box-img+.icon-box-text{
    padding-left: 5px;
}

.header-policy .item{
    flex-wrap: nowrap;
    align-items: center;
}

.header .logo img{
    padding: 10px 0;
}

.header-main{
    background-image: url('https://maycongnghiep.tamphat.edu.vn/wp-content/uploads/2026/05/banner-header.png');
    background-size: cover;
}

.header-main .html.custom{
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-main);
}

.header-nav.nav>li>a{
    color: #000;
}

.header-nav.nav>li.active>a{
    color: var(--color-main2);
}

.header-bottom{
    box-shadow: 2px 2px 10px #00000012;
}

.icon-box-img img, .icon-box-img svg, .single-product .product-main .product-info{
    padding-top: 0;
}

.home-aside-cate-pro .section-content > .row > .col, .home-product .section-content > .row > .col,
.home-art .section-content > .row > .col{
    padding-bottom: 0;
}

.home-aside-cate-pro .section-content, .home-product .section-content, .home-art.art-hl .section-content{
    padding-top: 30px;
    padding-bottom: 10px;
}

.box-home:not(:last-child){
    margin-bottom: 30px;
}

.home-slider img, .home-aside-cate-pro, .home-product, .home-art{
    border-radius: 15px;
}

.cus-title{
    text-align: center;
}

.home-product .cus-title{
    text-align: left;
}

.cus-title h2{
    /*padding-bottom: 5px;*/
    text-transform: uppercase;
    color: var(--color-main);
    margin-bottom: 20px;
    /*border-bottom: 1px solid var(--color-main);*/
    width: auto;
    display: inline-block;
}

.home-cate-pro .product-category .col-inner, .product-small.product  > .col-inner{
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e4e5f0;
    height: 100%;
}

.home-cate-pro .product-category .box-image img, .product-small.product .box-image img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.home-cate-pro .product-category > .col-inner{
    background: #fff;
}

.home-cate-pro .product-category .box-text, .product-small.product .box-text{
    padding: 10px 15px;
    text-align: left;
}

.home-cate-pro .product-category .box-text h5, .product-small.product .box-text .product-title{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 25px;
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    text-transform: unset;
}

.home-cate-pro .product-category a:hover .header-title{
    color: var(--color-main);
}

aside.widget .widget-title{
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-transform: uppercase;
    background: var(--color-main);
    color: #fff;
    line-height: 1.2;
    font-size: 16px;
}

aside.widget .product-categories{
    background: #f5f5f5;
}

aside.widget .product-categories li{
    position: relative;
}

aside.widget .product-categories > li{
    font-weight: 700;
}

aside.widget .product-categories li::before{
    content: '';
    width: 7px;
    height: 7px;
    display: inline-block;
    background: #000;
    position: absolute;
    left: 15px;
    top: 18px;
    transform: rotate(45deg);
    opacity: 1;
}

aside.widget .product-categories li:hover::before{
    background: var(--color-main);
}

aside.widget .product-categories li{
    padding: 10px 15px 10px 30px;
}

aside.widget .product-categories li + li{
    border-top: 1px dashed #d0d0d0;
}

aside.widget .product-categories li a{
    padding: 0;
}

aside.widget{
    margin-bottom: 30px;
}

.cus-breadcrumbs p, footer .footer-contact ul li:last-child, footer .copyright p{
    margin-bottom: 0;
}

.product-small.product:hover > .col-inner, .home-cate-pro .product-category:hover > .col-inner{
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
}


.post-item .box-image{
    border-radius: 10px;
}

.home-art.art-hl .post-item .box-image{
    border-radius: 10px 10px 0 0;
}

.home-video .cus-title h2{
    color: #fff;
    border-color: #fff;
}

.home-video .section-content{
    padding-top: 30px;
}

.home-video .cus-video-popup .cus-image{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.home-video .cus-video-popup .cus-image > img{
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

.home-video .cus-video-popup .cus-image .cus-icon-youtube{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-video .box-left .cus-video-popup .cus-title{
    padding-top: 10px;
}

.home-video .cus-video-popup .cus-title{
    color: #fff;
}

.home-video .box-right > .col-inner{
    max-height: 400px;
    overflow-y: auto;
}

.home-video .box-right a{
    display: block;
}

.home-video .box-right a + a{
    margin-top: 10px;
}

.home-video .cus-video-popup.cus-vertical{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.home-video .cus-video-popup.cus-vertical .cus-image{
    width: calc(33.3333% - 5px);
}

.home-video .cus-video-popup.cus-vertical .cus-title{
    width: calc(66.6667% - 5px);
}

.home-product{
    padding-top: 10px;
}

.home-partner .gallery-col, .home-partner .col{
    padding-bottom: 0 !important;
}

.home-partner .gallery-col .col-inner{
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e4e5f0;
}

.home-partner .box-image .overlay, .shop-page-title, .absolute-footer, .is-divider, .product-small.product .quick-view, 
.single-product .product-main .product-info .breadcrumbs{
    display: none;
}

.home-partner .box-image img{
    height: 50px;
    object-fit: contain;
}

footer{
    background: var(--color-main);
    color: #fff;
}

footer .main-footer{
    padding-top: 30px;
}

footer .main-footer .title-footer{
    font-size: 18px;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    font-weight: 700;
}

footer .footer-contact .icon-box-left .icon-box-img+.icon-box-text{
    padding-left: 10px;
}

footer .footer-contact .icon-box + .icon-box{
    margin-top: 10px;
}

footer .footer-menu .title-footer{
    min-height: unset;
    padding: 0;
}

footer .footer-menu .menu-item:not(:last-child){
    margin-bottom: 10px !important;
}

footer .footer-menu .ux-menu-link__link{
    min-height: unset;
    padding: 0;
}

footer .footer-map .box-map iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: unset;
}

footer .copyright{
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid #fff;
}

.cus-breadcrumbs{
    padding-top: 10px;
    padding-bottom: 10px;
    background: #f7f7f7;
}

.widget .current-cat>a{
    color: var(--color-main2);
}

.cus-page-title{
    font-size: 26px;
    color: var(--color-main);
    margin-bottom: 30px;
    text-align: center;
}

.product-small.product .box-text .product-title a{
    margin: 0;
}

/*.product-small.product:hover .box-text .product-title a{
    color: var(--color-main2);
}*/

.nav-pagination>li>a, .nav-pagination>li>span{
    height: 36px;
    width: 36px;
    line-height: 36px;
    border-radius: 5px;
    border-width: 1px;
}

.single-product .product-main{
    padding: 30px 0 0;
}

#product-sidebar .item-aside{
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--color-main);
}

#product-sidebar .item-aside .icon-box-left .icon-box-img+.icon-box-text{
    padding-left: 10px;
    line-height: 20px;
}

#product-sidebar .item-aside .icon-box + .icon-box{
    margin-top: 15px !important;
}

#product-sidebar .item-aside .icon-box-text p{
    margin-bottom: 0;
}

#product-sidebar .item-aside + .item-aside{
    margin-top: 15px;
}

#product-sidebar .item-aside.item2 .icon-box{
    align-items: center;
}

.single-product .product-main .product-info .product-title{
    font-size: 26px;
    color: var(--color-main);
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ececec;
}

.single-product .product-main .product-info .product-short-description p{
    margin-bottom: 15px;
}

.single-product .product-main .product-info .cus-btn-contact{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #ececec;
}

.single-product .product-main .product-info .cus-btn-contact a{
    display: block;
    width: calc(50% - 5px);
    padding: 5px 10px;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
}

.single-product .product-main .product-info .cus-btn-contact a.cus-btn-phone{
    background: var(--color-main2);
}

.single-product .product-main .product-info .cus-btn-contact a.cus-btn-page{
    background: var(--color-main);
}

.single-product .product-footer{
    padding-bottom: 30px;
}

.single-product .product-footer .nav-outline>li>a{
    border-width: 1px;
    padding: 5px 15px;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 10px;
    font-weight: 700;
    color: #000;
    text-transform: capitalize;
}

.single-product .product-footer .nav-outline>li.active>a{
    color: var(--color-main);
}

blockquote, dl, figure, form, ol, p, pre, ul{
    margin-bottom: 15px;
}

.single-product .product-footer .tab-panels .panel :last-child, .review-form-inner .form-submit, 
.page-contact .box-map p{
    margin-bottom: 0;
}

.single-product .product-footer .related .product-section-title{
    font-size: 20px;
    margin-bottom: 10px;
}

.review-form-inner.has-border{
    border-width: 1px;
    border-radius: 10px;
}

.review-form-inner input[type=submit]{
    margin: 0;
    border-radius: 5px;
}

.page-contact .title-page h2{
    color: var(--color-main);
    margin-bottom: 20px;
}

.page-contact .box-cus-info .icon-box + .icon-box{
    margin-top: 10px;
}

.page-contact .box-cus-info .icon-box-left .icon-box-img+.icon-box-text{
    padding-left: 10px;
}

.cus-form-contact .box-cus-col > p{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cus-form-contact .box-cus-col > p span{
    width: calc(50% - 8px);
}

input[type=submit]{
    margin: 0;
}

.page-contact form{
    margin-bottom: 0;
}

.page-contact .box-map iframe{
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    height: unset;
}

.cus-form-contact .wpcf7-form-control-wrap input{
    margin-bottom: 16px;
}

.cus-form-contact input, .cus-form-contact textarea{
    border-radius: 5px;
}

.box-cus-map{
    padding-bottom: 0;
}

.archive .blog-wrapper .page-title, .single-post .blog-single .entry-title{
    font-size: 26px;
    color: var(--color-main);
    margin-bottom: 0;
}

.archive .blog-wrapper .large-10{
    padding-bottom: 0;
}

.post-item .box-text{
    padding: 10px 0 0;
    text-align: left;
}

.post-item .box-text .post-title, .post-item .box-text .from_the_blog_excerpt{
    font-size: 15px;
}

.post-item .box-text .post-meta{
    font-size: 13px;
}

.single-post .blog-single .entry-header-text{
    padding-bottom: 30px;
}

.single-post .blog-single .post{
    margin-bottom: 0;
}

.single-post .blog-single .single-page{
    padding: 0 0 30px;
}

.single-post .blog-single .single-page :last-child{
    margin-bottom: 0;
}

.single-post .blog-single .cus-related-art h3{
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--color-main);
}

.single-post .blog-single .cus-related-art .post-item{
    padding-bottom: 0;
}

.hotline-phone-ring-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999999;
}

.hotline-phone-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.hotline-phone-ring-circle {
    width: 110px;
    height: 110px;
    top: 0;
    left: 0;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #e10000;
    -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.5;
}

.hotline-phone-ring-circle-fill {
    width: 80px;
    height: 80px;
    top: 16px;
    left: 16px;
    position: absolute;
    background-color: #e10000;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.hotline-phone-ring-img-circle {
    background-color: #e10000;
    width: 50px;
    height: 50px;
    top: 31px;
    left: 31px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotline-phone-ring-img-circle .pps-btn-img {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.hotline-phone-ring-img-circle .pps-btn-img img {
    width: 33px;
    height: 33px;
}

.hotline-bar {
    position: absolute;
    background: #e10000;
    height: 45px;
    line-height: 40px;
    padding: 0 15px;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    z-index: 9;
    border-radius: 50px !important;
    left: 42px;
    bottom: 31px;
}

.hotline-bar > a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-indent: 32px;
    letter-spacing: 1px;
    display: block;
    line-height: 45px;
    white-space: nowrap;
}

#gom-all-in-one #zalo-vr {
    transition: 1s all;
    -moz-transition: 1s all;
    -webkit-transition: 1s all;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

#button-contact-vr {
    position: fixed;
    z-index: 99999;
}

#button-contact-vr .button-contact {
    position: relative;
    margin-top: -5px;
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#button-contact-vr {
    bottom: 110px;
    left: 10px;
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 25px;
    left: 25px;
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.phone-vr-circle-fill {
    width: 65px;
    height: 65px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #c31d1d;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 2px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

.phone-bar a {
    position: fixed;
    bottom: 25px;
    left: 30px;
    z-index: -1;
    color: #fff;
    font-size: 16px;
    padding: 8px 15px 7px 50px;
    border-radius: 100px;
}

@-webkit-keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.5) skew(1deg);
        -webkit-opacity: 0.1;
    }
    30% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        -webkit-opacity: 0.5;
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        -webkit-opacity: 0.1;
    }
}

@-webkit-keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        opacity: 0.6;
    }
    100% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
}

@-webkit-keyframes phonering-alo-circle-img-anim {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: scale(.9)
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9)
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }
    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@media(min-width: 850px){
    .archive .blog-wrapper .large-10, .single-post .blog-single .large-10{
        flex-basis: 100%;
        max-width: 100%;
    }

    .archive .blog-wrapper .post-item{
        flex-basis: 25%;
        max-width: 25%;
    }
}

@media(min-width: 850px) and (max-width: 1120px){
    #product-sidebar .item-aside{
        padding: 10px;
        font-size: 14px;
    }
}

@media(max-width: 849px){
    .home-policy .item{
        width: calc(50% - 5px);
    }

    .single-product .product-main .product-info{
        padding-top: 30px;
    }

    .single-product .product-main .large-9{
        padding-bottom: 0;
    }

    .single-product .product-footer .stars a{
        width: 20%;
        overflow: unset;
        margin-left: 0 !important;
        border-left: unset;
        position: relative;
    }

    .single-product .product-footer .stars a::after{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .single-product .product-footer .stars > span{
        display: flex;
        width: 100%;
        align-items: center;
        flex-wrap: wrap;
    }

    .review-form-inner.has-border{
        padding: 15px;
    }

    .header-search-form .searchform{
        width: 300px;
    }

    .header-search-form .searchform input{
        height: 35px;
    }

    .header-search-form .searchform .button.icon{
        width: 35px;
        height: 35px;
        min-height: 35px;
    }

}

@media(max-width: 549px){

    .header .logo img{
        padding: 5px 0;
    }

    .home-policy .item{
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-policy .icon-box-left .icon-box-img+.icon-box-text{
        width: 100%;
        flex: unset;
    }

    .single-product .product-footer .tabs{
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .single-product .product-footer .small-nav-collapse>li{
        width: auto;
        flex-shrink: 0;
    }

    .single-product .product-footer .stars a{
        width: 33.3333%;
    }

    .cus-form-contact .box-cus-col > p span{
        width: 100%;
    }

}