#map {
    cursor: pointer;
}

.pan rect {
    fill: black;
    opacity: 0.2;
}

.zoom rect {
    fill: black;
    opacity: 0.2;
    rx: 5;
    /* Rounded corners */
    ry: 5;
}

.pan text {
    fill: black;
    font-size: 18px;
    text-anchor: middle;
}

.zoom text {
    fill: black;
    font-size: 18px;
    text-anchor: middle;
}

.pan:hover rect,
.pan:hover text {
    fill: blue;
}

.zoom:hover rect,
.zoom:hover text {
    fill: blue;
}

.legend rect {
    rx: 5;
    /* Rounded corners */
    ry: 5;
}

.legend text {
    fill: black;
    font-size: 18px;
    text-anchor: middle;
}

.label {
    font-family: Helvetica, sans-serif;
    font-size: 11px;
    fill: black;
    text-anchor: middle;
}

.map-overlay-legend {
    background: rgba(255, 255, 255, 0.8);
    font-family: Arial, sans-serif;
    overflow: auto;
    border-radius: 3px;
}

.legend-key {
    display: inline-block;
    border-radius: 20%;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

/* Popup container - can be anything you want */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    transform: translate3d(50px, 50px, 0);
}

/* The actual popup */
.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bundesland_container {
    background-color: #F5F5F5;
    padding: 16px;
}

.detail_container {
    background-color: #E8E8E8;
    display: flex;
    flex-direction: row;
}

.details {
    background-color: #D3D3D3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 120px;
    height: 100px;
    margin: 5px;
}

.head {
    fill: black;
    font-size: 16px;
    text-anchor: middle;
    margin: 3px;
}

.sub {
    fill: black;
    font-size: 10px;
    text-anchor: middle;
}

.table_container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #F5F5F5;
}

.table-head-sort {
    cursor: pointer;
}

.table-head-sort-icon {
    width: auto;
    height: 23px;
    margin-top: -4px;
    margin-bottom: 0;
}

[data-sorted="unsorted"] .table-head-sort-icon {
    content:url("../img/caret-up-solid.svg");
    opacity: 0.5;
}

[data-sorted="asc"] .table-head-sort-icon {
    content:url("../img/caret-up-solid.svg");
    opacity: 1;
}

[data-sorted="desc"] .table-head-sort-icon {
    content:url("../img/caret-down-solid.svg");
    opacity: 1;
}

.area_switch {
    display: flex;
    flex-direction: row;
    background-color: #E8E8E8;
    justify-content: space-between;
}

.area_switch .span {
    border-style: groove;
}
