/* Nesting Menu */


/* when mobile menu is open, change hamburger icon to x icon */

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
}
/* makes sub sub menu icon be right arrow instead of down arrow */

#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
/* the new toggle element, which is added via jQuery */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    z-index: 1;
    width: 45px;
    height: 40px;
    left: 0px;
	top:9px;
    cursor: pointer;
    text-align: center;
}
/* the new toggle element when popped 

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(255,255,255, 0.2);
}*/

/* toggle icon */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 28px;
    text-transform: none;
    speak: none;
    content: "\39";
    color: #ba9547;
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: "\37";
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 50px;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
    padding-left: 50px;
    padding-right: 5px;
	text-decoration:none;
	background:none;
}

#main-header #mobile_menu.et_mobile_menu li.mobilelogo a {padding-right:0px;}

/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li a {padding-left:0px;}	


#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 70px;
    padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}

#main-header #mobile_menu.et_mobile_menu li a:hover

{color:#000 !important;}

/* make the current page's mobile menu link be different 

#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
}*/

/****** Code Style: Menu Full-screen ******/

/* Font Awesome */
.fa {
    margin: 10px ;
  }


.et_mobile_menu {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 9998;
  overflow: scroll !important;
  background-color: #FFF !important;
  padding: 5% 10% 10% 10%;
  height: 100%;
  width: calc( 100% + 40px);
  border-top: none;
  overflow-x:hidden !important;
}
.et_mobile_menu li {width:90%;}

.et_mobile_menu li a {
  text-align: left;
  font-size: 16px;
  border: 0;
  padding: 6px;
  letter-spacing: 1px;
  line-height:30px;
  color:#000 !important;}

.mobile_nav ul#mobile_menu .current_page_item > a {
  color: #000 !important;
  background-color: rgba(255,255,255, 0.05);
}
.mobile_nav ul#mobile_menu li ul li a {
  font-size: 16px !important;
  padding: 5px;
}
.et_mobile_menu li a:hover {
  color: #000 !important;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  opacity:1.0;
}
.mobile_nav.opened .mobile_menu_bar:before {
  content: '\4d';
  z-index: 9999;
  color: #ba9547;
}

@media screen and (max-width: 980px) {
.et_mobile_menu {  padding: 4% 10% 10% 10%; }
li.mobilelogo {max-width:250px;}

}

@media screen and (max-width: 840px) {
li.mobilelogo {max-width:230px;}
}

@media screen and (max-width: 767px) {
	.et_mobile_menu { padding: 4% 5% 10% 5%; }
	li.mobilelogo {max-width:220px;}
	  
}

@media screen and (max-width: 640px) {
	.et_mobile_menu { padding: 5% 5% 10% 5%; }
	li.mobilelogo {max-width:215px;}
}

@media screen and (max-width: 540px) {
	.et_mobile_menu { padding: 6% 4% 10% 4%; }
	li.mobilelogo {max-width:210px;}
}

@media screen and (max-width: 400px) {
	li.mobilelogo {max-width:200px;}
	  
}

@media screen and (max-width: 360px) {
	li.mobilelogo {max-width:180px;}
	  
}