/*
Theme Name: itgroup
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.post_comments {
    display: none !important
}

.entry-content.single-page {
    padding-top: 0px !important
}

.entry-header-text.entry-header-text-top {
    padding-bottom: 0px !important
}

.product-short-description {
    margin-top: 15px;
    padding: 15px;
    background: #f6f6f6;
    margin-bottom: 15px;
    border: 1px solid #dedede;
}

.product-short-description p {
    margin-bottom: 8px;
    font-size: 14px;
}

.nav-sidebar.nav-slide {
    padding-top: 0px !important
}

.product-footer .tabs.wc-tabs.product-tabs li a {
    font-size: 1em;
}

.product_meta {
    font-size: 0.9em;
}

.product_meta .posted_in a {
    color: #444;
    font-size: 13px;
}

.product-short-description ul {
    margin-bottom: 0px !important
}

.product-short-description ul li {
    color: #666;
    font-size: 14px;
}

.shop-page-title .page-title-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* --- Minimalist Sidebar Styling [UPDATED] --- */
.sidebar-inner .widget-title,
.shop-sidebar .widget-title,
.post-sidebar .widget-title {
    padding: 0 0 15px 0;
    display: block;
    background: transparent;
    /* Remove dark bg */
    color: #222 !important;
    border-left: none;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    /* Space between title and content */
    position: relative;
    letter-spacing: 0.5px;
}

/* Small accent line */
.sidebar-inner .widget-title:after,
.shop-sidebar .widget-title:after,
.post-sidebar .widget-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #fdb813;
    /* Keep brand accent */
    border-radius: 2px;
}

/* Widget Card Style */
.sidebar-inner .widget,
.shop-sidebar .widget,
.post-sidebar .widget {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    border-radius: 12px;
    /* Smooth corners */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    /* Soft distinctive shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-inner .widget:hover,
.shop-sidebar .widget:hover,
.post-sidebar .widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Lists styling */
.widget ul li {
    border-bottom: 1px dashed #eee;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-inner .is-divider.small,
.shop-sidebar .is-divider.small,
.post-sidebar .is-divider.small {
    display: none !important;
}

.product-categories {
    padding: 10px;
    background: #fff
}

.sidebar-inner a,
.shop-sidebar a,
.post-sidebar a {
    color: #222;
    font-size: 14px;

}

.woocommerce-breadcrumb.breadcrumbs {
    font-size: 14px;
}

.woocommerce-result-count.hide-for-medium {
    font-size: 14px;
}

.woocommerce-ordering {
    font-size: 14px;
}

#main {
    background-color: #faf9f8;
}

body:not(.home) #mega-menu-wrap-mega_menu #mega-menu-mega_menu {
    display: none
}

.footer-2 .textwidget ul li {
    font-size: 90%;
}

.footer-2 .textwidget ul li a {
    color: #222;
}

.section.giaohang h3 {
    margin-bottom: 0px;
}

.section.giaohang {
    padding-bottom: 15px !important
}

.section.giaohang p {
    line-height: 18px;
}

.section.giaohang .icon-box-text.last-reset {
    padding-left: 7px;
}

.section.giaohang .icon-box.featured-box {
    min-height: 110px;
}

.row-product .stack.stack-row .box.box-text-bottom {
    padding-left: 5px;
    padding-right: 5px;
}

.row-product .stack.stack-row .box.box-text-bottom h4 a {
    color: #333;
    font-weight: 600;
}

.row-product .stack.stack-row .box.box-text-bottom ul li a {
    color: #333
}

.row-product .stack.stack-row .box.box-text-bottom ul li {
    margin-bottom: 3px;
    list-style: none !important;
    margin-left: 0px !important
}

.col.titright .button.primary {
    margin-right: 10px !important;
    margin-bottom: 0px !important;
    font-size: 13.5px;

}

.row-product .col.medium-3.small-12.large-3 {
    padding: 0;
    max-width: 21%;
    -ms-flex-preferred-size: 21%;
    flex-basis: 21%;
    padding-left: 9.8px
}

.row-product .col.medium-9.small-12.large-9 {
    max-width: 79%;
    -ms-flex-preferred-size: 79%;
    flex-basis: 79%;
    padding-bottom: 0px !important
}

.col.titright .button.primary:hover {
    color: #c90000
}

.rdanhmuc {
    background-color: rgb(250, 249, 248);
}

#mega-menu-wrap {
    background: #000;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.ithuonghieu .icon-box-text.last-reset {
    padding-top: 6px;
}

.header-bottom .nav.header-nav.header-bottom-nav>li>a {
    font-weight: 500 !important
}

#mega_menu a:hover {
    background-color: #c90000;
    color: #fff !important;
}

.product.type-product .box-text {
    padding-bottom: 12px;
}

.header-bottom .flex-col.hide-for-medium.flex-left {
    max-width: 260px;
}

.header-wrapper .flex-col.hide-for-medium.flex-left {
    width: 100% !important;
}

#top-bar .flex-col.hide-for-medium.flex-right {
    min-width: 450px;
}

.header-search-form.search-form {
    max-width: 450px;
}

.header-search-form-wrapper input {
    border: none;
    height: 35px;
    border-radius: 5px 0 0 5px;
}

button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    padding: 1px 14px;
    background: #fff;
    border-radius: 0 5px 5px 0;
}

.searchform .button.icon i {
    color: #222;
}

.header-main .flex-right .cart-item {
    background: #383838;
    border: none;
    padding: 2px 20px;
    line-height: 24px;
    border-radius: 4px;
    margin-right: 15px;
}

.header-main .flex-right .cart-item a {
    border: none;
    font-weight: 300;
    text-transform: capitalize;
    line-height: 31px;
}

.header-main .flex-right .cart-item a {
    background: 0 0;
}

.html.header-button-1 {
    max-width: 100px;
}

.html.header-button-1 .button.primary {
    padding-left: 15px !important;
    padding-right: 15px !important;
    text-align: left;
    color: #FFC600;
    background: none !important
}

.html.custom.html_topbar_right {
    margin-left: 20px;
}

.html.custom.html_topbar_right a {
    color: #ff0000;
    font-size: 15px;
    font-weight: 900;
    line-height: 16px;
}

#mega-menu-wrap #mega_menu>li.menu-item>a:before {
    content: "+";
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 10px;
    font-weight: 900;
}

#mega-menu-wrap #mega_menu>li.menu-item>a {
    font-size: 14px;
    position: relative;
    color: #000;
    padding-left: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.icon-fire:after {
    background-image: url(/wp-content/uploads/2020/11/icon-hot.png) !important;
    width: calc(100% - 80px);
    width: 20px !important;
    height: 22px !important;
    content: '';
    position: absolute;
    right: 5px;
    top: 0;
    display: block !important
}

.icon-new:after {
    background-image: url(/wp-content/uploads/2020/11/10.png) !important;
    width: calc(100% - 80px);
    width: 50px !important;
    height: 20px !important;
    content: '';
    position: absolute;
    right: 5px;
    display: block !important;
    top: 7px;
}

.icon-new1:after {
    background-image: url(/wp-content/uploads/2020/11/icon-new.png) !important;
    width: calc(100% - 80px);
    width: 40px !important;
    height: 16px !important;
    content: '';
    position: absolute;
    right: 7px;
    top: 7px;
    display: block !important;
}

#mega-menu-wrap-mega_menu {
    position: absolute;
    top: 100%;
    margin-top: 0;
    left: 0;
    width: 100%;
    border: 1px solid #ddd;
    padding: 0;

}

#mega-menu-wrap-mega_menu.active {
    display: block !important;
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-item>a.mega-menu-link:before {
    content: "+";
    position: absolute;
    left: 10px;
    top: -2px;
    font-size: 8px;
    font-weight: 900;
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-item>a.mega-menu-link {
    padding-left: 20px;
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-item>a.mega-menu-link {
    line-height: 32px;
    height: 32px;
    font-size: 14px;
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-item {
    display: block;
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-megamenu>ul.mega-sub-menu {
    width: 1024px;
    left: 100%;
    top: -1px;
    height: 100%;
    background: #fff;
    border-color: #ddd #ddd #ddd #e1e1e1;
    -webkit-box-shadow: -2px 0 8px 0 rgba(0, 0, 0, .06);
    box-shadow: -2px 0 8px 0 rgba(0, 0, 0, .06);
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-megamenu.mega-menu-item {
    position: static;
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu li.mega-menu-item-has-children>a.mega-menu-link:after,
#mega-menu-wrap-mega_menu #mega-menu-mega_menu li.mega-menu-item-has-children>a.mega-menu-link span.mega-indicator:after {
    position: absolute;
    right: 6px;
    z-index: 1
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-item>a.mega-menu-link .mega-indicator {
    position: static !important;
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
    font-size: 13px;
}

#mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
    color: #000;
    text-transform: capitalize !important;
}

#header.header.has-sticky .header-wrapper.stuck #mega-menu-mega_menu:not(.active) {
    display: none;
}

#mega-menu-wrap-mega_menu.active #mega-menu-mega_menu {
    display: block !important;
}

.section.quangcao {
    padding-bottom: 0px !important
}

.rowtabsp .tab.active.has-icon {
    background: transparent;
    color: #222;
    padding-left: 0px;
    line-height: 35px;
    height: 44px;
    border-left: none;
    font-size: 17px;
    text-transform: capitalize;
    font-weight: 700;
    border-bottom: 2px solid #fdb813;
    /* Use bottom border instead */
}

.rowtabsp .nav>li>a {
    padding: 7px 20px;
    line-height: 30px;
    background: none !important;
    font-size: 15px;
}

.rowtabsp .tabbed-content .nav {
    border-bottom: 2px solid #f0f0f0;
}

/* Minimalist style for Custom Blocks */
.bttinmoi {
    text-align: left;
    background: transparent !important;
    color: #222;
    padding-left: 0;
    line-height: 1.4 !important;
    height: auto;
    border-left: none;
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 700;
    padding-left: 0 !important;
    margin-bottom: 20px !important;
    position: relative;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Accent line for .bttinmoi */
.bttinmoi:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #fdb813;
    border-radius: 2px;
}

.rowtabsp .post-item {
    padding: 8px 11px !important;
    margin: 0 !important;
    border-bottom: 1px solid #ececec;
    background: #fff !important
}

.rowtabsp .post-item .box-text.text-left {
    padding: 0px !important
}

.rowtabsp .post-item .is-divider {
    display: none !important
}

.rowtabsp h5.post-title {
    font-size: 14px;
    font-weight: 500 !important
}

.badge-inner.secondary.on-sale {
    background: url(/wp-content/uploads/2021/06/bg-22x.png);
    background-size: cover;

    font-size: 13px;
}

p.name.product-title {
    height: 40px;
    overflow: hidden;
}

.name.product-title a,
.product.type-product .product-title.entry-title {
    text-transform: capitalize;
}

.name.product-title a {
    font-weight: 600;
    color: #000;
}

.price-wrapper {
    font-size: 13.5px;
}

.price-wrapper ins span {
    color: red !important;
}

.product-small .add-to-cart-button .add_to_cart_button {
    font-weight: 600 !important;
    text-transform: uppercase
}

p.name.product-title {
    margin-bottom: 7px !important
}

.quick-view.quick-view-added {
    font-size: 12.5px
}

.rowtabsp>.col {
    padding-bottom: 0px !important
}

.footer-2 .widget-title {
    color: #c90000
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    #mega-menu-wrap-mega_menu .mega-menu-toggle+#mega-menu-mega_menu {
        display: block !important
    }

    #mega-menu-wrap-mega_menu .mega-menu-toggle {
        display: none !important
    }

    #mega-menu-wrap-mega_menu #mega-menu-mega_menu>li.mega-menu-megamenu>ul.mega-sub-menu {
        width: 100%;
    }

    .header-bottom {
        background-color: #000 !important;
    }

    .col.titright .col-inner.text-right {
        text-align: left !important
    }

    .row-product .col.medium-3.small-12.large-3 {
        padding: 0;
        max-width: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        padding: 9.8px;
    }

    .row-product .stack.stack-row {
        display: inline-block !important
    }

    .row-product .stack.stack-row .box.box-text-bottom {
        max-width: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        float: left;
    }

    .section.giaohang .icon-box.featured-box {
        min-height: 70px;
    }

    .row-product .col.medium-9.small-12.large-9 {
        max-width: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
}