/*---------------------------------
3.0 Navigation 
---------------------------------*/

/* Dropdown Arrows */

.page_item_has_children a:after, .dropdown-toggle:after,
.menu-item-has-children a:after, .dropdown-toggle:after {
-moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased;
display: inline-block;
font-family: "Genericons"; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal;
line-height: 1;
speak: none;
text-align: center;
text-decoration: inherit; text-transform: none;
vertical-align: top;
}

#header-menu .secondnav {
top: 7px;
position: relative;
margin-right: 20px;
}

.secondnav .links .icon {
float: left;
width: auto; height: 25px;
margin-right: 10px;
}

.secondnav .links .icon svg {
height: 19px; width: auto;
}

.secondnav .links a {
float: right;
top: 5px;
position: relative;
}


.header-secondary {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  top: -16px; position: relative;
}

.secondary-header {
    padding: 0px 0px 0px 20px;
    color: #FFF;
    text-decoration: none;
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-weight: 700;
}



 /*-- Over 1079px --*/ @media screen and (min-width: 1251px) {


nav#second-navigation {
position: absolute;
top: -45px;
right: 0;
display: table;
width: auto;
}

.quicklink {
right: 2%;
}

#header-menu ul a:link, 
#header-menu ul a:visited {
color: #FFF; 
text-decoration: none;
letter-spacing: 1px; 
font-weight: 700;
}	

#header-menu nav#second-navigation ul a:link, 
#header-menu nav#second-navigation ul a:visited {
text-transform: uppercase;
font-size: 0.8em;
}

#header-menu ul > li {
margin: 0px 8px;
}

#header-menu ul > li:last-child {
margin-right: 0px;
}

#header-menu ul a {
padding: 30px 0px; 
}

#header-menu ul ul {
width: 500px;
background: #2D5676;
/*--background: #333;
border-bottom: 3px solid #BF0000;--*/
}

#header-menu #second-navigation ul ul {
width: 160px;
left: 0;
right: auto;
}

#header-menu ul > .single > ul {
width: 250px;
column-count: 1;
}

#header-menu ul > .single > ul li {
width: 100%;
float: none !important;
}

#header-menu ul ul a:link, #header-menu ul ul a:visited {
font-size: 0.8em;
    line-height: 1.5;
    color: #FFF;
    position: absolute;
    padding: 0px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    height: 55px;
    text-transform: none;
    letter-spacing: 0px;} 

body.smaller #header-menu ul ul a:link, 
body.smaller #header-menu ul ul a:visited {
/*--color: #FFF !important;--*/
}

#header-menu ul ul a:hover,
#header-menu ul ul a:target {
background: rgba(255, 255, 255, 0.10);
}

}

 /*-- Over 1280px --*/ @media screen and (min-width: 1251px) {

#header-menu  ul > li {
margin: 0px 8px;
}

#header-menu ul a:link, #header-menu ul a:visited {
font-size: 15px;
}

}

 /*-- Over 1280px --*/ @media screen and (min-width: 1379px) {

#header-menu  ul > li {
margin: 0px 10px;
}

#header-menu ul a:link, #header-menu ul a:visited {
font-size: 13px;
}

}	

 /*-- Over 1280px --*/ @media screen and (min-width: 1479px) {

#header-menu  ul > li {
margin: 0px 13px;
}

#header-menu ul a:link, #header-menu ul a:visited {
font-size: 16px;
}

}	



 
 /*-- Desktop --*/ @media screen and (min-width: 1251px) {

/* Defaults */

nav#navigation li.hide {
display: none;
}

.header-menu {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    width: auto;
    line-height: 1;
}

.header-menu .branding-logo {
display: none;
}

.no-js .header-menu {
display: block;
right: 0px;
}

/* First Level */

#header-menu ul {
margin: 0; padding: 0px;
list-style: none;
text-align: right;
}

#header-menu ul > li {
display: inline-block;
position: relative;
}

#header-menu ul a {
display: block;
outline-offset: 0px;
white-space: nowrap;
}

#header-menu ul ul li.current_page_item a:link, #header-menu ul ul li.current_page_item a:visited,
#header-menu ul li.current_page_parent ul a:link, #header-menu ul li.current_page_parent ul a:visited {
border-bottom: none !important;
}


/* Second Level */

#header-menu ul ul {
text-align: left;
opacity: 0;
display: block;
/*--left: -999em;--*/
margin: 0;
position: absolute;
pointer-events: none;
transition: opacity 0.6s ease 0s;
left: auto;right: 0;
}

.no-js #header-menu ul ul {
display: block;
}

#header-menu ul ul li {
width: 50%; margin: 0px; position: static;
border-bottom: 1px solid rgba(255,255,255,0.05);
height: 55px;
padding: 0px;
position: relative;
}

#header-menu ul ul li:nth-child(odd) {
float: left;
}

#header-menu ul ul li:nth-child(even) {
float: right;
}

#header-menu ul ul ul li {
width: 100%;
}

#header-menu ul ul ul li {
width: 100%;
}

#header-menu ul ul a {
white-space: normal;
width: 100%;
padding: 13px 25px 13px;
}

#header-menu li:hover > ul,
#header-menu li.focus > ul {
right: 0;
left: 0;
opacity: 1;
pointer-events: auto;
left: auto;
right: 0;
transition: opacity 0.6s ease 0s;
}

#header-menu li:nth-child(2) > ul,
#header-menu li:nth-child(2):hover > ul,
#header-menu li:nth-child(2).focus > ul,
#header-menu li:nth-child(3) > ul,
#header-menu li:nth-child(3):hover > ul,
#header-menu li:nth-child(3).focus > ul{
right: auto; left: 0;
}

#header-menu ul li:nth-child(2) ul:before, #header-menu ul li:nth-child(2) ul:after,
#header-menu ul li:nth-child(3) ul:before, #header-menu ul li:nth-child(3) ul:after {
left: 16px; right: auto;
}

#header-menu  ul ul:after {
border-width: 0 5px 5px;
right: 20px; top: -5px;
}

/* Third Level */

#header-menu ul ul ul:after {
border: 0;
}

#header-menu ul ul li > ul,
#header-menu ul ul li:hover > ul,
#header-menu ul ul li.focus > ul {
right: 100% !important;
opacity: 0;
width: 250px;
column-count: 1;
left: -250px !important;
top: auto;
transition: opacity 0.6s ease 0s;
}

#header-menu ul ul li:nth-child(even) > ul,
#header-menu ul ul li:nth-child(even):hover > ul,
#header-menu ul ul li:nth-child(even).focus > ul {
left: 100% !important;
right: -250px !important;
}

#header-menu ul ul li:hover > ul,
#header-menu ul ul li.focus > ul {
opacity: 1;
}

/* Arrows */


.dropdown-toggle,
#header-menu ul .dropdown-toggle.toggled-on,
.menu-toggle {
display: none;
}

#header-menu #second-navigation {
width: auto;
}

#header-menu .secondnav {
display: table; width: auto; float: left;
}

#header-menu .secondnav ul li,
#header-menu .secondnav ul a{
padding: 0px;
}


}

 /*-- Mobile --*/ @media screen and (max-width: 1250px) {

body.toggled-on {
overflow: hidden;
}

nav#navigation,
nav#second-navigation {
position: relative;
width: 100%;z-index: 99;
}

nav#navigation li.hide {
display: block;
}

.menu-top-menu-container {
width: 100%;
}

.toggled-on #inner-wrapper,
.toggled-on .logo {
opacity: 0.6;
}

.header-secondary {
    top: -49px;
    position: relative;
    right: 120px;
}

.secondary-header {
    text-transform: uppercase;
font-size: 14px;
    letter-spacing: 3px;
}

#quicklinks-mobile {
display: table !important;
top: 48px !important;
right: 110px;
}

.header-menu {
background: #1e4667;
margin:0;
right: -70px;
top: -96px;
width: 360px;
position: absolute;
height: 100vh;
overflow: auto;
padding-top: 0px;
-webkit-box-shadow: 0 0 15px rgba(0,0,0,.8);
-moz-box-shadow: 0 0 15px rgba(0,0,0,.8);
-ms-box-shadow: 0 0 15px rgba(0,0,0,.8);
-o-box-shadow: 0 0 15px rgba(0,0,0,.8);
box-shadow: 0 0 15px rgba(0,0,0,.8);
-webkit-transform: translateX(100%);
-moz-transform: translateX(100%);
-ms-transform: translateX(100%);
-o-transform: translateX(100%);
transform: translateX(100%);
transition: transform .5s;
z-index: 99;
padding-bottom: 160px;
}

.header-menu.toggled-on,
.no-js .header-menu {
top: -130px;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);transition: transform .5s;
}


#menu-toggle {
background: none;
position: absolute;
z-index: 99999;
border: none;
color: #FFF;
font-weight: 800;
    right: 33px;
    top: 37px;
font-size: 14px; text-transform: uppercase; letter-spacing: 2px;
padding: 6px 20px 4px;
border-radius: 10px;
width: 125px; 
-webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; 
}

#menu-toggle.toggled-on {
background: #FFF;
top: -22px; 
right: 20px;
color: #333;
font-size: 14px;
padding: 4px 10px 0px;
width: 120px;
}

#header-menu #quicklinks	 {
display: none;
}

button#menu-toggle:after {
content: "\f419";
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-family: "Genericons";
font-size: 22px;
font-weight: 400;
speak: none;
vertical-align: middle;
width: 20px;
top: -2px;
height: 20px;
margin-left: 8px;
margin-top: -6px;
position: relative;
}

button#menu-toggle.toggled-on:after {
content: "\f406";
}

.dropdown-toggle.toggled-on:after {
content: "\f432";
}

#header-menu ul {
list-style: none;
margin: 0; padding: 0;
}

#header-menu li {
position: relative;
border-top: 1px solid hsla(0, 0%, 100%, 0.09);
}

#header-menu a {
display: block;
outline-offset: -1px;
color: #1a1a1a;
display: block;
line-height: 1.3125;
outline-offset: -1px;
padding: 17px 0px 17px 30px;
}

#header-menu ul ul  {
background: rgba(255, 255, 255, 0.1);
}

#header-menu ul ul a {
padding: 17px 0px 17px 40px;
}

#header-menu ul ul ul {
background: rgba(255, 255, 255, 0.2);
}

#header-menu ul ul ul a {
padding: 17px 0px 17px 70px;
}

#header-menu a:link,
#header-menu a:visited {
color: #FFF; text-decoration: none; font-weight: 800; font-size: 15px;
}

#header-menu .current-menu-item > a,
#header-menu .current-menu-ancestor > a {
font-weight: 700;
}

#header-menu ul ul {
transition:opacity 0.6s ease 0s ;
margin-left: 0px;
display: none;
}

.no-js #header-menu ul ul {
display: block;
}

#header-menu ul .toggled-on {
display: block;
padding: 0px;

}

#header-menu .primary-menu {
margin: 0px; padding: 0px;
}

#header-menu .page_item_has_children > a {
margin-right: 89px;
}

.dropdown-toggle {
background-color: rgba(255, 255, 255, 0.1);
border: 0;
border-radius: 0;
color: #FFF;
content: "";
height: 53px;
padding: 0;
position: absolute;
right: 0;
text-transform: none;
top: 0;
width: 90px;
z-index: 99;
}

.dropdown-toggle:after {
content: "\f431";
font-size: 24px;
left: 1px;
position: relative;
width: 90px;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
background-color: rgba(255, 255, 255, 0.2);
}

.dropdown-toggle:focus {
outline: thin dotted;
outline-offset: -1px;
}

.dropdown-toggle:focus:after {
border-color: transparent;
}

#header-menu .secondnav {
margin-right: 0px; top: 0px;
}

.secondnav .links a {
float: none;
    top: 0px;
	padding-left: 70px !important;
}

.secondnav .links .icon {
	position: relative;
    top: 13px;
    left: 30px;
	}

}


 /*-- Mobile 700px --*/ @media screen and (max-width: 700px) {
 	
#menu-toggle {
top: 24px;
} 	
 	
 }
 


 /*-- Mobile 650px --*/ @media screen and (max-width: 650px) {
 	
#quicklinks-mobile {
display: none !important;
}

#header-menu #quicklinks {
    display: table;
    width: auto;
    float: none;
    top: 15px;
    left: 9px;
}

#hero {
    height: 600px !important;
}

.curve-1 {
    display: none;
}

.curve-2 {
    display: none;
}
 	
}
 