/* COMPLETED */

/* Header */

.header .header-item1 {
    display: block;
    background-color: #fff;
    width: 100%;
    height: 4em;
    box-shadow: 1px 1px 4px 0px rgba(0,0,0,.3);
    position: absolute;
    z-index: 1;
    padding: 0em 10%; 
    overflow: visible;
}

.header ul {
    list-style: none;
    overflow: hidden;
    background-color: #fff;
}

.header ul a {
    display: block;
    border-right: 1px solid #aaa;
    text-decoration: none;
}

.header ul .left-border {
    border-left: 1px solid #aaa;
}

.header ul a:hover {
    background-color: #ddd;
}

.header li {
    float: left;
}

.header li a {
    padding: 1.5em 2em;
    line-height: 1;
}

.header .logo {
    float: left;
    width: 19em;
    margin-top: 1em;
    position: relative;
    display: block;
}


.header .logo a {
    text-decoration: none;
    color: #333;
    font-size: 2em;
    font-weight: bold;
    font-family: "oswald", sans-serif;
    line-height: 1;
    display: inline-block;
    padding-left: 0.1875em;
}

.header .logo img {
    display: inline-block;
    width: 2rem;
    height: 2rem;
}

.header .logo .img-container {
    display: inline-block;
    display: none;
}
.header .nav-items {
    clear: none;
    float: right;
    max-height: none;
}

.header .menu-icon {
    display: none;
}

.header .menu-btn {
    display: none;
}

.header .header-item2 .blankspace {
    display: block;
    position: static;
    width: 100%;
    height: 4em;
}

.header .header-item2 .sub-menu {
    position: relative;
    background-color: #911;
    height: 2em;
    width: 100%;
    box-shadow: 1px 1px 4px 0px rgba(0,0,0,.3);
}



/* Mobile */
@media (max-width: 768px) {
    .header .header-item1{
        position: absolute;
        z-index: 1;
        padding: 0 3%;
    }

    .header ul a {
        border-right: none;
        border-bottom: 1px solid #aaa;
    }

    .header ul .left-border {
        border-left: none;
        border-top: 1px solid #aaa;
    } 

    .header .nav-items {
        clear: both;
        max-height: 0;
        transition: max-height .2s ease-out;
        width: 100%;
        text-align: center;
    }


    .header .logo {
        width: 14em;
        margin-top: 1.25em;
    }


    .header .logo a {
        font-size: 1.5em;

    }

    /* Hamburger Menu */
    .header .menu-icon {
        padding: 2em 1.250em;
        position: relative;
        float: right;
        cursor: pointer;
        display: block;
    }


    .header .menu-icon .nav-icon {
        background: #333;
        display: block;
        height: 2px;
        width: 18px;
        position: relative;
        transition: background .2s ease-out;
    }
    
    .header .menu-icon .nav-icon::before {
        background: #333;
        content:"";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 5px;
        transition: all .2s ease-out;
    }
    
    .header .menu-icon .nav-icon::after {
        background: #333;
        content:"";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: -5px;
        transition: all .2s ease-out;
    }
    
    .header .menu-btn {
        display: none;
    }
    
    .header .menu-btn:checked ~ .nav-items {
        max-height: 15em;
    }
    
    .header .menu-btn:checked ~ .menu-icon .nav-icon {
        background: transparent;
    }
    
    .header .menu-btn:checked ~ .menu-icon .nav-icon::before {
        transform: rotate(-45deg);
        top:0;
    }
    
    .header .menu-btn:checked ~ .menu-icon .nav-icon::after {
        transform: rotate(45deg);
        top: 0;
    }


    .header li {
        float: none;
    }
}
