/*
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;
    margin-top: 50px;
}
.sm_menu_outer {
    height: calc(100vh - 50px);
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -9;
    width: 100%;
    top: 0;
    opacity: 0;
    background-color: #fff;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
    padding-bottom: 190px;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 9990;
}
.sm_menu_outer .mobile_menu li.back a {
    padding:10px 10px 10px 30px;
    background-image: url("../images/left-arrow.svg");
    background-repeat: no-repeat;
    background-position: 15px center;
	background-color: #fff !important;
}
.sm_menu_outer .mobile_menu a {
    color: #3C4852;
    display: block;
    padding: 10px;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0;
}
.final-sub-menu ul li b {
    font-family: 'AvertaStdBold';
    font-size: 16px;
    margin: 0 0 10px 0;
    color: #3C4852;
    display: block;
    padding: 0 10px;
}
.sm_menu_outer .mobile_menu .final-sub-menu ul li a {
    padding: 0 !important;
    margin: 0 10px 10px 10px;
    color: #7A8B94;
    font-size: 14px;
}
li.back a {
    border-bottom: 1px solid #E9EEF2;
}
.final-sub-menu ul {
    width: 50%;
    margin: 0 0 10px 0;
}
/*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;
}
.sm_menu_outer.slide .mobile_menu li.active > .submenu {
  right: 0;
}
.sm_menu_outer .mobile_menu li { 
  color: #ffffff;
}
.sm_menu_outer.slide .mobile_menu li.hasChild > a {
    background-image: url("../images/right-arrow.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    background-size: 10px;
}
/*Hamburger Animation */
 
#sm_menu_ham span {
  background-color: #FFFFFF;
  border-radius: 5px;
  display: block;
  height: 2px;
  left: 0;
  opacity: 1;
  position: absolute;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  transform: rotate(0deg); 
  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;
  }
}