﻿/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
	color: #222;
}

html {
	font-size: 1em;
	line-height: 1.4;
}

/*
EmojiSymbols Font (c)blockworks - Kenichi Kaneko
http://emojisymbols.com/
*/
@font-face { font-family: Emoji; src: url(../EmojiSymbols-Regular.woff); } 

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

#mainWrapper {
	position: relative;
	min-height: 100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #282828;
	line-height: 25px;
	background-color: #e6e6e6;
}

h1 {
	color: #118eef;
	font-weight: 700;
	font-size: 24px;
	text-transform: uppercase;
}

h2 {
	font-size: 18px;
	text-transform: uppercase;
	font-weight: 700;
}

a {
	color: #282828;
}

.ulRound {
	width: 270px;
	text-align: left;
	margin: 0px 0px 0px 20px;
}

#header {
	background-image: url(../img/header.png);
	background-repeat: repeat-x;
	height: 224px;
}

#innerHeader {
	margin: 0 auto;
	width: 960px;
	text-align: center; /* für Logo zentrieren */
}

#logo {
	max-width: 100%;
	/*margin-left: -90px; --> wenn Logo nicht zentriert */
}

#shadow {
	background-image: url(../img/shadow.png);
	background-repeat: repeat-x;
	height: 9px;
}

nav {
	width: 100%;
	margin-top: 40px;
	height: 55px;
	position: relative; 
}

nav ul {
	list-style: none;
	margin: 0 auto;
	padding: 0px;
	height: 55px;
}

nav li {
	float: left;
	display: inline;
	margin-right: 80px;
	margin-top: -15px;
	padding: 14px;
	background: url('../img/eckeunten.png') no-repeat left bottom, url('../img/eckeoben.png') no-repeat right top;
}

nav a#pull {  
	display: none;  
}  

nav a, nav a:link, nav li:visited {
	color: #ffffff;
	width: 25%;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 700;
}

nav li:hover, nav li:active {
	background: url('../img/eckeunten_blau.png') no-repeat left bottom, url('../img/eckeoben_blau.png') no-repeat right top;
}

.active {
	background: url('../img/eckeunten_blau.png') no-repeat left bottom, url('../img/eckeoben_blau.png') no-repeat right top;
}

#wrapper {
	margin: 60px auto;
	width: 960px;
	padding-bottom: 50px;
}

#overview {
	margin: 60px 0px 50px 0px;
}

#contactLeft {
	float: left;
	width: 600px;
}

#contactRight {
	float: right;
}

#footer {
	width: 100%;
	height: 35px;
	line-height: 35px;
	margin-top: -35px;
	position: absolute;
	left: 0;
	background: #4b4b4b;
	color: #ffffff;
	font-size: 10px;
	text-transform: uppercase;
}

#innerFooter {
	width: 960px;
	margin: 0 auto;
}

#footer a:link, #footer a:visited {
	color: #ffffff;
	text-decoration: none;
}

#footer a:hover, #footer a:active {
	text-decoration: underline;
}

.round {
	width: 270px;
	height: 270px;
	-webkit-border-radius: 135px;
	-moz-border-radius: 135px;
	border-radius: 135px;
	background-color: #cdcdcd;
	margin-right: 75px;
	margin-bottom: 40px;
	display: inline-block;
	vertical-align: top;
	text-align: center;
}

.round:hover, .roundBig:hover, .roundWirPartner:hover {
	background-color: #118eef;
	color: #ffffff;
}

.roundLast {
	margin-right: -75px;
}

.contentRound {
	padding-top: 40px;
}

.contentRoundPartner {
	padding-top: 0px;
	line-height: 270px;
}

.contentRoundSecond {
	padding-top: 40px;
	display: none;
}

.contentRoundSecondPartner {
	padding-top: 75px;
}

.contentRoundSecond a, .contentRoundSecond a:link, .contentRoundSecond a:visited {
	color: #ffffff;
}

.contentRoundSecond a:hover {
	font-weight: 700;
}

.roundContact {
	background-color: #118eef;
}

.contentRoundContact {
	color: #ffffff;
	padding-top: 70px;
}

.contentRoundContact a {
	color: #ffffff;
}

.contentRoundContact a:hover {
	font-weight: 700;
}

.emoji {
	margin-top: 50px;
	font-family: 'Emoji';
	font-size: 70px;
}

.emojiDl {
	margin-top: 80px;
	font-family: 'Emoji';
	font-size: 70px;
}

input[type=text], input[type=email]{
    width: 240px;
    height: 20px;
    border: 1px solid #cbcbcb;
    color: #282828;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 10px;
}

input[type=submit], input[type=button]{
    width: 150px;
    color: #ffffff;
    border: none;
    font-weight: 700;
    background-color: #118eef;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 10px;
}

textarea{
    border: 1px solid #cbcbcb;
    color: #282828;
    margin-bottom: 20px;
    padding: 10px;
    width: 400px;
    height: 200px;
}

#submitJS {
    display: none;
}

.errorMessage {
    margin-top: -10px;
    margin-bottom: 20px;
    padding: 5px 5px 5px 10px;
    color: #D8000C;
    background-color: #FFBABA;
    font-size: 10px;
    border: 1px solid;
}

.jsErrorMessage {
    display: none;
}

input:focus, textarea:focus {
    outline: none;
}

input[type=text]:hover, input[type=text]:focus, input[type=email]:hover, input[type=email]:focus, textarea:hover, textarea:focus {
    border: 1px solid #118eef;
}

input[type=submit]:hover, input[type=submit]:focus, input[type=button]:hover, input[type=button]:focus {
    background-color: #037bd7;
}


@media all and (max-width: 960px) {
	#innerHeader {
		width: 100%;
	}

	#wrapper {
		width: 100%;
		padding: 0px 20px 0px 20px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	nav {
		text-align: center;
	}

	nav li {
		float: none;
		display: inline-block;
		margin-right: 35px;
	}

	nav a, nav a:link, nav li:visited {
		font-size: 15px;
	}

	nav li:hover, nav li:active {
		background: url('../img/eckeunten_blau.png') no-repeat left bottom, url('../img/eckeoben_blau.png') no-repeat right top;
	}

	#contactLeft {
		width: 400px;
	}

	textarea{
	    width: 350px;
	}

	#innerFooter {
		width: 100%;
		margin: 0px;
	}

	#overview {
		text-align: center;
	}

	.round {
		margin-right: 30px;
		margin-bottom: 40px;
		float: none;
		vertical-align: top;
		display: inline-block;
	}
}



@media only screen and (max-width : 750px) {  
	#header {
		height: auto;
		background-color: #262626;
	}

	nav {  
		border-bottom: 0;
		height: auto; 
	}

	nav ul {
		width: 100%;  
		display: none;  
		height: auto;
		margin-top: 30px;
		margin-bottom: -40px;  
	}  
	nav a#pull {  
		display: block;  
		background-color: #005698;  
		width: 100%;  
		height: 50px;
		line-height: 50px;
		position: relative;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}  

	nav a#pull:after {  
		content:"";  
		background: url('../img/nav-icon.png') no-repeat right;  
		width: 30px;  
		height: 30px;  
		display: inline-block;  
		position: absolute;  
		right: 15px;  
		top: 10px;  
	} 

	nav li, nav li:link, nav li:visited {
		background: none;
	}

	nav li:hover, nav li:active {
		background: none;
	} 

	nav li {
		display: block;  
		float: none;  
		width: 100%; 
		position: relative;
		margin-right: 0px;
		margin-bottom: 50px;
	}

	nav li a:hover {
		color: #118eef;

	}

	.active {
		background-image: none;
		color: #118eef;
	}

	#contactLeft {
		width: 100%;
		float: none;
	}

	#contactRight {
		float: none;
	}

	.contentRoundContact a {
		color: #ffffff;
	}

	input[type=text], input[type=email]{
	    width: 100%;
	    height: 40px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;	
	}

	input[type=submit], input[type=button]{
	    width: 150px;
	}

	textarea{
	    width: 100%;
    	padding: 10px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	   (-o-min-device-pixel-ratio: 5/4),
	   (-webkit-min-device-pixel-ratio: 1.25),
	   (min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
