/* navigatiemodus (instellingen Backstage) */
body.menu-hamburger #header #menu { 
    display: none;
}
body.menu-classic #menu-button { 
    display: none;
}

/* menu - slideout div */
#menu-slideout {
    position: fixed;
    right: -100%; /* overruled in js settings but this prevents flashing */
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9; 
    max-width: 800px;
}
#menu-slideout #menu-close {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 60px;
    height: 60px;
    background: #56af32;
    cursor: pointer;
    border-radius: 3px;
}
#menu-slideout #menu-close svg {
    fill: #fff;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
#menu-slideout ul {
    /*position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;*/
    text-align: center;
}
#menu-slideout ul.small {
    margin-top: 70px;
}
#menu-slideout ul.big {
    margin-top: 30px;
}
#menu-slideout ul li {
    font-size: 1em;
}
#menu-slideout ul.big li a {
    font-size: 1.4em;
}
#menu-slideout ul li a {
    color: #576659;
    display: block;
    font-weight: 900;
    white-space: nowrap;
    font-family: "Poppins";
    text-transform: uppercase;
    font-size: 1em;
}
#menu-slideout ul.small li a {
    font-size: 1em;
    font-family: "Karla";
    font-weight: normal;
    text-transform: none;
}
#menu-slideout ul li a:hover,
#menu-slideout ul li.active a {
    color: #56af31;
}
#menu-darken {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 8;
    pointer-events: none;
    opacity: 0;
    transition: all 700ms;
}
#menu-darken.active {
    cursor: pointer;
    pointer-events: all;
    opacity: .5;
}

/* header */
#header {
    width: 100%;
    height: 150px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 7;
    background: #fff;
    transition: height 300ms;
    box-shadow: 0px 0px 100px rgba(0,0,0,0.2), 0px 0px 50px rgba(0,0,0,0.1), 0px 0px 25px rgba(0,0,0,0.1);
}
body.scroll #header {
    height: 100px;
}
#header #header-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    height: 100%;
    position: relative;
}
#header #logo {
    width: 300px;
    height: 87px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
#header #logo a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('../../images/logo.svg');
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
#header #menu {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
#header #menu.move-for-menu-button {
    right: 80px;
}
#header #menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
}
#header #menu ul li {
    margin-left: 1.1em;
}
#header #menu ul li:first-child {
    margin-left: 0;
}
#header #menu ul li a {
    display: block;
    color: #566659;
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}
#header #menu ul.small li a {
    font-size: 1em;
    font-family: "Karla";
    font-weight: normal;
    text-transform: none;
}
#header #menu ul.big li a {
    font-size: 1.4em;
}
#header #menu ul li a:hover,#header #menu ul li.active a {
    color: #56af31;
}
#header #menu-mobile {
    display: none;
}

/* menu - hamburger button */
#menu-button {
    position: absolute;
    right: 0px;
    top: 50%;
    width: 60px;
    height: 60px;
    background: #56af32;
    transition: background 300ms ease-out;
    cursor: pointer;
    z-index: 91;
    border-radius: 3px;
    transform: translateY(-50%);
}
#menu-button svg {
    fill: #fff;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
#menu-button:hover svg {
    fill: #eee;
}

/* language menu(s) */
#langmenu {
    position: absolute;
    right: 15px;
    bottom: 20px;
    display: flex;
    font-size: .8em;
}
#langmenu a {
    opacity: 0.5;
    margin:  0 10px;
    color: #000;
}
#langmenu a:hover, 
#langmenu a.active {
    opacity: 1;
    color: #56af31;
}
#langmenu a img {
    display: block;
    width: 30px;
}




@media screen and (max-width: 1500px) {


    #header #logo {
        width: 200px;
        height: 58px;
    }
    #header #menu ul li {
        margin-left: 1em;
    }
    #header #menu ul li a {
        display: block;
        color: #566659;
        font-weight: 900;
        white-space: nowrap;
        text-transform: uppercase;
        font-family: 'Poppins', sans-serif;
    }


}



@media screen and (max-width: 1000px) {

    /* navigatiemodus (instellingen Backstage) */
    body.menu-classic #menu-button { 
        display: block;
    }

    /* menu */
    #menu-button,
    #menu-slideout #menu-close {
        width: 40px;
        height: 40px;
    }
    #menu-slideout #menu-close {
        right: 20px;
        top: 20px;
    }
    #menu-button svg,
    #menu-slideout #menu-close svg {
        width: 24px;
        height: 24px;
    }
    #menu-slideout ul li {
        font-size: 1.2em;
    }

    /* header */
    #header,
    body.scroll #header {
        height: 75px;
    }
    #header #logo {
        width: 156px;
        height: 45px;
    }
    #header #menu {
        display: none;
    }    

    /* language menu(s) */
    #header #langmenu {
        display: none;
    }
    #menu-slideout #langmenu {
        bottom: auto;
        top: 30px;
        right: auto;
        left: 20px;
    }

}