


/* Filter-Dropdown: bb-kat-visible Toggle (Vanilla JS, kein jQuery) */
.kategoriewahl_eigene { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.kategoriewahl_eigene.bb-kat-visible,
.kategoriewahl_eigene.bb-kat-closing {
    background-color: var(--bb-bg-color, #fff);
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    padding: 8px;
    position: relative;
    width: fit-content;
    min-width: 33vw;
    max-width: 100%;
}
.kategoriewahl_eigene.bb-kat-visible { max-height: 2000px; }

/* X-Schliessen-Button oben rechts */
.bb-kat-close-item { list-style: none; text-align: right; padding: 0; margin: 0; }
.bb-kat-close {
    background: none;
    border: none;
    padding: 0 2px;
    margin: 0;
    cursor: pointer;
    font-size: 1.1em;
    line-height: 1;
    color: inherit;
}
.bb-kat-close:hover { opacity: .6; }

/* Listen-Styling im Filter-Dropdown */
.kategoriewahl_eigene,
.kategoriewahl_eigene ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.kategoriewahl_eigene li { padding: 1px 0; }
.kategoriewahl_eigene > li > ul { padding-left: 12px; }
.kategoriewahl_eigene > li > ul > li > ul { padding-left: 12px; }
.kategoriewahl_eigene button[type="submit"] { margin: 1px 0; }

/* Toggle-Button (direkt sichtbar) und Filter-Eintraege: alle wie Links */
.kategoriewahl_eigene_info button,
.kategoriewahl_eigene button[type="submit"] {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: var(--bb-link-color, #057D05);
    font-weight: bold;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
    display: inline;
}
.kategoriewahl_eigene_info button:hover,
.kategoriewahl_eigene button[type="submit"]:hover {
    text-decoration: underline;
}

