:root {
    --black: #000000;
    --white: #FFFFFF;
    --blue: #005F96;
    --bluegrey: #E8EFF3;
    --bluegrey-hover: #d2e9f7;
    --yellow: #C8D400;
}

* {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

body {
    margin: 0;
}

h1 {
    font-size: 34px;
    font-weight: 600;
    line-height: 32px;

    color: var(--blue);
}

b {
    font-weight: 700;
}

a.link {
    color: var(--blue);
    font-weight: 700;
    position: relative;
    cursor: pointer;
}
a.resetFilter {
    color: var(--blue);
    text-decoration: none;
}
a.resetFilter:hover{
    text-decoration: underline;
}

a.resetFilter:before {
    content: url("/-/media/ewe-netz/assets/images/schliessen_x.svg");
    margin-right: 10px;
    display: inline-block;
    position: relative;
    top: 5px;
}


a.link.rightArrow:after {
    background-color: #c8d400;
    content: "";
    height: 18px;
    mask-image: url(/assets/netzampel/images/icon-arrow-left.svg);
    -webkit-mask-image: url(/assets/netzampel/images/icon-arrow-left.svg);
    mask-position: center center;
    -webkit-mask-position: center center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 100% auto;
    -webkit-mask-size: 100% auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 20px;
    margin-left: 15px;
}

a.link.leftArrow {
    margin-left: 35px;
}

a.link.leftArrow:before {
    background-color: #c8d400;
    content: "";
    height: 18px;
    mask-image: url(/assets/netzampel/images/icon-arrow-left.svg);
    -webkit-mask-image: url(/assets/netzampel/images/icon-arrow-left.svg);
    mask-position: center center;
    -webkit-mask-position: center center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 100% auto;
    -webkit-mask-size: 100% auto;
    position: absolute;
    top: 50%;
    left: -35px;
    transform: translateY(-50%);
    width: 20px;
}

#map {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}

button.btn {
    font-family: 'Open Sans';
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    height: 48px;
    padding: 11px 24px 13px 24px;
    border-radius: 30px;
    margin-top: 15px;
    border: 1px solid var(--bluegrey);
    background-color: var(--bluegrey);
    color: var(--blue);
    cursor: pointer;
}
    button.btn:hover {
        background-color: var(--bluegrey-hover);
    }

    button.btn.primary {
        background-color: var(--yellow);
    }

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.sidebar {
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 18px 28px 22px 21px;
    width: 400px;
    height: 100%;
    z-index: 999;
    background: var(--white) none repeat scroll 0 0;
    box-shadow: 0 0 15px #000;
    overflow: scroll;

}

.sidebar::-webkit-scrollbar {
    width: 5px;
}


.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}


.sidebar::-webkit-scrollbar-thumb {
    background: var(--yellow);
}

/* Handle on hover */
.sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sidebar .sidebar_main {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar .menu-handle {
    display: none;
}

@media (max-width: 768px) {

    .sidebar.slideUpMenuMobile {
        z-index: 1000;
        box-sizing: border-box;
        position: fixed;
        top: calc(0px);
        transform: translate(0, 100%);
        left: 0;
        width: 100%;
        transition: top 0.3s ease-in-out;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        padding-top: 60px;
    }

    .sidebar.slideUpMenuMobile .sidebar_main {
        overflow-x: scroll;

    }

    .sidebar.slideUpMenuMobile[data-height="full"] .sidebar_main {
        height: calc(100% - 30px);
    }

    .sidebar.slideUpMenuMobile[data-height="half"] .sidebar_main {
        height: calc(50% - 30px);
    }

        .sidebar.slideUpMenuMobile .menu-handle {
            position: absolute;
            width: 100%;
            top: 6px;
            left: 0;
            background-color: white;
            padding-top: 10px;
            padding-bottom: 25px;
            display: flex;
            justify-content: center;
        }

    .sidebar.slideUpMenuMobile .menu-handle div {
        display: block;
        width: 100px;
        height: 10px;
        background-color: #ccc;
        border-radius: 5px;
        cursor: pointer;
    }

}

.sidebar .sidebar_content img.logo {
    width: 180px;
}

.sidebar .sidebar_footer {
    padding-bottom: 20px;
}

.sidebar .sidebar_footer .legal_links {
    margin-bottom: 20px;
}

.sidebar .sidebar_footer a {}

.content_box {
    margin-top: 20px;
    margin-bottom: 20px;
}
    .content_box .header {
        display: flex;
        justify-content:space-between;
    }

    .content_box p small,
    .content_box p small * {
        font-size: 12px;
    }

.sidebar .sidebar_content .content_box .community_count,
.sidebar .sidebar_content .content_box .community_name {
    font-weight: 700;
}

.sidebar_main .content_box .content_box__info {
    margin-top: 20px;
    border-radius: 15px;
    background-color: var(--bluegrey);
    padding: 17px 14px;
}

.line {
    margin: 10px 0;
    border-bottom: 1px solid var(--yellow);
}

.slidecontainer {
    width: 100%;
    /* Width of the outside container */
}

#disorderData_diagramm {
    margin-top: 20px;
}

/* The slider itself */
/* range 2 */
.range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    cursor: pointer;
    outline: none;
    border-radius: 2px;
    height: 17px;
    background: #fff;
    box-shadow: inset 6px 6px 10px -10px #c2c2c2, inset -6px -6px 18px -10px #c2c2c2, 2px 2px 2px -2px #c2c2c2;
    border: 1px solid #c2c2c2;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 28px;
    width: 15px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #c2c2c2;
    transition: .2s ease-in-out;
    box-shadow: inset 6px 6px 10px -10px #c2c2c2, inset -6px -6px 18px -10px #c2c2c2, 2px 2px 2px -2px #c2c2c2;
}

dialog.gdpr-modal-dialog {
    background-color: #edf4f8;
    border-radius: 5px;
    padding: 15px 20px;
    width: 800px;
    border: none;
}

dialog.gdpr-modal-dialog::backdrop {
    backdrop-filter: blur(8px);
}

    dialog.gdpr-modal-dialog h3 {
        color: var(--blue);
        font-size: 22px;
        font-weight:600;
        margin:0;
    }
.GDPR_popup hr {
    border: 1px solid #c8d400;
    margin: 25px 0;
}
.GDPR_popup p, .GDPR_popup footer {
    font-size: 18px;
    color: #464646;
    margin: 0;
}

.google-maps-preference [type=checkbox] {
    -webkit-appearance: none;
    left: 30px;
    position: relative;
    top: 0;
    z-index: 0;
}

.google-maps-preference [type=checkbox]+label {
    cursor: pointer;
    line-height: 1.3;
    padding-left: 70px;
    position: relative;
}

.google-maps-preference [type=checkbox]:checked+label:before {
    background-color: #c8d400;
}

.google-maps-preference [type=checkbox]+label:before {
    background-color: #c9e0ee;
    border: 2px solid #e8e8e8;
    border-radius: 30px;
    content: "";
    height: 30px;
    left: 0;
    top: -100%;
    transform: translate(0px, 50%);
    margin-right: 15px;
    position: absolute;
    transition: background-color .5s linear;
    width: 60px;
    z-index: 5;
}

.google-maps-preference [type=checkbox]+label:after {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #aaa;
    content: "";
    height: 25px;
    left: 5px;
    position: absolute;
    transition: margin .1s linear;
    width: 25px;
    z-index: 10;
}

.google-maps-preference [type=checkbox]:checked+label:after {
    margin: 0 0 0 30px;
}

.form_container {
    display: flex;
    flex-direction: column;
    width: 80%;
}

.form_container label {
    font-size: 14px;
    margin-bottom: 4px;
}

.form_container select {
    -webkit-appearance: none;
    /* Remove default styling in Safari */
    -moz-appearance: none;
    /* Remove default styling in Firefox */
    appearance: none;
    /* Remove default styling in modern browsers */
    border-radius: 5px;
    border: 1px solid var(--blue);
    background-color: var(--bluegrey);
    padding: 14px 45px 14px 14px;
    font-size: 16px;
    color: #333;
    width: 100%;
    cursor: pointer;
    outline: none;
    position: relative;
}

.form_container .select-container {
    position: relative;
}

.form_container .select-container::after {
    background-color: #005f96;
    content: "";
    height: 10px;
    mask-image: url(/-/media/ewe-netz/assets/images/icon-dropdown-pfeil.svg);
    -webkit-mask-image: url(/-/media/ewe-netz/assets/images/icon-dropdown-pfeil.svg);
    mask-position: center center;
    -webkit-mask-position: center center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-size: 100% auto;
    -webkit-mask-size: 100% auto;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) scale(1);
    width: 20px;
    z-index: 9;
}

.color-scale_container {
    position: relative;
    font-family: Arial, sans-serif;
    text-align: center;
}
.zero {
    width: 10px;
    height: 20px;
    position: absolute;
    background-color: #7fafca;
}

.color-scale {
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, #F7CD00, #F9AA1A, #F08036, #E33451, #590715);
    border-radius: 5px;
}

.labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 5px;
}
#updateSidebarButton {
    border: none;
    background: none;
    cursor: pointer;
}

