/*
JQuery Simple MobileMenu Slide
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
  overflow: hidden;
}
.mobile_menu {
  display: none;
  position: relative;
}
.sm_menu_outer.active .mobile_menu {
  display: block;
  padding: 0;
  height: 100%;
  padding: 15px 15px;
}
.sm_menu_outer .mobile_menu a.navbar-brand {
    padding-bottom: 20px;
}
.sm_menu_outer {
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
    left: -300px;
    top: 0;
    z-index: -9;
    width: 270px;
    opacity: 0;
    background-color: #fff;
    transition: all 0.3s;
    border-top: none;
    box-shadow: 2px 0px 5px rgb(0 0 0 / 12%);
    
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 999;
      left: 0;
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 25px 5px 25px 55px;
  background: url(../images/arrow_back.png) no-repeat scroll 15px center / 24px auto;
  font-weight: 600;
  font-size: 14px;
  line-height: 27px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2B2E34;
}
.sm_menu_outer .mobile_menu a {
  font-weight: 600;
  font-size: 13px;
  line-height: 56px;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  color: #2B2E34;
  border-bottom: 1px solid #ddd;
  display: block;
  padding: 0px 35px 0px 15px;
}
/*Sub Menu anim */
.sm_menu_outer.slide .mobile_menu .submenu {
  background-color: #fff;
  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 .mobile_menu li.active > .submenu {
  right: 0;
}
.sm_menu_outer .mobile_menu li {
  list-style-type: none;
}
.sm_menu_outer.slide .mobile_menu li.hasChild > a {
  background: url("../images/right-arrow.png") no-repeat scroll 95% center / 11px auto;
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  float: right;
  height: 25px;
  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: 30px;
  top: 57px;
  right: 15px;
  z-index: 999;
}
@media only screen and (max-device-width: 768px) {
  #sm_menu_ham.sticky {
    top: 28px !important;
  }
}
#sm_menu_ham span {
  background-color: #2B2E34;
  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: 30px;
}
#sm_menu_ham span:nth-child(1) {
  top: 0;
}
#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
  top: 10px;
}
#sm_menu_ham span:nth-child(4) {
  top: 20px;
}
#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: 1024px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
}