/* mobile CSS  */

/* mobile-Nav unsichtbar */
#menuToggle input, .subnav{
	display:none;
}

/* Smartphones */
@media only screen and (max-width: 599px) {
/* Mobile Navigation */

.main-wrapper nav{
	position: fixed!important;
	top:198px;
	left:0px;
}

#menuToggle{
	background-color:rgba(0,0,0,.5);
	padding:20px 20px 15px 20px;
}

.subnav{
	display:flex;
	font-size: 10px;
}

.subnav a{
	line-height:10px!important;
	margin-left: 20px;
	font-weight:normal!important;
	padding-bottom: 10px!important;
	padding-top: 10px!important;
}

a {
  text-decoration: none;
  color: #1E1E23;
  opacity:1;
  font-family: 'work sans', sans serif;
  font-size: 1.5em;
  font-weight: 400;
  transition: 200ms;
}
a:hover {
  opacity:0.5;
}
ul {
  padding: 0;
  list-style-type: none;
}

nav {
  /*background-color: #1E1E23;
  height: 65px;*/
}


#menuToggle {
  display: flex;
  flex-direction: column;
  position: relative;
  top: -175px;
  left: 25px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

#menuToggle span
{
  display: flex;
  width: 29px;
  height: 2px;
  margin-bottom: 5px;
  position: relative;
  background: #ffffff;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 5px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -1px);
  background: #36383F;
}
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#menu
{
  position: absolute;
  width: 180px;
  /*height: 510px;*/
  height: 100vH;
  max-height: 510px;
  overflow: auto;
  box-shadow: 0 0 10px #85888C;
  margin: -50px 0 0 -50px;
  padding: 50px;
  padding-top: 80px;
  background-color: #F5F6FA;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  /*padding: 10px 0;*/
  padding: 0px 0;
  transition-delay: 2s;
  width:100%;
}
	
#menuToggle input:checked ~ ul
{
  transform: none;
}

#logo 
{
	width:95%;
	max-width: 408px;
}

.secondary-navi{
display:none!important;
}


/* Seiteninhalt untereinander */

	.main-wrapper{
	width:100%!important;
	margin-left: 0px;
	}

	.header{
	width:95vW;
	margin-right:0px;
	}
	
    .content-wrapper {
    margin: 10px 0 0 10px;
    width:97vW;
    float: left;

    }

    .left {
	width:97%;
    float: none!important;
    margin-left: 0px;
    margin-top: 0px;
	display: flex; 
    justify-content: center; 
    align-items: center;
    }
	
	.left img{
	margin-top:-60px;
	margin-bottom:50px;
	margin-left:auto;
	margin-right:auto;
	}
    .right {
	width: 97%;
    float: none!important;
    margin-left: 0px;
    margin-top: 0px;
	padding-right:10px;
    }
	
	.content-left{
	width:100%!important;
	}
	
	.content-left h1{
	width: 92%;
	text-align:center;
	}
	
	.zitat {
	width:92%!important;
  	text-align: center;
  	font-family: Georgia, "Times New Roman", Times, serif;
  	color: #666666;
  	font-size: 1.6em;
  	margin-bottom: 40px;
	}
	
	.content-right {
  	float: none;
	/*margin-left:50px;*/
	/*width:100%!important;*/
	}
	
	#anfahrt{
	max-width:100%;
	height:auto;
	}
	
	/*Bilder ausblenden*/
	#passbild{
	display:none;
	}
	.cartoon{
	display:none;
	}

}

/* Tablets */
@media only screen and (max-width: 910px) {
	.content-right {
  	float: none;
	/*margin-left:50px;*/
	/*width:100%!important;*/
	}

}