﻿h1 {
    padding-bottom: 50px;
    border-bottom: 1px solid #e0e0e0;
}


.side-panel label {
    display: block;
    margin-bottom: 5px;
}


#toggle-subcategories {
    display: block;
    margin: 10px auto;
}


.price-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.price-label label {
    margin-bottom: 0;
    cursor: pointer;
}


label[for=filter-darujem] {
    color: #bf1313;
    padding: 10px;
}


input[type=range].disabled {
    opacity: .5;
    cursor: not-allowed;
}


.slider-disabled {
    opacity: .5;
    pointer-events: none;
}


.price-values.disabled {
    opacity: .5;
}


.filters-list {
    white-space: nowrap;
}


.listing-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
}


.listing-sort select {
    border: 1px solid #e0e0e0;
    padding: 4px 12px;
}


.address-wrapper {
    position: relative;
    margin-bottom: 10px;
    border: 1px solid #4a4a4a;
}


.address-wrapper input {
    width: 100%;
    padding: 5px;
    border: none;
}


#address-clear, #address-detect {
    font-size: 1.5rem;
    position: absolute;
    top: -2px;
    right: 4px;
    cursor: pointer;
    padding: 0;
    border: none;
    background: none;
    transition: all .5s ease;
}


#address-clear:hover, #address-detect:hover {
    transform: scale(1.2);
}


#address-detect {
    right: unset;
    left: 0;
}


.address-suggestions {
    border: 1px solid #e0e0e0;
    position: absolute;
    background-color: #fff;
    z-index: 10;
    width: 100%;
    overflow-y: auto;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
}


.address-suggestions li {
    padding: 8px 12px;
    cursor: pointer;
}


.address-suggestions li:hover {
    background-color: #e0e0e0;
}


.slider-container {
    position: relative;
    height: 44px;
}


.slider-track {
    position: absolute;
    height: 4px;
    background: #e0e0e0;
    top: 16px;
    width: 100%;
    z-index: 1;
    border-radius: 2px;
}


.slider-fill {
    position: absolute;
    height: 4px;
    background: #d95e5e;
    top: 16px;
    z-index: 2;
    border-radius: 2px;
}


.slider-container input[type=range] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    appearance: none;
    z-index: 3;
    margin: 0;
    height: 30px;
}


.slider-container input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #bf1313;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, .3);
    cursor: pointer;
    margin-top: 6px;
}


.slider-container input[type=range]::-moz-range-thumb {
    pointer-events: all;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #bf1313;
    border: 2px solid #fff;
    cursor: pointer;
}


.slider-container input[type=range]::-webkit-slider-runnable-track {
    background: rgba(0, 0, 0, 0);
}


.slider-container input[type=range]::-moz-range-track {
    background: rgba(0, 0, 0, 0);
}


.price-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}


#price-filter-form {
    margin-bottom: 20px;
}


.filter-group {
    margin-bottom: 10px;
}


.filter-group select, .filter-group input {
    width: 100%;
    padding: 5px;
    border: 1px solid #4a4a4a;
}


.filter-group input[type=checkbox] {
    width: auto;
}


.checkbox-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.double-input div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.double-input select, .double-input input {
    width: 40%;
}


.filter-reset {
    text-align: center;
    margin-bottom: 20px;
}


.hidden {
    display: none;
}


#map {
    height: 200px;
    width: 100%;
    border: 1px solid #e0e0e0;
    z-index: 0;
}


.leaflet-container a.leaflet-popup-close-button {
    top: 1px;
    right: 1px;
}


.leaflet-container a.leaflet-popup-close-button span {
    font-size: 2rem;
    top: 50%;
}


.category-description {
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
}


h3 {
    font-size: 1.25rem;
}


.about-header {
    margin-top: 50px;
}


@media (max-width: 700px) {
    .listing-menu-top {
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 5px;
    }


    .filters-list {
        margin-bottom: 10px;
    }

}

@media (max-width: 500px) {
    span, label, .listing-summary, input, select, textarea {
        font-size: 1.25rem;
    }


    #address-clear, #address-detect {
        top: 1px;
    }

}



