div.nav-burger {
height: 30px; 
width: 26px;
position: absolute;
z-index: 99999;
top: 15px; 
left: 4%;
cursor: pointer;
}
div.x,
div.y,
div.z {
position: absolute; margin: auto;
top: 0px; bottom: 0px;    
background: #402111;
border-radius: 2px;
transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-webkit-transition: all 200ms ease-out;
-ms-transition: all 200ms ease-out;
-o-transition: all 200ms ease-out;
}
.open .x,
.open .y,
.open .z {
background: var(--header-mobile-nav-button-color);
}
div.x, div.y, div.z {
height: 5px; width: 26px;
}
div.y {
top: 18px;
}
div.z {
top: 37px;
}
div.collapse {
top: 20px;
transition: all 70ms ease-out;
-moz-transition: all 70ms ease-out;
-webkit-transition: all 70ms ease-out;
-ms-transition: all 70ms ease-out;
-o-transition: all 70ms ease-out;
}
div.rotate30 {
-ms-transform: rotate(30deg); 
-webkit-transform: rotate(30deg); 
transform: rotate(30deg); 
-webkit-transition: all 50ms ease-out;
-moz-transition: all 50ms ease-out;
-ms-transition: all 50ms ease-out;
-o-transition: all 50ms ease-out;
transition: all 50ms ease-out;          
}
div.rotate150 {
-ms-transform: rotate(150deg); 
-webkit-transform: rotate(150deg); 
transform: rotate(150deg);  
-webkit-transition: all 50ms ease-out;
-moz-transition: all 50ms ease-out;
-ms-transition: all 50ms ease-out;
-o-transition: all 50ms ease-out;
transition: all 50ms ease-out;          
}
div.rotate45 {
transform: rotate(45deg); 
-webkit-transform: rotate(45deg); 
-ms-transform: rotate(45deg); 
transition: all 100ms ease-out;         
-moz-transition: all 100ms ease-out;
-webkit-transition: all 100ms ease-out;
-ms-transition: all 100ms ease-out;
-o-transition: all 100ms ease-out;
}
div.rotate135 {
transform: rotate(135deg);  
-webkit-transform: rotate(135deg); 
-ms-transform: rotate(135deg); 
transition: all 100ms ease-out;         
-moz-transition: all 100ms ease-out;
-webkit-transition: all 100ms ease-out;
-ms-transition: all 100ms ease-out;
-o-transition: all 100ms ease-out;
}
nav {  
opacity: 0;
transition: all 200ms ease; 
-moz-transition: all 200ms ease;
-webkit-transition: all 200ms ease;
-ms-transition: all 200ms ease;
-o-transition: all 200ms ease;
}
nav.animate {
opacity: 1;
transition: all 300ms ease;         
-moz-transition: all 300ms ease;
-webkit-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
}
nav.animate > ul > li {
transform: translateX(0);
-webkit-transform: translateX(0);
opacity: 1;
}
.animate > ul > li:nth-child(1) {
transition-delay: 0.05s;
}
.animate > ul > li:nth-child(2) {
transition-delay: 0.10s;
}
.animate > ul > li:nth-child(3) {
transition-delay: 0.15s;
}
.animate > ul > li:nth-child(4) {
transition-delay: 0.20s;
}
.animate > ul > li:nth-child(5) {
transition-delay: 0.25s;
}
.animate > ul > li:nth-child(6) {
transition-delay: 0.30s;
}
.animate > ul > li:nth-child(7) {
transition-delay: 0.35s;
}
.animate > ul > li:nth-child(8) {
transition-delay: 0.40s;
}
nav ul li ul li a:hover {
color: #111;
text-decoration: underline;
}
@media only screen and (min-width: 240px) {
nav {
max-height: 0;
position: fixed;
height: 100%;
padding-top: 5vh;
top: 0; right: 0; bottom: 0; left: 0;
z-index: 99998; 
overflow: hidden; }
nav ul { margin: 0 auto !important; padding: 0; max-width: 1180px; }
nav li {
text-align: center;
opacity: 1;
list-style: none;
}
nav li a {
font-size: 20px;
line-height: 40px;
font-weight: 900;
text-transform: uppercase;
text-shadow: 1px 1px 2px rgba(0,0,0,.5);
color: white;
}
nav ul li ul {
display: none;
}
}
@media only screen and (min-width: 1300px) {
.nav-burger {
display: none;
}
nav {
display: block;
overflow: visible !important;
position: relative;
padding-top: 0;
top: 0;
height: 60px;
max-height: 60px;
opacity: 1;
z-index: 1;
box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
nav ul {
width: 100%;
display: table;
}
ul.menu {
margin: 0;
padding: 0;
}
nav ul li {
position: relative;
opacity: 1;
display: table-cell;		border-left: 1px solid #0162a3;
}  	nav ul li:last-of-type {		border-right: 1px solid #0162a3;	}
nav ul li a {
height: 60px; line-height: 60px;
padding: 0 10px;
text-align: center;
display: block;
font-size: 16px;
font-weight: 700;
color: #fff;
}
nav a:hover {
background: #6db4f6;
text-shadow: none;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
nav a {
display: inline-block;
vertical-align: middle;
-webkit-transform: perspective(1px) translateZ(0);
transform: perspective(1px) translateZ(0);
box-shadow: 0 0 1px transparent;
position: relative;
overflow: hidden;
}
nav ul li a:before,	
nav ul li.current-menu-item a:before  {
content: "";
position: absolute;
z-index: -1;
left: 50%;
right: 50%;
bottom: 0;
background: #fff;
height: 3px;
transition-property: left, right;
-webkit-transition-property: left, right;
transition-duration: 0.3s;
-webkit-transition-duration: 0.3s;
transition-timing-function: ease-out;
-webkit-transition-timing-function: ease-out;
}
nav ul li.current-menu-item a:before, 
nav ul li.current-page-ancestor a:before, 
nav a:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
left: 0;
right: 0;
}
nav ul li ul {
position: absolute;
top: 100%; display: block;
width: 100%;
z-index: 99999 !important;
padding: 15px 0;
border-bottom: 0;
opacity: 0;
visibility: hidden;
background: #FABF00;
transition: all .3s;
}
nav ul li ul li {
display: block;
height: 60px; line-height: 60px;
}
nav ul li ul li a {
color: #333;
font-size: 16px;
padding: 5px 10px;
text-transform: capitalize;
text-shadow: none;
}
.active ul {
visibility: visible !important;
opacity: 1 !important;
}
nav ul li ul li {
opacity: 1;
}
.active li {
opacity: 1 !important;
transform: translateY(0) translateZ(0) !important;
}
.active li:nth-child(1) {
transition-delay: 0.05s;
}
.active li:nth-child(2) {
transition-delay: 0.10s;
}
.active li:nth-child(3) {
transition-delay: 0.15s;
}
.active li:nth-child(4) {
transition-delay: 0.20s;
}
.active li:nth-child(5) {
transition-delay: 0.25s;
}
.active li:nth-child(6) {
transition-delay: 0.30s;
}
.active ul:before {
top: -12px;
transition-delay: .3s;
}
}