/*
JQuery Simple MobileMenu
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: 10px;
}
.sm_menu_outer {
  /* height: calc(100vh - 55px); */
  height: auto;
  top: 0px;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -9;
  width: 100%;
  opacity: 0;
  background-color: transparent;
  color: #20252b;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
  background-image: url(../images/headerMobileBgrd.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  /* padding-top: 115px; */
  /* padding-top: 200px; */
  margin-top: 305px;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 999;
}
.sm_menu_outer .mobile_menu a {
  color: #FFFFFF;
  display: block;
  font-family: inherit;
  font-size: 18px;
  padding: 10px 0;
  text-decoration: none;
  font-weight: 400;
  margin: 0 16px;
  /* border-bottom: 1px solid #d8d8d8; */
  padding-right: 20px;
}
/*Sub Menu anim */
.sm_menu_outer .mobile_menu li {
  list-style-type: none;
  color: #ffffff;
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  float: right;
  height: 18px;
  position: fixed;
  right: 5px;
  /* -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.1s ease-in-out 0s;
  -moz-transition: all 0.1s ease-in-out 0s;
  -o-transition: all 0.1s ease-in-out 0s;
  transition: all 0.1s ease-in-out 0s; */
  width: 30px;
  top: 25px;
  right: 15px;
  z-index: 1009;
}
.mmactive #sm_menu_ham { 
  /* top: 130px; */
  top: 185px;
}
#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);
  -webkit-transition: all 0.1s ease-in-out 0s;
  -moz-transition: all 0.1s ease-in-out 0s;
  -o-transition: all 0.1s ease-in-out 0s;
  transition: all 0.1s 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: 7px;
  width: 16px;
}
#sm_menu_ham span:nth-child(4) {
  top: 14px;
}
#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);
  width: 30px;
}
#sm_menu_ham.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 30px;
}
#sm_menu_ham.open span:nth-child(4) {
  left: 50%;
  top: 18px;
  width: 0;
}
.sm_menu_outer.accordion .mobile_menu .submenu, 
.sm_menu_outer.accordion .mobile_menu li.hasChild ul.submenu {
  display: none;
}
.sm_menu_outer.accordion .mobile_menu .hasChild > .submenu li {
  padding-left: 20px;
}
.sm_menu_outer.accordion .mobile_menu .hasChild > .submenu li a{
  font-size: 16px;
}
.sm_menu_outer.accordion .mobile_menu li.active > .submenu {
  right: auto;
}
.sm_menu_outer.accordion .mobile_menu li.hasChild > a {
  position: relative;
}
.sm_menu_outer.accordion .mobile_menu li.hasChild.active > a {
  /* border-bottom: 1px solid #59a5d5; */
  border-bottom: 1px solid #70bcec;
}
.sm_menu_outer.accordion .mobile_menu .submenu li.hasChild.active > a {
  border-bottom: none;
}
.sm_menu_outer.accordion .mobile_menu li.hasChild > a::before {
  content: '\ea4e';
  font-family: "remixicon";
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 20px;
  transition: all 0.19s ease;
}
.sm_menu_outer.accordion .mobile_menu li.hasChild.active > a::before {
  transform: rotate(180deg);
  transition: all 0.19s ease;
}
@media (min-width: 1024px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
}