/* Basic */

	* {
		padding: 0;
		margin: 0;
	}
	
	html {
		color: #656565;
		font-size: 105%;
		font-family: 'Source Sans Pro', sans-serif;
		
		background: url(img/eep-wallpaper.jpg) no-repeat center center fixed; 
		-webkit-background-size: cover;
		-moz-background-size: cover;
		background-size: cover;
	}
	
	h1,h2,h3 {
		color: #D63039;
		font-weight: 700;
		font-family: 'Open Sans Condensed', sans-serif;
		letter-spacing: -1px;
		text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
	}
	
	h1 {
		font-size: 2.5em;
	}
	
	h2 {
		font-size: 2em;
		margin-bottom: 10px;
	}
	
	h3 {
		font-size: 1.5em;
		font-weight: 300;
		margin-bottom: 5px;
		text-shadow: none;
	}
	
	img, video {
		border: none;
		width: 100%;
	}
	
	a {
		color: #D63039;
		text-decoration: none;
		
		-webkit-transition: color .2s ease-in-out;
    	-moz-transition: color .2s ease-in-out;
    	transition: color .2s ease-in-out;
	}
	
	a:hover {
		color: red;
	}
	
	::-moz-selection {
		color: #fff;
		background: #FF8888;
		text-shadow: none;
	} ::selection {
		color: #fff;
    	background: #FF8888;
    	text-shadow: none;
	}

/* Clearfix */

	.clearfix:before, .clearfix:after {
		content: " ";
		display: table;
	}
	
	.clearfix:after {
		clear: both;
	}
	
	.clearfix {
		*zoom: 1;
	}
	
	br.clearfix {
		clear: both;
	}

/* Wrapper */

	#wrapper {
		width: 100%;
		max-width: 1000px;
 
		position: relative;
		margin: 0 auto;
	}
	
	#wrapper h1 {
		padding: 5% 6% 2%;
	}

/* Navigation */
	
	nav {
		height: 40px;
		width: 100%;
		background: rgba(255,255,255,0.75);
		font-family: 'Open Sans Condensed', sans-serif;
		font-weight: 700;
		font-size: 110%;
		position: fixed;
		z-index: 9999;
	}
	
	nav img {
		margin: 3px 0;
		height: 34px;
		width: auto;
	}
	
	nav ul {
		margin: 0 auto;
		width: 600px;
		height: 40px;
	}
	
	nav li {
		float: left;
		height: 40px;
		display: inline;
		position: relative;
	}
	
	nav a, nav span#pull {
		color: #D63039;
		display: inline-block;
		width: 150px;
		text-align: center;
		text-decoration: none;
		height: 40px;
		line-height: 40px;
		text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
		
		-webkit-transition: background-color .2s ease-in-out;
    	-moz-transition: background-color .2s ease-in-out;
    	transition: background-color .2s ease-in-out;
	}
	
	nav li a {
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		box-sizing:border-box;
	}
	
	nav a:hover, nav a:active, nav a.current {
		color: red;
		background-color: rgba(200,200,200,0.65);
	}
	
	nav span#pull {
		display: none;
	}

	/* Sub-menu */
	
	#menu li:hover > ul {
		display: block;
	}

	#menu ul {
		list-style: none;
		width: 150px;
		height: auto;
		margin: 0;
		padding: 0;
		display: none;
		position: absolute;
		top: 40px;
		left: 0;
		z-index: 99999;
		background: #444;
		background: -webkit-linear-gradient(#444, #111);
		background: -moz-linear-gradient(#444, #111);
		background: -ms-linear-gradient(#444, #111);
		background: linear-gradient(#444, #111);
	}

	#menu ul li {
		float: none;
		margin: 0;
		padding: 0;
		display: block;

		-webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #777;
		-moz-box-shadow: 0 1px 0 #111, 0 2px 0 #777;
		box-shadow: 0 1px 0 #111, 0 2px 0 #777;
	}

	#menu ul li:last-child {   
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	#menu ul a {
		margin: 0; 
		padding: 12px 0;
		height: auto;
		line-height: 1;
		display: block;
		white-space: nowrap;
		
		background: none;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
		
		color: #fff;
		font-size: 16px;
		font-family: 'Source Sans Pro', sans-serif;
		font-weight: normal;
		text-shadow: 1px 1px 0 #000;
	}

	#menu ul a:hover {
		background: #0186ba;
		background: -webkit-linear-gradient(#04acec, #0186ba);
		background: -moz-linear-gradient(#04acec, #0186ba);	
		background: -ms-linear-gradient(#04acec, #0186ba);
		background: linear-gradient(#04acec, #0186ba);
	}

	#menu ul li:first-child a:after {
		content: '';
		position: absolute;
		left: 45%;
		top: -8px;
		width: 0;
		height: 0;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-bottom: 8px solid #444;
	}

	#menu ul li:first-child a:hover:after {
		border-bottom-color: #04acec; 
	}

	#menu:after {
		visibility: hidden;
		display: block;
		font-size: 0;
		content: " ";
		clear: both;
		height: 0;
	}
	
/* Page */

	#page {
		width: 98%;
		padding: 5%;
		overflow: hidden;
		background: #fff;
		margin: 0 auto;
		margin-bottom: 1%;
		
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	#page article {
		margin-top: 10%;
		overflow: hidden;
	}
	
	#page article:first-of-type {
		margin: 0;
	}
	
	#page article h2, #page h2.opener {
		border-bottom: 1px dotted #656565;
		padding-bottom: 5px;
		margin-bottom: 20px;
	}
	
	#page h2.opener:hover {
		cursor: pointer;
		color: red;
	}
	
	#page h2.opener::before {
		content: "↓";
		font-size: 0.6em;
		color: #aaa;
		margin-right: 1.5%;
	}

	#page h2.opener.active::before {
		content: "↑";
	}
	
	#page article h3 {
		margin-top: 40px;
	}
	
	#page article p {
		line-height: 1.7em;
		text-align: justify;
		margin-bottom: 15px;
	}
	
	#page article p.bedingungen {
		font-size: 0.65em;
	}
	
	#page article img {
		display: block;
		margin: 0 auto;
	}
	
	#page article img.sticker {
		float: right;
		margin: 0 0 0 4%;
		width: 20%;
	}
	
	#page article img.logo {
		width: 50%;
		margin: 0 0 7.5% 0;
	}
	
	#page article img.printer {
		width: 40px;
		float: right;
	}
	
	#page article img.profil {
		width: 30%;
		float: left;
		margin-right: 5%;
	}
	
	#page article img.profil.right {
		float: right;
		margin: 0 0 0 5%;
	}
	
	#page article ul {
		padding: 1% 5% 3% 7.5%;
		list-style: square;
		color: #222;
	}
	
	#page article ul li {
		padding: 5px 0;
		list-style: none;
	} #page article ul li:before {
		content: '✔ ';
		color: green;
		margin-right: 10px;
	}
	
	#page article#partner a {
		width: 50%;
		float: left;
		display: block;
		text-align: center;
		margin-top: 5%;
	}
	
	#page article#partner img {
		width: 60%;
		display: block;
		margin-bottom: 2%;
	}
	
	.fb-like-box, .fb-like-box span, .fb-like-box.fb_iframe_widget span iframe {
    	width: 100% !important;
	}
	
	.video-container {
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 30px;
		margin-bottom: 10px;
		height: 0;
		overflow: hidden;
	}
 
	.video-container iframe, .video-container object, .video-container embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

/* Page Aside */

	#page aside {
		width: 35%;
		float: right;
		margin: 10% 0 5% 5%;
		overflow: hidden;
  	}
  	
  	#page aside.smaller {
		width: 25%;
  	}
  	
  	#page aside.no-margin {
		margin-top: 0;
	}
  	
  	#page aside figure {
    	margin-bottom: 12.5%;
  	}

  	#page aside figure figcaption {
		font-size: 75%;
  		line-height: normal;
  		text-align: center;
  	}
  	
  	#page aside figure:last-child {
  		margin: 0;
  	}
  	
  	#page aside p, #page aside ul {
  		font-size: 85%;
  	}
  	
  	#page aside p {
  		font-weight: 700;
  		margin-top: 5%;
  	}
  	
/* Page Formular */
	
	#page article form {
		width: 98%;
		font-size: 93.5%;
		margin: 0 auto;
		margin-bottom: 5%;
	}
	
	#page article form label {
		display: block;
		margin-top: 2.5%;
	}
	
	#page article form input {
		display: block;
		width: 100%;
		height: 30px;
		font-size: 1em;
	}
	
	#page article form p {
		font-size: 0.75em;
	}
	
	#page article form input#submit {
		width: auto;
		float: right;
		padding: 0 3%;
		display: inline-block;
				
		color: #fff;
		border: none;
		height: 35px;
		line-height: 35px;
		text-align: center;
		
		background: #D35659;
		background: -webkit-linear-gradient(#D35659, #C1131B);
		background: -moz-linear-gradient(#D35659, #C1131B);
		background: -ms-linear-gradient(#D35659, #C1131B);
		background: linear-gradient(#D35659, #C1131B);
	}
	
	#page article form input#submit:hover {
		background: #C1131B;
		background: -webkit-linear-gradient(#C1131B, #D35659);
		background: -moz-linear-gradient(#C1131B, #D35659);
		background: -ms-linear-gradient(#C1131B, #D35659);
		background: linear-gradient(#C1131B, #D35659);
	}
  	
/* Buttons */

  	.login-button {
		background: #D35659;
		background: -webkit-linear-gradient(#D35659, #C1131B);
		background: -moz-linear-gradient(#D35659, #C1131B);
		background: -ms-linear-gradient(#D35659, #C1131B);
		background: linear-gradient(#D35659, #C1131B);
		-webkit-box-shadow: inset 0 1px 0 0 #aaa;
		-moz-box-shadow: inset 0 1px 0 0 #aaa;
		box-shadow: inset 0 1px 0 0 #aaa;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		
		color: #fff;
		display: inline-block;
		margin: 20px 0 30px 20%;
		
		height: 45px;
		line-height: 45px;
		width: 60%;
		
		text-align: center;
		text-shadow: 1px 1px 0px #000;
	}
	
	.login-button:hover {
		background: #C1131B;
		background: -webkit-linear-gradient(#C1131B, #D35659);
		background: -moz-linear-gradient(#C1131B, #D35659);
		background: -ms-linear-gradient(#C1131B, #D35659);
		background: linear-gradient(#C1131B, #D35659);
		color: #fff;
	}
	
/* Slogan */

	#slogan {
		overflow: hidden;
		padding: 20% 0;
		text-align: center;
	}
	
	#slogan h2 {
		font-size: 4.25em;
		line-height: 1.5em;
		padding: 0 5% 2.5%;
		margin: 0;
	}
	
	#slogan img {
		max-width: 5%;
		background: rgba(255,255,255,0.65);
		
		border: 2px solid #fff;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
	}
	
	#slogan a:hover > img {
		background: rgba(200,200,200,0.65);
	}
	
	#slogan marquee {
		width: 90%;
		margin: 5% 5% 0;
				
		color: #D63039;
		font-weight: 700;
		letter-spacing: 1px;
		text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff;
	}

/* Footer */

	footer {
		width: 98%;
		padding: 0 3.5% 2.5%;
		margin: 0 auto;
		margin-bottom: 1.5%;
		overflow: hidden;
		background: rgba(255, 255, 255, 0.85);
		
		-webkit-box-sizing: border-box;
     	-moz-box-sizing: border-box;
    	box-sizing: border-box;
	}
	
	footer .column {
		float: left;
		margin-right: 2.5%;
		width: 22.5%;
	}

	footer .column p {
		font-weight: 700;
    	color: #D63039;
    	padding-top: 10%;
	}
	
	footer ul {
		padding: 2.5% 0 0 10%;
	}
	
	footer li {
		list-style: none;
		line-height: 1.5em;
	}
	
	footer li.kleiner {
		font-size: 0.85em;
	}
	
	footer li a {
    	color: #656565;
	}
	
	footer li a:hover {
    	color: red;
	}

@media only screen and (max-width: 700px) {

/* Page */
	
	#page article {
		margin-bottom: 10%;
		width: 100%;
	}
	
	#page article img.sticker {
		float: right;
		margin: 0 0 0 5%;
		width: 45%;
	}
	
	#page article img.logo {
		width: 75%;
	}
	
/* Page Aside */
	
	#page aside {
		display: none;
	}

/* Page Formular */

	#page article form {
		margin-bottom: 10%;
	}

/* Slogan */
	
	#slogan h2 {
		font-size: 3em;
	}

/* Footer */

	footer {
		padding: 0 0 5% 0;
		text-align: center;
		font-size: 93%;
		line-height: 1.5em;
	}
	
	footer .column {
		margin: 0;
		width: 50%;
	}
	
	footer .column p {
    	padding-top: 7.5%;
	}
	
	footer ul {
		padding: 0;
	}
}

@media screen and (max-width: 600px) {
	
	#wrapper h1 {
		padding: 15% 5% 2.5%;
	}
	
	nav { 
  		height: auto;
  	}
  	
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
  	}
  	
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
  	}
  	
  	nav li a {
		border-bottom: 1px solid #576979;
		border-right: 1px solid #576979;
	}
	
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
  	
  	#menu ul {
		left: 25%;
	}

	#menu ul li {
		width: 100%;
	}
	
	#menu ul a {
		text-align: center;
	  	text-indent: 0;
	}
  	
  	#slogan {
		padding: 40% 0;
	}

	#slogan h2 {
		font-size: 2.25em;
	}
	
	#slogan img {
		max-width: 7.5%;
	}
}

@media only screen and (max-width: 480px) {
	
	h1 {
		font-size: 2em;
	}
	
	h2 {
		font-size: 1.5em;
		margin-bottom: 10px;
	}
	
	h3 {
		font-size: 1.25em;
	}
	
	nav {
		border-bottom: 0;
	}
	
	nav ul {
		display: none;
		height: auto;
	}
	
	nav span#pull {
		display: block;
		background-color: rgba(255,255,255,0.75);
		width: 100%;
		position: relative;
	}
	
	nav span#pull:after {
		content: '';
		background: url('img/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
	
	#menu ul {
		left: 12.5%;
	}
	
	#page article img.logo {
		width: 100%;
	}
	
	#page article form {
		margin-bottom: 15%;
	}

	.login-button {
		width: 100%;
		margin-left: 0;
	}
	
	#slogan img {
		max-width: 10%;
	}
	
	footer .column:nth-of-type(3) {
		clear: both;
	}
}

@media only screen and (max-width: 320px) {

	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	
	nav li a {
		border-bottom: 1px solid #576979;
	}
	
	#menu ul {
		left: 25%;
	}
}