/*
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;}
.sm_menu_outer {
  height: calc(100vh - 0px);
  overflow-y: scroll;
  overflow-x: hidden;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: -9;
  width: 0%;
  opacity: 0;
	padding: 36px 0px;
  background-color: #fff;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
	overflow: hidden;
	transition: all 0.5s;
}
.sm_menu_outer.active {opacity: 1; z-index: 999; width: 90%; padding: 36px;}
.sm_menu_outer .mobile_menu li.back a {
	padding: 0px 5px 0px 15px;
    background: url(../images/back.png) no-repeat left 0px center / 5% auto;
	background-size: 8px;
    font-size: 14px;
    text-transform: capitalize;
	margin-bottom: 15px;
	position: relative;
}
.sm_menu_outer .mobile_menu li.back a:before{position: absolute; content: 'Zurück'; width: 100%; height: 100%; left: 15px; background: #fff;}

.sm_menu_outer .mobile_menu a {color: #404040;
	/*display: block;*/
    padding: 0px;
	padding-right: 15px;
	display: inline-block;   
    font-family: sofia-pro;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .03em;
	margin-bottom: 8px;
    text-transform: uppercase;    
}

.mobile_menu .btnBorder{padding: 8px 18px;
    border: 2px #404040 solid;
    font-family: sofia-pro;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: .03em;
    color: #404040;}

/*Sub Menu anim */
.sm_menu_outer .mobile_menu .submenu {
  background-color: #fff;
  height: 100%;
  min-height: 100vh;
  position: absolute;
  right: -100%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 999;
	opacity: 0;
}
.sm_menu_outer .mobile_menu li.active>.submenu {right: 0; opacity: 1;}
.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;
}
.sm_menu_outer .mobile_menu li.hasChild>a {background: url("../images/next.png") no-repeat right 0px center / 5% auto; background-size: 10px;}

/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  float: right;
  height: 18px;
  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: 25px;
  top: 30px;
  right: 20px;
  z-index: 9999;
}
#sm_menu_ham span {
  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: 25px;
}
#sm_menu_ham span:nth-child(1) {top: 0;}
#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {top: 8px;}
#sm_menu_ham span:nth-child(4) {top: 16px;}
#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: 0px) and (max-width: 767px) {}
@media (min-width: 768px) and (max-width: 991px) {}
@media (min-width: 992px) and (max-width: 1024px) {}*/
@media (min-width: 769px) {
  #sm_menu_ham,
  .sm_menu_outer {display: none;}
}