.tab {
    display: none;
}
.tab.active {
    display: flex;
}
input:not(:checked)+label[for*="Ortsteil"] {
    color: transparent !important;
}
figure {
    display: inline-block;
    margin: 0;
}
div {
    display: inline-block;
}
nav div img {
    height: 1.5rem;
}
body * {
    font-size: 14px!important;
    line-height: 16px;
}
input:disabled {
    color: rgb(170, 170, 170);
    border: 1px solid rgb(170, 170, 170);
    background: #fff;
}
#Ortsteile {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
#Ortsteile th {
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-right: 1px solid;
    width: 100%;
}
#Ortsteile td {
    border-bottom: 1px solid;
    border-right: 1px solid;
    padding: 0;
    width: 100%;
    position: relative;
    background: transparent;
}
#Ortsteile td:first-child, #Ortsteile th:first-child {
    border-left: 1px solid;
    min-width: 20px;
    width: 20px;
}
#Ortsteile thead {
    position: sticky;
    top: 0;
    display: block;
}
#Ortsteile tbody {
    display: block;
    overflow: auto;
    max-height: 278px;
}
#Ortsteile tbody tr:first-of-type {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}
#Ortsteile label, #Ortsteile span {
    width: 100%;
    min-height: 30px;
    display: block;
    padding: 7px 0 0 5px;
}
#Ortsteile th:last-of-type {
    position: relative;
}
#Ortsteile th:last-of-type:after {
    right: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 0 3px;
    background: transparent;
    border-top: solid 7px #000;
    border-bottom-width: 0;
    content: '';
    position: absolute;
}
@media (max-width: 1315px) {
    .border-end {
        border-right: none !important;
    }
}