/*
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: 106px;
    right: 0;
    bottom: 0;
    z-index: -9;
    width: 100%;
    opacity: 0;
    background-color: var(--main-blue);
    -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;
    font-weight: 900;
    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-blue);
    background-color: var(--main-blue);
    height: 100%;
    position: absolute;
    top: 0;
    right: -100%;
    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 #FFF;
    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 {
    display: block;
    margin-top: .25rem;
    cursor: pointer;
}
#sm_menu_ham i {
    font-size: 1.5rem;
    color: #000;
}
/* CUSTOM STYLES */
.mobile-nav-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    background: #7d92ca;
}
.sm_menu_outer .mobile_menu .mobile-nav-top li {
    border: none;
    margin: 0;
}
.sm_menu_outer .mobile_menu .mobile-nav-top li:first-child {
    display: block;
}
.sm_menu_outer .mobile_menu .mobile-nav-top a {
    font-size: 1rem;
    padding: .5rem;
}
.sm_menu_outer .mobile_menu .mobile-nav-top a.btn {
    padding: .75rem 1rem;
    margin: 0 auto;
    max-width: 60vw;
}
@media (min-width:992px) {
    #sm_menu_ham, .sm_menu_outer {
        display: none;
    }
}
@media (max-width:1200px) {
    .conference #sm_menu_ham, .conference .sm_menu_outer {
        display: block;
    }
}