#mainMenu {

    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    display: inline-block;
    margin: 0 auto;
    width: 100%;
    background-color: var(--mainMenuBg);
    box-shadow: -1px 0 8px 3px #000;
    opacity: 0.96;
    min-height: 40px;
    max-height: 75px;
}

.logonMenu {
    display: inline-block;
    height: 35px;
    width: 100%;
    text-align: left;
    padding: 0 15px 0 50px;
}

.logonMenu p {
    margin: 0;
    line-height: 40px;
}

.logonMenuL {
    float: left;
    overflow: hidden;
    text-wrap: nowrap;
}

.logonMenuR {
    float: right;
}

#menuwrapper {
    text-align: left;
    display: inline-block;
    position: relative;
    width: 100%;
    z-index: 100;
}

#menu_check {
    display: none;
}

#menu_label {
    display: none;
}
.shoklogo {
    position: fixed;
    width: 40px;
    top: 0;
    left: 4px;
    z-index: 101;
}
.headmenuwrapper {
    display: grid;
    grid-template-columns: auto;
    gap: 0;
    grid-auto-flow: column;
    width: 100%;
    margin: 0 auto;
    background: transparent;
}

@media screen and (max-width: 1080px) {
    .logonMenuR {
        display: none;
    }

    #menuwrapper {
        text-align: right;
        position: fixed;
        left: 0;
        top: 2px;
    }

    #menu_label {
        display: inline-block;
        /* top: -3px; */
        top: 0;
        right: 4px;
        position: relative;
        /* margin: 5px 5px 0 0; */
        margin: 0;
        padding: 0 5px;
        background-color: var(--mainMenuBg);
    }

    #menu_label div {
        display: block;
        /* width: 30px; */
        height: 3px;
        margin-top: 3px;
        background: #242424;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    #menu_label span {
        margin: 0;
        line-height: 0;
        font-weight: bold;
        font-size: small;
    }

    #menu_check:checked+label div {
        background: #707070;
    }

    #menu {
        display: block;
        width: 375px;
        position: absolute;
        background: var(--mainMenuBg);
        box-shadow: -1px 7px 8px 0px #000;
        top: 38px;
        right: 0;
        transform: scaleY(0.0);
        transform-origin: top left;
        transition: all ease-in-out 500ms;
        max-height: calc(100vh - 40px);
        overflow: scroll;
    }

    #menu_check:checked~div#menu {
        transform: scaleY(1);
    }

    .headmenuwrapper {
        display: grid;
        grid-auto-flow: row;
        width: 96%;
        margin: 0 auto;
        grid-row-gap: 5px;
        margin: 10px auto;
    }
}

@media screen and (max-width: 600px) {
    #menu {
        width: 100%;
    }
}

.menu {
    background-color: var(--mainMenuBg);
}

.headmenubutton {
    text-align: center;
    min-width: 10%;
    height: 40px;
    background: var(--mainMenuBg);
    /* font-family: Arial; */
    font-family: sans-serif;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: all ease-in-out 300ms;
}

.headmenubutton:hover {
    background: var(--mainMenuHover);
    color: #2b2b2b;
    text-decoration: underline;
    text-decoration-color: #959393;
    text-decoration-thickness: 1px;
}

.headmenubuttonSelected {
    font-size: 1.1rem;
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

@media screen and (max-width: 1080px) {
    .headmenubutton {
        border: 1px solid #484848;
        border-radius: 5px;
    }

    .headmenubuttonSelected {
        box-shadow: 0 0 4px 2px #686767 inset;
    }
}


/* Sub meny */

.menudiv {
    width: 100%;
    background-color: var(--mainMenuBg);
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid #919191;
}

.submenuwrapper {
    display: grid;
    gap: 0;
    grid-auto-flow: column;
    margin: 0 auto;
    width: 98%;
    font-size: 14px;
}

@media screen and (max-width: 800px) {
    .menudiv {
        padding-top: 5px;
    }
    .submenuwrapper {
        grid-auto-flow: row;
        font-size: 13px;
        grid-auto-rows: 40px;
    }
}

.sub_button {
    text-align: center;
    min-width: 10%;
    height: 35px;
    background: var(--subMenuBg);
    /* font-family: Arial; */
    font-family: sans-serif;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: all ease-in-out 300ms;
}

.sub_buttonSelected {
    font-size: 1.1rem;
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

.sub_button:hover {
    background: var(--subMenuHover);
    color: #2b2b2b;
    text-decoration: underline;
    text-decoration-color: #959393;
    text-decoration-thickness: 1px;
}

@media screen and (max-width: 800px) {
    .sub_button {
        border: 1px solid #484848;
        border-radius: 5px;
    }

    .sub_buttonSelected {
        box-shadow: 0 0 4px 2px #686767 inset;
    }
}

.buttonMobile{
    display: none;
}

@media screen and (max-width: 1080px) {
    .buttonMobile{
        display: block;
    }
}