/*
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-family: "roboto", Arial, Helvetica, sans-serif;
    font-weight: 400;
    padding: 0;
    margin: 0;
    font-size: 15px;
    background: #fff;
    line-height: 18px;
    color: #555;
} */


@font-face {
    font-family: 'Calibri';
    src: url('/wp-content/themes/flatsome-child/assets/fonts/calibri.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body>* {
    font-family: 'Calibri', sans-serif;
}

.nav-dropdown-default {
    top: 54px;
}

.header-block-block-1 h4 {
    margin-bottom: 0px;
}

li.html.custom.html_topbar_left strong {
    color: #546421;
    font-size: 16px;
}

.header-search-form-wrapper {
    width: 400px;
}

.header-search-form-wrapper input {
    height: 45px;
}

.header-search-form-wrapper button.ux-search-submit {
    height: 45px;
    width: 50px;
}

.gtranslate_wrapper {
    display: flex;
    gap: 20px;
}

ul.nav.top-bar-nav.nav-right {
    display: flex;
    gap: 10px;
}

.flex-col.hide-for-medium.flex-right {
    width: 790px;
}

ul.header-nav.header-nav-main.nav.nav-right {
    display: flex;
    flex-flow: nowrap;
    gap: 22px;
}

.image-icon img {
    max-width: 50px;
    min-width: 100%;
}

.icon-box.featured-box.icon-box-left.text-left {
    display: flex;
    align-items: center;
}

.header-bottom-nav {
    background-color: #546421;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: stretch;
}

.header-bottom-nav>li.menu-item {
    margin: 0;
    display: flex;
}

.header-bottom-nav>li.menu-item>a.nav-top-link {
    color: #ffffff;
    padding: 17px 25px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header-bottom-nav>li.menu-item:hover>a.nav-top-link,
.header-bottom-nav>li.menu-item.current-menu-item>a.nav-top-link {
    background-color: #ffffff;
    color: #546421 !important;
}



ul.nav.header-nav.header-bottom-nav.nav-right .social-icons.follow-icons {
    display: flex;
    align-items: center;
}

ul.nav.header-nav.header-bottom-nav.nav-right .social-icons.follow-icons a.icon {
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff !important;
    border-radius: 50% !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    color: #ffffff !important;
    background: transparent !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

ul.nav.header-nav.header-bottom-nav.nav-right .social-icons.follow-icons a.icon i {
    font-size: 16px;
    line-height: 1;
}

ul.nav.header-nav.header-bottom-nav.nav-right .social-icons.follow-icons a.icon:hover {
    background-color: #ffffff !important;
    color: #546421 !important;
    transform: translateY(-2px);
}

.icon-box.featured-box.icon-box-left.text-left p {
    margin-bottom: 0px;
}

.section-footer span.ux-menu-link__text {
    color: #fff;
}

.section-footer a.ux-menu-link__link.flex {
    margin-bottom: -7px;
}

.section-footer span.ux-menu-link__text:hover {
    color: #546421;
}

.icon-box-uy-tin h4.uppercase {
    margin-bottom: 0px;
}

.button.primary.is-link.btn-view-all::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='%23546421'/><path d='M11 8l4 4-4 4v-3H8v-2h3V8z' fill='%23ffffff'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    margin-bottom: -5px;
}

.button.primary.is-link.btn-view-all:hover {
    color: #3d4a16 !important;
    background: transparent !important;
}

.button.primary.is-link.btn-view-all:hover::after {
    transform: translateX(4px);

}

.img-partner {
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 105px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.img-partner .img-inner img {
    max-width: 100%;
    max-height: 85px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.img-partner:hover {
    border-color: #e0e0e0 !important;
}

.menu-flex {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 30px;
}

.menu-flex .menu-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.menu-flex .menu-item::after {
    content: "|";
    position: absolute;
    right: -17px;
    color: #ccc;
    font-size: 14px;
    pointer-events: none;
}

.product-small.box {
    border: 1px solid #e5e5e5;
    background: #ffffff;
    padding: 0px 10px 20px 10px;
    border-radius: 0px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.product-small.box .box-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
}

.product-small.box .box-image img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-small.box .box-text {
    padding: 15px 0 0 0;
    text-align: left;
}

.product-small.box .title-wrapper {
    height: 44px;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-small.box .image-zoom a {
    display: flex;
    justify-content: center;
}

.product-small.box .title-wrapper .product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-small.box .title-wrapper .product-title a {
    color: #000;
}

.custom-contact-price {
    font-size: 14px;
    color: #ff3b30;
    font-weight: bold;
    margin-bottom: 12px;
}

.btn-request-quote {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #eeeeee;
    color: #444444;
    padding: 12px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    border: none;
}

.btn-request-quote .icon-quote {
    width: 14px;
    height: 14px;
    fill: #555555;
    margin-right: 6px;
    transition: fill 0.3s ease;
}

.product-small.box:hover .btn-request-quote {
    background-color: #3d4a16;
    color: #ffffff;
}

.product-small.box:hover .btn-request-quote .icon-quote {
    fill: #ffffff;
}

.post-title {
    margin-bottom: 8px;
}

.post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: 44px;
    color: #000;
}

.custom-post-meta {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666666;
    margin: 14px 0px;
    padding: 5px 0px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.custom-post-meta .meta-date {
    display: flex;
    align-items: center;
    color: #666666;
}

.custom-post-meta .icon-clock {
    width: 14px;
    height: 14px;
    fill: #666666;
    margin-right: 5px;
}

.custom-post-meta .meta-divider {
    margin: 0 8px;
    color: #cccccc;
}

.custom-post-meta .meta-cat {
    color: #546421;
    font-weight: bold;
    text-transform: uppercase;
}

.slider-partner .img-partner {
    height: auto !important;
}

.menu-gt {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    margin-left: 30px;
}

.menu-gt .menu-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.menu-gt .menu-item a {
    text-transform: uppercase;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
    flex-grow: 1;
    font-size: 14px;
}

.menu-gt .menu-item::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='%23333333'/><path d='M11 8l4 4-4 4v-3H8v-2h3V8z' fill='%23ffffff'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s ease;
}

.menu-gt .menu-item:hover a,
.menu-gt .menu-item.active a {
    color: #546421 !important;
}

.menu-gt .menu-item:hover::after,
.menu-gt .menu-item.active::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='%233d4a16'/><path d='M11 8l4 4-4 4v-3H8v-2h3V8z' fill='%23ffffff'/></svg>");
}

.blog-vertical-small .box-image {
    display: none;
}

.blog-vertical-small .box-text.text-left {
    padding: 0px;
}

.blog-vertical-small .col.post-item {
    margin-bottom: -28px;
}

.row.category-page-row {
    display: flex;
    align-items: flex-start;
}

.row.category-page-row>.col {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    z-index: 99;
}

h1.product-title.product_title.entry-title {
    font-size: 24px;
    text-transform: none;
}

h5.post-title.is-large a:hover {
    color: #546421;
}

h1.entry-title {
    font-size: 22px;
}

.entry-content {
    padding-bottom: 1.5em;
    padding-top: 0px;
}

.entry-header-text.entry-header-text-top {
    padding-bottom: 0px;
}

.blog-single .custom-breadcrumb-wrapper {
    padding: 0px;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/


}