﻿
/*
[----------------------------------]
[--------- PROPERTY FILTER --------]
[----------------------------------]
*/

@media (max-width:1799px) {
    .filter:not(.active) {
        display: none;
    }

    .property-list-filter.filter {
        bottom: 0;
        width: 100%;
        max-width: 300px;
        padding-bottom: 100px;
        top: 0;
        left: 0;
    }

    .filter {
        float: none;
        position: fixed;
        z-index: 90;
        overflow-y: auto;
        padding-top: 0;
    }

    .filter.active .close-toolbar {
        display: block;
    }

    .filter .fixed-toolbar {
        display: block;
    }

    .filter .filter-checks span {
        height: 24px;
        line-height: 26px;
    }

    .filter .filter-buttons {
        display: flex;
        position: fixed;
        z-index: 90;
        bottom: 0;
        right: 0;
        justify-content: space-between;
        left: 0;
        width: 100%;
        max-width: 300px;
        padding: 14px;
        border-top: 1px solid black;
        background-color: white;
    }

    .filter .filter-buttons .submit-filter {
        display: flex;
        width: 100%;
        text-align: center;
        background: #C00001;
        color: white;
        font-weight: 500;
    }
}

@media (max-width:600px) {

    .filter {
        min-width: 100%;
    }

    .filter,
    .filter .filter-buttons {
        max-width: 100%;
    }

    .filter .filter-buttons {
        padding: 8px;
    }
}
