
/* Hide desktop */
.mm-nav-cont{
    display: none;
}

@media screen and (max-width: 1160px){
    .mm-nav-logo{
        background-image: url(../../img/jaa_logo-3.png);
        background-repeat: no-repeat;
        background-size: contain;
        cursor: pointer;
        height: 60px;
        left: 0;
        position: relative;
        width: 138px;
    }

    .mm-nav-cont{
        background: #FFFFFF;
        box-shadow: 2px 2px rgba(0,0,0,0.05);
        -moz-box-shadow: 2px 2px rgba(0,0,0,0.05);
        -webkit-box-shadow: 2px 2px rgba(0,0,0,0.05);
        display: block;
        height: 60px;
        position: fixed;
        width: 100%;
        z-index: 10;
    }
    .menuToggle a:hover,
    .menu_link:hover{
        color: #FFFFFF;
    }

    .menu-button{
        position: absolute;
        right: 18px;
        top: 19px;
    }

    .menu-button .menu-icon{
        display: inline-block;
    }

    .menu-button .menu-status{
        display: none;
    }

    .menuToggle{
        display: block;
        left: 100%;
        position: relative;
        top: -40px;
        transition: left 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        user-select: none;
        width: 100vw;
        z-index: 1;
        -webkit-user-select: none;
    }
    .mm_nav input{
        cursor: pointer;
        display: block;
        height: 32px;
        opacity: 0;
        position: absolute;
        right: 14px;
        top: 10px;
        width: 38px;
        z-index: 2;
        -webkit-touch-callout: none;
    }

    .mm_nav span{
        background: #001D27;
        border-radius: 0;
        display: block;
        height: 4px;
        margin-bottom: 6px;
        position: relative;
        transform-origin: 4px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
        z-index: 1;
    }

    .mm_nav span.span-first{
        transform-origin: 0% 0%;
        transform: rotate(0deg) translate(0, 0);
        width: 33px;
    }

    .mm_nav span.span-second{
        transform-origin: 0% 100%;
        width: 33px;
    }

    .mm_nav span.span-third{
        width: 33px;
    }

    .mm_nav input:checked ~ .menu-button span{
        left: 2px;
        width: 30px;
    }

    .mm_nav input:checked ~ .menu-button span.span-first{
        margin-bottom: 0;
        left: 5px;
        opacity: 1;
        top: 3px;
        transform: rotate(45deg) translate(-3px, -9px);
    }

    .mm_nav input:checked ~ .menu-button span.span-third{
        margin-bottom: 0;
        left: 5px;
        top: 5px;
        transform: rotate(-45deg) translate(0, 0);
    }

    /* This span disappears when checked */
    .mm_nav input:checked ~ .menu-button span.span-second{
        margin-bottom: 0;
        left: 5px;
        opacity: 0;
        top: 3px;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    .mm_nav input:checked ~ .menuToggle{
        display: block;
        left: 0;
        position: relative;
        transform: translate(0%, 0);
        transform-origin: 100% 0%;
        transition: left 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        top: -40px;
        user-select: none;
        width: 100vw;
        z-index: 1;
        -webkit-user-select: none;
    }

    /* kijken of dit weg kan ? */
    .menu{
        background: #569CB8;
        height: 200vh;
        list-style-type: none;
        margin: 40px 0 0 0;
        overflow-y: scroll;
        overflow-x: hidden;
        max-height: calc(100vh - 60px);
        padding: 0;
        position: absolute;
        width: 100%;
        -webkit-font-smoothing: antialiased;
    }

    .menu li{
        font-size: 22px;
        padding:0;
        position: relative;
        width: 100%;
    }

    .menu li.mm-mainli{
        padding: 0;
    }

    .menu li.mm-maina:hover{
        background-color: #5FA5C0;
    }

    .mm-maina{
        cursor: pointer;
        width: calc(100% - 56px);
    }

    .menu li.mm-subli{
        background-color: #488EAA;
        border-bottom: 1px solid #418099;
    }

    .menu li.mm-subli:first-child{
        border-top: none;
    }

    .mm-subli:hover{
        background-color: red;
    }

    .menuToggle input:checked ~ ul{
        transform: none;
    }

    .menu .mm-suba,
    .menu_link{
        border-bottom: 1px solid #488EAA;
        color: #FFFFFF;
        font-size: 18px;
        font-weight: 500;
        height: 56px;
        line-height: 56px;
        margin: 0;
        padding: 0 0 0 18px;
        text-decoration: none;
    }

    .menu_link{
        color: #FFFFFF;
        font-size: 18px;
        font-weight: 500;
        height: 56px;
        line-height: 56px;
        margin: 0;
        padding: 0 0 0 18px;
        text-decoration: none;
        width: 100%;
    }

    .menu_link:hover{
        background-color: #5FA5C0;
    }

    .mm-nav-cont button{
        background-color: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
    }

    .mm-nav-cont button:after,
    .mm-nav-cont button:before{
        display: none;
    }

    .mm-arrow-btn{
        background-color: #488EAA;
        border-bottom: 1px solid #569bb8;
        cursor: pointer;
        height: 56px;
        padding: 10px 10px;
        position: absolute;
        right: 0;
        top: 0;
        width: 56px;
    }

    .mm-arrow-btn:hover{
        background-color: #488EAA;
    }

    .mm-main-arrow{
        background-image: url(/static/img/icons/submenu-arrow-right-white.svg);
        background-repeat: no-repeat;
        background-size: 20px 15px;
        height: 100%;
        margin: 21px 0 0 18px;
        width: 100%;
    }

    .mm-main-arrow-down{
        background-image: url(/static/img/icons/submenu-arrow-down-white.svg);
        background-repeat: no-repeat;
        background-size: 20px 15px;
        height: 100%;
        margin: 21px 0 0 18px;
        width: 100%;
    }

    .mm-subul{
        height: 0;
        list-style-type: none;
        padding: 0;
        position: relative;
        opacity: 0;
        top: 0;
        transition: 0.5s;
        transition:visibility 0s, opacity 0.3s linear, height 0.1s;
        visibility: hidden;
    }

    .mm-subul-active{
        height: 100%;
        list-style-type: none;
        padding: 0;
        position: relative;
        opacity: 1;
        top: 0;
        transition: 0.5s;
        transition: visibility 0s, opacity 0.3s linear, height 0.1s;
        visibility: visible;
    }
}
