﻿.emlak-filter {
    display: flex;
    background-color: white;
    
}

    .emlak-filter h6 {
        color: var(--bbb-primary) !important;
    }

.accordion {
    border-radius: 0 !important;
}

.accordion-item {
    border-radius: 0 !important;
}

.form-control {
}

.accordion-button[aria-expanded="true"] {
    border-radius: 0 !important;
    border-bottom: 0.2px solid lightgray !important;
}

.accordion-button[aria-expanded="false"] {
    border-bottom: 0 !important;
}

.accordion-button {
    border-radius: 0 !important;
    padding-top: 8px;
    padding-bottom: 8px;
    color: #18458B;
}

    .accordion-button:not(.collapsed) {
        color: var(--bs-accordion-active-color);
        background-color: white;
        box-shadow: none;
    }

    .accordion-button:focus {
        z-index: 3;
        outline: 0;
        box-shadow: none;
    }

.icon-container i {
    color: #3AACED;
}

.input-container {
    position: relative;
    font-family: Nunito !important;
}

    .input-container i {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        color: #3AACED;
        font-size: 14px;
    }

    .input-container input {
        padding-right: 25px !important;
        font-size: 14px;
    }

        .input-container input:focus {
            box-shadow: none;
        }

.form-floating label {
    left: 35px;
}

.input-container input::-webkit-outer-spin-button,
.input-container input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-container input[type=number] {
    -moz-appearance: textfield;
}

@media (max-width: 767px) {
    .emlak-filter {
        width: 80% !important;
        align-items: center;
    }

    .sticky-container-button {
        width: 100%;
        position: inherit;
    }
}

.sticky-container-button {
    background-color: #3e67a7;
    position: sticky;
    bottom: 0;
    z-index: 8000 !important;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 100%;
    gap: 5px;
}

#filterContainer .offcanvas-header {
    background-color: var(--bbb-primary);
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
}

#filterOffcanvasHeader .btn-close-menu {
    margin-left: 0;
    box-sizing: content-box;
    width: 100%;
    color: white;
    background: transparent;
    border: 0;
    border-radius: 0.375rem;
}

#filterOffcanvasHeader .header-content i {
    color: white !important;
    transform: scaleX(1.5);
}

    #filterOffcanvasHeader .header-content i:hover {
        color: var(--bbb-warning) !important;
        padding: 2px;
    }

#filterOffcanvasHeader .header-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

#filterContainer {
    transition: all 0.3s ease;
}

#filterOffcanvas .offcanvas-body {
    /*padding: 0;*/
}

#mobileFilterButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1040;
}

@media (min-width: 769px) {
/*    #filterContainer {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }*/
}

@media (max-width: 768px) {
    #mobileFilterButton {
        display: block;
    }

    #filterContainer {
       /* display: none;*/
    }

    #filterOffcanvas {
        width: 85%;
    }
}

.filter-wrapper {
    width: 100%;
}

.searchresultdesc {
    order: 1;
    margin-bottom: 0;
    font-size: 1rem;
    padding-left: 10px;
}

.button-wrapper {
    order: 2;
    display: flex;
    align-items: center;
    margin-left: auto;
    transition: transform 0.3s ease-in-out;
    width: 40%;
    height:60px;
}

.tool-button {
    flex: 1;
    display: flex;
    align-items: center;
    height: 48px;
    background-color: white;
    border-left: 0;
    border-right: 0;
    border-top: 0.2px solid lightgray;
    border-bottom: 0.2px solid lightgray;
    padding: 5px;
    width: 100%;
}

.button-seperator {
    height: 48px;
    border: 0.2px solid lightgray;
    
}

.button-wrapper svg {
    height: 18px;
    width: 18px;
    fill: #F9B90F;
}

.mounted {
    position: sticky;
    top: 0;
    width: 100%;
    left: 0;
    background: white;
    z-index: 100;
    box-sizing: border-box;
}

.tool-button-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    font-size: 14px;
}

.tool-button .save {
    flex: 1;
    font-size: 14px;
    gap: 3px;
}

.tool-button-count {
    display: flex;
    align-items: center;
    font-size: 10px;
    gap: 2px;
}

@media (max-width: 768px) {
    .filter-wrapper {
        order: 1;
        width: 100%;
    }

    .emlak-filter {
    }

    .searchresultdesc {
        order: 2;
    }

    .button-wrapper {
        width: 100%;
    }

    .emlak-result-container {
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

        .row > * {
            flex-shrink: 0;
            width: 100%;
            max-width: 100%;
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-right: 0 !important;
            padding-left: 0 !important;
        }

    .container-fluid {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

.dropdown-item {
    font-size: 13px;
}

    .dropdown-item.selected {
        background-color: #F8F8F8;
        color: #666;
        position: relative;
    }

        .dropdown-item.selected::after {
            font-family: "Font Awesome 6 Free";
            content: "\f00c";
            font-weight: 900;
            font-size: 16px;
            color: #F9B90F;
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }
