/*
Theme Name: LePhuc Flatsome
Description: This is a child theme for Flatsome Theme
Author: LePhuc Themes 
Template: flatsome
Version: 3.0
*/
.mptt-shortcode-table tr th {
	line-height: 25px;
}

.mptt-event-container.mptt-colorized {
    font-weight: 600;
    color: #000000 !important;
}

body, h1, h2, h3, h4, h5, h6, a, p, span, strong {
   font-family: "Jost",sans-serif !important;
}

.stars a {
    font-family: fl-icons !important;
}

#wpadminbar *{
	    font-family: 'dashicons' !important;
}
:root {
    /* Color */
    /* --primary-color: #2ca88e; */
    --secondary-color: #56ba7c;
    --success-color: #60C4AA;
    --alert-color: #E86059;
    /* 
    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;
    transform: translateY(-100px) !important;
    color: white !important;
}

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

.display-none {
    display: none;
}

.display-block {
    display: block;
}

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

.entry-divider.is-divider.small {
    display: none;
}

.widget .is-divider {
    margin: 5px 0;
    opacity: 0;
}

#post-list .post {
    border-radius: 7px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(10, 10, 10, 0.07);
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    border-radius: 99px !important;
    box-shadow: none !important;
    border: 1px solid #d7eeee !important;
}

.searchform .button.icon {
    margin: 0;
    border-radius: 99px;
}

input#woocommerce-product-search-field-0 {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

textarea {
    border-radius: 7px !important;
}

.checkout_coupon.woocommerce-form-coupon {
    display: block;
}

.archive.woocommerce-page #main,
.woocommerce-page .shop-page-title {
    background-color: #F9F9F9;
}

.box-text-products,
.row.mw-95 .box-text {
    background-color: #fff;
    padding: 25px;
}

.product-small .product-title a {
    color: #227179;
    font-weight: 600;
    font-size: initial;
}

.product-small .price-wrapper .price {
    font-size: initial;
}

.product-small .price-wrapper {
    padding-top: 10px;
}

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

.woocommerce-review__verified {
    display: none;
}

/* .custome-prod .box-text {
    background-color: hsla(0,0%,100%,.95);
    margin: -15% auto 0;
    max-width: 85%;
    padding: 15px 20px;
} */

/* Cảm nhận khách hàng */
.slide-review {
    height: 707px;
    overflow: hidden;
}

.slide-review .img {
    box-shadow: 1px 1px 7px 0px white;
}

.slide-review .img img,
.slide-review .img {
    border-radius: 10px !important;
}

.row-2button {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 10px;
    font-size: 13px;
    margin: 0;
}

.tab-custome .nav-tabs .tab.active a,
.tab-custome .nav-tabs .tab a:hover {
    background-color: var(--primary-color) !important;
    color: #fff;
    border: 1px solid var(--primary-color);
}

.tab-custome .nav-tabs+.tab-panels {
    padding: 0;
    padding-top: 30px;
    border: 0;
}

.tab-custome .tab a {
    border-color: transparent !important;
    text-transform: inherit;
}

.timetable-custome select.mptt-menu.mptt-navigation-select {
    display: none;
}

/* .number-sale{
    font-weight: bold;
    color: var(--primary-color);
} */
/* .total-sales {
    padding-top: 10px;
    padding-bottom: 10px;
} */

span.devvn_woocommerce_price_suffix {
    font-weight: bold;
}

.custome-prod .box-push .box-text {
    box-shadow: 1px 1px 9px 0px #d2d2d2;
}

.custome-prod .box-text {
    margin: -7% 20px 20px;
    max-width: 88%;
}

.z-index-999 {
    z-index: 9999;
}

.lephuc-meta-box svg {
    width: 20px;
    height: 20px;
}

.lephuc-meta-box .meta-icon {
    margin-right: 10px;
}

.lephuc-meta-box .meta-box-item {
    display: flex;
    align-items: center;
    line-height: 1.1em;
    padding-bottom: 10px;
}

.lephuc-meta-box .meta-box-item:last-child {
    padding-bottom: 0;
}

.lephuc-meta-box .meta-text {
    font-size: large;
}

.product-small .image-tools {
    width: 100%;
    height: 100%;
    padding: 0;
}

.product-small .lephuc-meta-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product-small.box .box-image .image-tools.top:before {
    content: '';
    display: block;
    background: #eaeaeae8;
    height: 100%;
}

.custome-blogs .post-title a {
    color: #111;
    padding: 0.5rem 0 15px 0;
}

.custome-blogs .post-title a:hover {
    color: var(--primary-color);
}

.custome-blogs .blog-post-inner {
    display: grid;
}

.custome-blogs .is-divider {
    display: none;
}

.custome-blogs .post-meta {
    order: 1;
}

.custome-blogs .post-title {
    order: 2;
}

.custome-blogs .from_the_blog_excerpt {
    order: 3;
}

.single .lephuc-meta-box .meta-box-item {
    padding-bottom: 10px;
}

.single .lephuc-meta-box {
    padding: 20px 0 10px 0;
}

.custom-product-page .price-wrapper .price {
    margin-bottom: 0;
}

.custom-product-page .woocommerce-product-rating {
    padding-top: 20px
}

.my-sticky .col-inner {
    top: calc(var(--flatsome-scroll-padding-top) + 30px);
    transition: top .6s;
    position: sticky;
    box-shadow: 0 1px 13px 2px #d7eeee4d, 0 1px 2px #d7eeee5c;
}

.custom-product-page .quantity {
    display: none;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th {
    padding: 22px 10px;
    font-weight: 700;
    text-transform: capitalize;
}

.checkout .form-row {
    width: 100%;
}

.cf7-lienhe p {}

.cf7-lienhe .grid-col-2 p {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cf7-lienhe input,
.cf7-lienhe textarea {
    border-radius: 0 !important;
    padding: 15px 0;
    height: auto;
    border: none !important;
    box-shadow: none !important;
    color: #6F949F;
    font-weight: normal;
    border-bottom: 2px solid #d7eeee !important;

}

.cf7-lienhe input:focus,
.cf7-lienhe textarea:focus {
    box-shadow: none;
}

.cf7-lienhe textarea {
    height: 120px !important;
}

.cf7-lienhe input[type=submit] {
    margin: 20px 0 0;
    padding: 10px 50px;
    border-radius: 99px;
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
}

.cf7-lienhe input::placeholder,
.cf7-lienhe textarea::placeholder {
    color: #6F949F;
    font-weight: normal;
    font-size: 15px;
}

.buy-now {
    /* flex-basis: 100%;
    max-width: 100%;
    padding: 5px 0;
    margin: 0;
    margin-top: 20px;
    line-height: unset; */
    margin: 0 !important;
    background-color: #DF2C2B;
}

.quantity input[type=number] {
    box-shadow: none !important;
    max-width: 100%;
    width: 100%;

}

button.single_add_to_cart_button.button.alt,
input.plus.button.is-form,
input.minus.button.is-form,
.buy-now {
    border-radius: 99px;
}

button.single_add_to_cart_button.button.alt {
    /* margin-right: 1em; */
}

.single-product .cart .button,
.single-product .quantity .button,
.single-product .quantity .input-text {
    margin: 20px 0 !important;
}

.single-product .cart .button {
    padding: 7px 30px !important;
}

.single-product .quantity .button {
    padding: 7px 15px !important;
    border: 1px solid #d7eeee !important;
}

.single-product .quantity .input-text {
    height: unset;
    max-width: 3em;
    border-left: none !important;
    border-right: none !important;
}

.product-summary .quantity {
    margin-bottom: 0 !important;
}

.quantity.buttons_added.form-normal {
    margin-right: 0;
    flex-basis: 30%;
    max-width: 30%;
}

button.single_add_to_cart_button.button.alt {
    margin: 0;
    margin-right: 20px !important;
    /* flex-basis: 70%;
    max-width: 70%; */
}

.quantity.buttons_added.form-normal {
    padding-right: 20px;
}

.text-content-buy-now {
    font-weight: normal;
}

ul.child-term {
    position: relative;
    background: #f6f6f6;
    z-index: 9;
    display: flex;
    gap: 20px;
    list-style: none;
    justify-content: center;
    margin-bottom: 0;
}

ul.child-term li {
    margin-bottom: 0;
}

ul.child-term li a {
    position: relative;
    display: block;
    padding: 7px 0;
}

ul.child-term li a:before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: 0.3s ease-in-out;
}

ul.child-term li:hover a:before {
    opacity: 1;
    width: 100%;
}

#review_form input {
    box-shadow: none;
    border-radius: 99px;
}

#review_form textarea {
    box-shadow: none;
    border-radius: 10px;
}

#review_from input[type=number] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.custom-product-page div#review_form_wrapper,
.custom-product-page #comments {
    max-width: 100%;
    flex-basis: auto;
}

.custom-product-page .product-short-description p {
    margin-bottom: 0.5em;
}


.custom-product-page .product-short-description h3,
.custom-product-page .product-short-description h4 {
    margin-bottom: 1em;
}

#post-list .post .entry-image.relative {
    margin-left: -20px;
    margin-right: -20px;
}

.post .entry-meta {
    text-transform: none;
}

.post span.meta-author.vcard {
    text-transform: capitalize;
}

.widget .current-cat>a {
    font-weight: normal;
    color: var(--primary-color);
}

#commentform div.error {
    color: #b11f24;
    font-size: 14.5px;
    margin: -10px 0 10px 0;
}

p.comment-form-cookies-consent {
    margin-bottom: 30px;
}

.giao-vien .box-text-inner a.button {
    order: 3;
    width: max-content;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: medium;
}

.giao-vien .is-divider {
    display: none;
}

.giao-vien .product-small .product-title a {
    font-size: 22px;
}

.giao-vien span.amount {
    display: none;
}

.giao-vien .box-text-inner {
    display: flex;
    flex-direction: column;
}

.giao-vien .box-text-inner .meta-post-shortdes {
    order: 2;
}

.giao-vien .box-text-inner h5.post-title {
    font-size: 23px;
    order: 1;
}

.giao-vien .title-wrapper .lephuc-meta-box .meta-text {
    color: #afafaf;
}

.giao-vien .title-wrapper .lephuc-meta-box g {
    fill: #afafaf;
}

.giao-vien .title-wrapper .total-classes {
    padding: 10px 5px !important;
    border-bottom: 1px solid #afafaf !important;
}

.giao-vien .title-wrapper .total-views.meta-box-item {
    display: none;
}

.product-small.box .title-wrapper .total-classes .meta-text span {
    display: unset !important;
}

.giao-vien .title-wrapper .lephuc-meta-box {
    justify-content: center;
}

.single-product .woocommerce-product-rating {
    display: none;
}

.follow-ft .col-inner{
    display: flex;
    justify-content: flex-end;
}
.follow-ft .follow-icons{
    width: unset !important;
    margin-left: 7px;
}
.follow-ft .img{
    width: 32px !important;
}
/* .product-small:hover img{
    opacity: 0.15 !important;
} */
/* .visibility-0{
    opacity: 1; 
    transition: opacity 0.5s ease-in-out;
}
.visibility-1, .visibility-2, .visibility-3, .visibility-4 {
    -webkit-animation: fade-in 0.5s ease-in-out;
    -moz-animation: fade-in 0.5s ease-in-out;
    -o-animation: fade-in 0.5s ease-in-out;
    animation: fade-in 0.5s ease-in-out;
} */
/* .visibility-1 {
    animation: fade-in 1s ease-in-out forwards;
}
.visibility-2 {
    animation: fade-in 1.5s ease-in-out forwards;
}
.visibility-3 {
    animation: fade-in 2s ease-in-out forwards;
}
.visibility-4 {
    animation: fade-in 2.5s ease-in-out forwards;
} */
@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (min-width:1201px) {

    .woocommerce .category-page-row {
        max-width: 98% !important;
    }

    .row.mw-95 {
        max-width: 96% !important;
    }

    .woocommerce-page .products.row,
    .load-more-prods {
        max-width: 100% !important;
        margin-left: -0.5px;
    }

    .row-small>.col,
    .row-small>.flickity-viewport>.flickity-slider>.col,
    .row.mw-95 .col {
        padding: 0 20px 40px !important;
    }

    .products-shop .col {
        padding-bottom: 37px;
    }
}

@media (min-width:1600px) {
    .custome-prod {
        /* max-width: 1500px !important; */
    }
}

/* Từ ipad lớn trở lên */
@media (min-width:850px) {
    .custome-row-4 .products .col {
        flex-basis: 25%;
        max-width: 25%;
    }


}

/*  Từ ipad trở lên */
@media (min-width: 550px) {
    .product-small.box .title-wrapper .lephuc-meta-box {
        display: none;
    }

    .product-template-default .product-summary .quantity {
        margin-bottom: 0;
    }

    .giao-vien .product-small.box .title-wrapper .lephuc-meta-box .total-views {
        display: none;
    }

    .giao-vien .product-small.box .title-wrapper .lephuc-meta-box {
        justify-content: center;
        position: unset;
        transform: unset;
        margin: 0 auto;
        display: table;
    }

    /* .single-product .cart {
        max-width: 350px;
    } */

}

/*  Từ ipad pro đến 1200px */
@media (max-width: 1024px) {
    .custom-product-page button.single_add_to_cart_button.button.alt {
        margin-bottom: 0 !important;
    }
}

/*  Từ ipad đến ipad lơn */
@media (min-width: 550px) and (max-width:1024px) {
    .product-small .lephuc-meta-box {
        left: 40%;
        transform: translate(-35%, -50%);
    }
}

/*  Từ mobile đến ipad */
@media (min-width: 550px) and (max-width:1110px) {
    .custom-product-page button.single_add_to_cart_button.button.alt {
        margin-top: 20px;
    }

    .custom-product-page .quantity.buttons_added.form-normal,
    .custom-product-page button.single_add_to_cart_button.button.alt {
        padding: 0;
        flex-basis: 100%;
        max-width: 100%;
        font-size: 14px;
    }

}

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

@media (max-width: 849px) {
    .header.has-transparent {
        position: relative !important;
    }

    #logo img {
        padding: 10px 0 !important;
    }

    .title-home {
        font-size: 0.65rem !important;
    }

    .single-product .product-main {
        padding-top: 0;
        padding-bottom: 20px;
    }

}

/*  Từ mobile trở xuống */
@media (max-width: 549px) {

    .mr-button-center-mb,
    .mr-button-center-mb.button:last-of-type {
        display: table;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .cf7-lienhe .grid-col-2 p {
        display: block;
    }

    .slide-review {
        height: 550px;
    }

    .product-small.box .box-image .image-tools.top {
        display: none;
    }

    .product-small.box .title-wrapper .lephuc-meta-box .meta-text span {
        display: none;
    }

    .product-small.box .title-wrapper .lephuc-meta-box .meta-box-item {
        padding-bottom: 0;
        padding-right: 10px;
        padding-left: 10px;
        border-right: 1px solid;
    }

    .product-small.box .title-wrapper .lephuc-meta-box .meta-box-item:last-child {
        border: none;
    }

    .product-small.box .title-wrapper .lephuc-meta-box .meta-box-item:first-child {
        padding-left: 0;
    }

    .product-small.box .title-wrapper .lephuc-meta-box .meta-icon {
        margin-right: 7px;
    }

    .product-small.box .title-wrapper .lephuc-meta-box {
        position: relative;
        display: flex;
        top: unset;
        left: unset;
        padding: 10px 0;
        transform: unset;
    }

    button.single_add_to_cart_button.button.alt {
        font-size: .9em;
    }

    .single-product .cart .button,
    .single-product .quantity .button,
    .single-product .quantity .input-text {
        margin: 10px 0 !important;
    }

    ul.child-term {
        display: -webkit-box;
        padding-left: 15px;
        overflow: scroll;
    }
}