#headercats {
    overflow: hidden;
}

#headercats :focus {
    outline: 1px solid #000 !important;
}

#headercats .e-n-tabs-heading::before,
#headercats .elementor-tabs-wrapper::before {
    content: "";
    width: 100%;
    height: 2.75em;
    overflow: hidden;
    position: absolute;
    background: #ebf9fe;
}

#headercats:not(.has-hovered) .elementor-tabs-content-wrapper,
#headercats:not(.has-hovered) .e-n-tabs-content {
    display: none;
}

#headercats .elementor-tabs-content-wrapper .elementor-tab-content {
    transition: all 0.6s ease;
}

#headercats .elementor-tabs-content-wrapper .elementor-tab-content:not(.we-active) {
    display: none !important;
}

#headercats .elementor-tabs-content-wrapper .elementor-tab-content.we-active {
    display: grid !important;
    justify-content: center;
}

#headercats .elementor-tabs-content-wrapper .elementor-tab-content p {
    margin: 0;
}

#headercats .cfcontainer {
    width: min(90vw, 1140px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 400px;
}

#headercats .mainrow,
#headercats .subrow>div,
#headercats .cross-filters>div {
    display: flex;
    flex-direction: column;
    max-height: 380px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #1880b3 #ebf9fe;
}

#headercats .categorylink,
#headercats .termlink,
#cfmbox .categorylink,
#cfmbox .termlink {
    color: hsl(200, 76%, 30%);
    font-weight: 300;
}

#headercats .cross-filters>div {
    overflow-y: auto;
}

#headercats .mainrow::-webkit-scrollbar,
#headercats .subrow>div::-webkit-scrollbar,
#headercats .cross-filters>div::-webkit-scrollbar,
#cfmbox::-webkit-scrollbar {
    width: 8px;
}

#headercats .mainrow::-webkit-scrollbar-track,
#headercats .subrow>div::-webkit-scrollbar-track,
#headercats .cross-filters>div::-webkit-scrollbar-track,
#cfmbox::-webkit-scrollbar-track {
    background-color: #ebf9fe;
}

#headercats .mainrow::-webkit-scrollbar-thumb,
#headercats .subrow>div::-webkit-scrollbar-thumb,
#headercats .cross-filters>div::-webkit-scrollbar-thumb,
#cfmbox::-webkit-scrollbar-thumb {
    background-color: #00aeef;
}

#headercats .mainrow a:not(.disabled):hover,
#headercats .mainrow a.active,
#headercats .subrow a:not(.disabled):hover,
#headercats .cross-filters a:not(.disabled):hover {
    font-weight: bold;
    background: #ebf9fe;
}

#headercats .mainrow .active::after {
    float: right;
    font-weight: bolder;
    content: "\00BB";
}

#headercats .subrow>div {
    height: 100%;
}

#headercats .subrow>div.hidden {
    height: 0;
    overflow-y: hidden;
}

#headercats .mainrow a,
#headercats .subrow a,
#headercats .cross-filters b,
#headercats .cross-filters a {
    padding: 8px;
}

#headercats .cross-filters {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-column-end: span 2;
}

#headercats .cross-filters a {
    display: flex;
    align-items: center;
}

#headercats .cross-filters a img {
    display: inline;
    width: 32px;
    height: auto;
    margin-right: 8px;
}

#headercats a.disabled {
    color: #444;
    cursor: not-allowed;
}

#cfmbtn {
    cursor: pointer;
}

#cfmbox {
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 0;
    position: fixed;
    overflow-y: hidden;
    background-color: #fff;
}

#cfmbox.open {
    padding: 1rem 4px;
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
}

#cfmbox a {
    margin-left: 12px;
    padding: 8px 4px;
    margin-bottom: 2px;
    border-bottom: 1px dotted #00aeef;
}

#cfmbox p {
    margin: 0;
}

#cfmbox,
#cfmbox details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

#cfmbox details {
    cursor: pointer;
    margin-left: 12px;
    padding-left: 4px;
    border-left: 1px solid transparent;
    height: 1em;
}

#cfmbox details>summary {
    padding: 4px 0;
}

#cfmbox>details>details {
    margin: 16px 0 16px 12px;
}

#cfmbox .cross-filters {
    margin-left: 12px;
    padding-left: 4px;
}

#cfmbox details[open] {
    border-left-color: #00aeef;
    height: 100%;
}

#cfmbox details[open]>summary {
    background-color: #ebf9fe;
    font-weight: bold;
}

#headercats .categorylink>b::before,
#cfmbox details>:nth-child(2)::before {
    content: "Alles aus «";
}

#headercats .categorylink>b::after,
#cfmbox details>:nth-child(2)::after {
    content: "» anzeigen";
}

#headercats .categorylink>b,
#cfmbox details>:nth-child(2) {
    font-weight: 500;
}

#cfmbox .cross-filters a {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 8px;
}

#cfmbox .cross-filters a img {
    width: 32px;
    height: auto;
}

#cftop h1 {
    color: #1880b3;
}