#scholen-header {
    margin-bottom: 30px;
}

#archive-scholen .cols .col {
    display: flex;
}

.archive-school {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 40px;
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: 0 2px 40px 0 rgba(154,174,191,0.1);
    transition: transform 0.25s cubic-bezier(0.5, 0.25, 0.5, 1.75);
    transform: scale3d(1, 1, 1);
    flex-grow: 1;
    margin-bottom: 30px;
}

.archive-school .labels-list {
    margin: 0;
}

.archive-school:not(.show) {
    transition: transform 0.3s ease-in-out;
    transform: scale3d(0, 0, 0);
}

.archive-school > a {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.archive-school:hover {
    transform: scale3d(1.05, 1.05, 1);
}

.archive-school-image {
    position: relative;
    padding-bottom: 60%;
}

.archive-school-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.archive-school-content {
    padding: 30px;
}

.archive-school-content-row {
    margin-top: 15px;
    line-height: 30px;
    display: flex;
}

.archive-school-content-row > i {
    margin-right: 15px;
    transform: translateY(4px);
    font-size: 18px;
}

.archive-school-content a {
    position: relative;
    z-index: 2;
}

#scholen-filter {
    margin-bottom: 0;
}

#scholen-filter-inner {
    display: flex;
    justify-content: space-between;
}

#scholen-view {
    display: none;
}

#scholen-filter form {
    display: flex;
}

#scholen-filter .form-select{
    margin-right: 20px;
}

#archive-scholen .grid {
    transition: height 1s ease-out;
    padding-top: 40px;
}

#scholen-view:checked ~ #archive-scholen .grid {
    height: 0!important;
    overflow-y: hidden;
}

#map-scholen {
    position: relative;
    height: calc(100vh - 200px);
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    margin-top: -50px;
}

#scholen-view:not(:checked) ~ #map-scholen {
    height: 0;
    margin: 0;
}

#map-scholen-map {
    width: 100%;
    height: calc(100vh - 200px);
    border-radius: 40px;
}

.gm-style-iw.gm-style-iw-c,
.gm-style .gm-style-iw-c,
.gm-style-iw-d  {
    background: transparent!important;
    box-shadow: none!important;
    padding: 0!important;
    overflow: visible!important;
}

#map-scholen-map .archive-school {
    margin: 0;
}

#map-scholen-map .archive-school:hover {
    transform: none;
}

#map-scholen-map .archive-school h4 {
    font-size: 20px;
}
#map-scholen-map .archive-school-image {
    padding-bottom: 45%;
}

.cluster img {
    width: 28px;
    height: 28px;
}
.cluster div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}




#scholen-filter-switch {
    display: none;
}

label[for="scholen-filter-switch"] {
    display: none;
    margin-bottom: 10px;
}

label[for="scholen-filter-switch"] i {
    margin-right: 15px;
}
