

#main-menu {
  clear: both;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  #main-menu {
    float: right;
    clear: none;
  }
}




#main-menu .active,#main-menu .has-submenu.highlighted{
    color:#de5728;
}

#main-menu .dropdown-menu > li > a:hover, #main-menu .dropdown-menu > li > a:focus
{
    color:#de5728;
	background-color: rgba(51, 51, 51, 0.9);
}

.navbar-default #main-menu.navbar-nav > .open > a, 
.navbar-default #main-menu.navbar-nav > .open > a:hover, 
.navbar-default #main-menu.navbar-nav > .open > a:focus {
      color:#de5728;
    background-color: inherit;
}

#main-menu.nav .open > a, #main-menu.nav .open > a:hover, #main-menu.nav .open > a:focus {
    border-color:transparent;
}

#main-menu > li > a > .sub-arrow{
 
    display: block;
    margin: auto !important;
    background: url(/content/img/nav_arrow.png) no-repeat;
    width: 11px !important;
    height: 7px !important;
    margin-top: 10px !important;
}

#main-menu li .dropdown-menu  a{
    position:relative;
}
#main-menu li .dropdown-menu  a .sub-arrow {
    background: url(/content/img/nav_arrow.png) no-repeat;
    width: 11px !important;
    height: 7px !important;
     -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
   display: inline-block;
   position:absolute;
   top:10px; right:25px;
}


/* Mega menus */


/* make mega menus take the full width of .main-nav */

#main-menu,
#main-menu > .has-mega-menu {
  position: static !important;
}

#main-menu .mega-menu {
  margin-left: 0 !important;
  right: 0 !important;
  width: auto !important;
  max-width: none !important;
}

#main-menu > .has-mega-menu .scroll-up,
#main-menu > .has-mega-menu .scroll-down {
  margin-left: 0 !important;
}


/* clear any floats inside the mega menus */

#main-menu .mega-menu > li {
  overflow: auto;
}


/* reset mega menu list/link styles (which are inherited from the SmartMenus core/theme styles) */

#main-menu .mega-menu {
  color: #353451;
}

#main-menu .mega-menu ul {
  position: static;
  display: block;
  margin: 0;
  border: 0;
  padding: 0;
  width: auto;
  background: transparent;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#main-menu .mega-menu ul li {
  display: list-item;
  list-style-type: none;
  border: 0;
  padding:0;
}

#main-menu .mega-menu a {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  color:#fff;
}

    #main-menu .mega-menu a:hover {
        text-decoration: underline;
    }

/* simple columns inside the mega menus */

#main-menu .mega-menu .column-1-3 {
  padding: 0 20px;
}

@media (min-width: 768px) {
  #main-menu .mega-menu .column-1-3 {
    float: left;
    width: 33.33%;
  }

  #main-menu .mega-menu .mega-box {
     width:42%; margin-right:20px; display:inline-block;
  }

}




/* Mobile menu top separator */


@media (min-width: 768px) {
    #main-menu:before {
        display: none;
    }

    #main-menu .dropdown-menu {
        border: 0;
        background-color: rgba(51, 51, 51, 1);
        border-bottom: 3px solid #de5728;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .navbar-default .navbar-nav.sm-collapsible a.has-submenu {
    padding-right: 25px;
}

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #fff;
}
}


/* Mobile menu toggle button */

.main-menu-btn {
  float: right;
  margin: 10px;
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  text-indent: 29px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* hamburger icon */

.main-menu-btn-icon,
.main-menu-btn-icon:before,
.main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #fff;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}

.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}

.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}


/* x icon */

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* hide menu state checkbox (keep it visible to screen readers) */

#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* hide the menu in mobile view */

#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}

#main-menu-state:checked ~ #main-menu {
  display: block;
}

@media (min-width: 768px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}

