/* accordion_4.css
   Speziell für die Azubi-Tag-Unterseite.

   Kombination aus:
   - dem Styling der bisherigen accordion.css
   - der sicheren Begrenzung aus accordion_3.css

   Wichtig:
   Alle Accordion-Regeln sind auf .accordion-item begrenzt.
   Dadurch werden normale Formular-Inputs und Labels NICHT beeinflusst.
*/

/* Accordion-Checkbox selbst ausblenden */
.accordion-item > input[type="checkbox"] {
    display: none;
}

/* Klickbarer Accordion-Kopf */
.accordion-item > label {
    display: block;
    padding: 8px 22px;
    margin: 0;
    cursor: pointer;
    background: #f5f5f5;
    border-bottom: 0 solid #000;
    color: #666;
    transition: ease .5s;
    position: relative;
}

/* Hover wie in accordion.css */
.accordion-item > label:hover {
    background: #e9500e;
    color: #ffffff;
}

/* Plus-Zeichen */
.accordion-item > label::after {
    content: '+';
    font-size: 22px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 15px;
}

/* Minus-Zeichen bei geöffnetem Accordion */
.accordion-item > input[type="checkbox"]:checked + label::after {
    content: '-';
    font-size: 25px;
    font-weight: bold;
    right: 14px;
    top: 15px;
}

/* Accordion-Inhalt */
.accordion-item > .content {
    display: none;
    background: #fff;
    padding: 10px 25px;
    border-bottom: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
    border-right: 1px solid #f5f5f5;
    margin: 0 0 20px 0;
    border-radius: 0;
}

/* Inhalt öffnen */
.accordion-item > input[type="checkbox"]:checked + label + .content {
    display: block;
}
