﻿#open-filters {
    border: 1px solid #ddd;
    padding: 11px 14px;
    display: none;
    color: black;
}

body.dark-theme #open-filters {
    color: white;
}

#overlay-filters {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    margin: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#close-filters {
    transition: all .3s;
    position: fixed;
    top: 50px;
    right: 15px;
}

@media only screen and (max-width: 576px) {
    html, body {
        overflow-x: hidden;
    }

    body {
        position: relative
    }

    #filters-container {
        position: fixed;
        right: -100%;
        background-color: var(--bkg-color-black);
        z-index: 1000;
        transition: all .3s;
        top: 30px;
        width: calc(100% - 15px);
        border-radius: 5px 0 0 0;
        border-right: none;
        padding: 1rem 2rem;
        height: calc(100% - 30px);
        overflow-y: auto;
    }

    #filters-container.show-filter {
        right: 0;
    }

    #open-filters{
        display: block
    }

    #filters-selected > span {
        display: none;
    }

    .row__searchbar > .col {
        padding: 0 !important;
    }

    .dropdown-menu-right {
        right: 0 !important;
        left: auto !important;
    }
}
