@import url(/assets/css/base-style.css);
@import url(/assets/css/style.css);
@import url(/assets/css/header.css);
@import url(/assets/css/footer.css);

/* =========================== Sidebar =========================== */

.sidebar {
    height: 100%;
}

    .sidebar .filter-wrapper {
        background-color: var(--bg-white);
        border-radius: var(--border-radius-on-card);
        box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
        margin-bottom: 1rem;
    }

        .sidebar .filter-wrapper .title {
            height: 60px;
            border-bottom: 1px solid var(--bg-color);
            font-size: 17px;
            font-weight: 700;
            padding: 1rem;
        }

        .sidebar .filter-wrapper .title-with-button {
            display: flex;
            justify-content: space-between;
        }

            .sidebar .filter-wrapper .title-with-button button {
                width: fit-content;
                max-width: fit-content;
                min-width: fit-content;
                background-color: var(--bg-white) !important;
                padding: 0;
                transition: scale 0.5 ease-in-out;
            }

                .sidebar .filter-wrapper .title-with-button button:hover {
                    color: var(--primary-color);
                    transform: scale(1.3);
                }

        .sidebar .filter-wrapper .filter-inner {
            padding: 1rem 1.5rem;
        }

            .sidebar .filter-wrapper .filter-inner .filter-check-box {
                display: flex;
                flex-direction: row;
                justify-content: start;
                align-items: center;
                gap: 10px;
                margin-bottom: 0.5rem;
            }

                .sidebar .filter-wrapper .filter-inner .filter-check-box span {
                    font-size: 15px;
                }

        .sidebar .filter-wrapper .selected-filters-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }

        .sidebar .filter-wrapper .selected-filter {
            background-color: var(--primary-color-high-transparent);
            padding: 10px 15px;
            border-radius: 20px;
        }

    .sidebar.sticky {
        position: sticky;
        top: 122px;
        transition: all 0.5s;
        animation: sidebar-animation 0.5s ease;
    }

/* =========================== Ads List =========================== */

.ads-list {
    padding: 0 1rem;
}

    .ads-list .ads-wrapper .ads-card .ads-inner .title {
        margin-top: 0.5rem;
    }

    .ads-list .ads-wrapper .ads-card .ads-inner .summary {
        /*margin-top: 2rem;*/
    }


.nothing-found {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
    height: fit-content;
    padding: 2rem;
    width: 100%;
}

    .nothing-found .nothing-found-description {
        align-self: center;
    }

        .nothing-found .nothing-found-description h4 {
            display: block;
            font-size: 30px;
            margin-bottom: 2rem;
        }

        .nothing-found .nothing-found-description span {
            display: block;
            margin-bottom: 1rem;
            color: var(--primary-color);
            font-weight: 700;
        }

            .nothing-found .nothing-found-description span i {
                position: relative;
                top: 5px;
                font-size: 23px;
                margin-bottom: 5px;
            }


/* =========================== Responsive =========================== */

@media (max-width: 767.98px) {

    .content-body {
        margin-top: 0;
    }

    .sidebar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 0 1rem;
    }

        .sidebar .filter-wrapper {
            background-color: transparent;
            box-shadow: none;
            margin-bottom: 0;
        }

            .sidebar .filter-wrapper .title {
                display: none;
            }

            .sidebar .filter-wrapper .filter-inner {
                display: flex;
                flex-direction: row;
                justify-content: flex-start;
                align-items: center;
                gap: 8px;
                padding-bottom: 0;
            }

                .sidebar .filter-wrapper .filter-inner .filter-check-box {
                    background-color: var(--seperator-line) !important;
                    color: var(--text-color) !important;
                    display: inline-flex;
                    justify-content: flex-end;
                    align-items: center;
                    padding: var(--padding-controls);
                    gap: var(--gap);
                    border-radius: var(--border-radius-controls);
                    white-space: nowrap;
                }

                    .sidebar .filter-wrapper .filter-inner .filter-check-box label {
                        /*display: none;*/
                    }

                    .sidebar .filter-wrapper .filter-inner .filter-check-box.active {
                        background-color: var(--primary-color) !important;
                        color: var(--bg-white) !important;
                    }
}
