/*
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.   ***************/
html, body {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

body {
    line-height: 1
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap&subset=vietnamese');

html, body {
    height: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

html {
    --gutter-width: 12px;
    --single-column-width: calc((100% - (11 * var(--gutter-width))) / 12);
    --container-offset: calc((100vw - var(--scrollbar-width) - 100%) / 2);
    font-size: 62.5%;
    color: #20232a
}

body {
    --header-height: 6rem;
    font-size: 1.6rem;
    line-height: 1.625;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: clip;
    background-color: var(--fs-color-secondary);
    z-index: -2
}

.col, .columns, .gallery-item,
.row-small>.col,
.row-small>.flickity-viewport>.flickity-slider>.col,
.container {
    padding: 0 8px 0;
}

.container .row:not(.row-collapse), .lightbox-content .row:not(.row-collapse), .row .gallery, .row .row:not(.row-collapse) {
	margin-left: -8px;
    margin-right: -8px;
}

.slider-nav-circle .flickity-prev-next-button .arrow,
.slider-nav-circle .flickity-prev-next-button svg {
    border-color: #20232a;
    background-color: #20232a;
    color: var(--fs-color-secondary);
}

.slider-style-container .flickity-slider>:not(.is-selected),
.slider-style-focus .flickity-slider>:not(.is-selected),
.slider-style-shadow .flickity-slider>:not(.is-selected) {
    opacity: 1;
}

#main, #wrapper {
    background-color: var(--fs-color-secondary);
}

.main-banner .text-box {
    padding-left: calc(100% / 12 + 6px);
}

.main-banner .text-box h2 {
    font-family: "Inter", sans-serif;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.222;
    margin: 0;
}

.main-banner .text-box p {
    margin: 0;
}

.main-banner .text-box p a {
    font-size: 1.4rem;
    line-height: 1.429;
    letter-spacing: .03em;
    text-decoration: underline;
    text-underline-offset: .5rem;
    text-decoration-color: var(--fs-color-secondary);
}

.main-section .row {
    margin-top: 9.6rem;
}

.main-bottom {
    margin-bottom: 9.6rem;
}

.main-section .row .row {
    margin-top: 0;
}

.main-section h3 {
    font-size: 3rem;
    line-height: 1.333;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    margin-bottom: 6px;
}

.main-section h3 a:hover {
    color: currentColor;
}

.main-section p {
    margin-bottom: 0;
}

.main-section p a {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.429;
    letter-spacing: .03em;
    text-decoration: underline;
    text-underline-offset: .5rem;
    text-decoration-color: #20232a;
    margin-top: 1.2rem;
    display: block;
}

.main-section .nav {
    border-bottom: 1px solid #ddd;
}

.main-section .nav>li>a {
    padding: 0;
    padding-bottom: 1.2rem;
    color: #585a5f;
    text-transform: none;
    font-size: 16px;
    font-weight: 500;
}

.main-section .nav>li>a::before {
    display: none !important;
}

.main-section .nav>li>a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-color: transparent;
    z-index: 1;
}

.main-section .nav>li.active>a {
    color: #20232a;
}

.main-section .nav>li.active>a::after {
    background-color: #20232a;
}

.home-services .row {
    margin-top: 9.6rem;
}

.home-services h1 {
    font-size: 4.5rem;
    line-height: 1.222;
    font-weight: 300;
}

.home-services h3 {
    font-size: 3rem;
    line-height: 1.333;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    margin: 0;
}

.home-services p {
    font-size: 3rem;
    line-height: 1.333;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    margin: 0;
    margin-top: 1.2rem;
}

.main-section.home-supports .box-text {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 2.4rem;
    padding-bottom: 4.8rem;
}

.main-section.home-supports .box-text h3 {
    color: var(--fs-color-secondary);
    margin: 0;
    margin-bottom: 1.6rem;
}

.main-section.home-supports .box-text p {
    margin: 0;
}

.main-section.home-supports .box-text p a {
    color: var(--fs-color-secondary);
    margin: 0;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: .5rem;
    text-decoration-color: var(--fs-color-secondary);
}

.home-posts .slider-wrapper {
	margin-left: 8px;
}

.home-posts .slider-style-container .flickity-slider>* {
    max-width: calc(100% / 12 * 11);
}

.home-posts .main-col {
    padding-left: calc(8.3333333333% - 8px);
}

#main .row.category-page-row {
    padding: 0;
    margin-top: 9.6rem;
}

.shop-page-title {
    display: none;
}

.section-breabcrum .breadcrumbs {
    margin-top: 2rem;
    font-size: 1.4rem;
    line-height: 1.429;
    letter-spacing: .03em;
    text-transform: capitalize;
    font-weight: 400;
    color: var(--fs-color-primary);
}

.breadcrumbs a {
    font-size: 1.4rem;
    line-height: 1.429;
    letter-spacing: .03em;
    text-transform: capitalize;
    font-weight: 400;
    color: var(--fs-color-primary);
}

.filter-categories {
    padding-left: calc(100% / 12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.filter-categories .woocommerce-result-count {
    margin: 0;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.571;
    letter-spacing: .02em;
}

.filter-categories .woocommerce-ordering {
    margin: 0;
}

.filter-categories .woocommerce-ordering select {
    margin: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none !important;
    border-bottom: 1px solid;
}

.product-small .box-image {
    border: 24px solid #f2efe8;
    background-color: #f2efe8;
}

.product-small .box-image:hover img {
    transform: scale(103%);
}

.product-small .box-text .product-title,
.product-small .box-text .product-title a {
    margin: 0;
    margin-top: 12px;
    font-size: 1.8rem;
    line-height: 1.56;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    margin-bottom: 6px;
    text-decoration: none;
}

.product-small .box-text .product-title a {
    margin: 0;
}

.product-small .excerpt-wrapper {
    font-size: 16px;
}

.related .product-small.box {
    padding: 0;
}

.related .excerpt-wrapper {
    display: none;
}

.related .flickity-prev-next-button.next {
    right: 0;
    margin-top: 0;
}

.related .flickity-prev-next-button.previous {
    left: 0;
    margin-top: 0;
}

.single-product .section-breabcrum .breadcrumbs {
    margin-top: 6rem;
    margin-bottom: 2rem;
}

.product-title-container h1 {
    font-size: 3rem;
    line-height: 1.333;
    font-weight: 400;
}

.product-price-container {
    border-top: 1px solid var(--fs-experimental-link-color-hover);
    padding-top: 12px;
    width: max-content;
}

.blog-wrapper.page-wrapper {
    padding: 0;
}

.post-item .box-text {
    padding: 0;
    margin: 0;
}

.post-item .post-title,
.post-item .post-title a {
    margin: 0;
    margin-top: 12px;
    font-size: 1.8rem;
    line-height: 1.56;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    margin-bottom: 6px;
    text-decoration: none;
}

.post-item .post-title a {
    margin: 0;
}

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

.post-item .box-text p {
    margin: 0;
    font-size: 16px;
}

.section-breabcrum h1 {
    margin-top: 6rem;
    font-size: 4.5rem;
    line-height: 1.222;
    font-weight: 300;
}

.post .entry-header,
.archive-page-header {
    display: none;
}

.blog-single .section-breabcrum {
    margin-bottom: 9.6rem;
}

.blog-single .entry-content {
    padding: 0;
}

.blog-wrapper .section+.row:not(.row-collapse) {
    margin-top: 9.6rem;
    margin-bottom: 4.8rem;
}

.section-categories .row:first-child {
    margin-top: 4.8rem;
}

#post-list .post-item {
    margin-bottom: 4.8rem;
}

#comments {
    display: none;
}

.about-banner .col {
    padding: 0;
}

.contact-section iframe {
    filter: brightness(100%) contrast(100%) saturate(0%) blur(0px) hue-rotate(0deg);
}

input[type=email], input[type=number], input[type=tel], input[type=text] {
    box-shadow: none !important;
    height: 60px;
}

input[type=submit] {
    margin: 0;
    width: 100%;
    min-height: 60px;
}

textarea {
    box-shadow: none !important;
    min-height: 180px;
}

#footer {
    background-color: #a2958e;
}

#footer,
#footer h3 {
    color: var(--fs-color-secondary);
}

#footer h4 {
    color: var(--fs-color-secondary);
}

#footer .main-section p a {
    color: var(--fs-color-secondary);
    text-decoration: none;
}

#footer .row {
    margin-bottom: 9.6rem;
}

#footer .row .row {
    margin: 0;
}

.absolute-footer {
    display: none;
}

.header-main .nav>li {
    margin: 0 10px;
}

.header-main .nav>li>a {
    font-size: 16px;
    font-weight: 400;
    color: var(--fs-color-primary);
    text-transform: none;
}

.stuck .header-main .nav>li>a {
    color: var(--fs-color-primary);
}

.home .has-transparent .header-main .nav>li>a {
    color: var(--fs-color-secondary);
}

.home .stuck .header-main .nav>li>a {
    color: var(--fs-color-primary);
}

.nav-dark .nav>li.active>a,
.nav-dark .nav>li>a:hover {
    color: currentColor;
}

.searchform-wrapper form {
    background-color: var(--fs-color-secondary);
}

.searchform-wrapper form input[type=search] {
    background-color: var(--fs-color-secondary);
    border: none;
    box-shadow: none !important;
}

.searchform .button.icon {
    border: none;
    color: var(--fs-color-primary);
    box-shadow: none !important;
}

.searchform .button.icon i {
    font-size: 20px;
}

.search-name {
    color: var(--fs-color-primary);
}

.home .transparent .header-wrapper {
    background-color: transparent !important;
}

.sub-menu .row:not(.row-collapse) {
    margin: 9.6rem auto;
}

.sub-menu .row:not(.row-collapse) h4 {
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    line-height: 1.56;
    font-weight: 700;
}

.sub-menu .row:not(.row-collapse) p {
    font-size: 1.4rem;
    line-height: 1.571;
    letter-spacing: .02em;
    color: var(--fs-color-primary);
    font-weight: 300;
    margin-bottom: 1.2rem;
}

.sub-menu .row:not(.row-collapse) p a {
    font-weight: 700;
    text-decoration: underline;
}

@media screen and (min-width: 850px) {
    .home-posts .slider-style-container .flickity-slider .large-1 {
        flex-basis: calc(8.3333333333% * 1.2);
        max-width: calc(8.3333333333% * 1.2);
    }

    .home-posts .slider-style-container .flickity-slider .large-3 {
        flex-basis: calc(25% * 1.2);
        max-width: calc(25% * 1.2);
    }

    .product-small.box {
        padding-left: calc(100% / 4 + 6px);
    }

    .category-page-row .product-small.box {
        margin-bottom: 4.8rem;
    }


    .post-item .col-inner {
        padding-left: calc(100% / 4 + 6px);
    }

    .post-details .single-page {
        padding-left: calc(100% / 12);
    }

    .header-main .nav>li.header-search>a::before {
        content: "Tìm kiếm ";
        font-size: 16px;
        margin-right: 20px;
        opacity: 1 !important;
    }
}

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

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .off-canvas-left .mfp-content {
        width: 100% !important;
        background-color: var(--fs-color-secondary) !important;
        box-shadow: none !important;
    }

    .off-canvas:not(.off-canvas-center) .nav-vertical li>a {
        color: #000;
        font-size: 14px;
    }

    .off-canvas:not(.off-canvas-center) .nav-vertical li>a span {
        position: relative;
        text-align: left;
        top: 0;
    }

    .nav>li>a>i.icon-search {
        font-size: 1.2em !important;
    }

    .col, .columns, .gallery-item, .row-small>.col,
    .row-small>.flickity-viewport>.flickity-slider>.col, .container {
        padding: 0 12px 0;
    }

    .main-banner .banner {
        padding-top: 100% !important;
    }

    .main-banner .text-box h2 {
        font-size: 3.5rem;
    }

    .main-section .row {
        margin-top: 7.2rem;
    }

    .main-section h3 {
        margin-top: 12px;
        font-size: 2.4rem;
    }

    .home-services h3 {
        font-size: 2.4rem;
    }

    .home-services p {
        font-size: 2.4rem;
    }

    .home-supports .col {
        padding-bottom: 12px;
    }

    .home-supports .image-cover {
        padding-top: 50% !important;
    }

    .home-posts .main-col {
        padding-left: 0;
    }

    .home-posts .slider-style-container .flickity-slider>* {
        margin-right: 12px;
    }

    .slider-wrapper .flickity-prev-next-button {
        display: block;
    }

    .product-categories .row .col.large-3 {
        margin-bottom: 7.2rem;
    }

    #main .row.category-page-row {
        margin-top: 7.2rem;
    }

    .main-bottom.product-categories {
        margin-bottom: 0;
    }

    .filter-categories {
        justify-content: end;
    }

    .product-small.col {
        margin-bottom: 4.8rem;
    }

    .product-title-container h1 {
        font-size: 2.4rem;
    }

    .cs-product-gallery .img .img-inner {
        padding-top: 100% !important;
    }

    .product-short-description {
        margin-top: 30px;
    }

    .descriptions-type-2 .col.large-3 {
        margin-bottom: 4.8rem;
    }

    .descriptions-type-2 .col.large-3:last-child {
        margin-bottom: 0;
    }

    .small-nav-collapse>li, .small-nav-collapse>li a {
        width: unset;
    }

    .small-nav-collapse>li {
        margin-left: 20px !important;
    }

    .single-product .section-breabcrum .breadcrumbs {
        margin-top: 4rem;
    }

    .section-breabcrum h1 {
        font-size: 3.5rem;
        margin-top: 4rem;
    }

    .blog-single .section-breabcrum {
        margin-bottom: 7.2rem;
    }

    .home-services .row,
    .blog-wrapper .section+.row:not(.row-collapse) {
        margin-top: 7.2rem;
    }

    .home-services h1 {
        font-size: 3.5rem;
    }

    .about-banner .img .img-inner {
        padding-top: 100% !important;
    }

    .transparent div.header-wrapper {
        background-color: transparent !important;
    }

    .header-main .nav>li>a {
        color: var(--fs-color-secondary);
    }

    #footer h3 {
        font-size: 2.4rem;
        margin-bottom: 3.6rem;
    }
}
