/* MR-Glasart */

/* allgemeine Anweisungen */

body
{background: #FFFFFF;
font-family: 'Open Sans', sans-serif;
color: #333333;
} /* dunkles dunkelgrau        gilt als Elternelement, Farbe hat Auswirkungen auf alles was im Body ohne weitere Anweisungen steht.  */


strong
{font-weight: bold;}

/* ----------------------------------------------------------------------------------------------------------------- */
/* header Anweisungen */


header
{
position:relative;

width:auto;

max-width:900px;   /*max-width von beispielsweise 900px für jeden Abschnitt auf unserer Website
					Ist das Browserfenster breiter als 900px wird max Breite auf 900px gesetzt.
					Ist es schmaler, wird die Breite dem Browserfenster angepasst */
margin: 0 auto 0px auto;}  /* 20px Abstand nach unten */

/* 20px Abstand von oben, weitere Angabe eigentlich unnötig, da Bildelement */
header h1 {
	text-align: center;
	padding-top: 30px;
	padding-bottom: 3px;
	border-bottom: dotted;
} 
/* ----------------------------------------------------------------------------------------------------------------- */
/* Inhalt */
main{
	position: relative;
}



/* ----------------------------------------------------------------------------------------------------------------- */
/* Anweisungen für die Abschnitte: vier_bereiche  */		
						
figcaption {
	line-height: 20px;
	font-size:14px;
	text-align: center;
}

		
#menuepunkte {
	line-height:25px;
	font-family: 'Open Sans', sans-serif;
	width:auto;
	max-width:900px;
	margin:0 auto;
	padding-top: 50px;
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* Anweisungen für die Texte zu den Fotos und die Darstellung der Bilder inklusive Mouseover */	


#menuepunkte article {
	position: relativ;
	display: inline-block;
	margin-right:18px;
	margin-left:18px;
}


figure img {
	position:relative;
	display:inline-block;
	max-width: 140px;
}

#menuepunkte .img-item a {
	position:relative;
	display:block;
}


#menuepunkte a {
	color:#5e5e5e; /* dunkelgrau */
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	transition: all .25s ease;
}
#menuepunkte a:hover {
	color:#333333; /* mittelgrau */
}

/* ----------------------------------------------------------------------------------------------------------------- */

#einleitung {
	line-height:25px;
	font-family: 'Open Sans', sans-serif;
	font-size:16px;
	width:auto;
	max-width:900px;
	margin:0 auto;
	padding-top: 50px;
	padding-bottom: 30px;
}


/* ----------------------------------------------------------------------------------------------------------------- */

#impressum {
	text-align: left;
	line-height:25px;
	font-family: 'Open Sans', sans-serif;
	font-size:16px;
	width:auto;
	max-width:900px;
	margin:0 auto;
	padding-top: 70px;
	padding-bottom: 30px;
}

h2 {
	font-family: 'Open Sans', sans-serif;
	font-size:18px;
	font-weight: normal;
	color: #000;
}

#implink a:link {
	display: inline-block;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color:#ababab; /* hellgrau */
	text-decoration: none;
	text-transform: uppercase;
	width:auto;
	padding:0 0 0 50px;
	margin-left:95px;
}

#implink a:hover {
	color:#ffffff;
}
#implink a:visited {
	color:#ababab; /* hellgrau */
}

/* ------------------------------------------------------------------------------------------------------------------------------------------ */
/* Navigation, alle außer Startseite */
nav {
	display: block;
	height: 40px;
	text-align: center;
}
nav ul {
	display: block;
	padding-top: 30px;
}
nav ul li {
	display: inline;
	margin: 0px 20px 0px 20px; /* Abstand nach oben rechts unten links */	  
}

nav ul li a {
	color:#5e5e5e; /* dunkelgrau */
	text-decoration: none;
	font-size: 16px;
	font-weight: normal;
	font-family: 'Open Sans', sans-serif;
	line-height: 30px;
	
}
nav ul li a:hover {
	color:#000; /* schwarz */
}
.inactive {
	color:#5e5e5e; /* dunkelgrau */
	font-size: 16px;
	font-weight: bold;
	font-family: 'Open Sans', sans-serif;
	line-height: 30px;
	padding: 5px;
	border: 1px solid silver;
	border-radius: 5px;
}

#wowslider {
	display: block;
	padding-top: 50px;
	padding-bottom: 50px;
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* FOOTER */

footer {
	position:relative;
	clear:both;
	width:auto;
	height:550px;
	background:#333333; /* dunkles dunkelgrau */
} 

footer .wrapper {
	line-height:25px;
	margin: 0 auto;
	padding-top:30px;	/* Abstand von oben */
	width:auto;			/* Breite passt sich automatisch dem Browserfenster an */
	max-width:900px; 	/* maximale Breite */
	font-size:14px;
}
/* ----------------------------------------------------------------------------------------------------------------- */
/* Kontakt  */

#kontaktdaten h4, #kontaktformular h4 {
	font-size: 16px;
	color: #ffffff;
	border-bottom: 1px solid #444444; /* grau */
	padding: 0 0 5px 0;
	margin-bottom: 10px;
}

#kontaktdaten {
	font-family: 'Open Sans', sans-serif;
	color:#ababab; /* hellgrau */
	float:left;
	width:280px;
	margin-right:20px;
}

#kontaktformular {
	float:left;
	width:auto;
	padding:0 0 10px 25px;
	margin-bottom:10px;
}
#kontaktformular label {
	font-family: 'Open Sans', sans-serif;
	color:#ababab; /* hellgrau */
	font-size: 14px;
}
#antwort {
	width:auto;
	max-width:900px;
	margin:0 auto;
	padding-top: 80px;
	padding-bottom: 80px;
	text-align: center;
}
#antwort h2 {
	line-height:25px;
	font-family: 'Open Sans', sans-serif;
	font-size:16px;
}
#antwort a:link {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	color:#5e5e5e; /* dunkelgrau */
	text-decoration: none;
	text-transform: uppercase;
	transition: all .25s ease;
	width:auto;
}

#antwort a:hover {
	color:#000;  /* schwarz */
}

#antwort a:visited {
	color:#5e5e5e; /* dunkelgrau */
}

/* ----------------------------------------------------------------------------------------------------------------- */
/* Copyright */

#copyright {
	background: #1D1D1D;
	height:70px;
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
}

#copyright .wrapper {
	font-family: 'Open Sans', sans-serif;
	padding-top:25px;
	color: #5e5e5e; /* dunkelgrau */
	font-size:14px;
	position:relative;
}



/* ----------------------------------------------------------------------------------------------------------------- */			
/* Anweisung für <br class="clear"/>
Diese sind notwendig, um das Schwimmen (Floating) zu löschen , das zur Positionierung von Elementen nebeneinander verwendet wird. */
					
.clear
{clear:both;}

/* Anweisung für verborgene Positionen (class="hidden"):
Überschrift für jeden Abschnitt für korrekte HTML5 Gliederung nötig - soll aber nicht sichtbar sein. Deshalb mit CLIP verbergen. */

.hidden
{
position:absolute;
clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
clip: rect(1px, 1px, 1px, 1px);
}


/* ----------------------------------------------------------------------------------------------------------------- */
/* Styling responsive */

/* ----------------------------------------------------------------------------------------------------------------- */
/* Anweisungen für Browserfenster mit max 765 px */
/* Diashow zu groß, oberen Wert auf hohen negativen setzen, um sie verschwinden zu lassen,
da Diashow verschwunden, würde der Spacer die Navigation überlappen, deshalb muß der Header feste größe erhalten.
Navigation jetzt besser zentrieren, dafür obere und untere Werte überschreiben - mit: auto,
dann das linke Attribut auf 50% setzen und eine negatives margin definieren, was der Hälfte der Navigationsbreite entspricht

Suchformular und der Absatz passen nicht mehr nebeneinander, so dass wir sie untereinander zu positionieren müssen.
Wir definieren eine feste Höhe für den Abstandhalter und setmargin rechts und margin-left auf Auto zu zentrieren.
Um sie jede Marge befreien und der linke Wert werden wir die Position statisch eingestellt. Durch die Definition
einer Polsterung schaffen wir einen freien Raum oberhalb und unterhalb des Absatzes.
So wie wir für den Absatz haben werden wir das gleiche für unser Suchformular tun. 

In der Fußzeile passen die drei Säulen nicht mehr nebeneinander
untereinander positionieren, dafür Höhe auf : auto, Breite auf 350, feste Größe wichtig, um zentrieren zu können,
social wrapper aus Platzgründen nicht mehr anzeiegen*/

@media (max-width: 765px)
{.container
{top: -1500px;}


footer
{padding-bottom:70px;
height: auto;}

footer .wrapper
{width: 350px;
margin: 0 auto;}
