/* -----------------------------------------
	HEADER/NAVIGATION
----------------------------------------- */
#navMain .logoBox a { display: inline-block; z-index: 999; transition: all .2s }
.logoBox a:hover { text-decoration: none; transform: scale(1.1) }
.breadcrumbs { margin: 0 0 30px }

#navMain img.logo { width: 120px }

/* --- NAV MAIN --- */
#navMain { padding: 25px 15px; z-index: 9; width: 100%; left: 0; right: 0; transition: all .4s; z-index: 999; position: absolute; overflow: visible; min-height: 120px }
body:not(.home):not(.drawer) #navMain { background: var(--extralight) }
body.drawer #navMain .logoBox { display: none }
#navMain.sticky { position: fixed }
#navMain .row { background: transparent; position: relative; display: flex; align-items: center; min-height: 100px; flex-wrap: nowrap; justify-content: center }
#navMain .columns { margin-bottom: 0; padding: 0 }
#navMain .logoBox { flex-shrink: 0; position: absolute; left: 50%; transform: translateX(-50%); z-index: 10 }
#navMain #primary { flex: 1; display: none; justify-content: space-between; align-items: center }
#navMain #primary ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center }
#navMain #primary ul li a { display: block; color: var(--darkgreen); text-decoration: none; padding: 0 15px; font-weight: var(--bold); text-transform: uppercase; font-size: .85rem }
#navMain #primary ul li a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--yellow) }
#navMain #primary ul li { margin: 0; padding: 0; display: flex; align-items: center }
#navMain #primary ul#right { margin-left: auto }
#navMain #primary ul#right li { float: right }
#navMain #primary ul li:last-of-type { margin-right: 0 }
#navMain #primary ul li:first-of-type { margin-left: 0 }
#navMain #primary ul li.current-menu-item { background: #ddd }
#navMain #primary ul ul { display: none; position: absolute; top: 100%; left: 0; background: #222; padding: 4px 0 }
#navMain #primary ul ul li { float: none; width: 200px }
#navMain #primary ul ul li, #navMain #primary ul ul li:hover { border: 0; margin: 0 }
#navMain #primary ul ul a { line-height: 120%; padding: 8px 15px; font-size: .9em; color: #888 }
#navMain #primary ul ul ul { top: 0; left: 100% }
#navMain #primary ul li:hover > ul { display: block; z-index: 999 }
#navMain #primary ul li a.button { padding: 0.85em 1em; margin: 0 }
#navMain #primary ul li a.button:hover { background: var(--green); color: white; text-decoration: none }

/* --- MENU BTN --- */
a#menuBtn { position: absolute; z-index: 999; display: block; right: 20px }

.doubledouble { background: transparent; width: 30px; text-indent: -9999px }
.doubledouble .line { transition: all .3s; height: 2px; background-color: var(--green); display: block; margin-bottom: 7px; position: relative }
.doubledouble .line.three { margin-bottom: 0 }
body.drawer a#menuBtn .doubledouble .line, body.drawer a#menuBtn-mobile .doubledouble .line { background-color: #FFF !important }
body.drawer a#menuBtn .doubledouble .line.one, body.drawer a#menuBtn-mobile .doubledouble .line.one { -ms-transform: translate(0,7px) rotate(-45deg); -webkit-transform: translate(0,7px) rotate(-45deg); transform: translate(0,7px) rotate(-45deg) }
body.drawer a#menuBtn .doubledouble .line.three, body.drawer a#menuBtn-mobile .doubledouble .line.three { -ms-transform: translate(0,-11px) rotate(45deg); -webkit-transform: translate(0,-11px) rotate(45deg); transform: translate(0,-11px) rotate(45deg) }
body.drawer a#menuBtn .doubledouble .line.two, body.drawer a#menuBtn-mobile .doubledouble .line.two { width: 0; opacity: 0 }

/* --- DRAWER --- */
body.drawer { overflow: hidden }
body.drawer #drawerNav { opacity: 1; visibility: visible; background: var(--darkgreen) }
#drawerNav { position: fixed; top: 0px; left: 0; right: 0; bottom: 0; z-index: 998; opacity: 0; visibility: hidden }
#drawerNav ul { text-align: left; padding-bottom: 10px; list-style: none; margin-left: 0 }
#drawerNav ul li { position: relative; opacity: 0; top: -10px; transition: all .4s }
#drawerNav ul li a { color: #FFF; line-height: 4em; display: block; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.10); padding: 0 25px }
#drawerNav ul li a:hover { background: rgba(255,255,255,.1); text-decoration: none }
#drawerNav ul li ul { border-bottom: 1px solid rgba(255,255,255,.10); padding: 10px 0; background: rgba(25,25,25,.04) }
#drawerNav ul li ul li a { line-height: 2.5em; border-bottom: 0; text-transform: none; padding-left: 40px }
#drawerNav ul li ul li a:hover { background: transparent; opacity: 1 }
ul.subMenu { display: none }
.showSub { float: right; border-bottom: 0 !important }

body.drawer #drawerNav ul li { opacity: 1; top: 0 }
#drawerNav ul li:first-of-type { transition-delay: .2s }
#drawerNav ul li:nth-of-type(2) { transition-delay: .3s }
#drawerNav ul li:nth-of-type(3) { transition-delay: .4s }
#drawerNav ul li:nth-of-type(4) { transition-delay: .5s }
#drawerNav ul li:nth-of-type(5) { transition-delay: .6s }
#drawerNav ul li:nth-of-type(6) { transition-delay: .7s }
#drawerNav ul li:nth-of-type(7) { transition-delay: .8s }
#drawerNav ul li:nth-of-type(8) { transition-delay: .9s }
#drawerNav ul li:nth-of-type(9) { transition-delay: 1s }
#drawerNav ul li:nth-of-type(10) { transition-delay: 1.1s }


/* .utility ul { list-style: none; margin: 0; font-size: .75em; float: right }
.utility ul li { float: left }
.utility ul li:last-of-type { border-right: 0 }
.utility ul li a { padding: 4px 10px 3px; display: block }
.utility ul li a:hover { text-decoration: none }
.utility .column { margin-bottom: 0 } */

.scroll-nav { position: fixed; top: -100px; left: 20px; right: 20px; z-index: 999; background: white; padding: 18px 0; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); border-radius: 16px; transition: all 0.3s ease-in-out; opacity: 0; visibility: hidden }
.scroll-nav.visible { top: 20px; opacity: 1; visibility: visible }
.scroll-nav img.logo { width: 60px; top: -12px; position: relative; margin: 0 auto; display: flex;
}
.scroll-nav .button { position: absolute; right: 11px; top: 7px; }
.scroll-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; }
.scroll-nav ul li { margin: 0 10px; }
.scroll-nav ul li a { color: var(--darkgreen); text-decoration: none; font-weight: var(--bold); text-transform: uppercase; font-size: .85rem; }
.scroll-nav ul li a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--yellow) }
body.drawer .scroll-nav img.logo { display: none }
body.drawer .scroll-nav.visible { background: transparent; box-shadow: none; }

#menuBtn-mobile { position: absolute; z-index: 999; display: none; right: 40px; top: 32px }
#menuBtn-mobile .doubledouble { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

@media only screen and (max-width: 40em) {
	.scroll-nav  { height: 63px }
	#menuBtn-mobile { display: block }
}

@media only screen and (min-width: 40.063em) {
	.scroll-nav img.logo { top: 6px; left: 12px; position: absolute; display: block }
}

@media only screen and (min-width: 60.063em) {
	#navMain #primary { display: flex }
	a#menuBtn { display: none }
	#drawerNav { width: 35%; left: auto; right: -600px; transition: all .5s }
	body.drawer #drawerNav { right: 0 }
	
	#navMain #primary ul { padding: 0 60px }
	#navMain #primary ul li { margin: 0 }
}