/* @override 
  http://typo3.p686325.webspaceconfig.de/fileadmin/templates/css/overlay.css?*
	https://www.filomele.de/fileadmin/templates/css/overlay.css?* */


.toggle-button {
    position: fixed;
  padding-right: 10px;
  padding-bottom: 9px;
  padding-left: 10px;
  margin: 0 15px 0 0;
    height: 60px;
  cursor: pointer;
    z-index: 20;
  right: 35px;
  top: 42px;
  width: 60px;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
}

.bar {
    background-color: rgb(255,87,97);
    display: block;
    width: 100%;
  border: 0;
    -webkit-transition: all .35s ease;
    transition: all .35s ease;
  height: 7px;
}
.bar + .bar {
    margin-top: 10px;
}
.middle {
    top: 11px;
  width: 45px;
  margin-left: 15px;
}
.bottom {
    top: 22px;
    opacity: 0;
}
.toggle-button:hover {
    opacity: .7;
}
.toggle-active .bar {
    background-color: #fff;
}
.toggle-active .top {
    -webkit-transform: translateY(16px) translateX(0) rotate(45deg);
}
.toggle-active .middle {
   opacity: 0;
}
.toggle-active .bottom {
    -webkit-transform: translateY(-16px) translateX(0) rotate(-45deg);
  opacity: 1;
}

.overlay {
    position: fixed;
 
  background-color: rgb(255,87,97);
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .35s, visibility .35s, height .35s;
  z-index: 10;
}
.nav-active {
    opacity: 1;
    visibility: visible;
    height: 100%;
/*    max-height: 340px;*/
}
.overlay ul {
    display: block;
    position: relative;
    top: 60px;
    left: 0;
  
    font-size: 50px;
    font-weight: 400;
    text-align: left;
    list-style: none;
    padding: 0;
}
.overlay ul li {
    display: block;
}
.overlay ul li a {
    color: #fff;
    text-decoration: none;
  font-family: "CeraPro-Bold";
  font-style: normal;
  font-variant: normal;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  
}
.overlay ul li a:hover {
	color: rgba(255, 255, 255, 0.6);
}

.overlay ul li:nth-child(1),
.overlay ul li:nth-child(2), 
.overlay ul li:nth-child(3) 

{
  font-size: 60px;
}
.overlay ul li:nth-child(4) {
  padding-top: 90px;
  
}

.overlay ul li:nth-child(4),
.overlay ul li:nth-child(5), 
.overlay ul li:nth-child(6),
.overlay ul li:nth-child(6),
.overlay ul li:nth-child(7),
.overlay ul li:nth-child(8),
.overlay ul li:nth-child(9),
.overlay ul li:nth-child(10)


{
  font-size: 20px;
  line-height: 40px;
}
nav#overlay.overlay div.mainnavi  {
  max-width: 1040px;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}
  @media screen and (max-width: 800px) {
  	
  	nav#overlay.overlay div.mainnavi  {
  	  max-width: 1040px;
  	  padding-right: 15px;
  	  padding-left: 15px;
  	  margin-right: auto;
  	  margin-left: auto;
  	}
  	
  	.toggle-button {
  	    position: fixed;
  	  padding-right: 10px;
  	  padding-bottom: 9px;
		padding-left: 10px;
  	  margin: 0;
  	    height: 40px;
  	  cursor: pointer;
  	    z-index: 20;
  	  right: 20px;
  	  top: 27px;
  	  width: 40px;
  	  -webkit-transition: all .35s ease;
  	  transition: all .35s ease;
  	}
  	
  	
  	.bar {
  	    background-color: rgb(255,87,97);
  	    display: block;
  	    width: 100%;
  	  border: 0;
  	    -webkit-transition: all .35s ease;
  	    transition: all .35s ease;
  	  height: 4px;
  	}
  	.bar + .bar {
  	    margin-top: 7.3px;
  	}
  	.middle {
  	    top: 8px;
  	  width: 25px;
  	  margin-left: 15px;
  	}
  	
  	
  	
  	.overlay ul {
  	    display: block;
  	    position: relative;
  	    top: 32px;
  	    left: 0;
  	  
  	    font-size: 30px;
  	    font-weight: 400;
  	    text-align: left;
  	    list-style: none;
  	    padding: 0;
  	}
  	.overlay ul li {
  	    display: block;
  	}
  	.overlay ul li a {
  	    color: #fff;
  	    text-decoration: none;
  		font-family: "CeraPro-Bold";
  		font-style: normal;
  		font-variant: normal;
  		-webkit-transition: all .35s ease;
  	  transition: all .35s ease;
  	  
  	}
  	.overlay ul li:nth-child(1),
  	.overlay ul li:nth-child(2), 
  	.overlay ul li:nth-child(3) 
  	
  	{
  	  font-size: 30px;
  	}
  	.overlay ul li:nth-child(4) {
  	  padding-top: 45px;
  	  
  	}
  	
  	.overlay ul li:nth-child(4),
  	.overlay ul li:nth-child(5), 
  	.overlay ul li:nth-child(6),
  	.overlay ul li:nth-child(6),
  	.overlay ul li:nth-child(7),
  	.overlay ul li:nth-child(8),
  	.overlay ul li:nth-child(9),
  	.overlay ul li:nth-child(10)
  	
  	
  	{
  	  font-size: 20px;
  	  line-height: 40px;
  	}
  	
  	
  	.toggle-active .top {
  	    -webkit-transform: translateY(13px) translateX(0) rotate(45deg);
  	}
  	.toggle-active .middle {
  	   opacity: 0;
  	}
  	.toggle-active .bottom {
  	    -webkit-transform: translateY(-10px) translateX(0) rotate(-45deg);
  	  opacity: 1;
  	}
  	
  	
  	
  	}
  