/*
JQuery Simple MobileMenu
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/


body.mmactive {/*
  overflow: hidden;
  
  ausschanlten um bei geöffnetem menu scrollen innerhalb der seite zu ermöglichen*/
}


.mobile_menu {
  display: none;
  position: relative;

  
}
.sm_menu_outer.active .mobile_menu {
  display: block;
}


 .start .sm_menu_outer { top:75px;}
  
  
.sm_menu_outer {
	
	/*
  height: calc(100vh - 60px); */
  height:auto;
  overflow-y: scroll;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  padding-bottom:0px;
  
	border-bottom:2px solid #AD0539;
/*box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
 -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
-*/webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);

box-shadow: 0px 20px 50px #0000001A;
 -moz-box-shadow: 0px 20px 50px #0000001A;
-webkit-box-shadow: 0px 20px 50px #0000001A;



  top:100px;
  
  z-index: -9;
  width: 100%;
  opacity: 0;
  background-color: #ffffff;  /*background-color: transparent;*/
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 999;
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 20px 5px 20px 56px;
/*  background: url("../images/arrow-left.png") no-repeat scroll 15px center / 5% auto;*/
 background-color:#ffffff;
 background-image:url('../images/icons/menu-mobil-pfeil-links.svg');
 background-repeat:no-repeat;
background-size: 20px auto;
 
background-position: left 24px top 23px;

}
.sm_menu_outer .mobile_menu a {
  color: #AD0539;  background-color: #ffffff;
  display: block;
	padding: 15px 20px;height:54px;
	font-size: 18px;
	line-height: 20px;
	font-weight: 300;
 
	border-bottom:1px solid #AD0539;
  text-decoration: none;
}


.sm_menu_outer .mobile_menu li.meinbereich a {

background-color: #AD0539;
    color: #fff;
 
}
    
/*letzes element*/
.sm_menu_outer .mobile_menu .p48 a {
	border-bottom:none;}


.sm_menu_outer .mobile_menu a:hover { color:#AD0539;}



/*Sub Menu anim */
.sm_menu_outer .mobile_menu .submenu {
  background-color: #ffffff;
  height: 100%;
  position: absolute;
  right: -100%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 999; height:100vh;
}
.sm_menu_outer .mobile_menu li.active>.submenu {
  right: 0;
}
.sm_menu_outer .mobile_menu li {
  list-style-type: none;
 
}

 
 

.sm_menu_outer .mobile_menu li .submenu li a {background-color:#fff;}
.sm_menu_outer .mobile_menu li .submenu li a:hover  {background-color:#fff;color:#AD0539;}

.sm_menu_outer .mobile_menu li .submenu li.back a {background-color:#ffffff;color:#AD0539;}
.sm_menu_outer .mobile_menu li .submenu li.back a:hover {background-color:#ffffff;color:#AD0539;}

.sm_menu_outer .mobile_menu li.hasChild>a {
  /*background: url("../images/arrow-right.png") no-repeat scroll 95% center / 5% auto;
 */ 
 background-image:url('../images/icons/menu-mobil-pfeil-rechts.svg');
 background-repeat:no-repeat;
background-size: 20px auto;
 
background-position: right 20px top 17px; 
  
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  float: right;
  height: 25px;
  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: 30px;
  top: 27px;
  right: 18px;
  z-index: 9999;
}
#sm_menu_ham span {
  background-color: #AD0539;
  border-radius: 5px;
  display: block;
  height: 1.5px;
  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: 28px;
}
#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 .mobile_menu .p6,
   .sm_menu_outer .mobile_menu .p7,
    .sm_menu_outer .mobile_menu .p8,
    .sm_menu_outer .mobile_menu .p75
     {border-bottom:none; float:left; width:33.333333%; width: 50%;display:block;}

 
   .sm_menu_outer .mobile_menu .p6 a,

    .sm_menu_outer .mobile_menu .p7 a,
    .sm_menu_outer .mobile_menu .p8 a,
    .sm_menu_outer .mobile_menu .p75 a
     {  display:block; height:101px; width:100%; position:relative;
background-repeat:no-repeat;
background-size:25% auto;
background-size:auto 22px;
background-position:center 27px;
border-bottom:none;    padding: 0px;


    color: #4F5355;
    font-size: 12px;
 padding-top:60px;
    width: 100%;
    display: block;
    text-align: center;
}

}

 .sm_menu_outer .mobile_menu  .mobile_button a span,
 
    .sm_menu_outer .mobile_menu .p6  a span,
   .sm_menu_outer .mobile_menu .p7  a span,
    .sm_menu_outer .mobile_menu .p8  a span,
    .sm_menu_outer .mobile_menu .p75  a span
     {color:#4F5355; font-size:12px; position:absolute;  bottom:24px;
width:100%; display:block; text-align:center;}







@media (min-width: 380px) {  
	.sm_menu_outer .mobile_menu .p6,
   .sm_menu_outer .mobile_menu .p7,
    .sm_menu_outer .mobile_menu .p8,
    .sm_menu_outer .mobile_menu .p75
     {border-bottom:none; float:left; width:25%; display:block;}

 

}

/*@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: 900px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
 
}