/*
JQuery Simple MobileMenu
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
  overflow: hidden;
}
.mobile_menu {
  display: none;
  position: relative;
}
.mobile_menu li {
	padding-left: calc(1em + 12px); /*calc(1em + 33px)*/
	padding-right: 1em;
}
.mobile_menu li.lang-switch a {
	font-weight: 900;
}
.mobile_menu li.lang-switch {
    margin-top: 1em;
}
.mobile_menu li.mobile-search {
    margin-bottom: 2.75em;
	padding-top: 7px;
}
.mobile_menu li.social {
    display: inline-block;
    width: auto;
    padding-left: calc(5vw + 12px);
    padding-right: calc(5vw + 12px);
    min-width: 48%;
    text-align: center;
    margin-bottom: 0.5em;
}
.mobile_menu li.social a {
    padding: 0px;
}
.mobile_menu ul.sub-menu {
    padding-left: 0;
	    border-top: 1px solid rgb(204, 204, 204);
    border-bottom: 1px solid rgb(204, 204, 204);
}
.sm_menu_outer .mobile_menu {
  display: block;
  height: 100%;
  background: #e7e4dd;
  width: 50%;
  position: absolute;
  right: 0;
  opacity: 1;
  padding: 0;
  padding-top: 10px;
  overflow-y: scroll;
  overflow-x: hidden;
  transform: translateX(100%);
  transition-duration: .3s;
  transition-delay: .15s;
}
@media (max-width: 640px) {
	.sm_menu_outer .mobile_menu {
		width: 100%;
	}
}
.sm_menu_outer.active .mobile_menu {
  
  transform: translateX(0%);
  opacity: 1;
}
.sm_menu_outer {
  height: calc(100vh - 60px);
  overflow-y: hidden;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -9;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  background-color: rgb(52, 52, 52, 0.43);
  transition-duration:  0.2s;
}
.sm_menu_outer.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 999;
}
.sm_menu_outer .mobile_menu a {
  color: #343434;
  display: block;
  /*font: 300 18px/140% "Lato", sans-serif;*/
  font-size: calc(1em + 0.4vh);
  letter-spacing: 1px;
  padding: 10px 15px;
  text-transform: uppercase;
  text-decoration: none;
}
.mobile_menu .social a {
    font-size: 90%;
}
/*Sub Menu anim */
.sm_menu_outer .mobile_menu li {
  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;
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  /*
  float: right;  
  position: fixed;
  right: 5px;
  top: 15px;
  right: 15px;
  */
  -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;
  height: 25px;
  z-index: 9999;
}
#sm_menu_ham span {
  background-color: #343434;
  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;
}
.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 li.active > .submenu {
  right: auto;
}
.sm_menu_outer.accordion .mobile_menu li.hasChild > a {
  position: relative;
}
.sm_menu_outer.accordion .mobile_menu li.hasChild > a::before {
  position: absolute;
  content: ''; /*\f054*/
  background: url("../../images/next.svg") no-repeat scroll 50% center / 60% auto;
  /*font-weight: 900;
  font-family: 'Font Awesome 6 Free';
  font-size: 1.5em;*/
  right: 0;
  top: 16px;
  width: 40px;
  height: 16px;
  /*transform-origin: center left;*/
  transition: all 0.19s ease;
  /*filter: invert(1);*/
}
.sm_menu_outer.accordion .mobile_menu li.hasChild.active > a::before {
  transform: rotate(89deg);
  transition: all 0.19s ease;
}
@media (min-width: 1200px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
}