/* uitklapbaar */
/* https://wpbeaches.com/create-expandcollapse-faq-accordion-collapse-click/ */

p.accordion {
    background-color: var(--custom-menu-back);
    color: var(--custom-menu-pas);
    cursor: pointer;
    font-family:Arial;
    font-size: 16px;
    font-weight: bold;
    padding: 8px;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin: 0px;
}

/* Add a background color to the accordion if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
p.accordion.active, p.accordion:hover {
    color: var(--custom-menu-act);
}

/* Unicode character for "plus" sign (+) */
p.accordion:after {
    content: '\2795';
    font-size: smaller;
    color: #777;
    float: right;
    margin-left: 5px;
}

/* Unicode character for "minus" sign (-) */
p.accordion.active:after {
    content: "\2796";
}

/* Style the element that is used for the panel class */

div.panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-in-out;
    opacity: 0;
    margin:5px 0px;
}
div.panel.show {
    opacity: 1;
    max-height: 2500px; /* Whatever you like, as long as its more than the height of the content (on all screen sizes) */
}
