/*
 * menu-nav.js 2.3.0
 * Responsive, lightweight, multi-level dropdown menu.
 * Copyright (c) 2018 Vinny Moreira - http://vinnymoreira.com
 * Released under the MIT license
 */
/* all nav */

.menu-nav {
  position: relative;
  z-index: 9;
  line-height: normal;
  background: #ccc;
}
.menu-nav ul {
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
  float: left;
  background: #fff;
 
}
.menu-nav li {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
  line-height: normal;
  vertical-align: middle;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.menu-nav li a {
  padding: 10px 30px;
  display: block;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
}

/* main level */
.menu-nav > ul > li {
  display: inline-block;
  margin: 0.5em 0;
  -webkit-transition: 0.5s ease;
}
.menu-nav > ul > li {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  padding: 1px;
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: #2c3e50;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-weight: 600;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.menu-nav > ul > li:after {
  content: "";
  height: 2px;
  left: 0;
  width: 0;
  position: absolute;
  -webkit-transition: width 1s ease, background-color 1s ease;
  -moz-transition: width 1s ease, background-color 1s ease;
  -ms-transition: width 1s ease, background-color 1s ease;
  -o-transition: width 1s ease, background-color 1s ease;
  transition: width 1s ease, background-color 1s ease;
  right: 0;
  margin: 0 auto;
  background-color: #ccc; 
}

.menu-nav > ul > li > a:hover {
  color: #ccc;
  -webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  -ms-transition: color 1s ease;
  -o-transition: color 1s ease;
  transition: color 1s ease;
  cursor: pointer;
  transform: scale(1.2);
  transition: all ease-in-out 0.5s;
  -webkit-transition: all ease-in-out 0.5s;
}

/* .menu-nav > ul > li:hover:after,
.menu-nav > ul > li:focus:after {
  width: 50%;
  background-color: #4a770c;
} 
*/
.menu-nav > ul > li.active:after {
  width: 50%;
  background-color: #4a770c;
}
.menu-nav > ul > li.active a{
  color: #4a770c;
}
.menu-nav > ul > li.brand:after, .menu-nav > ul > li.but:after {
  display: none;
}

.menu-nav > ul > li > a {
  font-family: "Lato", sans-serif;
}

/* first level dd */
.menu-nav ul ul {
  top: auto;
  width: 220px;
  position: absolute;
  z-index: 9900;
  text-align: left;
  display: none;
  background: #ddd;
}
.menu-nav li li {
  display: block;
}

/* second level dd */
.menu-nav ul ul ul {
  top: 0; /* dd animtion - change to auto to remove */
  left: 220px;
}
.menu-nav > ul > li:hover > ul > li:hover > ul {
  opacity: 1;
  visibility: visible;
  top: 0;
}

/* .drop-left */
.menu-nav > ul > li.drop-left > ul {
  right: 0;
}
.menu-nav li.drop-left ul ul {
  left: auto;
  right: 220px;
}

/* light theme */
.menu-nav.light {
  background: rgba(187, 154, 119, 0);
}
.menu-nav.light ul ul {
  background: #fff;
  border: 1px solid #fff;
}
.menu-nav.light li a {
  color: #000;
  transition: all ease-in-out 0.5s;
  -webkit-transition: all ease-in-out 0.5s;
}
.menu-nav.light .menu-toggle,
.menu-nav.light .call-btn-mobile,
.menu-nav.light .location-btn-mobile,
.menu-nav.light .close-menu {
  color: rgba(0, 0, 0, 1) !important;
}

/* dark theme */
.menu-nav.dark {
  background: rgba(0, 0, 0, 1);
}
.menu-nav.dark ul ul {
  background: rgba(0, 0, 0, 1);
}
.menu-nav.dark li a {
  color: #fff;
}
.menu-nav.dark .menu-toggle,
.menu-nav.dark .call-btn-mobile,
.menu-nav.dark .location-btn-mobile,
.menu-nav.dark .close-menu {
  color: rgba(255, 255, 255, 1);
}
/* sticky nav */
.menu-nav.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.menu-nav-noscroll-x {
  overflow-x: hidden;
}

/* general styling */
.menu-nav li.has-sub > a:after {
  content: "\e802";
  font-family: fontello;
  margin-left: 10px;
}
.menu-nav li li.has-sub > a:after {
  content: "\e802";
  font-family: fontello;
  margin-left: 10px;
}
.menu-nav li.drop-left li.has-sub > a:after {
  float: left;
  content: "\e802";
  font-family: fontello;
  margin-right: 10px;
}
.menu-nav.hide-arrows li.has-sub > a:after,
.menu-nav.hide-arrows li li.has-sub > a:after,
.menu-nav.hide-arrows li.drop-left li.has-sub > a:after {
  display: none;
}
.menu-nav .menu-toggle,
.menu-nav .close-menu,
.menu-nav .call-btn-mobile,
.menu-nav .location-btn-mobile {
  display: none;
  text-transform: uppercase;
  text-decoration: none;
}
.menu-nav .dd-toggle {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  width: 48px;
  height: 48px;
  text-align: center;
  z-index: 9999;
  border: 0;
}
.menu-nav .dd-toggle i {
  position: absolute;
  margin: auto;
  top: 33%;
  left: 0;
  right: 0;
  -webkit-transition: transform 0.3s ease-out;
  -moz-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.menu-nav.mobile > ul > li > a.dd-toggle {
  padding: 0;
}
.menu-nav li.call-btn-mobile,
.menu-nav li.location-btn-mobile {
  display: none;
}
.menu-nav li.open > a.dd-toggle i {
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

/* mobile nav */
.menu-nav .menu-toggle,
.menu-nav .call-btn-mobile,
.menu-nav .location-btn-mobile,
.menu-nav .close-menu {
  color: #777;
  padding: 15px;
  box-sizing: border-box;
}
.menu-nav .full {
  width: 100%;
}
.menu-nav .half {
  width: 50%;
}
.menu-nav .third {
  width: 33%;
  text-align: center;
}
.menu-nav .location-btn-mobile.third {
  text-align: center;
}
.menu-nav .location-btn-mobile.half {
  text-align: right;
}
.menu-nav.light .third,
.menu-nav.light .half {
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}
.menu-nav.light.left .third,
.menu-nav.light.left .half {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.menu-nav.light.right .third,
.menu-nav.light.right .half {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.menu-nav.light .third:first-child,
.menu-nav.light .half:first-child {
  border-left: 0;
}
.menu-nav.dark .third,
.menu-nav.dark .half {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.menu-nav.dark.left .third,
.menu-nav.dark.left .half {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.menu-nav.dark.right .third,
.menu-nav.dark.right .half {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.menu-nav.light.left .menu-toggle,
.menu-nav.light.right .menu-toggle {
  border-bottom: 0;
}
.menu-nav.dark.left .menu-toggle,
.menu-nav.dark.right .menu-toggle {
  border-bottom: 0;
}
.menu-nav.dark .third:first-child,
.menu-nav.dark .half:first-child {
  border-left: 0;
}
.menu-nav.mobile {
  position: absolute;
  width: 0;
  left: auto;
  right: 0;
  top: 75px;
  z-index: 99;
  transition: all ease-in-out 0.5s;
  -webkit-transition: all ease-in-out 0.5s;
}
.menu-nav.mobile.fixed {
  position: static;
}
.menu-nav.mobile ul {
  position: relative;
  display: none;
}
.menu-nav.mobile.active {
  padding-bottom: 0;
  width: 100%;
}
.menu-nav.mobile.active > ul {
  display: block;
}
.menu-nav.mobile ul {
  text-align: left;
}
.menu-nav.mobile > ul > li {
  display: block;
}
.menu-nav.mobile > ul > li > a {
  padding: 15px;
}
.menu-nav.mobile ul {
  background: rgba(221, 221, 221, 1);
}
.menu-nav.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;
}
.menu-nav.mobile ul ul ul {
  left: auto;
  top: auto;
}
.menu-nav.mobile li.drop-left ul ul {
  right: auto;
}
.menu-nav.mobile li a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.menu-nav.mobile li.has-sub a {
  padding-right: 50px;
}
.menu-nav.mobile > ul {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #fff;
  color: #fff;
}
.menu-nav.mobile.light li a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.menu-nav.mobile.light > ul {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.menu-nav.mobile li a.dd-toggle {
  border: 0;
}
.menu-nav.mobile.light li a.dd-toggle {
  border: 0;
}
.menu-nav.mobile .menu-toggle,
.menu-nav.mobile .dd-toggle,
.menu-nav.mobile .close-menu,
.menu-nav.mobile .call-btn-mobile,
.menu-nav.mobile .location-btn-mobile {
  text-align: left;
  display: inline-block;
  right: 0;
  width: 100px;
  float: right;
}
.menu-nav.mobile li.call-btn-mobile {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}
.menu-nav.mobile li.call-btn-mobile,
.menu-nav.mobile li.location-btn-mobile {
  display: inline-block;
  width: 50%;
  text-transform: uppercase;
  text-align: center;
}
.menu-nav.mobile li.call-btn-mobile.full,
.menu-nav.mobile li.location-btn-mobile.full {
  display: block;
  width: 100%;
  text-transform: uppercase;
  border-right: 0;
  text-align: left;
}
.menu-nav.mobile li.call-btn-mobile i,
.menu-nav.mobile li.location-btn-mobile i {
  margin-right: 5px;
}
.menu-nav.mobile.light ul {
  background: #fff;
  width: 100%;
  position: relative;
  top: -70px;
}
.menu-nav.mobile.dark ul {
  background: rgba(0, 0, 0, 1);
}
.menu-nav.mobile.dark ul ul {
  background: rgba(255, 255, 255, 0.08);
}
.menu-nav.mobile.light li.call-btn-mobile {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.menu-nav.mobile.top {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
}
.menu-nav.mobile li.has-sub > a:after,
.menu-nav.mobile li li.has-sub > a:after,
.menu-nav.mobile li.drop-left li.has-sub > a:after {
  display: none;
}

/* left and right positions */
.menu-nav.mobile.right > ul,
.menu-nav.mobile.left > ul {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.menu-nav.mobile.right > ul {
  right: 0;
}
.menu-nav.mobile.right .close-menu,
.menu-nav.mobile.left .close-menu {
  display: inline-block;
  text-align: right;
}
.menu-nav.mobile.left > ul {
  left: 0;
}
.menu-nav.mobile.right .location-btn-mobile.half,
.menu-nav.mobile.right .call-btn-mobile.half,
.menu-nav.mobile.right .close-menu.half {
  text-align: center;
}
.menu-nav.mobile.right .location-btn-mobile.third,
.menu-nav.mobile.right .call-btn-mobile.third,
.menu-nav.mobile.right .close-menu.third {
  text-align: center;
}
.menu-nav.mobile.left .location-btn-mobile.half,
.menu-nav.mobile.left .call-btn-mobile.half,
.menu-nav.mobile.left .close-menu.half {
  text-align: center;
}
.menu-nav.mobile.left .location-btn-mobile.third,
.menu-nav.mobile.left .call-btn-mobile.third,
.menu-nav.mobile.left .close-menu.third {
  text-align: center;
}
.menu-nav.mobile.left .menu-toggle.half,
.menu-nav.mobile.left .menu-toggle.third,
.menu-nav.mobile.right .menu-toggle.half,
.menu-nav.mobile.right .menu-toggle.third {
  text-align: left;
}
.menu-nav.mobile.left .close-menu.third span,
.menu-nav.mobile.right .close-menu.third span {
  display: none;
}
/* left and right positions */
/* mega dd */

.menu-nav.desktop li.mega li {
  display: inline-block;
  vertical-align: top;
  margin-left: -4px;
}
.menu-nav.desktop li.mega li li {
  display: block;
  margin-left: 0;
}
.menu-nav.desktop li.mega ul ul {
  width: auto;
}
.menu-nav.desktop > ul > li.mega {
  position: inherit;
}
.menu-nav.desktop > ul > li.mega > ul {
  width: 100%;
}
.menu-nav.desktop > ul > li.mega > ul li.has-sub ul {
  display: block;
  position: relative;
  left: auto;
}
.menu-nav.desktop > ul > li.mega > ul > li {
  padding-bottom: 15px;
  box-sizing: border-box;
}
.menu-nav.desktop li.mega li li a {
  padding: 5px 15px;
}
.menu-nav.desktop li.mega li.has-sub a:after {
  display: none;
}
.menu-nav.desktop > ul > li.mega > ul > li > a {
  color: yellow;
}
/* mega dd */

/* Fallback for slow javascript load */

@media only screen and (max-width: 991px) {
  .menu-nav {
    overflow: visible;
    display: block;
  }
  .menu-nav ul {
    position: relative;
    display: none;
  }
}

/* mobile nav */
@media only screen and (max-width: 420px) {
  .menu-nav.mobile .call-btn-mobile.third span,
  .menu-nav.mobile .location-btn-mobile.third span {
    display: none;
  }
}
