/* CSS3 Regeln für koedozent-ganz neu */

header, main, footer, aside, nav, section {
	display: block;
}

html {
	font-size: 100%;
	font-family: Verdana, sans-serif;
	color: #333;
}

body {
	width: 1024px;
	font-size: 0.8em;
	background: #ddd url(../images/hg-oben-blau.png) 0 0 repeat-x;
	margin: 1em auto;
}

header {
	position: relative;
	/* display: table-raw; */
	/*padding: 0 2em 1em 2em;*/
	
}

header h1, header p, .programme {
	display: inline-block;
}

header h1 {
	border: 2px solid yellow;
	border-radius: 0.25em;
	padding: 0;
	margin: 0 3em 0 0;
	text-decoration: none;
	
}

.programme {
	padding: 0 0 0 4em;
	/*margin-left: 2em;*/

}

.subtitle {
	margin-left: 3em;
	font-size: 1.4em;
	color: yellow;
	
}
 
header a {
	color: white;
	text-decoration: none;
}


.container {
		
	min-height: 450px;
	background: white;
	padding: 1em;
	border-radius: 0.5em;
	/* position: relative; */
	-moz-box-shadow: 3px 3px 7px #333;
	-webkit-box-shadow: 3px 3px 7px #333;
	box-shadow: 3px 3px 7px #333;
}

a, a:hover, a:active {
	text-decoration: none;
	/* font-weight: bold; */
	color: #104e8b;
}

p a, p a:hover, p a:active {
	text-decoration: none;
	font-weight: bold;
	color: #104e8b;
}

li a, li a:hover, p a:active {
	text-decoration: none;
	/* font-weight: bold; */
	color: #104e8b;
}

h4 a, h4 a:hover; h4 a:active {
	text-decoration: none;
	font-weight: bold;
	color: #104e8b;
}


ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

nav h2 {
	display: none;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

nav#mainnav {
	background: #aaa;
	border-radius: 5px;
	-moz-box-shadow: 2px 2px 4px #333;
	-webkit-box-shadow: 2px 2px 4px #333;
	box-shadow: 2px 2px 4px #333;
	margin-bottom: 0.75em;
}

nav#mainnav ul li {
	font-size: 1.2em;
	color: white;
	display: inline-block;
	margin-right: 0.3em;
	margin-bottom: 0.1em;
	padding: 0.2em 0.4em;
}

@keyframes schriftblinken {
	0% {
		color: black;
		box-shadow: 0px 0px 8px rgba ( 150, 150, 150, 0.7);
		}
	50% {
		color: white;
		box-shadow: 0px 0px 20px rgba ( 100, 100, 100, 0.7);
		}
	100% {
		color: black;
		box-shadow: 0px 0px 8px rgba ( 150, 150, 150, 0.7);
		}
}

nav#mainnav ul li a:hover, a.activ{
	/*color: #6fa9ec;*/
	/*color: blue;*/
	color: black;
	animation: schriftblinken  1s 2;
	
}


nav#highnav {
	position: absolute;
	right: 0;
	top: 0;
	padding-right: 2em;
}

nav#highnav li {
	display: inline-block;
	font-size: 0.9em;
	color: white;
	margin-right: 0.75em;
	padding: 0.4em 0.6em;
}

nav#highnav ul li a:hover{
	color: #6fc9ec;
}

.links {
	width: 18.1%;
	display: table-cell;
	}

.links a {
	text-decoration: none;
	font-size: 0.9em;
	color: #333;
}

.links ul {
	list-style: none;
	padding: 10px;
	margin: 0px;
}

.inhalt {
	width: auto;
	max-width: 650px;
	display: table-cell;
	padding: 1em;
}

.rechts {
	width: 18.1%;
	display: table-cell;
	text-align: center;
}

 footer {
	margin-top: .6em;
	color: white;
	background: #888;
	min-height: 20px;
	font-size: 1.2em;
	text-align: center;
	border-radius: 0.5em;
	padding: 1em;
	-moz-box-shadow: 3px 3px 7px #333;
	-webkit-box-shadow: 3px 3px 7px #333;
	box-shadow: 3px 3px 7px #333;
 }
 
.rechts h3, .links h3, .inhalt h3 {
	color: white;
	margin-left: 0.25em;
	padding: 0.5em;
	background: #888;
	/*border: 1px solid #333;*/
	border-radius: 5px;
	text-align: center;
}

.beitrag {
	padding: 0.5em;
	-moz-box-shadow: 2px 2px 5px #333;
	-webkit-box-shadow: 2px 2px 5px #333;
	box-shadow: 2px 2px 5px #333;
	margin-bottom: 0.6em;
}

.beitrag h4 {
	color: #333;
	font-size: 1.1em;
}

.werbebanneroben {
	width: auto;
	max-width: 600px;
	text-align: center;
}

.werbebanneroben a {
	text-decoration: none;
	color: #333;	
}

.we {
	width: auto;
	max-width: 600px;
	text-align: center;
}


.bild {
	position: relative;
}

.bild img {
	display: block;
	width: 600px; 
	height: 399px;
	margin-left: 2px;
}

.bild span {
	position: absolute;
	text-align: center;
	color: white;
	height: 5em;
	line-height: 5em;
	font-size: 1.5em;
	left: 2px;
	bottom: 70px;
	width: 600px;
	background: #282828;
	background-color: rgba(40, 40, 40, 0.7);
}
.normal {
	size: 37;
	
}

/* Ausgabe auf Tablets und Co. */
@media screen and (max-width: 599px) {
	body {
		min-width: 0px;
		width: 100%;
	}
	
	header h1, header p, .programme {
		display: block;
	}
	
	header h1 {
		border: none;
	}
	
	/* .subtitle {
		margin-left: 5em;
	} */

	.programme {
		display: none;
		/*width: 80%;
		text-align: left;*/
	}

	.we {
		display: none;
	}

	nav#mainnav ul li {
		margin-left: 5em;
		display: block;
	}
	
	nav#highnav {
		/*position: absolute;
		left: 320px;
		top: 340px;
		padding-right: 2em;
		margin: 35em 3em 0 10em;*/
	}
	
	nav#highnav li {
		display: block;
	}
	
	main {
		min-height: 650px;
		background: white;
		/*padding: 1em;*/
		border-radius: 0.5em;
		position: relative;
		width: 100%;
	}
	
	.links {
		display: none;		
		/*width: 100%;
		border: 1px solid blue;*/
	}
	
	.links a {
		margin-bottom: 0;
	}
	
	.werbebanneroben {
		width: 80%;
		text-align: left;
	}

	.links h3 {
		/*display: none;*/
	}
	
	.links ul li {
		display: inline-block;
	}
	
	.beitrag {
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin-bottom: 0.2em;
	}
	
	.inhalt {
		display: block;
		width: 100%;
		padding: 0;
	}
	
	.rechts {
		display: none;
	}
	
	footer {
		width: 93%;
		margin-top: 0.2em;
		/*background: yellow;*/
		min-height: 20px;
		border-radius: 0.5em;
		/*padding: 0.5em;*/
		font-size: 1em;
	}
	
	.bild {
		position: relative;
	}
	
	.bild img {
		display: block;
		width: 95%; 
		height: 95%;
	}
	
	.bild span {
		position: absolute;
		text-align: center;
		color: white;
		height: 5em;
		line-height: 5em;
		font-size: 1.5em;
		left: 0px;
		bottom: 70px;
		width: 95%;
		background: #282828;
		background-color: rgba(40, 40, 40, 0.7);
	}
}
