/*
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: 0;
  margin-top: 8svh;
}
.sm_menu_outer {
  height: calc(100vh - 60px);
  overflow-y: scroll;
  overflow-x: hidden;
  /* position: fixed; */
  right: 0;
  bottom: 0;
  z-index: -9;
  width: 100%;
  opacity: 0;
  background-color: #fffcf2;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
  display: none;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 999;
  display: block;
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 16px 5px 16px 55px;
  /* background: url("/wp-content/uploads/back.png") no-repeat scroll 15px center /
    5% auto; */
  background-repeat: no-repeat;
  background-position: 15px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='currentColor' class='bi bi-arrow-left' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z'/%3E%3C/svg%3E");
}
.sm_menu_outer .mobile_menu a {
  color: #000000;
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 16px 15px;
  text-decoration: none;
  text-transform: initial;
}
/*Sub Menu anim */
.sm_menu_outer.slide .mobile_menu .submenu,
.sm_menu_outer.slide .mobile_menu .sub-menu {
  background-color: #fffcf2;
  height: 100%;
  position: absolute;
  right: -100%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 999;
  height: auto;
  /* height: 100%; */
  /* height: 100svh; */
}
.sm_menu_outer.slide .mobile_menu li.active > .submenu,
.sm_menu_outer.slide .mobile_menu li.active > .sub-menu {
  right: 0;
}
.sm_menu_outer .mobile_menu li {
  list-style-type: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0) !important;
  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;
  position: initial;
}
.sm_menu_outer.slide .mobile_menu li.menu-item-has-children > a {
  /* background: url("/wp-content/uploads/next.png") no-repeat scroll 95% center /
    5% auto; */
  background-repeat: no-repeat;
  background-position: 95% center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='currentColor' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/*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: 25px;
  right: 25px;
  z-index: 9999;
}

#sm_menu_ham span {
  background-color: #212121;
  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;
  }
}
