/*---------------------------------
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;
}

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

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

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

nav#navigation ul.sub-menu:before {
    position: absolute;
    top: -6px;
    right: 16px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #222268;
    border-left: 6px solid transparent;
    border-bottom-color: #222268;
    content: '';
}

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

#header-menu ul ul {
width: 500px;
border-radius: 3px;
}

#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: 14px;
line-height: 1.5;
color: #FFF;
position: absolute;
padding: 0px 20px;
display: flex;
align-items: center; text-align: left;
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.05);
}

}

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

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

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

}

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

#header-menu ul > li::after {
        right: -24px !important;
}

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

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

}

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

/* Defaults */

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

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

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

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

#header-menu ul > li::after {
content: "";
        background: #ffffff1c;
        width: 5px;
        height: 5px;
        border-radius: 5px;
        position: absolute;
        top: 30px;
        right: -19px;
}

#header-menu ul ul > li::after {
display: none;
}

#header-menu ul > li:last-child:after {
display: none;
} 

/* 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;
}

}

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

body.toggled-on {
overflow: hidden;
}

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

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

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

.header-menu {
background: #253065;
margin:0;
right: -50px;
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;
top: 0px;
}

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

#menu-toggle {
background: none;
position: absolute;
z-index: 99999;
border: none;
color: #FFF;
font-weight: 800;
        right: -19px;
        top: 49px;
font-size: 14px; text-transform: uppercase; letter-spacing: 2px;
padding: 6px 20px 4px;
border-radius: 3px;
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: 6px;
        right: -27px;
color: #333;
font-size: 14px;
padding: 4px 10px 0px;
width: 120px;
}

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;
}

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

#header-menu ul ul  {
background: #ffffff12 !important;
}

#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: 16px;
}

#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: transparent;
border: 0;
border-radius: 0;
color: #FFF;
content: "";
height: 63px;
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;
}

}


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


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