/*
File Name: navigation.css
*/

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

#mobile { display: inline; }
#desktop { display: none; }

.header ul {
    list-style-type: none;
    margin-top: 0;
    padding-left: 0;
    overflow: hidden;
}

/* space between lines */

.header li {
    padding: 10px 0;
}
 
/* remove underline in links. */

.header li a {
    text-decoration: none;
    color: #333;
}
 
.header li a:hover {
    background-color: #F4F4F4;
}

/* space around each of the menu items */
  
.header li a {
    padding: 10px 10px;
}

/* clear float on line below */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height 1s ease-out;
}

/* menu icon for responsive hamburger menu */

.header .menu-icon { /* location of hamburger icon */
    cursor: pointer;
    display: inline-block;
    float: right;
    padding: 28px 20px;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;

}
 
.header .menu-icon .navicon { /* center line of hamburger icon */
    background: #fff;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}
 
.header .menu-icon .navicon:before, /* top and bottom lines of hamburger icon */
.header .menu-icon .navicon:after {
    background: #fff;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
 
.header .menu-icon .navicon:before {
    top: 5px;
}
 
.header .menu-icon .navicon:after {
    top: -5px;
}

/* respond to click on hamburger menu icon */

.header .menu-btn { /* hide checkbox */
    display: none;
}
 
.header .menu-btn:checked ~ .menu {
    max-height: 240px;
}
 
.header .menu-btn:checked ~ .menu-icon .navicon {
    background: transparent;
}

/* animations */
 
.header .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
}
 
.header .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
}
 
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    top: 0;
}
}