html {
    font-size: 14px;
    scrollbar-gutter: stable;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #F3F4F7;
}

.card-header {
    font-size: 16px;
}

.energy-label-a2020 {
    color: #08863E !important;
}

.energy-label-a2015 {
    color: #2C9E40 !important;
}

.energy-label-a2010 {
    color: #3EB84A !important;
}

.energy-label-a {
    color: #3EB84A !important;
}

.energy-label-b {
    color: #7BAE44 !important;
}

.energy-label-c {
    color: #D8AF29 !important;
}

.energy-label-d {
    color: #DD8429 !important;
}

.energy-label-e {
    color: #D65229 !important;
}

.energy-label-f {
    color: #8C1719 !important;
}

.energy-label-g {
    color: #612959 !important;
}

.carousel-item > img {
    height: 200px;
    object-fit: cover;
}

.card {
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,0.1);
    border-radius: 10px;
}

.form-control {
    background-color: white;
    border-radius: 5px;
}

#toggle-order-dir {
    display: inline;
    cursor: pointer;
    background-color: white;
    font-size: 18px;
}

.filter-container {
    background-color: white;
    border-radius: 5px;
    padding-top: 10px;
}

input[type="range"] {
    touch-action: none;
}

input[type="range"] {
    will-change: transform;
}

.fixed-top-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.8;
    z-index: 1000;
}

.slider-container {
    background-color: white;
    text-align: center;
    box-sizing: border-box;
}

    .slider-container .range-slider {
        margin: 30px;
        margin-top: 50px;
        margin-bottom: 0px;
    }

    .slider-container label {
        margin-top: 10px;
    }

#score-container {
    position: absolute;
    z-index: 500;
    bottom: 4px;
    right: 4px;
    padding: 2px 12px 2px 12px;
    box-shadow: 2px 2px 10px 0 rgba(0,0,0,0.2);
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.07);
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    font-weight: bold;
    font-size: 14px;
}

.btn-group {
    margin-left: 10px;
}

.btn-outline-primary {
    border-bottom: 0px;
    border: 1px solid #e2e3e6;
    border-bottom-width: 0px;
}

    .btn-outline-primary:hover {
        border-color: #e2e3e6 !important;
        background-color: #343a40 !important;
        color: white !important;
    }

    .top-input-bar {
        position: sticky;
        top: 0;
        padding: 20px;
        padding-top: 1px;
        z-index: 1000;
        margin-bottom: 25px;
        background-color: #F3F4F7;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }

.map-details-container {
    min-width: 330px;
}

    .map-details-container .card {
        margin-bottom: 0px !important;
    }

    .leaflet-popup-content {
        min-width: 330px;
        margin: 0px !important;
    }

.leaflet-popup-tip-container {
    position: relative !important;
    left: -8px !important;
    bottom: 243px;
    transform: rotate(90deg);
}
