#btn {
    position:absolute;
    top:10px;
    right:10px;
    z-index:9000;
    background:white;
}



.leaflet-tile-pane {
    filter: grayscale(1);
}

.not-found, .wrong-type, .wrong-material, .invisible {
    display: none !important;
}

/* Filter */
#map .leaflet-control-layers, #map .leaflet-control-layers-toggle {
    border: 0;
    background: transparent;
    border-radius: 0;
}

#map .leaflet-right .leaflet-control {
    margin-right: 0;
}

#map .leaflet-top .leaflet-control {
    margin-top: 0;
}

#map .leaflet-control-zoom{
    margin-top: 10px !important;
}

#map .leaflet-control-layers-toggle {
    background-image: url(../img/filter-toggler-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 57%;
    width: 43px;
    height: 43px;
    margin-right: 0;
    margin-top: 0;
    background-color: #ffffff;
    text-indent: -10000rem;
    overflow: hidden;
    cursor: pointer;
    border-radius: 3px;
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
}

#map .leaflet-control-layers-toggle:hover {
    background-color: #f4f4f4;
}

#btn.leaflet-control-layers-closeBtn{
    width: 20px;
    height: 20px;
    color: #ffffff;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    right: 296px !important;
    top: 16px !important;
    overflow: hidden;
    font-size: 19px;
    line-height: 0;
    text-align: center;
    padding: 0 !important;
}

#btn.leaflet-control-layers-closeBtn:hover{
    color: #adadad;
}

.leaflet-container {
    font-family: "Akkurat",sans-serif;
    font-size: 0.75rem;
    line-height: 1.5;
}

#map .leaflet-control-layers-expanded {
    padding: 0;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    height: 0px;
    background: #3b3b3b;
    width: 312px;
    position: relative;
    margin-right: 10px !important;
    transition: all 0.6s ease-in-out;
    display: block !important;
    overflow: hidden;
    opacity: 0%;
}

#map .leaflet-control-layers-expanded.open {
    min-height: calc(100vh - 22px);
    opacity: 100%;
}

#map .leaflet-control-layers .leaflet-control-layers-list {
    height: calc(100% - 160px);
    color: #ffffff;
    padding: 43px 20px 80px 30px;
    background: #3b3b3b;
    box-shadow: 0 1px 2px rgba(60,64,67,0.3),0 2px 6px 2px rgba(60,64,67,0.15);
    overflow: auto;
}

#map .leaflet-control-layers-overlays {
    position: relative;
}

#map .leaflet-control-layers-expanded .item-wrapper{
    overflow-y: auto;
    display: block;
    /*max-height: 69vh;*/
    min-height: 200px;
    margin-bottom: 60px;
}

#map .leaflet-control-layers-overlays #buildings_header,
#map .leaflet-control-layers-overlays #manufacturers_header {
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    background: #3b3b3b;
}

#map .leaflet-control-layers-overlays #buildings_header {
    top: 80px;
    padding-bottom: 20px;
}

#map .leaflet-control-layers-overlays #buildings_header div,
#map .leaflet-control-layers-overlays #manufacturers_header div {
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

#map .leaflet-control-layers-overlays #manufacturers_header div:before {
    background-image: url(../img/list-dot-hersteller.svg);
    width: 13px;
    height: 13px;
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 2px;
}

#map .leaflet-control-layers-overlays #buildings_header div:before {
    background-image: url(../img/list-dot-bauwerk.svg);
    width: 10px;
    height: 10px;
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 2px;
    top: 2px;
}

#map #search_form {
    height: 90px;
}

#map #search_form input {
    padding: 0.375rem 0;
    text-indent: 10px;
    height: 25px;
    line-height: 1.5;
    color: #3b3b3b;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 0;
    -webkit-transition: all .15s ease-in-out;
    font-size: 13px;
    border: 0;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
}

#map #search_form input:focus {
    outline: 0;
    border-color: #ca7406;
    -webkit-box-shadow: 0 0 0 2px #ca7406;
    box-shadow: 0 0 0 2px #ca7406;
}

#map.leaflet-container a.leaflet-popup-close-button {
    text-align: center;
    font: 24px/24px Tahoma, Verdana, sans-serif;
    position: absolute;
    top: 25px;
    right: 25px;
    border: none;
    width: 24px;
    height: 24px;
    color: #545454;
    transition: all 0.3s ease;
}

#map.leaflet-container a.leaflet-popup-close-button:hover {
    color: #3b3b3b;
}

.leaflet-pane.leaflet-labels-pane{
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.form-control {
    font-family: system-ui, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    font: inherit;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
    position: absolute;
    right: calc(10% + 8px);
}

.form-control + .form-control {
    margin-top: 1em;
}

.item-wrapper{
    padding-top: 33px;
}

.item-wrapper > div > div.active,
.item-wrapper > div > div.inactive{
    background-color: #6b6b6b;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0 6px 15px;
    transition: all 0.3s ease;
    width: calc(100% - 30px);
    background-image: url(../img/toggle_minus.png);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: 95% 10px;
}

.item-wrapper > div > div:hover{
    background-color: #000000 !important;
}

.item-wrapper > div > div.inactive{
    background-color: #444444;
    color: #818181;
    background-image: url(../img/toggle_plus.png);
}

.item-wrapper ul{
    padding-left: 0;
}

.item-wrapper li{
    list-style: none;
    display: block;
    margin-bottom: 10px;
    position: relative;
    cursor: pointer;
    font-size: 13px;
    line-height: 22px;
    margin-top: 10px;
    padding-left: 38px;
}

.item-wrapper li:hover{

    color: #afafaf;
}

.item-wrapper li div:first-child{
    font-weight: 600;
    font-size: 0.8rem;
}

.item-wrapper li:before{
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: 15px;
    top: 5px;
}

.item-wrapper .manufacturers li:before{
    background-image: url(../img/list-dot-hersteller.svg);
    width: 13px;
    height: 13px;
}

.item-wrapper .buildings li:before{
    background-image: url(../img/list-dot-bauwerk.svg);
}

.animation-forward {
    animation-name: drehbuch-forward;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.animation-backward {
    animation-name: drehbuch-backward;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes drehbuch-forward {
    from {
        transform: scale(1, 1);
    }
    to {
        transform: scale(1.2, 1.2);
    }
}

@keyframes drehbuch-backward {
    from {
        transform: scale(1.2, 1.2);
    }
    to {
        transform: scale(1, 1);
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.col-6 {
    flex: 0 0 60%;
    max-width: 60%;
}

.col-5 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-2 {
    flex: 0 0 calc(10% - 4px);
    max-width: calc(10% - 4px);
}

.col-10 {
    flex: 0 0 86%;
    max-width: 86%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.marker-cluster-small {
    background-color: rgba(181, 181, 181, 0.6) !important;
}

.marker-cluster-small div {
    background-color: rgba(110, 110, 110, 0.6) !important;
}

.marker-cluster-medium {
    background-color: rgba(87, 87, 87, 0.6) !important;
}

.marker-cluster-medium div {
    background-color: rgba(241, 241, 241, 0.6) !important;
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
    transform: translate3d(0px, 0px, 0px) !important;
}