
#skip-to-content {
    display: block;
    position: absolute;
    top: -3em;
    left: .25em;
    z-index: 1001;
    background-color: #fff;
    color: #9e1f63;
    padding: 0.5em;
    font-size: 1.4em;
    border-radius: 0.1em;
    transition: top .25s;
}

#skip-to-content:focus {
    top: .25em;
}


/****** Wrapper and logo ******/

header {
    width: 100%;
}

#header-content, #menu-button, #menu-items {
    position: relative;
    z-index: 1000;
    background-color: #9e1f63;
}

#header-content {
    text-align: center;
    padding: 1em 1em 0.8em;
}

#header-logo-link {
    display: block;
}

#header-logo {
    width: 100%;
    max-width: 35em;
    height: auto;
}


/****** Nav ******/

header nav {
    text-align: center;
    color: #fff;
    touch-action: pan-x pan-y;
}

header nav, #menu-button, #menu-items {
    background-color: #000;
}


/* Menu button */

#menu-button {
    font-weight: 700;
    /*display: none;*/
}

.menu-button-text {
    display: inline-block;
    position: relative;
}

#menu-icon {
    display: inline-block;
    margin-right: .5em;
    position: relative;
    top: 1px;
}

#menu-icon hr {
    border: none;
    border-bottom: 2px solid #fff;
    width: 1.25em;
}

#menu-button .menu-icon-line {
    position: relative;
}


/* Menu items */

#menu-items {
    display: none;
    font-weight: 500;
    background-color: #000;
    width: 100%;
    border-top: 2px solid #fff;
    /*max-height: 23.125em;*/
}

.menu-link {
    font-weight: 500;
}

.menu-link,
#menu-button {
    color: #fff;
    text-decoration: none;
    padding: .75em 0;
    font-size: 1em;
    display: block;
}

.menu-link:hover {
    background-color: #9e1f63;
}

.menu-full-line {
    border-bottom: 1px solid #fff;
    border-top-width: 100%;
}

.menu-part-line {
    border-bottom: 1px solid #fff;
    width: 5%;
    margin: 0 auto;
    text-align: center;
}



#menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .5;
}

/* Dropdowns */
.dropdown-items {
    margin-bottom: 0;
}

span.menu-top-link {
    display: none;
}

.open + #menu-items span.menu-top-link {
    display: block;
}

.open + #menu-items .dropdown-items {
    background-color: #1b1b1b;
}



/* Interactivity */
#menu-items:target,
#menu-items:target ~ #menu-overlay,
#menu-items[aria-expanded="true"] {
    display: block;
}



@media (min-width: 768px) {
    /*header nav {
        touch-action: auto;
    }*/

    #menu-button { 
        display: none !important; 
    }

    #menu-items {
        display: block !important;
        border: none;
    }

    .menu-item {
        display: inline-block;
    }

    .menu-link {
        padding: .7em .6em;
    }



    .dropdown-items {
        display: none;
        position: absolute;
        background-color: #1b1b1b;
    }

    span.menu-top-link {
        display: block;
    }

    .dropdown:hover span.menu-top-link {
        background-color: #1b1b1b;
    }

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

    .dropdown .dropdown-items .menu-item {
        display: block;
    }
}




/* Menu icon */

#menu-icon-middle-line { margin: .25em 0; }




/*#menu-button.closed #menu-icon-line { 
    top: 0; 
    -webkit-transform: rotate(0deg); 
        -ms-transform: rotate(0deg); 
            transform: rotate(0deg);
    opacity: 1;
}
#menu-button.closed #menu-icon-top-line {
    
}*/



/*#menu-button.closed #menu-icon-middle-line { top: -.1875em; }*/

/*#menu-button.open #menu-icon-top-line {
    top: .375em;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg); 
}
#menu-button.open #menu-icon-middle-line {
    opacity: 0;
}*/

        


/* Menu icon animations */

/*#menu-button #menu-icon-top-line {
    -webkit-animation: menu-icon-top .5s cubic-bezier(.5, 0, 0, 1) alternate infinite;
            animation: menu-icon-top .5s cubic-bezier(.5, 0, 0, 1) alternate infinite;
}

#menu-button #menu-icon-middle-line {
    -webkit-animation: menu-icon-middle .5s cubic-bezier(.5, 0, 0, 1) alternate infinite;
            animation: menu-icon-middle .5s cubic-bezier(.5, 0, 0, 1) alternate infinite;
}

#menu-button #menu-icon-bottom-line {
    -webkit-animation: menu-icon-bottom .5s cubic-bezier(.5, 0, 0, 1) alternate infinite;
            animation: menu-icon-bottom .5s cubic-bezier(.5, 0, 0, 1) alternate infinite;
}




#menu-button.open #menu-icon-top-line {
    -webkit-animation: menu-icon-top .5s cubic-bezier(.5, 0, 0, 1) ;
            animation: menu-icon-top .5s cubic-bezier(.5, 0, 0, 1) ;
}

#menu-button.open #menu-icon-middle-line {
    -webkit-animation: menu-icon-middle .5s cubic-bezier(.5, 0, 0, 1) ;
            animation: menu-icon-middle .5s cubic-bezier(.5, 0, 0, 1) ;
}

#menu-button.open #menu-icon-bottom-line {
    -webkit-animation: menu-icon-bottom .5s cubic-bezier(.5, 0, 0, 1) ;
            animation: menu-icon-bottom .5s cubic-bezier(.5, 0, 0, 1) ;
}

@-webkit-keyframes menu-icon-top {
    0% { 
        top: 0;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
            transform: rotate(0deg); }
    50% { 
        top: .75em;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
            transform: rotate(0deg); }
    100% { 
        top: .375em;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg); }
}
@-webkit-keyframes menu-icon-top {
    0% { 
        top: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    50% { 
        top: .75em;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    100% { 
        top: .375em;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg); }
}
@keyframes menu-icon-top {
    0% { 
        top: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    50% { 
        top: .75em;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    100% { 
        top: .375em;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg); }
}

@-webkit-keyframes menu-icon-middle {
    0% { 
        top: 0; 
        opacity: 1;
    }
    50% { 
        top: .375em; 
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
    100% { 
        top: .375em; 
        opacity: 0;
    }
}

@keyframes menu-icon-middle {
    0% { 
        top: 0; 
        opacity: 1;
    }
    50% { 
        top: .375em; 
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
    100% { 
        top: .375em; 
        opacity: 0;
    }
}

@-webkit-keyframes menu-icon-bottom {
    0% { 
        top: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    50% { 
        top: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    100% { 
        top: -.375em;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg); }
}

@keyframes menu-icon-bottom {
    0% { 
        top: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    50% { 
        top: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); }
    100% { 
        top: -.375em;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg); }
}*/






