/*
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.   ***************/
/* css menu  */
/*---style logo---*/
#logo img {
    max-height: 150px !important;
    background-color: #fff;
    border-radius: 99px;
}

.nav-dropdown-has-border .nav-dropdown{
    margin-top:8px;
    padding: 0;
    border: 0;
}
.nav-dropdown-has-arrow li.has-dropdown:before,.nav-dropdown-has-arrow li.has-dropdown:after{
    display: none;
}
.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a{
    margin:0;
    padding-left: 10px;
}
.nav-right {
    justify-content: space-around;
}
.menu_left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.menu_left li a {
    color: hsla(0,0%,40%,.85);
    padding: 10px;
}
.menu_left li { list-style-type: none; margin-bottom: 0;}
.header-main .nav > li > a, .menu_left li a {
    font-size: 16px;
    font-weight: 500;
}
.menu_left li.menu-item-object-custom, .menu_left li.menu-item-object-custom:hover a {
    background-color: #6abd45;
    padding: 5px 10px;
    border-radius: 5px;
}
.menu_left li.menu-item-object-custom a { color: #fff;}
.header-main .nav > li > a { padding: 10px; }
.header-main .nav > li:hover > a, 
.header-main .nav > li.current-menu-item > a, 
.header-main .nav > li.current-menu-parent > a, 
.header-main .nav > li.current-post-parent > a, 
.header-main .nav > li.current-product-parent > a, 
.header-main .nav > li.current_page_parent > a, 
.header-main .nav > li.current-product-ancestor > a,
.menu_left li:hover > a {
    color: #fff;
    border-radius: 5px;
    background: #6abd45;
}

.nav-dark .nav>li>a { color: hsla(0,0%,7%,.85); }

/* css footer 
 */
.widget>ul>li+li, ul.menu>li+li {
    border-top: 0;
}
#menu-menu-danh-muc > li > a, #menu-menu-page > li > a { color: #fff; }
.form-footer .widget-title { color: #fff; margin-bottom: 10px; display: block;}
.is-divider { display: none; }

.form-footer .wpcf7 p {
    display: inline-flex;
} 
.form-footer .wpcf7-submit { display: none; }
.form-footer .email-dang-ky {
    height: 40px;
    border-radius: 3px 0 0 3px;
    border-right: 0;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0%);
}
#btn-gui-icon {
    height: 40px;
    border-radius: 0 3px 3px 0;
    color: #02a010;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0%);
    border: 1px solid #ddd;
    border-left: 0;
    cursor: pointer;
    width: 40px;
    line-height: 40px;
    text-align: center;
}
.text-lien-he p { margin-bottom: 10px; }

/* css woo 
 */
.product-small .box-image { border: 1px solid #ddd; }
p.name.product-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    height: 1.3em;
    margin-bottom: 0.8em;
    font-weight: 700;
}
span.amount {
    white-space: nowrap;
    color: #6abd45;
    font-weight: bold;
}
a.button.primary { font-weight: 100; }

/* layout woo  */
#shop-sidebar aside, #product-sidebar aside, .post-sidebar aside {
    background-color: #fff;
    padding: 20px 0 0 0;
    border: 1px solid #eee;
}
#shop-sidebar aside, #flatsome_recent_posts-3, #woocommerce_products-7 {
    background: #6abd45;
    border-radius: 10px 10px 0 0;
}
#shop-sidebar .widget-title, #product-sidebar .widget-title, .post-sidebar .widget-title {
    padding: 20px;
    color: #fff;
}
#shop-sidebar .is-divider, #product-sidebar .is-divider, .post-sidebar .is-divider {
    height: 1.5px;
    display: block;
    background-color: rgba(0,0,0,0.1);
    margin: 20px 0 0 0;
    width: 100%;
    max-width: 100%;
}
#shop-sidebar ul, #product-sidebar ul, .post-sidebar ul, #woocommerce_products-7 ul {
    font-size: 14px;
    font-weight: bold;
    border: 0px solid #ddd;
    border-radius: 0px;
    padding: 0;
    background-color: #fff;
}
#shop-sidebar ul li:nth-child(odd), #product-sidebar ul li:nth-child(odd), .post-sidebar ul li:nth-child(odd) {
    background-color: #f8f8f8;
}
#shop-sidebar ul li, #product-sidebar ul li, .post-sidebar ul li {
    padding: 5px 20px;
}
#shop-sidebar ul li:hover, #product-sidebar ul li:hover, .post-sidebar ul li:hover {
    background-color: #6abd45;
}
#shop-sidebar ul li:hover a, #product-sidebar ul li:hover a, .post-sidebar ul li:hover a, #shop-sidebar ul li:hover ins span, #product-sidebar ul li:hover ins span, #shop-sidebar ul li:hover del span, #product-sidebar ul li:hover del span, #shop-sidebar ul li:hover span.amount, #product-sidebar ul li:hover span.amount {
    color: #fff;
}
.widget_price_filter form {
    background: #fff;
}
#shop-sidebar .price_slider_wrapper {
    padding: 30px 15px 15px 15px;
    font-size: 0.8em;
}
#shop-sidebar ul.product_list_widget li, #product-sidebar ul.product_list_widget li, #woocommerce_products-7 ul li {
    list-style: none;
    padding: 15px 10px 15px 90px;
    min-height: 80px;
    position: relative;
    overflow: hidden;
    vertical-align: top;
    line-height: 1.33;
}
#shop-sidebar ul.product_list_widget li a:not(.remove), 
#product-sidebar ul.product_list_widget li a:not(.remove), 
#flatsome_recent_posts-3 .recent-blog-posts a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 2.6em;
}
.button.alt, .button.checkout, .checkout-button, .secondary { background-color: #6abd45;}
/* css single woo  */
.product-footer .tabbed-content .nav-pills>li.active>a {
    background-color: #6abd45;
}
.product-footer .tabbed-content .nav-pills>li>a {
    padding: 0.5em 2.75em;
    border-radius: 0px;
    line-height: 2.5em;
    border: 1px solid #ddd;
    background-color: #eee;
    margin-right: 2px;
}

/* css layout post  */
.post-sidebar .widget.widget_search {
    padding: 0px 0 0 0;
    border: 0px solid #eee;
}
.widget.widget_search {
    padding: 30px 0 0 0;
    border: 0px solid #eee;
}
.from_the_blog_excerpt {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 3em;
}
.title_home {
    color: #fff;
    font-size: 2em;
    line-height: 2em;
    text-transform: capitalize;
    margin-bottom: 1em;
    position: relative;
}
.titile_home::after {
    display: block;
    content: '';
    width: 400px;
    background-size: 110px;
    background-repeat: no-repeat;
    height: 40px;
    background-image: url(../../uploads/2022/12/line-tile.png);
    position: absolute;
    top: 55%;
    left: 50%;
    margin-left: -55px;
    margin-top: 15px;
}
/* css cate home 
 */
.cate-box-hover {
    height: 140px;
    overflow: hidden;
    position: relative;
    /* width: 200px; */
}
.cate-box-hover img {
    max-width: 100%;
    transition: all 1s;
    vertical-align: middle;
    position: absolute;
    top: 0;
    right: 0;
}
.cate-box-hover .cate-img-change { opacity: 1; }
.cate-box-hover .cate-img-change-hover {
    opacity: 0;
}
.cate-box-hover:hover .cate-img-change-hover {
    opacity: 1;
}
h5.post-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    height: 1.5em;
    font-size: 16px;
}
/* css lien he  */
.peterdev_title {
    font-size: 1.8em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3em;
    position: relative;
    margin: 0;
    margin-bottom: 0.8em;
    padding-bottom: 1.3em;
}
.peterdev_title::before {
    position: absolute;
    bottom: 0.75rem;
    content: '';
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right,#76a03f 0%,#76a03f 25%,rgba(255,255,255,0) 25%,rgba(255,255,255,0) 75%,#76a03f 75%);
}
.peterdev_title::after {
    position: absolute;
    bottom: 0;
    content: '\f296';
    font-family: FontAwesome;
    left: 50%;
    transform: translateX(-50%);
    font-size: 23px;
    line-height: 1;
    color: #76a03f;
}
.form-row {
    padding: 5px;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
.form-row.w50 {
    width: 50%;
}
.center-txt {
    text-align: center;
}
.center-txt input {
    min-width: 50%;
}
.wpcf7-spinner { display: block;}
.icon-cam-ket p { font-size: 14px; }

/* bai viet lien quan  */
.bai-viet-lien-quan { padding: 10px 15px; }
ul.list-bai-viet {
    gap: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
ul.list-bai-viet li { list-style-type: none; }
ul.list-bai-viet li a img { height: 200px; } 
ul.list-bai-viet li a h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 3em;
    font-size: 16px;
    margin-top: 10px;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    ul.list-bai-viet li a img {
        height: 100px;
    }
}