/*
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.   ***************/
@font-face {
    font-family: "Montserrat";
    font-weight: normal;
    font-style: normal;
    src: url("./fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
    font-display: swap
}

@font-face {
    font-family: "Montserrat";
    font-weight: bold;
    font-style: normal;
    src: url("./fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
    font-display: swap
}

@font-face {
    font-family: "Montserrat";
    font-weight: normal;
    font-style: italic;
    src: url("./fonts/Montserrat/Montserrat-Italic.ttf") format("truetype");
    font-display: swap
}

/*---------global-----------*/
html {
    overflow-x: hidden
}

body {
    overflow-x: hidden;
    font-family: "Montserrat"
}

a:hover {
    cursor: pointer;
}

/*---giới hạn chữ tên sản phẩm---*/
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;
    font-size: 1rem;
}

.absolute-footer {
    padding: 0px !important;
}

/*---style product price---*/
.price-wrapper {
    display: table;
}

.product-summary .price-wrapper {
    margin-bottom: 1em;
}

.price-wrapper .price {
    height: 1.3em;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    line-height: 120%;
}

.product-short-description {
    padding-bottom: 0.5em;
}

span.amount {
    white-space: nowrap;
    color: #e84545;
    font-weight: bold;
}

ul.header-nav.header-nav-main.nav.nav-left.nav-uppercase {
    display: flex;
    justify-content: center;
}

/*---style related product---*/
.related.related-products-wrapper.product-section {
    padding-top: 2em;
    padding-bottom: 2em;
}

.related.related-products-wrapper.product-section h3 {
    text-align: center;
}

.related-products-wrapper .product-small.box {
    background-color: #fff;
    /*box-shadow: 0 1px 3px -2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);*/
    border: 2px solid #ddd;
}

/*
.related-products-wrapper .product-small.box:hover {
    box-shadow: 0 3px 6px -4px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}*/
.related-products-wrapper .box-text.box-text-products {
    padding: 15px;
}

.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
    margin-top: 0;
}

.slider-nav-reveal .flickity-prev-next-button:hover,
.slider-nav-reveal .flickity-prev-next-button {
    width: 30px;
    top: -2px;
    bottom: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: 0 -150px 15px 0 rgba(0, 0, 0, 0);
    margin: 0 !important;
}

li.tab.has-icon {
    margin: 15px;
}

/*---end style related product---*/

/*---style tiêu đề bài viết trước sau---*/
.nav-previous,
.nav-next {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    height: auto;
}

/*---style giới hạn chữ bài viết---*/
.blog-archive h5.post-title.is-large {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 2.6em;
}

.blog-archive p.from_the_blog_excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 3em;
}

/*---style sidebar---*/
#shop-sidebar aside,
#product-sidebar aside,
.post-sidebar aside {
    background-color: #fff;
    padding: 5px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

#shop-sidebar aside.widget.widget_search,
#product-sidebar aside.widget.widget_search,
.post-sidebar aside.widget.widget_search {
    padding: 0;
    border: 0 solid #eee;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0);
}

#shop-sidebar .widget-title,
#product-sidebar .widget-title,
.post-sidebar .widget-title {
    padding: 20px;
    color: #fff;
    background-color: var(--primary-color);
    display: block;
}

#shop-sidebar .is-divider,
#product-sidebar .is-divider,
.post-sidebar .is-divider {
    height: 1.5px;
    display: block;
    background-color: rgba(0, 0, 0, 0);
    margin: 0;
    width: 100%;
    max-width: 100%;
}

#shop-sidebar ul,
#product-sidebar ul,
.post-sidebar ul {
    font-size: 14px;
    font-weight: bold;
    border: 0px solid #ddd;
    border-radius: 0px;
    padding: 0;
    margin-top: 5px;
    background-color: #fff;
}

#shop-sidebar ul li,
#product-sidebar ul li,
.post-sidebar ul li {
    padding: 5px 20px;
}

#shop-sidebar ul li:nth-child(odd),
#product-sidebar ul li:nth-child(odd),
.post-sidebar ul li:nth-child(odd) {
    background-color: #fafafa;
}

/*#shop-sidebar ul li:hover,
#product-sidebar ul li:hover,
.post-sidebar ul li:hover {
    background-color: #ee5978;
}*/
#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: var(--primary-color);
}

/*banner*/
.text-inner.text-left {
    border: 5px solid rgba(255, 255, 255, 0.46);
    padding: 50px;
}

.text-inner.text-center {
    border: 5px solid rgba(255, 255, 255, 0.46);
    padding: 50px;
}

h3.uppercase {
    color: #000
}

h1.uppercase3 {
    color: #fff
}

h2.uppercase {
    color: #000
}

/*end banner*/
/*---style sub-menu---*/
#shop-sidebar li ul.sub-menu {
    border: 0 solid #f8f8f8;
    border-left: 3px solid #ececec;
    padding: 5px;
}

#shop-sidebar li ul.sub-menu li {
    background-color: #fff;
    border: 0;
    padding: 2px 10px;
}

#shop-sidebar li:hover ul.sub-menu li a {
    color: #334862;
}

#shop-sidebar li ul.sub-menu li:hover a {
    color: var(--primary-color);
}

/*---end style sub-menu---*/
#shop-sidebar ul.product_list_widget li,
#product-sidebar ul.product_list_widget 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 img,
#product-sidebar ul.product_list_widget li img {
    top: 10px;
    position: absolute;
    left: 20px;
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    object-fit: cover;
    object-position: 50% 50%;
}

#shop-sidebar ul li+li,
#product-sidebar ul li+li,
.post-sidebar ul li+li {
    border-top: 1px solid #f8f8f8;
}

#shop-sidebar ul.product_list_widget li a:not(.remove),
#product-sidebar ul.product_list_widget li a:not(.remove) {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    height: 1.3em;
}

#shop-sidebar .recent-blog-posts a,
#product-sidebar .recent-blog-posts a,
.post-sidebar .recent-blog-posts a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 2.4em;
    color: #444;
}

#shop-sidebar span.post_comments.op-7.block.is-xsmall,
#product-sidebar span.post_comments.op-7.block.is-xsmall,
#product-sidebar span.post_comments.oppercase.op-7.block.is-xsmall,
.post-sidebar span.post_comments.op-7.block.is-xsmall {
    display: none;
}

.post-sidebar .widget.widget_search {
    padding: 0px 0 0 0;
    border: 0px solid #eee;
}

.post-sidebar input.search-field.mb-0 {
    height: 45px;
    border-radius: 3px 0 0 3px;
}

.post-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    width: 45px;
    height: 45px;
    border-radius: 0 3px 3px 0;
    background: var(--primary-color);
}

#shop-sidebar button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    background-color: var(--primary-color) !important;
}

#shop-sidebar .price_slider_wrapper {
    padding: 30px 15px 15px 15px;
    font-size: 0.8em;
}

#shop-sidebar .star-rating,
#product-sidebar .star-rating {
    display: none;
}

/*---style filter in sidebar---*/
ul.woocommerce-widget-layered-nav-list {
    max-height: 300px;
    overflow: auto;
    padding-right: 20px;
}

ul.product_list_widget {
    font-size: 14px;
}

/*---end style filter in sidebar---*/
/*---end style sidebar---*/

/*---style tab in product---*/
.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;
}

.product-footer .tabbed-content .nav-pills>li.active>a {
    background-color: var(--primary-color);
}

.product-footer .tabbed-content .nav-pills>li:hover>a {
    background-color: var(--primary-color);
    color: #fff;
}

.mfp-content {
    min-width: 320px !important;
}

/*---z-index sidebar mobile---*/
.mfp-wrap {
    z-index: 900001;
}

/*--------end global--------*/


/*---------header-----------*/
/*---style mona-html---*/
.mona-html {
    font-size: 14px;
}

.mona-html:before {
    content: "";
    font-family: FontAwesome;
    font-size: 22px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 0;
    color: #fff;
}

.mona-html.showroom:before {
    content: "\f015";
}

.mona-html.hotline:before {
    width: 1em;
    height: 1em;
    content: "";
    background: transparent url('/wp-content/uploads/2019/12/telephone.svg') no-repeat;
    background-size: 1em 1em;
    animation-name: tada;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

.mona-html a {
    color: #333;
    font-weight: 700;
}

/*---style active nav---*/
.header-main .nav>li {
    margin: 0 15px;
}

.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 {
    color: var(--primary-color);
}

/*--------end header--------*/


/*---------content-----------*/
/*-----style contact form-----*/
.form-ct {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
}

.form-ct .form-row {
    padding: 5px;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

.form-ct .form-row.w50 {
    width: 50%;
}

.form-ct input,
.form-ct textarea {
    margin-bottom: 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0);
    border-radius: 3px;
}

.form-ct .center-txt {
    text-align: center;
}

.form-ct .center-txt input {
    min-width: 50%;
    border-radius: 3px;
}

.form-ct .wpcf7-form-control:focus {
    border-color: #f8b742;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(248, 183, 66, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(248, 183, 66, 0.6);
}

/*---end style contact form---*/

/*---style mona-title---*/
.mona-title {
    font-size: 1.4em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3em;
    position: relative;
    margin: 0;
    margin-bottom: 0.8em;
    color: var(--primary-color);
}

/*---style btn-mona---*/
.btn-mona {
    padding: 5px 30px;
}

/*--------line--------*/
.row.large-columns-6.medium-columns-3.small-columns-2 {
    padding: 40px 0px;
    border-bottom: 1px solid #eaeaea;
}



/*--------endline--------*/
/*--------button--------*/
input[type='submit'],
input[type='submit'].button,
input[type='submit'],
.primary {
    background-color: var(--primary-color);
}

/*--------end button--------*/
/*---style mona-post---*/
.mona-post .box.box-normal.box-text-bottom.box-blog-post.has-hover {
    background-color: #f7f9f8;
    padding-bottom: 0;
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .01);
    box-shadow: 0 0 15px rgba(0, 0, 0, .01);
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    margin-top: 15px;
}

.mona-post .box.box-normal.box-text-bottom.box-blog-post.has-hover:hover {
    -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .2);
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
}

.mona-post .box-text.text-left {
    padding: 1.2em;
    border-radius: 0 0 10px 10px;
}

.mona-post h5.post-title.is-large {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    height: 1.3em;
    margin-bottom: 0.5em;
    font-size: 1.5em;
}

.mona-post .post-meta.is-small.op-8 {
    margin-bottom: 1em;
}

.mona-post .post-meta.is-small.op-8:before {
    content: "\f073";
    font-family: FontAwesome;
    margin-right: 10px;
    color: #b20000;
}

.mona-post .is-divider {
    display: none;
}

.mona-post p.from_the_blog_excerpt {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 3em;
    color: #424242;
}

.mona-post button.button.is-link.is-small.mb-0 {
    text-transform: capitalize;
}

.mona-post button.button.is-link.is-small.mb-0:after {
    content: "\f0da";
    font-family: FontAwesome;
    display: inline-block;
    vertical-align: baseline;
    margin-left: 5px;
    color: #ed1c24;

}

.success.is-underline,
.success.is-link,
.success.is-outline {
    color: var(--primary-color);
}

@media screen and (max-width:549px) {

    .mona-post .post-item .is-divider,
    .mona-post p.from_the_blog_excerpt {
        display: none;
    }

    .mona-post .box-text.text-left {
        padding: 10px !important;
    }

    .mona-post h5.post-title.is-large {
        font-size: 14px;
        height: 2.5rem;
    }
}

.post-item a:hover h5.post-title {
    color: #b20000;
    transition: .2s ease-out all;
}

.post-item p {
    color: #333;
}

.post-item .post-meta {
    color: #333;
}

/*---end style mona-post---*/

.row-service .banner-link:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid #fff;
    opacity: .5;
    z-index: 0;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.row-service .banner-link:hover:before {
    border: 6px solid #fff;
    opacity: .5;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

/*--------end content--------*/
.sec-sanpham ul.nav.nav-line-bottom li {
    margin: 10px;
}

@media screen and (max-width:549px) {
    .sec-sanpham ul.nav.nav-line-bottom li {
        width: 100%;
        margin-left: 10px;
    }
}

/*---------footer-----------*/
.sec-footer p {
    color: #333;
    font-size: 14px;
    margin-bottom: 0.8em;
}

.sec-footer a {
    color: ##333;
    font-size: 14px;
}

.sec-footer a:hover {
    color: #b20000 !important;
}

.sec-footer .icon-box-img {
    width: 20px !important;
}

.sec-footer h3 {
    position: relative;
    padding: 0 0 10px;
    margin: 0px 0 10px;
    position: relative;
    display: block;
    border-bottom: 2px solid #e7e7e7;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.sec-footer h3:before {
    padding: 0;
    margin: 0px;
    position: absolute;
    content: "";
    width: 60px;
    display: block;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -2px;
    left: 0;
}

.mona-sidebar-footer ul {
    margin: 0;
    margin-top: -5px;
    color: #272727;
}

.mona-sidebar-footer ul.menu>li+li,
.mona-sidebar-footer .widget>ul>li+li {
    border-top: 1px dashed rgba(238, 238, 238, 0.3);
}

/* sua */


.last-reset *:last-child {
    margin-bottom: 12px;
}

/* hết */
@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(180deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(180deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}

.mona-sidebar-footer ul>li:hover>a,
.mona-sidebar-footer ul>li.current-menu-item>a,
.mona-sidebar-footer ul>li.current-menu-parent>a,
.mona-sidebar-footer ul>li.current-post-parent>a,
.mona-sidebar-footer ul>li.current_page_parent>a,
.mona-sidebar-footer ul>li.current-product-parent>a,
.mona-sidebar-footer ul>li.current-product-ancestor>a {
    color: #272727;
}

/*---style form dang ky---*/
.sec-footer form.wpcf7-form {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sec-footer .wpcf7 p {
    display: inline-flex;
    margin-bottom: 0;
    width: 100%;
}

.sec-footer input#email-dang-ky {
    height: 40px;
    border-radius: 99px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0);
    padding-left: 15px;
}

.sec-footer input#sdt-dangky {
    height: 40px;
    border-radius: 99px;

    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0);
    padding-left: 15px;
}

.sec-footer input#submit {
    border-radius: 5px;
    min-width: 4rem;
    background-color: #283347;
    margin-left: auto;
}

.mona-hiden {
    display: none !important;
}

span.wpcf7-spinner {
    display: none;
}

.sec-footer #btn-gui-icon {
    width: 60px;
    background-color: transparent;
    border-radius: 99px;
    height: 38px;
    text-align: center;
    position: absolute;
    right: 0px;
    box-shadow: unset;
    border: unset;
}

#btn-gui-icon {
    height: 40px;
    border-radius: 0 3px 3px 0;
    color: var(--primary-color);
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0);
    border: 1px solid #ddd;
    border-left: 0;
    cursor: pointer;
    width: 40px;
    line-height: 40px;
    text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: #333;
}

.copyright-footer {
    color: #fff;
}

@media screen and (max-width:849px) {
    .category-filtering.category-filter-row.show-for-medium {
        position: absolute;
        bottom: 5px;
        left: 5%;
    }


}

@media screen and (max-width:549px) {
    .shop-page-title form.woocommerce-ordering {
        padding-left: 90px;
    }
}

button.single_add_to_cart_button.button.alt.wp-element-button {
    font-size: .8rem;
    background: var(--primary-color) url(/wp-content/uploads/2023/08/cart.svg) no-repeat 13px center/20px auto;
    position: relative;
    padding: 4px 20px 4px 40px;
    border-radius: 4px;
}

button.is-form.expand.button.wp-element-button {
    text-shadow: unset;
    color: #fff;
    text-transform: uppercase;
    background: var(--primary-color);
}

.product-small button.wishlist-button i {
    top: 0
}

.navigation-post {
    padding: 0 10px;
}

div#comments form input,
div#comments form textarea {
    outline: unset;
}

/*--------end footer--------*/

/*-----style tablet mode-----*/
@media screen and (max-width: 849px) {}

/*---end style tablet mode---*/
/*-----style mobile mode-----*/
@media screen and (max-width: 549px) {}

/*---end style mobile mode---*/

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/



}