/*
Theme Name: LePhuc Flatsome
Description: This is a child theme for Flatsome Theme
Author: LePhuc Themes 
Template: flatsome
Version: 3.17.7
*/
:root {
    /* Color */
    /* --primary-color: #3268a0; */
    --secondary-color: #e63036;
    --success-color: #3B77B9;
    --alert-color: #000000;
    /* 
    Use With Value
    var(--primary-color); 
    var(--secondary-color); 
    var(--success-color); 
    var(--alert-color); 
    */
}

.absolute-footer {
    display: none;
}

.back-to-top {
    border-color: var(--secondary-color) !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-80px) !important;
}

.bgr-fixed .bg {
    background-attachment: fixed;
}

#header-contact li a {
    color: #fff;
    font-weight: bold;
    text-transform: unset;
}

.mrbp-0 p {
    margin-bottom: 0;
}

.mr-center-button {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

#top-bar a.glink img {
    border: 2px #fff solid !important;
    border-radius: 50%;
    opacity: 1 !important;
}

form.searchform .search-field,
form.searchform .search_categories,
form.searchform .search-field:focus,
form.searchform button.submit-button {
    height: 35px;
    box-shadow: none !important;
}

form.searchform .search-field {
    border-right: none !important;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

form.searchform button.submit-button {
    width: 40px;
    background: white !important;
    color: #000000;
    border: 1px solid #ddd;
    border-left: none !important;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.custome-blog .section-title,
.title-spnb .section-title-main {
    padding-left: 10px;
    border-left: 5px var(--alert-color) solid;
    border-bottom: none;
}

.custome-blog .section-title-main,
.title-spnb .section-title-normal,
.title-spnb .section-title-main {
    padding-bottom: 0;
    border-bottom: none;
}

.title-spnb .section-title-main {
    background-color: var(--primary-color);
    width: 100%;
    margin-bottom: 0;
    margin-right: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.custome-blog .section-title a {
    font-size: initial;
    text-transform: revert;
    font-weight: normal;
}

.custome-blog .section-title-main i {
    display: none;
}

.meta-sku {
    font-weight: bold;
    padding-bottom: 10px;
}

span.amount {
    color: var(--secondary-color);
}

.title-dmsp .ux-menu {
    display: flex;
    flex-direction: row-reverse;
    padding-right: 20px;
    gap: 20px;
}

.title-menu-brand a {
    color: var(--secondary-color);
}

.title-menu-brand a:hover {
    color: var(--primary-color) !important;
}

.title-menu-dmsp a,
.title-menu-dmsp a:hover {
    color: #fff !important;
}

.lydo .icon-box-text {
    padding-left: .5em !important;
}

.lydo h5 {
    margin-bottom: 3px;
}

#menu-vertical-menu .nav-dropdown {
    width: 990px;
    background: #fff;
}

#menu-vertical-menu .sub-menu .menu-item>a {
    color: var(--primary-color) !important;
    background-color: #fff !important;
}

#menu-vertical-menu .nav-dropdown .menu-item>.sub-menu a {
    color: #000000 !important;
}

#menu-vertical-menu .nav-dropdown .menu-item>.sub-menu a:hover {
    color: var(--primary-color) !important;
}

/* Đổi màu menu color */
.nav .current-menu-item,
.nav>li>a:hover,
.nav .current-menu-parent {
    color: #fff !important;
}

.header-nav>li>a {
    color: unset !important;
}

/* Đổi màu icon menu */
.nav-top-link img.ux-menu-icon {
    filter: hue-rotate(177deg) brightness(100%) contrast(12);
}

.box-blog-post .is-divider {
    height: 0;
}

.widget .is-divider {
    display: none;
    /* margin-top: 0; */
}

span.widget-title {
    display: block;
    width: 100%;
    background: var(--primary-color);
    padding: 12px;
    border-left: 4px var(--alert-color) solid;
    color: #fff;
    margin-bottom: 10px;
}

div#secondary,
#shop-sidebar,
.page-template-page-right-sidebar .small-12.large-12>.col-inner:only-child,
.single-product .product-images {
    padding: 15px;
    border: 1px #c1c1c1 solid;
}

.single-product .section-title a {
    position: absolute;
    right: 10px;
    color: #fff;
}

.single-product .section-title-main i {
    display: none;
}

.single-product .small-12.large-12>.col-inner:only-child {
    border: none;
    padding: 0;
}

.single-product .is-divider {
    display: none;
}

.single-product .product-title {
    //color: var(--primary-color);
}

.title-single-prod {
    background: var(--primary-color);
    padding: 10px 15px;
}

.content-after-prod,
.contact-after-pord {
    padding: 15px;
}

.content-after-prod ul {
    margin-bottom: 0;
}

.title-single-prod h4 {
    margin-bottom: 0;
}

.single-product .wc-tabs {
    display: none;
}

.ov-scroll .col-inner>.product-short-description {
    overflow: scroll;
    height: 350px;
}

td:first-child,
th:first-child {
    padding-left: .5em;
}

.category .large-columns-1 {}

.category .post-item:nth-child(1) {
    grid-area: myArea1;
}

.category .post-item:nth-child(2) {
    grid-area: myArea2;
}

.category .post-item:nth-child(3) {
    grid-area: myArea3;
}

.category .post-item:nth-child(4) {
    grid-area: myArea4;
}

.category .post-item:nth-child(5) {
    grid-area: myArea5;
}

.category .post-item:nth-child(6) {
    grid-area: myArea6;
}

.category .post-item:nth-child(7) {
    grid-area: myArea7;
}

.category .post-item:nth-child(8) {
    grid-area: myArea8;
}

.category .post-item:nth-child(9) {
    grid-area: myArea9;
}

.category .post-item:nth-child(10) {
    grid-area: myArea10;
}

.shop-container .woof .woof_redraw_zone {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}

.shop-container .woof_container {
    margin-right: 20px;
}

h3.product-section-title.container-width.product-section-title-related {
    display: none;
}

div#woof_html_buffer {
    background: url(https://dattools.com.vn/wp-content/uploads/2023/11/loading.gif) no-repeat center var(--primary-color);
    width: 80px;
    height: 80px;
    /* background-size: contain; */
    font-size: 0;
    box-shadow: none;
    /* background-color: red; */
    background-size: 80%;
    /* background-position: center; */
    /* padding: 7px; */
}

@media (min-width:1201px) {}

@media (min-width:1600px) {}

/* Từ ipad lớn trở lên */
@media (min-width:850px) {
    ul#menu-vertical-menu {
        height: 460px;
        overflow-y: scroll;
        direction: rtl;
    }

    ul#menu-vertical-menu:hover {
        height: 600px;
    }

    ul#menu-vertical-menu li {
        direction: ltr;
    }

    ul#menu-vertical-menu::-webkit-scrollbar {
        width: 6px;
        -webkit-track-side: left !important;
        position: absolute !important;
        left: 0 !important;

        /* background-color: var(--primary-color); */
    }

    ul#menu-vertical-menu::-webkit-scrollbar-thumb {
        /* height: 50px !important; */
        background: var(--primary-color) !important;
    }

    ul#menu-vertical-menu::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    }

    .col-border+.col,
    .col-divided+.col {
        padding-left: 10px;
    }

    .col-divided {
        border-right: none;
        padding-right: 10px;
    }

    .archive .shop-container {
        padding: 15px;
        border: 1px #c1c1c1 solid;
    }
}

/*  Từ ipad trở lên */
@media (min-width: 550px) {}

/*  Từ ipad pro đến 1200px */
@media (min-width: 1024px) {
    div#masthead .header-inner {
        width: 60%;
    }
}

/*  Từ ipad đến ipad lơn */
@media (min-width: 850px) and (max-width:1024px) {}

/*  Từ mobile đến ipad */
@media (min-width: 550px) and (max-width:850px) {}

/*  Từ ipad trở xuống */
@media (max-width: 999px) {}

@media (max-width: 849px) {
    #top-bar ul.nav.nav-center {
        justify-content: space-between;
    }

    .medium-logo-left .flex-left {
        flex: unset !important;
    }

    .searchform-wrapper {
        font-size: unset;
    }

    .header-bottom-nav {
        display: flex;
        flex-wrap: nowrap;
    }

    .header-bottom {
        min-height: 45px;
    }

    .box.box-vertical .box-text {
        padding-top: 0;
    }

    .my-cat .product-category .col-inner {
        border: 1px solid #ccc;
        border-radius: 6px;
    }

    .my-cat .header-title {
        color: var(--primary-color);
        text-transform: inherit;
        overflow: hidden;
        /* text-overflow: ellipsis; */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .my-cat.overflow-hide::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0);
        height: 80px;
    }

    .my-cat.overflow-hide {
        overflow: hidden;
        height: 300px;
    }

    .title-dmsp .ux-menu,
    .title-menu-brand .ux-menu {
        display: none;
    }

    form.woocommerce-ordering {
        width: 80%;
        display: table;
        margin: 0 0 0 auto;
    }

    .category-filtering {
        position: absolute;
        bottom: 10px;
    }

    .woof_container select {
        width: 100%;
        display: block !important;
        margin-bottom: 0;
    }

    .chosen-container-single .chosen-single {
        display: none;
    }

    .chosen-container {
        display: none !important;
    }

    div#woof_html_buffer {
        width: 60px;
        height: 60px;
    }
    .shop-container .woof .woof_redraw_zone {
        justify-content: center;
    }
}

/*  Từ mobile trở xuống */
@media (max-width: 549px) {
    li.html.custom.html_topbar_left .uppercase {
        font-size: 13px !important;
    }

    .box-vertical .box-image {
        width: 40% !important;
    }

    .box.box-vertical {
        display: flex;
    }

    div#woof_html_buffer {
        width: 45px;
        height: 45px;
    }
}