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

.content-meta__brand {
    background: #edf3ff;
    padding: 10px 17px;
    color: var(--primary-color);
    font-size: 14px;
    border-radius: 5px;
    line-height: 14px;
}

div#reviews.woocommerce-Reviews {
    max-width: 100% !important;
}

.down_tab {
    font-size: 14px;
}

.nav-dropdown-has-shadow .nav-dropdown {
    width: 260px;
    background-color: #fff;
    z-index: 9999999;
    padding: 20px 10px 20px 20px;
}

.nav-dropdown-has-shadow .nav-dropdown > li {
    position: relative;
    display: block;
    padding: 10px 0;
    width: 100%;
}

.nav-dropdown-has-shadow .nav-dropdown > li > ul {
    position: absolute;
    left: 100%;
    background: #fff;
    width: 100%;
    box-shadow: -4px 0 3px -4px #0000003b;
    top: 0;
    transition: all 0.5s;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
}

.nav-dropdown-has-shadow .nav-dropdown > li > a {
    border: 0;
    font-weight: normal;
    text-transform: none;
    color: #767676;
    font-size: 14px;
    display: block;
    padding: 0;
    position: relative;
    margin: 0;
}

.nav-dropdown-has-shadow .nav-dropdown > li:hover > ul {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-has-shadow .nav-dropdown > li > a:hover {
    color: var(--primary-color);
}

.nav-dropdown-has-shadow .nav-dropdown li > a {
    font-size: 14px;
    text-transform: none;
    font-weight: normal;
    opacity: 1;
    color: #767676;
}

.menu-cat .nav-dropdown > li {
    position: static;
    z-index: 2;
}

.menu-cat .nav-dropdown > li > ul {
    left: calc(100% - 10px);
    width: calc(1200px - 260px);
    height: 100%;
    padding: 20px 10px 20px 15px;
    border-radius: 0;
    background: #fff;
}

.menu-cat .nav-dropdown > li li > a {
    border: 0;
    margin: 0;
}

.menu-cat .nav-dropdown > li > ul > li > a {
    font-weight: 700;
    color: var(--primary-color);
}

.menu-cat .nav-dropdown {
    min-height: 300px;
}

.nav-dropdown .nav-dropdown-col .menu-item-has-children {
    margin: 0;
}

.menu-cat > ul > .menu-item-has-children > a::after {
    content: url("data:image/svg+xml,%3Csvg width='7' height='12' viewBox='0 0 7 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.04688 1.16211L5.76575 5.88097L1.04688 10.5998' stroke='%23767676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
    position: absolute;
    right: 10px;
    top: 0;
}

.nav-dropdown-has-shadow .nav-dropdown li > a:hover {
    color: var(--primary-color);
}

.menu-item-has-children > a {
    position: relative;
}

@media screen and (max-width: 1200px) {
    .menu-cat .nav-dropdown > li > ul {
        width: 500px;
    }
}

/* =====================================================
   FEATURED CATEGORY POST - FINAL
===================================================== */

.category-header {
    margin-bottom: 18px;
}

.category-header .page-title {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
}

.category-header .category-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.featured-category-post {
    margin: 0 0 30px;
    padding: 20px;
    border: 1px solid #e9e9e9;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.featured-category-post .row.row-small {
    align-items: flex-start;
}

.featured-category-post .col {
    padding-bottom: 0;
}

.featured-category-post .large-5 a {
    display: block;
}

.featured-category-post img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Fix triệt để nền vàng/cam */
.tth-featured-title,
.tth-featured-title-link,
.featured-category-post .tth-featured-title,
.featured-category-post .tth-featured-title-link,
.featured-category-post h2,
.featured-category-post h2 a {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.tth-featured-title {
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    color: #111 !important;
}

.tth-featured-title-link,
.featured-category-post h2 a {
    display: inline !important;
    color: #111 !important;
    text-decoration: none !important;
    border: 0 !important;
    padding: 0 !important;
}

.tth-featured-title-link:hover,
.tth-featured-title-link:focus,
.featured-category-post h2 a:hover,
.featured-category-post h2 a:focus {
    color: #f97316 !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.featured-category-post .featured-meta {
    margin: 0 0 10px;
    font-size: 14px;
    color: #777;
}

.featured-category-post .featured-excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

@media (max-width: 549px) {
    .tth-featured-title {
        font-size: 20px;
        line-height: 1.4;
    }

    .featured-category-post {
        padding: 14px;
    }

    .category-header .page-title {
        font-size: 24px;
    }
}