/* MENU */
/* Style the button that is used to open and close the collapsible content */
.menubutton {
    background-color: var(--secondary-color);
    color: var(--menu-text-color);
    cursor: pointer;
    padding: 1em;
    width: 100%;
    folkbalbendeborder: none;
    text-align: left;
    outline: none;
    font-size: 1em;
    border: none;
}
.menubutton:hover {
    color: var(--menu-text-color-highlight);
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
    background-color: var(--secondary-color);
}

/* Style the collapsible content. Note: hidden by default */
.menu {
    padding: 0 18px;
    position: absolute;
    display: none;
    overflow: hidden;
    background-color: var(--secondary-color);
    font-size: 1em;
    z-index: 100;
}

.menuitem {
    padding: 0.2em 1em 0.2em 1em;
}

.menuitem a {
    font-weight: normal;
    text-decoration: none;
    color: var(--menu-item-color)
}
.menuitem a:hover {
    text-decoration: none;
    color: var(--menu-item-color-highlight)
}

.menutitle {
    font-weight: bold;
    border: none;
    background-color: var(--secondary-color);
}

@media(min-width:992px){
    .content {
        width:80%;
        margin:0 auto;
    }

    .menu {
        background-color: var(--primary-color);
        color: var(--menu-item-color);
        cursor: pointer;
        /*padding: 1em;*/
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 1em;
        display: flex;
        position: relative;
        overflow: visible;
    }

    /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
    .active, .collapsible:hover {
        background-color: var(--secondary-color);
    }

    /* Style the collapsible content. Note: hidden by default */
    div.menu-group {
        display: block;
    }
    .menu-group {
        margin: 0px 10px 0px 0px ;
        padding: 0 18px;
        display: none;
        overflow: hidden;
        /*background-color: var(--primary-color);*/
        font-size: 1em;
    }
    .menuitem{
        margin: 0px 5px 0px 5px;
    }

    .menutitle {
        background-color: var(--primary-color);
        color: var(--menu-text-color);
        cursor: pointer;
        padding: 0.2em 1em 0.2em 1em;
        width: 100%;
        border: none;
        text-align: left;
        outline: none;
        font-size: 1em;
    }
    .menuselection {
        padding: 0 18px;
        position: absolute;
        display: none;
        overflow: hidden;
        background-color: var(--secondary-color);
        font-size: 1em;
    }
}
.language-menu {
    margin-left: auto;
    padding-top: 0.4em;
    display: block;
    overflow: hidden;
    font-size: 0.6em;
}
button.menuitem {
    background-color: #0000;
    color: var(--menu-text-color);
    cursor: pointer;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    /*width: 100%;*/
    border: none;
    display: block;
    text-align: left;
    /*outline: none;*/
    font-size: 1em;
}
button.menuitem:hover {
    color: var(--menu-text-color-highlight);
}
