/*
 * Stellarnav.js 1.0.0
 * jQuery responsive multi-level dropdown menu designed to do most of the heavy CSS work for you.
 * Copyright (c) 2016 Vinny Moreira - http://vinnymoreira.com
 * Released under the MIT license
 */


/* all nav */

.stellarnav {
  position: relative;
  width: 100%;
  z-index: 9900;
  line-height: normal;
}

.stellarnav.light.top.desktop {
filter: drop-shadow(0 7px 3px #ccc);
}

.stellarnav ul {
  margin: 0;
  padding: 0;
  text-align: left;
}

.stellarnav li {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
  line-height: normal;
}
.stellarnav li:hover {
  background-color: #DEDEDE;
}
.stellarnav li a {
  padding: 10px 15px;
  display: inline-block;
  text-decoration: none;
  color: #777;
  font-size: inherit;
  font-family: inherit;
  box-sizing: border-box;
  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  transition: all .3s ease-out;
}
.stellarnav li:hover>a {
  color: #CA4D24;
  font-weight: bold;
}

/* main level */
.stellarnav>ul>li {
  display: inline-block;
  position: relative;
  vertical-align: top; 
}
.stellarnav>ul>li>a {
  padding: 20px 40px;
}

/* first level dd */
.stellarnav>ul>li:hover>ul {
  /* display: block; <-- INTERFERES WITH MOBILE MENU */
  opacity: 1;
  visibility: visible;
  top: 0;
}
.stellarnav ul ul {
  top: auto;
  width: 270px;
  height: 700px;
  position: absolute; /* <-- ISSUE WITH MOBILE MENU IF = relative */
  z-index: 9900;
  text-align: left;
  display: none;
  /* background: #ddd; */
  background: #fff;
  filter: drop-shadow(0 3px 6px #ccc);
}
.stellarnav li li {
  display: block;
}


/* second level dd */
.stellarnav ul ul ul {
  background: #fff;
  height: 700px;
  left: 270px;
  top: 0;
  /* dd animtion - change to auto to remove */
}
.stellarnav>ul>li:hover>ul>li:hover>ul {
  /* display: block; <-- INTERFERES WITH MOBILE MENU */
  opacity: 1;
  /* position: absolute; <-- INTERFERES WITH MOBILE MENU */
  top: 0;
  visibility: visible;
}

/* third level dd - shouldn't exist after reorganization of products */
.stellarnav ul ul ul ul {
  background: #fff;
  height: 700px;
  left: 270px;
  top: 0;
  /* dd animtion - change to auto to remove */
}
.stellarnav>ul>li:hover>ul>li:hover>ul>li:hover>ul {
  /* display: block; <-- INTERFERES WITH MOBILE MENU */
  opacity: 1;
  /* position: absolute; <-- INTERFERES WITH MOBILE MENU */
  top: 0;
  visibility: visible;
}


/* .drop-left */
.stellarnav>ul>li.drop-left>ul {
  right: 0;
}

.stellarnav li.drop-left ul ul {
  left: auto;
  right: 220px;
}


/* light theme - this is the one we're using */

.stellarnav.light {
  background: rgba(255, 255, 255, 1);
}

.stellarnav.light ul ul {
  background: rgba(255, 255, 255, 1);
  -webkit-box-shadow: 0px 1px 5px 2px #ccc;
  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow: 0px 1px 5px 2px #ccc;
  /* Firefox 3.5 - 3.6 */
  box-shadow: 0px 1px 5px 2px #ccc;
  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

.stellarnav.light li a {
  color: #000;
}

.stellarnav.light .menu-toggle,
.stellarnav.light .call-btn-mobile,
.stellarnav.light .location-btn-mobile {
  color: rgba(0, 0, 0, 1);
}

.stellarnav.light li:hover>a {
  /* color: #CA4D24; */
  font-weight: bold;
}

.stellarnav.light li a {
  font-weight: normal;
}

/*
.stellarnav.light li a:after {
  display: block;
  content: attr(title);
  font-weight: bold;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
*/


/* dark theme */

.stellarnav.dark {
  background: rgba(0, 0, 0, 1);
}

.stellarnav.dark ul ul {
  background: rgba(0, 0, 0, 1);
}

.stellarnav.dark li a {
  color: #FFF;
}

.stellarnav.dark .menu-toggle,
.stellarnav.dark .call-btn-mobile,
.stellarnav.dark .location-btn-mobile {
  color: rgba(255, 255, 255, 1);
}


/* 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: '\f0d7';
  font-family: 'FontAwesome';
  margin-left: 10px;
}

.stellarnav li li.has-sub>a:after {
  content: '\f0da';
  font-family: 'FontAwesome';
  margin-left: 10px;
  position: absolute;
  right: 0;
  margin-right: 10px;
}

.stellarnav li.drop-left li.has-sub>a:after {
  float: left;
  content: '\f0d9';
  font-family: 'FontAwesome';
  margin-right: 10px;
}

.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;
  transition-delay: .5s;
}

.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: 48px;
  height: 48px;
  text-align: center;
  z-index: 9999;
  border: 0;
}

.stellarnav .dd-toggle i {
  position: absolute;
  margin: auto;
  top: 33%;
  left: 0;
  right: 0;
  -webkit-transition: transform .1s ease-out;
  -moz-transition: transform .1s ease-out;
  transition: transform .1s ease-out;
}

.stellarnav.mobile>ul>li>a.dd-toggle {
  padding: 0;
}

.stellarnav li.call-btn-mobile,
.stellarnav li.location-btn-mobile {
  display: none;
}

.stellarnav li.open>a.dd-toggle i {
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}


/* mobile nav */

.stellarnav .menu-toggle,
.stellarnav .call-btn-mobile,
.stellarnav .location-btn-mobile {
  color: #777;
  padding: 15px;
  box-sizing: border-box;
}

.stellarnav .full {
  width: 100%;
}

.stellarnav .half {
  width: 50%;
}

.stellarnav .third {
  width: 33%;
  text-align: center;
}

.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 .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 .third:first-child,
.stellarnav.dark .half:first-child {
  border-left: 0;
}


/* ------------ TABLET STYLES ------------ */
.stellarnav.tablet {
position: static;
}

.stellarnav.tablet.fixed {
position: static;
}

.stellarnav.tablet ul {
position: relative;
display: none;
}

.stellarnav.tablet.active {
padding-bottom: 0;
}

.stellarnav.tablet.active>ul {
display: block;
}

.stellarnav.tablet ul {
text-align: left;
}

.stellarnav.light.tablet>ul>li {
display: block;
border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.stellarnav.tablet>ul>li>a {
padding: 15px;
}

.stellarnav.tablet ul {
background: rgba(221, 221, 221, 1);
}

.stellarnav.tablet ul ul {
position: relative;
opacity: 1;
visibility: visible;
width: auto;
display: none;
-moz-transition: none;
-webkit-transition: none;
-o-transition: color 0 ease-in;
transition: none;
}

.stellarnav.tablet ul ul ul {
left: auto;
top: auto;
}

.stellarnav.tablet li {
position: relative;
}

.stellarnav.tablet li.drop-left ul ul {
right: auto;
}

.stellarnav.tablet li a {
/* border-bottom:  1px solid rgba(0, 0, 0, .15); */
}

.stellarnav.tablet li.has-sub a {
/*padding-right: 50px;*/
}

.stellarnav.tablet>ul {
/*border: 1px solid rgba(255, 255, 255, .15);*/
}

.stellarnav.tablet.light>li>a {
text-align: center;
width: 80%;
}

.stellarnav.tablet.light>ul {
border: 1px 0px solid rgba(0, 0, 0, .5);
/*-webkit-box-shadow: 0px 1px 5px 2px #ccc;
-moz-box-shadow: 0px 1px 5px 2px #ccc;
box-shadow: 0px 1px 5px 2px #000;*/
}

.stellarnav.tablet.light>ul>li {
border: 1px 0px solid rgba(0, 0, 0, .5);
}

.stellarnav.tablet.light>ul>li>ul>li>a {
width: 80%;
}

.stellarnav.tablet.light>ul>li>ul>li>ul>li>a {
color: #777;
width: 80%;
padding-left: 40px;
}

.stellarnav.tablet.light>ul>li>ul>li>ul>li>ul>li>a {
color: #939393;
width: 80%;
padding-left: 60px;
}

.stellarnav.tablet.light>ul>li>ul>li>ul>li>ul>li>ul>li>a {
width: 80%;
padding-left: 80px;
}

.stellarnav.tablet li a.dd-toggle {
border: 0;
float: right;
padding: 0px;
width: 10%;
}

.stellarnav.tablet.light li a.dd-toggle {
border: 0;
float: right;
padding: 0px;
width: 10%;
}

.stellarnav.tablet .menu-toggle,
.stellarnav.tablet .dd-toggle,
.stellarnav.tablet .close-menu,
.stellarnav.tablet .call-btn-tablet,
.stellarnav.tablet .location-btn-tablet {
display: inline-block;
}

.stellarnav.tablet li.call-btn-tablet {
border-right: 1px solid rgba(255, 255, 255, .1);
box-sizing: border-box;
}

.stellarnav.tablet li.call-btn-tablet,
.stellarnav.tablet li.location-btn-tablet {
display: inline-block;
width: 50%;
text-transform: uppercase;
text-align: center;
}

.stellarnav.tablet li.call-btn-tablet.full,
.stellarnav.tablet li.location-btn-tablet.full {
display: block;
width: 100%;
text-transform: uppercase;
border-right: 0;
text-align: left;
}

.stellarnav.tablet li.call-btn-tablet i,
.stellarnav.tablet li.location-btn-tablet i {
margin-right: 5px;
}

.stellarnav.tablet.light ul {
background: rgba(255, 255, 255, 1);
height: 100%;
}

.stellarnav.tablet.dark ul {
background: rgba(0, 0, 0, 1);
}

.stellarnav.tablet.dark ul ul {
background: rgba(255, 255, 255, .08);
}

.stellarnav.tablet.light li.call-btn-tablet {
border-right: 1px solid rgba(0, 0, 0, .1);
}

.stellarnav.tablet.top {
position: absolute;
width: 40%;
/* top: 0; */
left: 0;
z-index: 9999;
filter: drop-shadow(0 7px 3px #ccc);
}

.stellarnav.tablet li.has-sub>a:after,
.stellarnav.tablet li li.has-sub>a:after,
.stellarnav.tablet li.drop-left li.has-sub>a:after {
display: none;
}


/* -------- MOBILE STYLES -------- */
.stellarnav.mobile {
  position: static;
}

.stellarnav.mobile.fixed {
  position: static;
}

.stellarnav.mobile ul {
  position: relative;
  display: none;
}

.stellarnav.mobile.active {
  padding-bottom: 0;
}

.stellarnav.mobile.active>ul {
  display: block;
}

.stellarnav.mobile ul {
  text-align: left;
}

.stellarnav.light.mobile>ul>li {
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.stellarnav.mobile>ul>li>a {
  padding: 15px;
}

.stellarnav.mobile ul {
  background: rgba(221, 221, 221, 1);
}

.stellarnav.mobile ul ul {
  position: relative;
  opacity: 1;
  visibility: visible;
  width: auto;
  display: none;
  -moz-transition: none;
  -webkit-transition: none;
  -o-transition: color 0 ease-in;
  transition: none;
}

.stellarnav.mobile ul ul ul {
  left: auto;
  top: auto;
}

.stellarnav.mobile li {
  position: relative;
}

.stellarnav.mobile li.drop-left ul ul {
  right: auto;
}

.stellarnav.mobile li a {
  /* border-bottom:  1px solid rgba(0, 0, 0, .15); */
}

.stellarnav.mobile li.has-sub a {
  /*padding-right: 50px;*/
}

.stellarnav.mobile>ul {
  /*border: 1px solid rgba(255, 255, 255, .15);*/
}

.stellarnav.mobile.light>li>a {
  text-align: center;
  width: 80%;
}

.stellarnav.mobile.light>ul {
  border: 1px 0px solid rgba(0, 0, 0, .5);
  /*-webkit-box-shadow: 0px 1px 5px 2px #ccc;
  -moz-box-shadow: 0px 1px 5px 2px #ccc;
  box-shadow: 0px 1px 5px 2px #000;*/
}

.stellarnav.mobile.light>ul>li {
border: 1px 0px solid rgba(0, 0, 0, .5);
}

.stellarnav.mobile.light>ul>li>ul>li>a {
width: 80%;
}

.stellarnav.mobile.light>ul>li>ul>li>ul>li>a {
color: #777;
width: 80%;
padding-left: 40px;
}

.stellarnav.mobile.light>ul>li>ul>li>ul>li>ul>li>a {
color: #939393;
width: 80%;
padding-left: 60px;
}

.stellarnav.mobile.light>ul>li>ul>li>ul>li>ul>li>ul>li>a {
width: 80%;
padding-left: 80px;
}

.stellarnav.mobile li a.dd-toggle {
  border: 0;
  float: right;
  padding: 0px;
  width: 10%;
}

.stellarnav.mobile.light li a.dd-toggle {
  border: 0;
  float: right;
  padding: 0px;
  width: 10%;
}

.stellarnav.mobile .menu-toggle,
.stellarnav.mobile .dd-toggle,
.stellarnav.mobile .close-menu,
.stellarnav.mobile .call-btn-mobile,
.stellarnav.mobile .location-btn-mobile {
  display: inline-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 li.call-btn-mobile i,
.stellarnav.mobile li.location-btn-mobile i {
  margin-right: 5px;
}

.stellarnav.mobile.light ul {
  background: rgba(255, 255, 255, 1);
  height: 100%;
}

.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 {
  /*position: absolute;*/
  /* height: 100%; */
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  filter: drop-shadow(0 7px 3px #ccc);
}

.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;
}

/* Fallback for slow javascript */

@media only screen and (max-width: 530px) {
.stellarnav {
    overflow: hidden;
    display: block;
    background: white;  
    filter: drop-shadow(0 7px 3px #ccc);
}
.stellarnav ul {
    position: relative;
    /* display: none; */
}
.stellarnav ul ul {
  width: 100%;
}
.stellarnav ul ul ul {
  left:0;
  height: 100%;
}
.stellarnav ul ul ul ul {
  left:0;
  height: 100%;
}
.stellarnav>ul>li>ul>li>ul>li>a {
  padding-left: 20px;
}
.stellarnav>ul>li>ul>li>ul>li>ul>li>a {
  padding-left: 40px;
}
}

/* MOBILE/TABLET STYLES */

/* @media only screen and (max-width: 1030px) {
.stellarnav.tablet .call-btn-tablet.third span,
.stellarnav.tablet .location-btn-tablet.third span {
    display: none;
}
} */

@media only screen and (max-width: 530px) {
  .stellarnav.mobile .call-btn-mobile.third span,
  .stellarnav.mobile .location-btn-mobile.third span {
      display: block;
  }
}