/*
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;}
.sm_menu_outer {height: calc(100vh - 0rem); overflow-y: scroll; overflow-x: hidden; position: fixed; right: 0; bottom: 0; z-index: -9; width: 100%; opacity: 0; background-color: #fff;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 99999;
}
.sm_menu_outer .back{padding: 1.2rem 0 0 0;}
/*.sm_menu_outer .mobile_menu li.back a {
  padding: 20px 5px 20px 55px;
  background: url("../images/back.png") no-repeat scroll 15px center / 5% auto;
}*/
.sm_menu_outer .mobile_menu li.back a {position: relative; text-align: center; color: #312783;}
.sm_menu_outer .mobile_menu li.back a::before, .sm_menu_outer .mobile_menu li.back a::after {position: absolute; left: -1rem; font-size: 2.1rem; display: flex; align-items: center; justify-content: center; width: 3.0rem; height: 3.0rem; top: 0.5rem;}
.sm_menu_outer .mobile_menu li.back a::before {content: ''; background: #312783; border-radius: 50%;}
.sm_menu_outer .mobile_menu li.back a::after {content: "\f104"; font-family: fontawesome; color: #fff;}


.sm_menu_outer .mobile_menu a {color: #000; display: block; padding: 1.0rem 1rem; text-decoration: none; font-size: 1.2rem;}
/*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; padding: 0 0 0 2.5rem; }
.sm_menu_outer.slide .mobile_menu li.active > .submenu {right: 0; height: calc(100vh - 4.5rem);}
.sm_menu_outer .mobile_menu li {list-style-type: none; border-bottom: 0.0px 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.slide .mobile_menu li.hasChild > a {position: relative;}
.sm_menu_outer.slide .mobile_menu li.hasChild > a::before, .sm_menu_outer.slide .mobile_menu li.hasChild > a::after {position: absolute; right: 1rem; font-size: 2.1rem; display: flex; align-items: center; justify-content: center; width: 3.0rem; height: 3.0rem; top: 0.3rem;}
.sm_menu_outer.slide .mobile_menu li.hasChild > a::before {content: ''; background: #fff; border-radius: 50%;}
.sm_menu_outer.slide .mobile_menu li.hasChild > a::after {content: "\f105"; font-family: fontawesome; color: #333;}

/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  float: right;
  height: 1.40875rem;
  position: fixed;
  -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: 2rem;
  top: 2rem;
  right: 2.5rem;
  z-index: 9999;
}
/*Hamburger Animation */
#sm_menu_ham {background: url("../../images/icons/mobile-icon.svg") no-repeat; background-size: 100%; cursor: pointer; float: right; position: absolute;
  -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: 3rem; top: 3.0rem; right: 2.5rem; z-index: 9999;}
#sm_menu_ham.open{background: url("../../images/icons/close.svg") no-repeat; z-index: 9999999; top: 0; right: 0; width: 2.5rem; height: 2.5rem; background-size: 100%;}
#sm_menu_ham span {display: none !important;
  background-color: #000;
  border-radius: 5px;
  display: block;
  height: 2px;
  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;
  }
}

#sm_menu_ham.fixed_menu{position: fixed; top: 2.0rem;}

