/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
@font-face {
  font-family: Grovana-Regular;
  src: url(./fonts/Grovana-Regular.otf);
}
@font-face {
  font-family: Grovana-Regular-Round;
  src: url(./fonts/Grovana-Regular-Round.otf);
}
@font-face {
  font-family: Grovana-Medium;
  src: url(./fonts/Grovana-Medium.otf);
}
@font-face {
  font-family: Grovana-Medium-Rough;
  src: url(./fonts/Grovana-Medium-Rough.otf);
}
@font-face {
  font-family: Grovana-Bold-Rough;
  src: url(./fonts/Grovana-Bold-Rough.otf);
}
@font-face {
  font-family: Marseille_Regular;
  src: url(./fonts/Marseille_Regular.otf);
}
@font-face {
  font-family: Marseille_Bold;
  src: url(./fonts/Marseille_Bold.otf);
}
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
/*************** ADD CUSTOM CSS HERE.   ***************/
body {
	max-width: 100%;
	overflow: hidden;
}

.heading-custom h1,
.heading-custom h2,
.heading-custom h3,
.heading-custom h4,
.heading-custom h5 {
    font-family: Grovana-Bold-Rough;
}
.heading-custom-2 h1,
.heading-custom-2 h2,
.heading-custom-2 h3,
.heading-custom-2 h4,
.heading-custom-2 h5 {
  font-family: Grovana-Regular-Round;
}
.heading-custom-3 h1,
.heading-custom-3 h2,
.heading-custom-3 h3,
.heading-custom-3 h4,
.heading-custom-3 h5 {
  font-family: Grovana-Medium;
}
.font-marseille-bold h4, 
.font-marseille-bold strong {
    font-family: Marseille_Bold;
} 
.font-marseille {
    font-family: Marseille_Regular;
}
.heading-custom-normal h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: inherit;
}
.jakarta h2,
.jakarta h3,
.jakarta h4 {
    font-weight: 500;
    margin-bottom: 6px;
}
.jakarta,
.jakarta h2,
.jakarta h3,
.jakarta h4 {
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: inherit;
}
.header:not(.transparent) .header-nav-main.nav > li > a {
    font-size: 16px;
    font-family: Grovana-Regular-Round;
}
.button.is-underline:before {
    left: 0;
    width: 100%;
    opacity: 1;
}
.accordion-title {
    padding-left: 0;
    font-size: 24px;
    font-weight: 500 !important;
}
.accordion .toggle {
    right: 0;
    left: auto;
    text-transform: none;
}
.askquestion-col .accordion-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-weight: 700 !important;
}
.success.is-outline {
    font-family: "Plus Jakarta Sans", sans-serif;
}
.category .col.post-item .box-text {
    padding: 15px;
}
.category .col.post-item .box-text .post-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.box-contact input.wpcf7-form-control {
    background-color: #F5F5F5;
    height: 60px;
    border: none !important;
    box-shadow: none;
    padding-left: 30px;
    padding-right: 30px;
}
.box-contact textarea.wpcf7-form-control {
    background-color: #F5F5F5;
    border: none !important;
    box-shadow: none;
    padding-left: 30px;
}
.box-contact input.wpcf7-form-control.wpcf7-submit {
    background-color: #986438 !important;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-transform: none;
}
input.wpcf7-form-control.wpcf7-submit {
    margin-bottom: 0;
    font-family: Marseille_Bold;
    border-radius: 6px !important;
}
.txt p {
    margin-bottom: 10px;
}
.product-slide2 .banner-bg {
    border-radius: 0 0 20px 20px !important;
}
.product-slide2 .flickity-prev-next-button {
    opacity: 1;
    visibility: visible;
    top: -33px;
    bottom: auto;
    font-size: 11px;
    right: 30px;
    left: auto;
}
.product-slide2 .flickity-prev-next-button.next {
    right: 0;
}
.product-slide2 .flickity-page-dots {
    left: 10px;
    margin: 0;
    width: auto;
    right: auto;
    top: -26px;
}
.flickity-page-dots .dot {
    border-color: #DDE1E6;
    background-color: #DDE1E6;
}
.flickity-page-dots .dot.is-selected {
    border-color: #DDE1E6 !important;
    background-color: #fff;
}

.box-blog-post h3 {
    font-family: Grovana-Regular-Round;
    font-size: 28px;
}
.button {
    color: #D7C3A0;
    font-family: Grovana-Regular-Round;
    padding-top: 3px;
}
#footer p {margin-bottom:5px;}
#footer ul {list-style:none; margin-bottom:0; margin-left:0;}
#footer li {margin-left:0; margin-bottom:5px;}
.header-bottom-nav > li > a {text-transform:uppercase;}
.page-title-bar .title {display:none;}
.page-title-bar {padding-top:10px; padding-bottom:10px;}
form {margin-bottom:0;}
.wpcf7-spinner {display:none;}
.header-main .nav > li > a {margin-right:30px;}
.accordion-title {font-weight:600;}
.accordion-title {border-top:1.3px solid}
.danhmuc-ban:hover .danhmuc-box {background:rgba(141, 85, 36, 0.541);}
.box-blog-post .is-divider {display:none;}
.from_the_blog_excerpt  {font-size:14px; color:#000;}
.box-blog-post {border-radius:10px;}
.has-shadow>.col>.col-inner {border-radius:10px;}
.box-blog-post .box-image {border-radius:10px 10px 0px 0px;}
.box-blog-post .post-title {font-size:25px; font-weight:500;}
.post-meta {color:#000;}
.success.is-link, .success.is-outline, .success.is-underline {color:#4B2E2B; font-weight:500;}
.box-blog-post {
    border:1px solid; 
    border-color:#FFF; 
    border-radius:10px; 
    transition: opacity 0.5s ease;
}
.box-blog-post:hover {border:1px solid #4B2E2B; border-radius:10px;}
.box-blog-post:hover .box-text {background:#FFF4E0; border-radius:10px}

.box-blog-post:hover .from_the_blog_excerpt {font-weight:600; color:#4C6043;}
.box-blog-post:hover .button {font-weight:600;}
.box-blog-post .post-title {
    font-family: Grovana-Regular;
    color: #000;
    transition: opacity 0.5s ease;
}
.box-blog-post:hover .post-title {
    font-family: Grovana-Medium;
    color: #4B2E2B;
}
.box-blog-post .button {
    font-family: Marseille_Regular;
}
.box-blog-post:hover .button {
    font-family: Marseille_Bold;
}
p.from_the_blog_excerpt {
    font-family: Marseille_Regular;
    font-size: 16px;
}
.button.is-underline:before {height:1px;}
.absolute-footer {display:none;}
input {border:1px solid #788970 !important; border-radius:7px !important;}
textarea {
    border-radius: 6px;
    border:1px solid #788970
}
::placeholder {color:#788970 !important; opacity:1.1;}
input[type=submit] {background-color:#4C6043 !important; border-radius:0 !important; border-color:#4C6043 !important;}

h1.heading {
    font-size: 50px;
    text-align: center;
    margin-bottom: 30px;
}
.tax-skin_conitions_cat .page-title-bar {
    display: none;
}
.popular_articles__block {
    padding: 40px 0;
}
.tax-post .tax-post-item {
    text-align: center;
}
.tax-post .tax-post-item .post-title {
    font-size: 30px;
    margin-bottom: 15px;
}
.tax-post .tax-post-item .post-excerpt {
    text-align: justify;
}
.tax-post .tax-post-item .post-thumbnail {
    margin-bottom: 30px;
}
.tax-post .tax-post-item .post-thumbnail img {
    height: 401px;
    object-fit: cover;
}
.group-links {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Đảm bảo các link đều có khoảng cách */
}

.group-links .link-item {
    width: 48%; /* Mỗi link chiếm 50% chiều rộng của container */
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end; /* Căn dưới cùng cho các link */
}

.group-links .link-item a {
    color: #AB9482;
    text-decoration: none;
    font-size: 14px;
    text-decoration: underline;
}

.group-links .link-item a:hover {
    color: #000;    
}

/* 1. Cấu hình khung bao ngoài */
.row-slider-focus {
    opacity: 0; /* Ẩn lúc đầu để tránh vỡ layout khi chưa load JS */
    transition: opacity 0.5s ease;
    padding-top: 40px; /* Tạo khoảng trống cho item phóng to */
    padding-bottom: 40px;
}

.row-slider-focus.slick-initialized {
    opacity: 1; /* Hiện lại khi đã load xong */
    display: block; /* Ghi đè display:flex của Flatsome */
}

/* 2. Cấu hình cho từng Item (Cột) */
.row-slider-focus .col {
    width: 100%; /* Reset width của Flatsome để Slick tự tính toán */
    max-width: 100%;
    margin: 0px; 
    transition: all 0.4s ease-in-out; /* Tạo chuyển động mượt */
    transform: scale(0.85); /* Mặc định thu nhỏ các item bên cạnh */
    opacity: 0.6; /* Làm mờ nhẹ các item bên cạnh */
}

/* 3. Hiệu ứng cho Item Ở GIỮA (Center) */
.row-slider-focus .col.slick-center {
    transform: scale(1.15); /* Phóng to item chính giữa */
    opacity: 1;
    z-index: 10;
    position: relative;
}

/* Tùy chỉnh nút Next/Prev (nếu cần) */
.row-slider-focus .slick-prev, 
.row-slider-focus .slick-next {
    z-index: 20;
    width: 40px;
    height: 40px;
}
.row-slider-focus .slick-prev { left: -20px; }
.row-slider-focus .slick-next { right: -20px; }
.row-slider-focus .slick-prev:before, 
.row-slider-focus .slick-next:before {
    color: #333; /* Màu mũi tên */
    font-size: 30px;
}
/* 1. Mặc định ẩn Text của tất cả các item */
.row-slider-focus .col .box-text {
    opacity: 0;                  /* Làm trong suốt */
    visibility: hidden;          /* Ẩn khỏi tầm nhìn và không click được */
    transform: translateY(15px); /* Đẩy text xuống dưới một chút (để tạo hiệu ứng trồi lên) */
    transition: all 0.3s ease;   /* Tạo hiệu ứng chuyển đổi mượt mà */
}

/* 2. Chỉ hiện Text của item đang ở GIỮA (slick-center) */
.row-slider-focus .col.slick-center .box-text {
    opacity: 1;                  /* Hiện rõ */
    visibility: visible;         /* Hiển thị lại */
    transform: translateY(0);    /* Trả về vị trí chuẩn */
    transition-delay: 0.2s;      /* Chờ 0.2s sau khi ảnh phóng to xong thì text mới hiện ra cho đẹp */
}
.slick-list {
    padding-top: 30px !important;
}
.slick-dots {
    bottom: 0 !important;
}
.dark .slick-dots li {
    margin: 0 !important;
}
.dark .slick-dots li button:before {
    color: #fff !important;
}
@media only screen and (min-width: 1024px) {
    .widget ul.menu > li {
        position: relative;
    }
    .widget ul > li.has-child:hover >.sub-menu{
        display:block !important;
    }
    .widget ul.menu ul.sub-menu {
        display: none !important;
        position: absolute;
        width: 100%; 
        left:99%;
        top: 0;
        z-index: 999;
        border: 1px solid #e1e1e1 !important;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    .widget .toggle{
        transform: rotate(-90deg);
        margin-right: 10px;
    }
    .widget ul.menu>li li {
        padding: 2px 0;
        border-bottom: 1px solid #e1e1e1;
    }
}

@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .blog-archive .post-sidebar.col {
        padding: 0 15px !important;
    }
    .accordion-title {
        font-size: 18px;
    }

}
/* */
body.nav-dropdown-has-border .nav-dropdown {
    border: none;
    padding: 0;
}
body.nav-dropdown-has-border .nav-dropdown a {
    padding: 10px !important;
    margin: 0 !important;
    border-radius: 0;
	font-family: "Grovana", sans-serif;
	color: #4b2e2b;
}
.post_comments  {
    display: none;
}

/* Sidebar */

/* */
h1.entry-title {
    font-size: 36px;
}
/* */
.product-small.box ins *,
.product-small.box .price > .amount * {
    color: red;
    font-size: 16px;
}
.product-small.box del * {
    color: #333;
}
.product-small.box .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 22px;
    height: 44px;
}
.product-small.box .box-image img {
    height: 200px;
    object-fit: cover;
}
/* */
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes pulse {
    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)
    }
}
.pulse {
    transition: all 150ms linear 0s;
    animation-name: pulse;
    -webkit-animation-name: pulse;
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}

blockquote {

    font-size: 110%;
    color:#666;

    margin: 0 auto;
    border-left:0px;
    margin-left: 20px;
    padding-bottom: 50px;
}
blockquote h1 {
    font-size: 3rem;
}
blockquote p {
    font-style: italic;
    margin-bottom: 0;
}
blockquote p::before,
blockquote p::after {
    content: "“";
    font-family: Georgia;
    font-size: 4rem;
    margin: 0;
    position: absolute;
    opacity: 1;
    color:var(--primary-color);
}
blockquote p::before {
    left: -34px;
    top: 17px;
}
blockquote p::after {
    content: "”";
    margin-top: 24px;
    margin-left: 7px;
}
blockquote cite {
    font-size: 1.5rem;
}
/* */
.cus-mem .person-name {
    font-size: 26px;
    padding-top: 34px;
    display: block;
}
.cus-link a {
    color: inherit;
}
.cus-link p {
    margin-bottom: 10px;
}
.row-cus-3 img {
    height: 274px;
    object-fit: contain;
}
.row-cus-3 .box-image  {
    height: 274px;
}
.ses-member .cus-link p {
    margin-bottom: 3px;
}
/* */
.link-xh .icon  {
    background: #4B2E2B;
    color: #fff;
    line-height: 41px;
    width: 41px;
    display: inline-block;
    border-radius: 100px;
}

.nav>li .sub-menu.nav-dropdown {
    border-radius: 0 0 10px 10px;
}
.nav>li .sub-menu h3 {
    font-size: 25px;
    margin-bottom: 0;
}
.nav>li .sub-menu h4 {
    font-size: 20px;
    margin-bottom: 0;
}
.nav>li .sub-menu .ux-menu-link__link {
    font-family: "Plus Jakarta Sans", sans-serif;
    padding: 6px 0 !important;
    min-height: auto;
    color: #4B2E2B;
    font-size: 16px;
    line-height: 20px;
}
/* */

.testimonial-text blockquote{
    padding: 0;
}
.testimonial-text blockquote p {
   min-height: 225px;
}
/* */
.slider-our .flickity-button{
    opacity: 1;
}
/* */
.ses-myworks .text p  {
    font-family: Grovana-Regular;
    font-size: 14px;
}
.ses-myworks .text h3 {
    font-family: Grovana-Bold-Rough;
	line-height: 1.5em;
    margin-bottom: 15px;
}
.ses-myworks .medium-4 {
    padding-bottom: 0;
}