/*
JQuery Simple MobileMenu Slide
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
    overflow: hidden;
}
.mobile_menu {
    display: none;
    padding: 0;
    position: relative;
}
.sm_menu_outer.active .mobile_menu {
    display: block;
}
.sm_menu_outer {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
    top: 107px;
    right: 0;
    bottom: 0;
    z-index: -9;
    width: 100%;
    opacity: 0;
    background-color: var(--main-green);
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
}
.sm_menu_outer.active {
    opacity: 1;
    z-index: 999;
}
.sm_menu_outer .mobile_menu 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 .mobile_menu a {
    font-size: 1.25rem;
    color: #FFF;
    display: block;
    padding: 1rem 1.5rem;
    padding-right: 1rem;
    text-decoration: none;
}
/*Sub Menu animation */
.sm_menu_outer.slide .mobile_menu .submenu  {
    padding: 0;
    background-color: var(--main-green);
    min-height: calc(100% - 107px);
    position: absolute;
    right: -100%;
    top: 0;
    transition: all 0.5s ease 0s;
    width: 100%;
    z-index: 999;
}
.sm_menu_outer.slide .mobile_menu li.active > .submenu {
    right: 0;
    top: 0;
}
.sm_menu_outer.slide .mobile_menu li.active > .submenu .submenu {
    top: 0;
}
.sm_menu_outer .mobile_menu li {
    list-style-type: none;
    border-bottom: 1px solid var(--dark-green);
    color: #FFF;
}
.hasChild {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
}
.hasChild a {
    flex-grow: 1;
}
.hasChild span {
    position: absolute;
    width: 50px;
    text-align: right;
    padding-right: 15px;
    right: 0;
}
.hasChild span:after {
    content: '\f054';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 21px;
    color: #FFF;
}
/*Hamburger Animation */
#sm_menu_ham i {
    font-size: 1.5rem;
    color: var(--main-green);
}
@media (min-width: 1200px) {
    #sm_menu_ham, .sm_menu_outer {
        display: none;
    }
}