/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* *** jet-listing custom  *** */

.jet-listing-grid__item {
    padding-top: 15px;
    padding-bottom: 15px;
}

.tpl__listing-item {
    display: block;
    border: #adadad solid 1px;
}

.tpl__listing-item .series-item {
    margin: 0 0 5px;
    color: #adadad;
}

.tpl__listing-item .title-item {
    margin: 0 0 5px;
    font-family: "Urbanist";
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 600;
    color: #170e0b;
}

.tpl__listing-item .desc-item {
    padding: 15px 15px 0;
    margin: 0 0 -5px;
}

.tpl__listing-item .img-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.tpl__listing-item .list-item:not(:last-child) {
    margin: 0 0 5px;
}

.tpl__listing-item .list-item span:not(:last-child):after {
    content: "\30FB";
    margin: 0 -4px 0 0px;
}

.tpl__listing-item .list-item.type2 {
    color: #adadad;
}

.tpl__listing-item .price-item {
    margin: 15px 0 0;
    font-family: "Urbanist";
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    color: #666666;
}

.tpl__listing-item .price-item .price-sold {
    text-decoration-line: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: #94002a;
}

.tpl__listing-item .price-item .text-sold {
    color: #94002a;
    margin-left: 20px;
    font-weight: 700;
}

.is-layout-flow .jet-filter {
    margin-bottom: 30px;
}

.is-layout-flow .jet-filter.jet-smart-filters-hidden {
    margin-bottom: 15px;
}

.is-layout-flow .jet-filter:last-child {
    margin-bottom: 0;
}

/* Community Filter — buttons */
.tpl__checkboxes .jet-checkboxes-list
.jet-checkboxes-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.tpl__checkboxes .jet-checkboxes-list
.jet-checkboxes-list__decorator {
    display: none !important;
}

.tpl__checkboxes .jet-checkboxes-list
.jet-checkboxes-list__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid #c1c1c1;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tpl__checkboxes .jet-checkboxes-list
.jet-checkboxes-list__label {
    margin: 0 !important;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
}

.tpl__checkboxes .jet-checkboxes-list
.jet-checkboxes-list__row {
    margin: 2px;
}

.tpl__checkboxes .jet-checkboxes-list
.jet-checkboxes-list__row:has(input:checked)
.jet-checkboxes-list__button {
    background: #000;
    border-color: #000;
}

.tpl__checkboxes .jet-checkboxes-list
.jet-checkboxes-list__row:has(input:checked)
.jet-checkboxes-list__label {
    color: #ffffff;
}

.tpl__checkboxes .jet-checkboxes-list
.jet-checkboxes-list__row:hover
.jet-checkboxes-list__button {
    border-color: #000;
}

@media (min-width: 1024px) {
    .tpl__filters-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 50px;
        align-self: flex-start;

        max-height: calc(100dvh - 40px);
        overflow-y: auto;
        overflow-x: hidden;

        overscroll-behavior-y: contain;
        scrollbar-width: thin;
    }
}

.post_left_section {
    transition: all 250ms;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.post_left_section.hide-post-left {
    opacity: 0;
    pointer-events: none;
}

#mobile-filter-window-reveal-button img {
    display: block;
    margin-right: 7px;
    width: 20px;
}

#mobile-filter-window-reveal-button .wp-element-button {
    display: flex;
    justify-content: center;
}

#close-filter-mobile {
    margin: -5px -5px -40px;
}

#close-filter-mobile .wp-element-button {
    padding: 5px;
}

#close-filter-mobile img {
    width: 30px;
}

@media (max-width: 767px) {
    .post_left_section {
        position: fixed;
        height: 100vh;
        top: 0;
        left: 0;
        background-color: #fff;
        width: 100%;
        padding: 20px;
        overflow-y: scroll;
        z-index: 99999;
    }
}