/*
 * Stellarnav.js 2.5.0
 * Responsive, lightweight, multi-level dropdown menu.
 * Copyright (c) 2018 Vinny Moreira - http://vinnymoreira.com
 * Released under the MIT license
 */

/*
.stellarnav > ul > li { display: inline-block;  }
.stellarnav > ul > li > a { }
*/
/* sticky nav */
.stellarnav.fixed { position: fixed; width: 100%; top: 0; left: 0; z-index: 9999; }

/* only used when 'scrollbarFix' is set to true in the js. This fixes horizontal scrollbar caused by the dd menus that are very long.*/
body.stellarnav-noscroll-x { overflow-x: hidden; }

/* general styling */
/*.stellarnav li.has-sub > a:after { content: ''; margin-left: 10px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #FFF; display: inline-block; }*/
.stellarnav li { list-style: none; display: block; margin: 0; padding: 0; position: relative; line-height: normal; vertical-align: middle; }
.stellarnav li li.has-sub > a:after { margin-left: 10px; float: right; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 6px solid #FFF; position: relative; top: 4px; }
.stellarnav li.drop-left li.has-sub > a:after { float: left; margin-right: 10px; border-left: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 6px solid #FFF; }
.stellarnav.hide-arrows li.has-sub > a:after, .stellarnav.hide-arrows li li.has-sub > a:after, .stellarnav.hide-arrows li.drop-left li.has-sub > a:after { display: none; }
.stellarnav .menu-toggle, .stellarnav .close-menu, .stellarnav .call-btn-mobile, .stellarnav .location-btn-mobile { display: none; text-transform: uppercase; text-decoration: none; }
.stellarnav .dd-toggle { display: none; position: absolute; top: 0; right: 0; padding: 0; width: 77px; height: 77px; text-align: center; z-index: 0; border: 0; }
.stellarnav.mobile > ul > li > a.dd-toggle { display: none; }
.stellarnav li.call-btn-mobile, .stellarnav li.location-btn-mobile { display: none; }

.stellarnav a.dd-toggle { background: none!important; }
.stellarnav a.dd-toggle .icon-plus { box-sizing: border-box; transition: transform 0.3s; width: 12px; height: 100%; position: relative; vertical-align: middle; display: inline-block; }
.stellarnav a.dd-toggle .icon-plus:before { content: ''; display: block; width: 12px; height: 0px; border-bottom: solid 3px #777; position: absolute; top: 50%; transform: rotate(90deg); transition: width 0.3s; }
.stellarnav a.dd-toggle .icon-plus:after { content: ''; display: block; width: 12px; height: 0px; top: 50%; border-bottom: solid 3px #777; position: absolute; }
.stellarnav li.open > a.dd-toggle .icon-plus { -webkit-transform: rotate(135deg); -ms-transform: rotate(135deg); -o-transform: rotate(135deg); transform: rotate(135deg); }
.stellarnav.light a.dd-toggle .icon-plus:before { border-color: #000; }
.stellarnav.light a.dd-toggle .icon-plus:after { border-color: #000; }
.stellarnav.dark a.dd-toggle .icon-plus:before { border-color: #FFF; }
.stellarnav.dark a.dd-toggle .icon-plus:after { border-color: #FFF; }

.stellarnav .icon-close { box-sizing: border-box; width: 12px; height: 12px; position: relative; display: inline-block; }
.stellarnav .icon-close:before { content: ''; display: block; width: 12px; height: 0px; border-bottom: solid 3px #777; position: absolute; top: 50%; transform: rotate(45deg); }
.stellarnav .icon-close:after { content: ''; display: block; width: 12px; height: 0px; top: 50%; border-bottom: solid 3px #777; position: absolute; transform: rotate(-45deg); }
.stellarnav.light .icon-close:before { border-color: #000; }
.stellarnav.light .icon-close:after { border-color: #000; }
.stellarnav.dark .icon-close:before { border-color: #FFF; }
.stellarnav.dark .icon-close:after { border-color: #FFF; }

/* mobile nav */
.stellarnav .menu-toggle, .stellarnav .call-btn-mobile, .stellarnav .location-btn-mobile, .stellarnav .close-menu { padding: 17px 20px; box-sizing: border-box; }
.stellarnav .menu-toggle span.bars { display: inline-block; margin: 0; position: relative; top: 4px; height: 24px; }
.stellarnav .menu-toggle span.bars span { display: block; width:37px; height: 7px; border-radius: 6px; background: #515151; margin: 0 0 6px; }
.stellarnav .location-btn-mobile.third { text-align: center; }
.stellarnav .location-btn-mobile.half { text-align: right; }
.stellarnav.light .third, .stellarnav.light .half { border-left: 1px solid rgba(0, 0, 0, .15); }
.stellarnav.light.left .third, .stellarnav.light.left .half { border-bottom: 1px solid rgba(0, 0, 0, .15); }
.stellarnav.light.right .third, .stellarnav.light.right .half { border-bottom: 1px solid rgba(0, 0, 0, .15); }
.stellarnav.light .third:first-child, .stellarnav.light .half:first-child { border-left: 0; }
.stellarnav.dark .third, .stellarnav.dark .half { border-left: 1px solid rgba(255, 255, 255, .15); }
.stellarnav.dark.left .third, .stellarnav.dark.left .half { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.stellarnav.dark.right .third, .stellarnav.dark.right .half { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.stellarnav.light.left .menu-toggle, .stellarnav.light.right .menu-toggle { border-bottom: 0; }
.stellarnav.dark.left .menu-toggle, .stellarnav.dark.right .menu-toggle { border-bottom: 0; }
.stellarnav.dark .third:first-child, .stellarnav.dark .half:first-child { border-left: 0; }
.stellarnav.light .menu-toggle span.bars span { background: #000; }
.stellarnav.dark .menu-toggle span.bars span { background: #FFF; }
.stellarnav.mobile { position: static; }
.stellarnav.mobile.fixed { position: static; }
.stellarnav.mobile ul { position: relative; display: none; margin: 0; z-index: 1030; }
.stellarnav.mobile.active { padding-top: 0; padding-bottom: 0; background: #7EC5E5; }
.stellarnav.mobile.active > ul { display: block; margin: 30px; }
.stellarnav.mobile ul { text-align: left; padding: 0; }
.stellarnav.mobile > ul > li { display: block; margin-bottom: 20px; }
.stellarnav.mobile > ul > li > a { display: block; padding: 20px; border-radius: 55px; background: #C4E3F6; text-align: center; color: #6C0000; }
.stellarnav.mobile > ul.nav2 { border-top: 3px solid #6C0000; padding-top: 30px; }
.stellarnav.mobile > ul.nav2 > li a { background: #F7C882; border-radius: 35px; }
.stellarnav.mobile > ul.nav2 > li a.dis { background: #D3D3D3; border-radius: 35px; color:#FFF;}
.stellarnav.mobile > ul.nav2 > li a:hover { background: #c68655; color: #fff; }
.stellarnav.mobile > ul.nav2 > li a.dis:hover { background: #D3D3D3; color:#FFF;}
.stellarnav.mobile > ul.nav2 > li.open a.dd-open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.stellarnav.mobile > ul.nav2 > li a.dd-open em { display: inline-block; vertical-align: middle; width: 14px; height: 8px; background: url(../images/dd_toggle.png) center no-repeat; margin-left: 2px; }
.stellarnav.mobile > ul.nav2 > li a.dd-open:hover em { background-image: url(../images/dd_toggle_hover.png); }
.stellarnav.mobile > ul.nav2 > li { background: #F7C882; border-radius: 35px; }
.stellarnav.mobile > ul.nav2 > li ul li a { display: block; padding: 15px; text-align: center; border-radius: 0; }
.stellarnav.mobile > ul.nav2 > li ul li:last-child a { border-bottom-left-radius: 35px; border-bottom-right-radius: 35px; }

.stellarnav.mobile li.drop-left ul ul { right: auto; }
.stellarnav.mobile li a.dd-toggle:before { display: none; }
.stellarnav.mobile > ul { background: #7EC5E5; margin-top: -1px; }
.stellarnav.mobile.light li a { border-bottom: 1px solid rgba(0, 0, 0, .15); }
.stellarnav.mobile.light > ul { border-top: 1px solid rgba(0, 0, 0, .15); }
.stellarnav.mobile li a.dd-toggle { border: 0; padding: 0; line-height: 77px; }
.stellarnav.mobile.light li a.dd-toggle { border: 0; }
.stellarnav.mobile .toggle-bar { display: inline-block; z-index: 9999; }
.stellarnav.mobile.active .toggle-bar { margin-right: 15px; padding: 15px 0; /*box-shadow: 0 3px 8px #d6d6d6;*/ }
.stellarnav.mobile .menu-toggle, .stellarnav.mobile .dd-toggle, .stellarnav.mobile .close-menu, .stellarnav.mobile .call-btn-mobile, .stellarnav.mobile .location-btn-mobile { display: block; }
.stellarnav.mobile li.call-btn-mobile { border-right: 1px solid rgba(255, 255, 255, .1); box-sizing: border-box; }
.stellarnav.mobile li.call-btn-mobile, .stellarnav.mobile li.location-btn-mobile { display: inline-block; width: 50%; text-transform: uppercase; text-align: center; }
.stellarnav.mobile li.call-btn-mobile.full, .stellarnav.mobile li.location-btn-mobile.full { display: block; width: 100%; text-transform: uppercase; border-right: 0; text-align: left; }
.stellarnav.mobile.light ul { background: rgba(255, 255, 255, 1); }
.stellarnav.mobile.dark ul { background: rgba(0, 0, 0, 1); }
.stellarnav.mobile.dark ul ul { background: rgba(255, 255, 255, .08); }
.stellarnav.mobile.light li.call-btn-mobile { border-right: 1px solid rgba(0, 0, 0, .1); }
.stellarnav.mobile.top { }
.stellarnav.mobile.top.active { position: fixed; left: 0; top: 0; overflow-y: scroll; width: 100vw; height: 100vh; margin: 0; z-index: 9998; }
.stellarnav.mobile li.has-sub > a:after, .stellarnav.mobile li li.has-sub > a:after, .stellarnav.mobile li.drop-left li.has-sub > a:after { display: none; }
.has-sub .dd-toggle i { color: #ff9784; -webkit-transition:all .3s ease;-ms-transition:all .3s ease;transition:all .3s ease; }
.has-sub.open .dd-toggle i { -webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg); }
.mask { display: none; position: fixed; width: 100%; height: 100vh; top: 0; left: 0; z-index: 1;  background: rgba(0, 0, 0, .8); }
body.open .mask { display: block; }
.stellarnav .head-logo { display: none; }

/* left and right positions */
.stellarnav.mobile.right > ul, .stellarnav.mobile.left > ul { position: fixed; top: 0; width: 100%; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.stellarnav.mobile.right > ul { left: 0; }
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu { display: inline-block; text-align: right; }
.stellarnav.mobile.left > ul { left: 0; }
.stellarnav.mobile.right .location-btn-mobile.half, .stellarnav.mobile.right .call-btn-mobile.half, .stellarnav.mobile.right .close-menu.half { text-align: center; }
.stellarnav.mobile.right .location-btn-mobile.third, .stellarnav.mobile.right .call-btn-mobile.third, .stellarnav.mobile.right .close-menu.third { text-align: center; }
.stellarnav.mobile.left .location-btn-mobile.half, .stellarnav.mobile.left .call-btn-mobile.half, .stellarnav.mobile.left .close-menu.half { text-align: center; }
.stellarnav.mobile.left .location-btn-mobile.third, .stellarnav.mobile.left .call-btn-mobile.third, .stellarnav.mobile.left .close-menu.third { text-align: center; }
.stellarnav.mobile.left .menu-toggle.half, .stellarnav.mobile.left .menu-toggle.third, .stellarnav.mobile.right .menu-toggle.half, .stellarnav.mobile.right .menu-toggle.third { text-align: left; }
.stellarnav.mobile.left .close-menu.third span, .stellarnav.mobile.right .close-menu.third span { display: none; }
/* left and right positions */

/* Fallback for slow javascript load */
@media only screen and (max-width : 990px) {
	.stellarnav { overflow: hidden; display: block; text-align: right; }
	.stellarnav ul { position: relative; display: none; }
	.stellarnav .menu-toggle span.bars span{ -webkit-transition:all .3s ease;-ms-transition:all .3s ease;transition:all .3s ease; }
	.stellarnav.mobile.active .menu-toggle span.bars span:nth-child(2) { display: none; }
	.stellarnav.mobile.active .menu-toggle span.bars span:first-child {margin-bottom:3px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}
	.stellarnav.mobile.active .menu-toggle span.bars span:last-child {margin-top:-10px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg)}
  .stellarnav.mobile.active .menu-toggle span.bars { top: 13px; }
}

/* mobile nav */
@media only screen and (max-width : 420px) {
	.stellarnav.mobile .call-btn-mobile.third span, .stellarnav.mobile .location-btn-mobile.third span { display: none; }
}
