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

body {
    font-size: 16px;
    line-height: 1.5;
}




h1 {
    font-size: 2em;
    line-height: 1.3;
    margin: 0 0 15px;
}

h2 {
    font-size: 1.6em;
    line-height: 1.3;
    margin: 0 0 15px;
}

h3 {
    font-size: 1.4em;
    line-height: 1.3;
    margin: 0 0 15px;
}

h4 {
    font-size: 1.2em;
    line-height: 1.3;
    margin: 0 0 20px;
}

h5 {
    font-size: 1em;
    line-height: 1.3;
    margin: 0 0 15px;
}

h6 {
    font-size: 0.9em;
    line-height: 1.3;
    margin: 0 0 15px;
    opacity: 1;
}




@font-face {
    font-family: 'Product Sans';
    src: url('../assets/font/ProductSans-Regular.otf') format('opentype');
}

p {
    font-family: 'Product Sans', sans-serif;
    color: #000;
}

/*.text h1,*/
/*.text h2,*/
/*.text h3,*/
/*.text h4,*/
/*.text h5,*/
/*.text h6 {*/
/*font-size: inherit;*/
/*}*/
b,
strong {
    font-weight: 700;
}

.banner h1,
.banner h2,
.banner h3 {
    font-weight: 700;
}

.uppercase,
h6,
span.widget-title,
th {
    letter-spacing: 0;
    line-height: 1.3;
}

h6,
span.widget-title,
th {
    text-transform: inherit;
}

blockquote,
dl,
figure,
ol,
p,
pre,
ul {
    margin: 0 0 15px;
}

form {
    margin: 0;
}

.justify p {
    text-align: justify;
}

.icon-box .icon-box-left,
.icon-box .icon-box-right {
    display: flex;
}

p:last-of-type {
    margin: 0;
}

.rd-20 {
    border-radius: 20px;
    overflow: hidden;
}

.rd-25 {
    border-radius: 25px;
    overflow: hidden;
}

.col-inner>.img:not(:last-child),
.col>.img:not(:last-child) {
    margin-bottom: 15px;
}

.container .row-small:not(.row-collapse),
.row .row-small:not(.row-collapse) {
    margin-bottom: 0;
    margin-left: -10px;
    margin-right: -10px;
}

.row-small>.col,
.row-small>.flickity-viewport>.flickity-slider>.col {
    margin-bottom: 0;
    padding: 0 10px 30px;
}

.icon-box-left .icon-box-text {
    padding-left: 10px;
}

.icon-box-right .icon-box-text {
    padding-right: 10px;
}

.site-scrollbar {
    max-height: 460px;
    overflow-y: auto;
}

.site-scrollbar::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
    border-radius: 0;
    /*background-color: #F5F5F5;*/
    background-color: transparent;
}

.site-scrollbar::-webkit-scrollbar {
    width: 5px;
    background-color: #F5F5F5;
}

.site-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 0;
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);*/
    background-color: var(--primary-color);
}

.button {
    margin-bottom: 0;
}

/* Header */
.header-main .flex-col.flex-left {
    order: -1;
    width: calc(50% - 70px);
    max-width: calc(50% - 70px);
}

.header-main .flex-col.flex-right {
    width: calc(50% - 70px);
    max-width: calc(50% - 70px);
}

.header-main .logo-left .logo {
    margin-left: 20px;
    margin-right: 20px;
}

.header-top .nav>li>a {
    font-size: 14px;
}

.header-top .nav .cart-icon {
    margin: 0;
}

.header-top .nav .cart-icon strong {
    height: 18px;
    line-height: 16px;
    margin: 0;
}

.nav-dropdown-default {
    padding: 10px;
}

/* Footer */
.footer-wrapper .absolute-footer {
    display: none;
}

.footer-wrapper .ux-menu .ux-menu-link {
    padding-bottom: 10px;
}

.footer-wrapper .ux-menu .ux-menu-link:last-child {
    padding-bottom: 0;
}

.footer-wrapper .ux-menu .ux-menu-link__link {
    min-height: auto;
    padding: 0;
    font-size: 16px;
    color: #fbfcf6;
    transition: 0.5s;
}

.footer-wrapper .ux-menu .ux-menu-link__link:hover {
    color: var(--fs-color-secondary);
}

.section-footer-bottom .col {
    padding-bottom: 10px;
}

.section-footer-bottom a {
    color: #fbfcf6;
}

.section-footer-bottom a:hover {
    color: #eb923e;
}

.row-social-fixed {
    position: fixed;
    width: auto;
    height: auto;
    bottom: 61px;
    right: 20px;
    z-index: 99;
    margin: 0 !important;
    text-align: right;
}

.row-social-fixed .col {
    padding: 0 !important;
}

.row-social-fixed .img a {
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    position: relative;
    display: flex;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 0 20px;
}

.row-social-fixed .img a:before {
    content: "";
    width: 50px;
    height: 50px;
    top: -5px;
    right: -5px;
    position: absolute;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: imgpulse;
    background-color: rgba(7, 41, 103, 0.35);
    opacity: .4;
}

.row-social-fixed .img a:after {
    content: "";
    width: 50px;
    height: 50px;
    top: -5px;
    right: -5px;
    position: absolute;
    background-color: transparent;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid rgba(7, 41, 103, 0.8);
    opacity: .1;
    border-color: var(--primary-color);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: imgzoomIn;
    opacity: .5;
}

.row-social-fixed .img img {
    padding: 0;
    width: 23px;
    height: auto;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}

@keyframes imgzoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    50% {
        opacity: 1;
    }
}

@keyframes imgpulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

/* Tin tức */
.blog-archive.page-wrapper {
    padding-bottom: 0;
}

.blog-single.page-wrapper {
    padding-top: 15px;
    padding-bottom: 15px;
}

.flickity-slider .col.post-item {
    padding-bottom: 0;
}

.post-item .image-cover {
    padding-top: 100%;
}

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

.post-item .box-text-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.post-item .box-text-inner .post-title a {
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.post-item .box-text-inner .from_the_blog_excerpt {
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    text-align: justify;
    color: #000;
}

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

.banner-tin-tuc h1 {
    text-align: center;
    margin: 45px 0 30px;
    text-transform: uppercase;
}

.border-left>*:first-child,
.banner-tin-tuc h1 span {
    display: inline-block;
    width: auto;
    border-left: 12px #efdeca solid;
    padding-left: 20px;
}

.border-left-sub>*:first-child {
    display: inline-block;
    width: auto;
    border-left: 12px #efdeca solid;
    padding-left: 20px;
}

.banner-tin-tuc .list-cats {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
}

.banner-tin-tuc .list-cats li {
    padding: 0 15px;
}

.banner-tin-tuc .list-cats a {
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    padding: 10px 45px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: 0.5s;
}

.banner-tin-tuc .list-cats .active a,
.banner-tin-tuc .list-cats a:hover {
    border: 1px solid var(--primary-color);
    color: #fbfcf6;
    background: var(--primary-color);
}

/* Câu chuyện thương hiệu */
.site-core-values .col {
    padding-top: 55px;
}

.site-core-values .icon-box .icon-inner {
    display: flex;
    width: 110px;
    height: 110px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color);
    background: #fbfcf6;
    border-radius: 50%;
    overflow: hidden;
    margin-top: -55px;
}

.site-core-values .icon-box .icon-inner svg,
.site-core-values .icon-box .icon-inner img {
    width: 55px;
}

/* Liên hệ */
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid #000;
    border-radius: 90px;
    color: #000;
}

.wpcf7-form textarea {
   border-radius: 20px;
    resize: none;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #282828; 
    opacity: 1;
}

.wpcf7-form input::-ms-input-placeholder,
.wpcf7-form textarea::-ms-input-placeholder {
    color: #fbfcf6;
}

.col-form-contact>.col-inner {
    position: relative;
    background: #fbfcf6;
    z-index: 1;
}

/* .col-form-contact>.col-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(45deg, #4d8d43, #a8d147);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
} */

.col-form-contact > .col-inner { position: relative; border-radius: 24px; z-index: 0; } /* Viền ngoài (xanh non) */ .col-form-contact > .col-inner::before { content: ""; position: absolute; inset: 0; border-radius: 24px; border: 10px solid #a8d147; z-index: -2; } /* Viền trong (xanh đậm) */ .col-form-contact > .col-inner::after { content: ""; position: absolute; inset: 4px; /* Cách đều với viền ngoài */ border-radius: 20px;     border: 6px solid #4d8d43; /* Viền trong */ z-index: -1; }



/*.wpcf7-form p {*/
/*position: relative;*/
/*text-align: center;*/
/*}*/
/*.wpcf7-form p .wpcf7-submit {*/
/*position: relative;*/
/*}*/

/* Dịch vụ */
.site-services .post-item .image-cover {
    padding-top: 61%;
    border-radius: 25px;
    overflow: hidden;
}

.site-services .post-item .box-text {
    padding: 0;
    font-size: 18px;
}

.site-services .post-item:nth-child(odd) .box-text {
    order: -1;
}

.site-services .post-item .box-text .box-text-inner {
    max-width: 300px;
    margin-left: auto;
}

.site-services .post-item:nth-child(odd) .box-text-inner {
    margin-left: 0;
}

.site-services .post-item .box-text-inner {
    max-width: 300px;
}

.site-services .post-item .price-regular {
    font-size: 26px;
    color: #be1212;
    font-weight: 700;
    margin: 0;
}

.site-services .post-item .price-sale {
    font-size: 18px;
    color: #ccc;
    text-decoration: line-through;
    margin: 0;
}

.site-services .post-item .title-content {
    margin: 0 0 10px;
    font-size: 18px;
}

#popup-book-tour {
    background: var(--fs-color-secondary);
}

/* Sản phẩm */
.product-info {
    padding-top: 0;
}

.product-info .woocommerce-breadcrumb {
    display: none;
}

.product-info .product-title {
    text-transform: uppercase;
}

.product-info .price-wrapper .price,
.product-info .product-short-description {
    margin: 0 0 15px;
}

.product-info span.amount {
    color: #be1212;
    font-size: 26px;
}

.product-small .box-image .image-zoom {
    background-position: 50% 50%;
    background-size: cover;
    height: auto;
    padding-top: 90%;
    position: relative;
    background: #fbf8f3;
    border-radius: 20px;
    overflow: hidden;
}

.product-small .box-image .image-zoom img {
    position: absolute;
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.product-small .box-text {
    padding: 15px 0 39px 0;
    position: relative;
}

.product-small .product-title {
    font-size: 1.15em;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px;
}

.product-small .product-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.product-small .price-wrapper .price {
    margin: 0 0 15px;
    text-align: center;
}

.product-small span.amount {
    font-size: 26px;
    font-weight: 700;
    color: #be1212;
}

.product-small .add-to-cart-button a {
    position: absolute;
    font-size: 14px;
    width: 180px;
    height: 36px;
    min-height: auto;
    line-height: 36px;
    left: calc(50% - 90px);
    bottom: 0;
    background: var(--primary-color);
    border-radius: 60px;
    margin: 0;
    border: none;
    padding: 0;
    color: #fbfcf6;
    text-align: center;
}

.cart .quantity {
    padding: 9px;
    background: var(--primary-color);
    border-radius: 60px;
    overflow: hidden;
}

.cart .quantity input[type=number] {
    width: 61px;
    max-width: none;
    height: 32px;
    min-height: auto;
    text-align: center;
    line-height: 32px;
    background: #fbfcf6;
    border-radius: 60px !important;
    font-size: 25px;
    color: #000000;
    box-shadow: none;
    border: none;
    text-shadow: none;
    outline: none;
}

.cart .quantity input[type=button] {
    height: 28px;
    min-height: auto;
    text-align: center;
    line-height: 1;
    background: transparent;
    font-size: 25px;
    box-shadow: none;
    border: none;
    outline: none;
    text-shadow: none;
    color: #fbfcf6;
}

.single_add_to_cart_button {
    border-radius: 60px;
}

.product-main {
    padding: 45px 0;
}

.single-product #main {
    padding-bottom: 30px;
}

.shop-page-title .page-title-inner {
    padding-top: 45px;
}

#main, #wrapper , .shop-page-title{
    background-color: #fbfcf6;
    position: relative;
}

#order_comments {
  resize: none;
}

.shop-page-title .flex-col {
    text-align: center;
}

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

.shop-page-title h1.shop-page-title {
    font-size: 2em;
    display: inline-block;
    width: auto;
    border-left: 12px #efdeca solid;
    padding-left: 20px;
    text-transform: uppercase;
}

.widget .widget-title {
    display: block;
    font-weight: 700;
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 0 0 15px;
}

.widget .is-divider {
    display: none;
}

.widget ul li {
    margin-bottom: 5px;
    border: none !important;
}

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

.widget>ul>li ul {
    border: none;
    margin: 0;
    padding-left: 10px;
}

.widget>ul>li ul li {
    margin-top: 5px;
    border: none !important;
}

.widget ul li a,
.widget>ul>li li>a {
    padding: 0 0 0 29px;
    border: none;
    position: relative;
}

.widget ul li.current-cat>a {
    font-weight: 400;
}

.widget ul li>a:hover,
.widget ul li.chosen>a,
.widget ul li.current-cat>a {
    color: #4d8d43;
}

.widget ul li a:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px #4d8d43 solid;
    border-radius: 2px;
    top: 1px;
    left: 0;
}

.widget ul li>a:hover:before,
.widget ul li.chosen>a:before,
.widget ul li.current-cat>a:before {
    border-color: #4d8d43;
    background: #4d8d43;
}

body .widget li.chosen a:before {
    color: var(--fs-color-alert);
    content: "";
    display: inline-block;
    margin-right: 0;
    opacity: 1;
    border: 2px var(--fs-color-alert) solid;
    position: absolute;
    top: 0;
    border-radius: 2px;
    height: 20px;
    line-height: 1px;
    text-align: center;
    width: 20px;
}

.widget ul li>span {
    display: none;
}

.widget_price_filter .ui-slider-horizontal {
    height: 8px;
    background: #D9D9D9;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--fs-color-secondary);
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #ffffff;
}

.widget_price_filter .ui-slider .ui-slider-handle:after {
    content: "";
    position: absolute;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
    border: 5px var(--fs-color-secondary) solid;
    border-radius: 50%;
}

.widget_price_filter .price_slider_amount .button {
    background-color: var(--fs-color-secondary);
}

#billing_first_name_field.form-row-first,
#billing_address_1_field.form-row-first {
    float: none;
    width: 100%;
    margin-right: 0;
}

/* Trang chủ */
.site-scroll-container {
    height: 1025px; /*670*/ 
    padding-bottom: 0;
    overflow: hidden;

}

.site-scroll-container>.col-inner {
    animation: scroll 20s linear infinite;
}

.site-scroll-container img {
  border-radius: 20px;
	display: block;}


@keyframes scroll {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.travel-experience .post-item .box-text {
    transition: 0.5s;
    z-index: 10;
}

.travel-experience .post-item .box:hover .box-text {
    bottom: 36%;
}

.travel-experience .post-item .box-image {
    border-radius: 20px;
    overflow: hidden;
}

.travel-experience .post-item .box-image a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.travel-experience .post-item .box-image a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--fs-color-secondary);
    opacity: 0;
    transition: 0.5s;
    z-index: 9;
}

.travel-experience .post-item .box:hover .box-image a:before {
    opacity: 0.6;
}

.travel-experience .post-item .box-text-inner {
    align-items: center;
}

.travel-experience .post-item .post-title {
    text-transform: uppercase;
}

.travel-experience .post-item a.button {
    text-transform: none;
    max-width: 160px;
    font-size: 16px;
    margin: 0;
    border-radius: 90px;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.travel-experience .post-item .box:hover a.button {
    opacity: 1;
    visibility: visible;
}

@media only screen and (min-width: 950px) {
    .blog-single>.row>.col {
        flex-basis: 83.3333333333%;
        max-width: 83.3333333333%;
    }
}

@media only screen and (max-width: 48em) {
    .mobile-top.col {
        order: -1;
    }


    i.icon-menu {
        color: #4D8D43;
    }

    h1 {
        font-size: 26px;
    }

    .product-small .add-to-cart-button a {
        font-size: 12px;
        left: 0px;
    }

    .product-small span.amount {
        font-size: 22px;
        font-weight: 700;
        color: #be1212;
    }

    h5.post-title.is-large {
        font-size: 18px;
    }

    .banner-tin-tuc .list-cats a {
        display: inline-block;
        border: 1px solid var(--primary-color);
        color: var(--primary-color);
        font-size: 10px;
        font-weight: 700;
        padding: 7px 11px;
        border-radius: 50px;
        text-transform: uppercase;
        transition: 0.5s;
    }

    .banner-tin-tuc .list-cats li {
        padding: 0 8px;
    }
}