/*
JQuery Simple MobileMenu
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
  overflow: hidden;
}

.mobile_menu {
  display: none;
  position: relative;
}

.mm_main_nav{
  display: none;
}

.sm_menu_outer.active .mobile_menu {
  display: block;
}
.sm_menu_outer {
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -9;
  width: 100%;
  opacity: 0;
  background-color: #353F46;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
  display: none;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 10002;
  display: block;
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 20px 5px 20px 55px;
  background: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M16.67%200l2.83%202.829-9.339%209.175%209.339%209.167-2.83%202.829-12.17-11.996z%22%2F%3E%3C%2Fsvg%3E') no-repeat scroll;
  background-position: left 10px center;
  background-size: 20px 20px;
}
.sm_menu_outer .mobile_menu a {
  color: #ffffff;
  display: block!important;
  letter-spacing: 1px;
  padding: 20px 15px;
  text-transform: uppercase;
  text-decoration: none;
}
/*Sub Menu anim */
.sm_menu_outer .mobile_menu .submenu {
  background-color: #353F46;
  height: 100%;
  position: absolute;
  right: -100%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 999;
}
.sm_menu_outer .mobile_menu li.active>.submenu {
  right: 0;
}
.sm_menu_outer .mobile_menu li {
  display: block!important;
  list-style-type: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0);
  border-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #2a2a2a 20%, #2a2a2a 50%, #2a2a2a 80%, rgba(0, 0, 0, 0) 100%) 0 0 1 0;
  color: #ffffff;
}

.sm_menu_outer .mobile_menu li.hasChild>.show-subnav {
  background: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M5%203l3.057-3%2011.943%2012-11.943%2012-3.057-3%209-9z%22%2F%3E%3C%2Fsvg%3E') no-repeat scroll;
  background-position: right 20px center;
  background-size: 20px 20px;
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor             : pointer;
  height             : 25px;
  position           : absolute;
  right              : 5px;
  transform          : rotate(0deg);
  transition         : all 0.5s ease-in-out 0s;
  width              : 30px;
  top                : 0;
  bottom             : 0;
  margin             : auto;
  right              : 15px;
  z-index            : 10003;
}
#sm_menu_ham span {
  background-color: #fff;
  border-radius: 5px;
  display: block;
  height: 2px;
  left: 0;
  opacity: 1;
  position: absolute;
  transform: rotate(0deg);
  transition: all 0.25s ease-in-out 0s;
  width: 30px;
}

#sm_menu_ham.open span {
  background-color: #fff;
}

#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) {
  transform: rotate(45deg);
}
#sm_menu_ham.open span:nth-child(3) {
  transform: rotate(-45deg);
}
#sm_menu_ham.open span:nth-child(4) {
  left  : 50%;
  top   : 18px;
  width : 0;
}
/*@media (min-width: 0px) and (max-width: 767px) {}
@media (min-width: 768px) and (max-width: 991px) {}
@media (min-width: 992px) and (max-width: 1024px) {}*/
@media (min-width: 1024px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
  .mm_main_nav {
    display: flex;
  }
}

.hasChild{
  position: relative;
}
.hasChild.active{
    position: static;
}

.show-subnav{
  display  : inline-block;
  position : absolute;
  right    : 0;
  top      : 0;
  bottom   : 0;
  margin   : auto;
  width    : 60px;
  cursor: pointer;
}