/*
JQuery Simple MobileMenu Slide
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
	overflow: hidden;
	position:relative;
}
.mobile_menu {
	display: none;
	position: relative;
	margin: 0;
	padding: 0;
}
.sm_menu_outer.active .mobile_menu {
	display: block;
}
.sm_menu_outer {
	overflow-y: scroll;
	overflow-x: hidden;
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: -9;
	width: 100%;
	opacity: 0;
	background-color: #819288;
	-webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
	transition: opacity 0.2s;
	top: 114px;
}
.sm_menu_outer.active {
	opacity: 1;
	z-index: 999;
}
.sm_menu_outer li.back a:before {
        content: '\f053';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.25rem;
    color: #FFF;
    margin-right: 1rem;
}
.sm_menu_outer  a {
    color: #ffffff;
    display: block;
    letter-spacing: 1px;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    text-decoration: none;
}
/*Sub Menu anim */
.sm_menu_outer.slide .sub-menu {
	background-color: #819288;
	height: 100%;
	position: absolute;
	right: -100%;
	top: 0;
	transition: all 0.5s ease 0s;
	width: 100%;
	z-index: 999;
	padding:0;
}
.sm_menu_outer.slide li.active > .sub-menu {
	right: 0;
}
.sm_menu_outer li {
	list-style-type: none;
	border-bottom: 1px solid #69786f;
	color: #ffffff;
	position:relative;
}
.sm_menu_outer  li.hasChild.active {
    position: unset;
}
.hasChild span.submenu-toggle {
	position: absolute;
    width: 50px;
    text-align: right;
    padding-right: 12px;
    right: -18px;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 998;
}

.hasChild span.submenu-toggle:after {
    content: '\f054';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 21px;
    color: #FFF;
}

/*Hamburger Animation */
#sm_menu_ham {
	cursor: pointer;
	float: right;
	height: 21px;
	position: fixed;
	right: 5px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: all 0.5s ease-in-out 0s;
	-moz-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
	width: 24px;
	top: 45px;
	right: 15px;
	z-index: 9999;
}
#sm_menu_ham span {
	background-color: #819288;
	border-radius: 5px;
	display: block;
	height: 3px;
	left: 0;
	opacity: 1;
	position: absolute;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: all 0.25s ease-in-out 0s;
	-moz-transition: all 0.25s ease-in-out 0s;
	-o-transition: all 0.25s ease-in-out 0s;
	transition: all 0.25s ease-in-out 0s;
	width: 24px;
}
#sm_menu_ham span:nth-child(1) {
	top: 0;
}
#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
	top: 8px;
}
#sm_menu_ham span:nth-child(4) {
	top: 16px;
}
#sm_menu_ham.open span:nth-child(1) {
	left: 50%;
	top: 18px;
	width: 0;
}
#sm_menu_ham.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}
#sm_menu_ham.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#sm_menu_ham.open span:nth-child(4) {
	left: 50%;
	top: 18px;
	width: 0;
}
@media (min-width: 1200px) {
	#sm_menu_ham,
	.sm_menu_outer {
		display: none;
	}
}