/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.25em;
    text-align: left;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
    height: 3em;
}
.home-menu ul{
    float: right;
}

.pure-menu-item{
    vertical-align: top !important;
}

.pure-menu.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.pure-menu-list{
    width: 100%;
}


.home-menu .pure-menu-selected{
    color: #000;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
    float: left;
}

.home-menu a {
    right: 0px;
    margin-right: 0px;
    color: #03a8d9;
}

.home-menu li a:hover,
.home-menu li a:focus,
.footer a:focus, 
.footer a:hover {
    background: none;
    border: none;
    color: #818d92;
}

.custom-wrapper{
    position: fixed;
    background: #00171f;
    z-index: 4;
    width: 100%;
    max-height: 3em;
    padding: 0px;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    -webkit-transition: max-height 0.5s;
    -moz-transition: max-height 0.5s;
    -ms-transition: max-height 0.5s;
    transition: max-height 0.5s;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    position: absolute;
    margin-top: -17px;
    top: 1.5em;
    right: 0;
    display: none;
}

.custom-toggle .bar {
    background-color: #777;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 18px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.pure-menu-sub li a{
    color: #fff;
    padding-left: 2em;
    text-align: left;
    line-height: 1em;
    font-size: 80%;
    overflow-wrap: break-word;
}

@media(min-width: 48em){
    .header:hover{
        max-height: 100%;
    }
}
@media (max-width: 47.999em) {
    .header{
        pointer-events: ;
    }

    .custom-wrapper{
        max-height: 3em;
    }

    .open{
        max-height: 100%;
        overflow: scroll;
    }

    .custom-toggle {
        display: block;
    }

    .home-menu .pure-menu-heading {
        float: none;
    }
    
    .home-menu li a{
        line-height: 1.5em;
        text-align: center;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu ul{
        text-align: center;
        float: none;
    }
}