body{
 width:100%;
    height: auto;
  margin: 0 0 0 0;
  cursor: default;

}
a {
text-decoration:none;
}
#header{
  z-index: 0;
  background-color: #FFFFFF;
  display: block;
  height:auto;
  margin-top:0;
}
.logo{
  
  width:48%;
box-sizing: border-box;
display: inline-block;
margin-left: 2.5%;

}
.logo img{
width:100%;
}
.texte_re{
  display: inline-block;
  width:40%;
  font-size: 90%;
font-weight: bold;
margin-left: 3%;  
}
.text_u{
  display: none;
  width:90%;
margin: 0 auto;
  text-align: center;
  color: #000000;
}
.text_u span{
  font-weight: bolder;
}
#mbutton{
z-index: 4;
display: inline-block;
    box-sizing: border-box;
  display: none;
    float: left;
    width: 10%;
margin-left: 3%;
 list-style: none;
margin-top: -5%;
   
  }
 #mbutton img{
    width: 50%;
  } 
#mbutton  li{
  display: block;
}
#mbutton ul{
  display:block;
  width: 2em;
}
#mbutton ul li{
  display: inline;
}
#mbutton ul li a.menue_button{
}
.menleiste{ 
  z-index:4;
  display: flex;
  flex-flow: row;
  position: relative;
  box-sizing: border-box;
  border-color: #8B0000;  
  text-align: center;
  border-top: solid 0.2em;
  width: 100%;

}
.menleiste li{
  display: inline;
}
.menleiste .nav{
  display: block;
  position:relative;
  width: 96%;
  margin: 0 ;
}

.menleiste ul li a{
font-size: 1.125em;
line-height: 2.2em;
padding: 0.563em 0.938em 0.375em 0.938em;
transition:background 0.2s;
-webkit-transition: background 0.2s;
}
.menleiste li a.active{
  color:#000000;
  background-color: #FF4500;
  font-weight: bolder;
}
.menleiste li a.active:hover{
 cursor: not-allowed;
}
.menleiste li a:hover{
cursor: pointer;
color: #ABABAB;
background-image: url("../button/rand.png");
}
/*----------------------------------------------------------------------Haupt-----------------------*/
#main{	
	display: block;
	width: 100%;
	height:auto;
	margin:0 auto; 
	z-index: 2;

	}
.haupt{
  display:block;
  position: relative;
}
/*---------------------------------------------------------------------------Hintergrund--------------------*/
#vanilla-slideshow-container { 
  width: 100%; 
  height: 100%; 
  position: relative; 
  text-align: center;
  z-index: 3;
}

#vanilla-slideshow .vanilla-slide { 
  width: 100%; 
  height: 100%; 
  background-size: cover; 
  background-position: 50% 50%;
  background-repeat: no-repeat;
  position: absolute; 
  top: 0; 
  left: 0; 
  opacity: 0;
}

#vanilla-slideshow .vanilla-slide.vanilla-active { 
    opacity: 1;
}

#vanilla-slideshow .vanilla-slide img {
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) { 
  #vanilla-slideshow .vanilla-slide img {
    left: 50%;
    margin-left: -512px; 
  }
}

/* Arrows */

#vanilla-slideshow-previous {
  position: absolute;
  left: 10px;
  top: 40%;
  width: 48px;
  height: 50px;
  background-position: 0 100%;
  cursor: pointer; 
  opacity: 0.7;
  z-index: 5; 
  display: none;
}

#vanilla-slideshow-next {
  position: absolute;
  right: 10px;
  top: 40%;
  width: 48px;
  height: 50px;
  background-position: 100% 100%;
  cursor: pointer;  
  opacity: 0.7;
  z-index: 5; 
  display: none;
}

#vanilla-slideshow-previous:hover, #vanilla-slideshow-next:hover {
  opacity: 1;
}

/* Indicators */

#vanilla-indicators {
  display: inline-block;
  z-index: 5;
  position: absolute;
  bottom: 50px;
}

.vanilla-indicators {
  box-shadow: 0 0 10px #333333;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  float: left;
  margin-right: 3px;
  cursor: pointer;
  margin: 0 auto;
}

.vanilla-indicators.vanilla-active {
  background-color: #ffffff;
}

/*-------------------------------------------------------------------------------Text-----------------------------*/

.einl{
	z-index: 4;
	box-sizing: border-box;
	display: block;
	position: relative;
	width: 60%;
	color: #ffffff;
   /* color: #636363;*/
  font-size: 350%;
margin: 0 auto;
padding-bottom: 5%;
padding-top: 5%;
}
.einl p{
	text-align: center;
}

/*------------------------------------------------------------------------------------Footer---------------------------*/
#footer{
	display: inline-block;
	width: 100%;
	height: auto;

	font-size: 120%;
     text-align: center; 
   	 border-color: #8B0000;	
	border-top: solid 0.2em;
}

#footer li{
  display: inline;
}
#footer ul li a{
padding: 0.563em 0.938em 0.375em 0.938em;
  font-size: 100%;
  text-decoration: none;
}
#footer a:hover{
cursor: pointer;
}
#footer .active{
font-weight: bolder;
text-decoration: underline;
cursor: not-allowed;
}
#footer li a.active:hover{
 cursor: not-allowed;
}



/*---------------------------------------------------------------------------------------max 548------------------*/
@media screen and (max-width: 548px){ 
  .einl{
  font-size: 175%;
  width: 75%;
}
#mbutton{
padding-left: 0;
margin-top: -3.5%;
}
}
/*-----------------------------------------------------549-619-----------------------------------------------------*/
@media screen and (min-width: 549px){ 

@media screen  and (max-width:619px){
.einl{
  font-size: 220%;
  width: 75%;
}
}
}


/*-----------------------------------------------------615-748-----------------------------------------------------*/

@media screen and (min-width: 619px){ 

@media screen  and (max-width:748px){ 
  .einl{
  font-size: 250%;
  width: 80%;
  }
  }
}

/*-----------------------------------------------------749-767-----------------------------------------------------*/

@media screen and (min-width: 749px){ 

@media screen  and (max-width:767px){ 
  .text_u{
    font-size: 95%;
  }
  .einl{
  font-size: 255%;

  }
  }
}
/*------------------------------------------------------------max 767 ------------------------------------*/
  @media screen  and (max-width:767px){
 .texte_re{
  display: none;
   }


.logo{
  width:53%;
  margin-left: 23%;
}
.logo img{
  width:100%;
} 
.ordnung{
margin: 0 auto;
display: block;
width: 100%;
}
.text_u{
  z-index: 6;
  display:block;
  font-size: 80%;
margin: 0 auto;
}
#mbutton{
  display:block;
  position: relative;
  width: 10%;
}

#mbutton ul li a.menue_button{
    display: block;

  }
 .menleiste{
    border-style: none;

 margin-top: 4%;
     width: 37%;
 color:#000000;
 background-color:#FFFAFA;

  }
 
.menleiste .nav { 
  color:#000000;
 display: none;
 width:auto;
 height: 0;  
 text-align: left;
margin-left: 0%;
background-color:#FFFAFA;
  }
.menleiste nav ul{
    background-color:#FFFAFA;
    border:solid 0.015em;
     color:#000000;
padding-left: 0%;
  }
 .menleiste nav ul li {
padding-top: 0.2em;
    display: block;
background-color:#FFFAFA;
text-align: left;
  }
.menleiste ul li a{
  color:#000000;
  background-color:#FFFAFA;

}
  .menleiste li a.active{
  color:#000000;
text-decoration: underline;
background-color:#FFFAFA;
}

#footer{
  font-size: 85%;

}
#footer ul{
  margin-left: 0%;
  padding-right: 12%;
}
}
/*-----------------------------------------------------min 768-----------------------------------------------------*/

@media screen and (min-width: 768px){ 

.menleiste nav ul {
  margin: 0 auto;
  }
.haupt{
 /* background-image:   url(../hintergrund/birne_stecker.jpg);  */
}
}

/*-----------------------------------------------------768-900-----------------------------------------------------*/

@media screen and (min-width: 768px){ 

@media screen  and (max-width:900px){ 
.einl{
  font-size: 250%;
}
.texte_re{
  font-size: 95%;
}
}
}

/*-----------------------------------------------------901-1000-----------------------------------------------------*/

@media screen and (min-width: 901px){ 

@media screen  and (max-width:1000px){ 
.texte_re{
  font-size: 100%;
}
  }
  }

  /*-----------------------------------------------------min 1001-----------------------------------------------------*/

 @media screen and (min-width: 1001px){  
  .texte_re{
  font-size: 110%;
  margin-left: 7%;
}
}

/*----------------------------------------------------min 1200-----------------------------------------------------*/

 @media screen and (min-width: 1200px){  
  .logo{
    width: 40%;
      margin-right: 7%;
}
  .texte_re{
  font-size: 115%;
  margin-left: 10%;
}
}