/** 
 * CSS styles for dropdown lists
 *
 * Use these classes:
 * .dropdown - the element which the dropdown menu drops from, usually a <li>
 * .dropbtn - the button which pins the dropdown menu, usually an <a>
 * .dropdown-content - the dropdown menu container, usually a <div>
 */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--black);
}

.dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-content > * {
    flex: 1 1 0;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content a, .dropdown-content .sbf input {
    background-color: var(--color-background-nav-hover);
    color: var(--color-text-nav-hover);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover, .dropdown-content .sbf *:hover {
    background-color: var(--color-background-topbar);
    color: var(--color-text-nav);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown .sbf * {
    width: 100%;
    height: 100%;
    padding: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
