* {
    margin: 0;
    padding: 0;
    font-family: arial, sans serife;
}

html, body{
	height: 100%;
}

body{
	background: #fff;
	line-height: 32px;
	margin: 0;
	padding: 0;
	word-wrap:break-word !important;
}

header{
	background-color: #FFFFFF; 
	width: 100%;
	margin: auto;
}

header img {
	width: 25%;
}

header p{
	color: #0e8c4c;
	font-size: 3.5vw;
	width: 70%;
	float: right;
	padding-top: 3.5%;
	padding-right: 2%;
	text-align: right;
}

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0;
	background-color: #0e8c4c;
	z-index: 7;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: left;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;

	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #0e8c4c;
	}

/* Styling the links */
nav a {
	display:block;
	padding:14px 20px;	
	color:#FFF;
	font-size:17px;
	text-decoration:none;
}

.active{
	background-color: #808080;
	border-bottom: solid 0.1vw #808080;
}


nav ul li ul li:hover { 
	background: #808080; 
}

/* Background color change on Hover */
nav a:hover { 
	background-color: #808080; 
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px; 
	z-index: 7;
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	min-width:170px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:170px; 
}
	
/* Change ' +' in order to change the Dropdown symbol */

li > a:only-child:after { content: ''; }


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 920px) {

	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #0e8c4c;
		padding:14px 20px;	
		color:#FFF;
		font-size:17px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #808080;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #808080;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:14px 20px;	
		color:#FFF;
		font-size:17px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #4CAF50; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 

	}

}
section{
	display: block;
	width: 100%;
	margin: auto;
	background-color: #ffffff;
	padding-bottom: 4em;
}

#stapel {
    width: 100%;
    margin: 2em auto 0;
	border-top: solid 0.5em #0e8c4c;
}

#stapel2 {
    width: 75%;
    margin: 2em auto 0;
	padding-bottom: 10%;
}

#stapel img {
    position: absolute;
    width: 100%;
    opacity: 0;
}

#stapel2 img {
    position: absolute;
    width: 75%;
    opacity: 0;
}

#stapel img:nth-of-type(1) {
    animation: fade 30s ease-in-out infinite;
}

#stapel img:nth-of-type(2) {
    animation: fade 30s 6s ease-in-out infinite;
}

#stapel img:nth-of-type(3) {
    animation: fade 30s 12s ease-in-out infinite;
}

#stapel img:nth-of-type(4) {
    animation: fade 30s 18s ease-in-out infinite;
}

#stapel img:nth-of-type(5) {
    animation: fade 30s 24s ease-in-out infinite;
}

#stapel img:last-of-type {
    position: relative;
}

#stapel2 img:nth-of-type(1) {
    animation: fade 30s ease-in-out infinite;
}

#stapel2 img:nth-of-type(2) {
    animation: fade 30s 6s ease-in-out infinite;
}

#stapel2 img:nth-of-type(3) {
    animation: fade 30s 12s ease-in-out infinite;
}

#stapel2 img:nth-of-type(4) {
    animation: fade 30s 18s ease-in-out infinite;
}

#stapel2 img:nth-of-type(5) {
    animation: fade 30s 24s ease-in-out infinite;
}

#stapel2 img:last-of-type {
    position: relative;
}

@keyframes fade {
    6.66%, 20%          {opacity:1;}
       0%, 26.66%, 100% {opacity:0;}
}

#willkommen{
	position: fixed;
	top: 40em;
	right: 3em;
	z-index: 9;
	width: 25%;
	background-color: #fff;
	padding: 1%;
	border-top: solid 0.5em #0e8c4c;
}

@media all and (max-width : 1650px){
	#willkommen{
		display: none;
	}
}

section hr{
	width: 90%;
	background-color: #0e8c4c;
	border: solid 0.1vw #0e8c4c;
	margin: 3% auto;
}

section h1{
	color: #0e8c4c;
	padding: 2%;
	text-align: center;
	font-size: 2vw;
}

section h2{
	color: #000;
	padding-bottom: 2%;
	width:75%;
	margin: auto;
}


section h3{
	color: #0e8c4c;
	padding-bottom: 2%;
	width:75%;
	margin: auto;
	font-size: 1vw;
}

section h4{
	color: #0e8c4c;
	font-size: 4vw;
	padding: 1%;
}

section img{
	width: 100%;
}

section p{
	width:75%;
	margin: auto;
	padding-bottom: 3%;
	text-align: left;
}

section .klein{
	width: 20%;
	float: right;
	padding-left: 2%;
}

section .gross {
	width: 100%;
	float: right;
	padding-bottom: 10%;
}

section p a{
	text-decoration: none;
	color: #0e8c4c;
}

section p a:hover{
	color: #4CAF50;
}

section ul{
  text-align: center;
  padding: 1%;
}

section ul li{
	display: inline;
	list-style-type: none;
	font-size: 125%;
	margin: 3%;
	font-size: 1.2vw
}

section ul li a{
	text-decoration: none;
	color: #0e8c4c;	
}

section ul li a.active_sub{
	color: #4CAF50;	
}

section ul li a:hover{
	color: #4CAF50;	
}

figure .maschinen {
	margin: auto;
	width: 75%;
	padding-top: 2%;
}


figure{
	padding-top: 10px;
	text-align: center;
}

figure .einzel{
	display: inline-block;
	width: 33%;
}

figure a{
	text-decoration: none;
	color: #0e8c4c;
	font-size: 1.5vw;
	text-align: center;
}

figure a .active_sub2{
	text-decoration: none;
	color: #4CAF50;
}

figcaption{
	text-align: center;
	font-size: 1vw;
	
}

@media all and (max-width : 1200px){
	figure .einzel{
		width: 100%;
	}
	
	figcaption{
		font-size: 4vw;
	}
}

footer{
	display: block;
	background-color: #0e8c4c;	
	color: #ffffff;
	width: 100%;
	border-top: solid 0.5vw #808080;
    position: fixed;
    bottom: 0;
	height: 3em;

}


footer p{
	text-align: center;
	color: #ffffff;	
	padding: 1%;
}

footer a{
	text-decoration: underline;
	color: #FFFFFF;
}

footer a:hover {
	color: #4CAF50;
}


