/**** This hides the sub menu items on mobile ****/
#page-container .mobile_nav li ul.hide {
    display: none !important;
}
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#page-container .mobile_nav .menu-item-has-children {
    position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
    background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#page-container .mobile_nav .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}
/**** Here you can swap out the actual icons ****/
#page-container span.menu-closed:before {
    content: "\4c";
    display: block;
    color: #fff;
    font-size: 16px;
    font-family: ETmodules;
}
#page-container span.menu-closed.menu-open:before {
    content: "\4d";
}

/* Styling Middle Line - Code By Divi Awesome */
.mobile_menu_bar{
	position: absolute;
    right: 0;
    top: 0px;
	width:35px;
	height:3px;
	background:#0e162b; /* Change the color if you are using black background */
	border-radius:20px;
	transition: all .5s ease-in-out;
}

/* Styling Top and Bottom Line - Code By Divi Awesome */
.mobile_menu_bar:before,
.mobile_menu_bar:after{
	content:'';
	height:3px;
	position:absolute;
	background:#0e162b; /* Change the color if you are using black background */
	border-radius:20px;
	transition: all .5s ease-in-out;
}

/* Reducing width of Top Line - Code By Divi Awesome */
.mobile_menu_bar:before{
	width:30px;
	transform:translatey(-8px);
	transition: all .5s ease-in-out;
}

/* Reducing width of Bottom Line - Code By Divi Awesome */
.mobile_menu_bar:after{
	width:25px;
	transform:translatey(8px);
	transition: all .5s ease-in-out;

}

/* Sliding Middle line to the left - Code By Divi Awesome */
.mobile_nav.opened .mobile_menu_bar{
	transform:translatex(-50px);
	background:transparent;
	transition: all .5s ease-in-out;
}

/* Rotating the line once it is open - Code By Divi Awesome */
.mobile_nav.opened .mobile_menu_bar:before{
	transform:rotate(45deg) translate(35px, -35px);
	transition: all .5s ease-in-out;
	
    left: 5px;
}

/* Rotating the line once it is open - Code By Divi Awesome */
.mobile_nav.opened .mobile_menu_bar:after{
	transform:rotate(-45deg) translate(35px, 35px);
	transition: all .5s ease-in-out;
	    right: 0;
    width: 30px;
}

/*If dropdown is overlapping hamburger use the below code*/


.mobile-menu-style-1 .et_mobile_menu{
	    box-shadow: 0 6px 18px 0 rgb(100 130 208 / 17%);
	     min-width: 77vw;
    margin-left: 0;
    margin-top: 8vw;
	overflow-y: scroll!important;
    max-height: 80vh!important;
    -overflow-scrolling: touch!important;
    -webkit-overflow-scrolling: touch!important;
	    transform: translateX(-176px);
}