/*
JQuery Simple MobileMenu Slide
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
.mobile_menu {
  display: none;
  position: relative;
}
.sm_menu_outer.active .mobile_menu,
.sm_menu_outer ul.menu.sf-js-enabled.sf-arrows {
    display: block;
}
.sm_menu_outer {
  height: calc(100vh - 74px);
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -9;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  -webkit-transition: opacity .25s ease;
  -moz-transition: opacity .25s ease;
  transition: opacity .25s ease;
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 20px 5px 20px 55px;
  background: url("../../img/back.png") no-repeat scroll 15px center / 5% auto;
}
/*Sub Menu anim */
.sm_menu_outer.slide .mobile_menu .submenu {
  min-height: 85vh;
  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;
}
/*Hamburger Animation */
#sm_menu_ham {
    cursor: pointer;
    height: 30px;
    position: fixed;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
    width: 36px;
    top: 20px;
    left: 15px;
    z-index: 1001;
    padding: 6px!important;
    background: #6bb42a;
    border-radius: 6px;
}
#sm_menu_ham span {
    background-color: #FFFFFF;
    border-radius: 5px;
    display: block;
    height: 2px;
    left: 7px;
    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: 22px;
}
#sm_menu_ham span:nth-child(1) {
  top: 7px;
}
#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
  top: 14px;
}
#sm_menu_ham span:nth-child(4) {
  top: 21px;
}
#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;
}
ul.mobile_menu {
    padding-bottom: 150px;
}
@media (min-width: 992px) {
  #sm_menu_ham {
    display: none;
  }
  .sm_menu_outer {
      position: relative;
      height: auto;
      opacity: 1;
      visibility: visible;
  }
}
@media (max-width: 991px) {
    .mobile_menu .menu {
        padding-bottom: 110px;
    }
    .sm_menu_outer {
        overflow-y: scroll;
        overflow-x: hidden;
        overscroll-behavior: none;
    }
    .sm_menu_outer.active {
        opacity: 1;
        visibility: visible;
        top: 74px;
        z-index: 1010;
        height: calc(100% - 73px);
        margin-top: -1px;
    }
    ul.mobile_menu li.hasChild.active > ul.submenu.menu-mobile:last-child {
        display: block;
        min-height: 100%;
        padding-bottom: 150px;
    }
}