/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

.entry-image a img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.entry-image a {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    width: 100%;
    display: block;
}
.entry-image a.entry-image-viewmore {
    display: none;
    aspect-ratio: auto;
	width: auto;
}

.small.home-article-item .entry-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow: hidden;
}

.brand-highlight h2 {
    font-size: 2em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-highlight p {
    font-size: 1.1em;
    line-height: 1.8;
}

.brand-highlight .highlight-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.term-description h2,.product-footer h2,.article-inner h2 {
    color: #2c5f2d;
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 5px solid #97bc62;
}

.term-description h3,.product-footer h3,.article-inner h3 {
    color: #2c5f2d;
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 10px;
}

.term-description p,.product-footer p,.article-inner p {
    margin-bottom: 15px;
    text-align: justify;
}

.article-inner iframe,.term-description iframe,.article-inner iframe,.product-footer iframe,.article-inner .wp-video,.term-description .wp-video,.article-inner .wp-video,.product-footer .wp-video {
    margin: 0 auto;
    width: 100%;
    min-height: 415px;
}

.cta-box {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    border: 3px solid #fff;
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

.cta-box h4 {
    font-size: 1.4em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #ff6b35;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: #2c5f2d;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn svg {
    width: 24px;
    height: 24px;
}

.intro {
    background: #f0f7f0;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #97bc62;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

table th {
    background: #2c5f2d;
    color: white;
    padding: 15px;
    text-align: left;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

table tr:nth-child(even) {
    background: #f9f9f9;
}

table tr:hover {
    background: #f0f7f0;
}

ul,
ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

.faq-section {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.faq-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    color: #2c5f2d;
    margin-bottom: 10px;
}

.conclusion {
    background: linear-gradient(135deg, #2c5f2d 0%, #97bc62 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
}

.conclusion h2 {
    color: white;
    border: none;
    padding: 0;
}

.icon {
    display: inline-block;
    margin-right: 8px;
}

@media (max-width: 768px) {

    h2 {
        font-size: 1.5em;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }

    table {
        font-size: 0.9em;
    }
}

/*************** ADD CUSTOM CSS HERE.   ***************/
.header-button .button i {
    border: 1px solid var(--fs-color-alert);
    border-radius: 50rem;
    padding: 0.4rem;
    font-size: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
}

.header-button .button {
    color: var(--fs-color-alert);
    font-size: 1.2rem
}

.searchform {
    border-radius: 0.25rem;
    overflow: hidden;
}

.searchform input,
.searchform button {
    font-size: 1.05rem;
    border: none !important
}

.searchform .flex-row .flex-col:nth-child(2) {
    position: absolute;
    right: 0;
}

.searchform button {
    background-color: transparent;
    color: var(--fs-color-primary)
}

#secondary .is-divider,
#woocommerce_product_categories-7 .is-divider,
#woocommerce_product_categories-6 .is-divider {
    display: none;
}

#secondary .widget-title,
#woocommerce_product_categories-7 .widget-title,
#woocommerce_product_categories-6 .widget-title {
    background: var(--primary-color);
    color: #fff;
    width: 100%;
    display: block;
    padding: 0.5rem;
}

#secondary ul,
#woocommerce_product_categories-7 ul,
#woocommerce_product_categories-6 ul {
    padding: 0.5rem 0.5rem;
    background-color: var(--fs-color-secondary);
}

.border-1 {
    border: 1px solid #eeeeee
}

.tieu-chi p {
    margin: 0
}

.tieu-chi img {
    padding: 8px
}

.text-overflow {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-overflow p {
    margin: 0
}

.text-overflow-ellipsis {
    text-overflow: ellipsis;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-4 {
    -webkit-line-clamp: 4;
}

.number-circle {
    /* Shape and Size */
    width: 100px;
    height: 100px;
    border-radius: 50%;

    /* Border Styling */
    border: 10px solid rgb(253, 184, 19);
    /* The orange color */
    background-color: transparent;

    /* Text Styling */
    color: rgb(253, 184, 19);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 65px;
    font-weight: bold;

    /* Centering the Number */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Optional: cleaner text rendering */
    box-sizing: border-box;
    cursor: default;
}

.after-none:after {
    display: none
}

.m-auto {
    margin: auto
}

.section-title-normal span,
.section-title-normal {
    border: none !important
}

.absolute-footer {
    display: none !important;
}

.article-item .entry-header {
    background: #eee;
    padding: 0.75rem;
}

.article-item .entry-header-text {
    padding: 0
}

.article-item h3 {
    font-size: 0.878rem;
}

.article-item .entry-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.article-item .entry-image:after {
    content: "";
    background-color: rgb(21 93 44 / 35%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: 0.4s all;
}

.entry-image-viewmore {
    border: 2px solid #fff;
    padding: 0.5rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 999;
    font-weight: bold;
    transition: 0.4s all;
    display: none;
    opacity: 0;
}

.entry-image-viewmore:hover {
    color: #fff !important
}

.article-item:hover .entry-image:after,
.article-item:hover .entry-image-viewmore {
    display: block;
    opacity: 1;
}

.article-item:hover img {
    transform: scale(1.1);
}

.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
    max-width: 100% !important;
}

#wpforms-form-247 .wpforms-field label {
    display: none !important;
}

#wpforms-form-247 .wpforms-field input,
#wpforms-form-247 .wpforms-field textarea {
    padding-left: 47px !important;
    border-radius: 0.25rem !important;
}

#wpforms-form-247 .wpforms-field:after {
    content: "";
    position: absolute;
    left: 0;
    width: 42px;
    height: calc(100% - 30px);
    top: 15px;
    background-color: #eeeeee;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-family: 'fl-icons';
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

#wpforms-form-247 .wpforms-field.wpforms-field-textarea:after {
    align-items: start;
    padding-top: 10px;
}

#wpforms-form-247 .wpforms-field[data-field-id="1"]:after {
    content: "\e901";
}

#wpforms-form-247 .wpforms-field[data-field-id="2"]:after {
    content: "\e600";
}

#wpforms-form-247 .wpforms-field[data-field-id="4"]:after {
    content: "\e003";
}

#wpforms-form-247 .wpforms-field[data-field-id="3"]:after {
    content: "\e017";
}

.page-title {
    text-align: left;
}

.term-description {
    position: relative;
    max-height: 300px;
    overflow: hidden;
}

.term-description.readed {
    max-height: none;
}

.product-archive-readmore {
    position: absolute;
    bottom: 0.5rem;
    background-color: #155d2c;
    color: #fff;
    padding: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.5rem;
    font-size: 1rem;
    margin: 0
}

.widget-area.sticky,
.sidebar-inner.sticky {
    position: fixed;
    top: 0;
    z-index: 999;
}

.productbox-title {
    border-bottom: 1px solid #155d2c;
}

.productbox-title .section-title {
    margin: 0 !important
}

.productbox-title .section-title-main {
    position: relative;
    background: #155d2c;
    color: #fff;
    padding: 5px 15px;
}

.productbox-title .section-title-main:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0px;
    right: -25px;
    border-bottom: 0px solid transparent;
    border-top: 48.39px solid transparent;
    border-left: 25px solid #155d2c;
}

.section-title-container.border-0 .section-title-main {
    border: 0;
}

.section-title-container.border-0 b {
    display: none;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.icon-container {
    margin: 20px 0;
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 3px 5px 3px #d7d7d7;
    border-radius: 50rem;
}

.icon-container svg {
    width: 100px;
    height: 100px;
    fill: #145d2d
}

.choose-us .section-bg {
    opacity: 0.5;
}

.border-b-1 {
    border-bottom: 1px solid #eeeeee;
}

.py-2 {
    padding: 0 0.5rem
}

.product-small p.category {
    min-height: 1.2rem;
    display: block;
    line-height: 1.2rem;
}

.product_info {
    margin-bottom: 0.5rem;
}

.product_cat_list a {
    margin-right: 0.5rem;
}

.home-article-item {
    background-color: transparent;
}

.home-article-item .posted-on {
    display: flex;
    gap: 5px;
}

.small.home-article-item .entry-header-text {
    padding: 0;
}

.small.home-article-item .entry-title {
    font-size: 1rem;
    margin: 0!important;
}

.news_title .news_heading {
    width: auto;
}

.news_title .news_readmore {
    margin-left: auto;
}

.news_title {
    display: flex;
    align-content: center;
    align-items: center;
    border-bottom: 1px solid #155d2c;
    margin-bottom: 1.5em;
}

.woocommerce-tabs .tabs {
    display: none;
}

.tab-panels .panel:not(.active) {
    height: auto;
    opacity: 1;
    visibility: visible;
}

div#review_form_wrapper {
    max-width: 100%;
}

.about-title .section-title {
    width: 100%;
    padding: 0.5rem;
    background-color: #fbfbfb;
    border-radius: 0.5rem;
    border: 1px solid #cbcbcb !important;
    justify-content: center;
}

.about-title .section-title b {
    display: none;
}

.blank-title .section-title {
    justify-content: center;
    margin: 0;
}

.blank-title .section-title b {
    display: none;
}

.ctr-box {
    border: 1px solid #155d2c;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: #d4f1de;
    padding-left: 3rem;
}

.ctr-box ul {
    margin: 0;
    list-style: auto;
}

.ctr-box li a {
    font-weight: bold;
    color: #155d2c;
}

.ctr-box li a:hover {
    color: #289f4e;
}

ul.flex,
ol.flex {
    display: block !important;
    padding: 40px;
}
 
table td,
table th {
    padding: 1.5rem !important;
}

.pr-4 {
    padding-right: 1rem;
}

@media (min-width:1024px) {

    .blog-archive .post-sidebar {
        order: -1;
        border-left: none !important;
        padding: 0
    }

    #footer .section-title-container {
        margin: 0 !important
    }

    #footer .section-title-container .section-title {
        font-size: 1rem !important;
    }
}

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

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

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .tieu-chi p {
        text-align: center;
    }

    .uu-number .col-inner {
        display: flex;
        justify-content: center;
    }

    .uu-info .section-title {
        justify-content: center;
        margin-top: 1rem;
    }

    .uu-info {
        text-align: center;
    }

    .uu-diem .col.medium-6 {
        max-width: 50% !important;
        flex-basis: 50% !important;
    }

    .uu-diem .is-border {
        border: none !important
    }
}
