﻿/*
 * Stylesheet für responsive Design
 * Achim Grothkopp, im Oktober 2017
 */

/* ########################################################################### */
/* GoogleFonts einbinden */
/* ########################################################################### */
@import url('https://fonts.googleapis.com/css?family=PT+Sans');

body {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	background: #6C82B2 url(images/schoene-texte-bg.gif) repeat-x;

}


/* ########################################################################### */
/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */
/* ########################################################################### */
header,
nav,
nav a,
article
{
	padding: 10px;
	margin: 10px;
	-webkit-flex: 1 100%;
	flex: 1 100%;
	font-family: 'PT Sans', sans-serif;
}

header {
	display: -webkit-flex;
	-webkit-flex-flow: row wrap;
	display: flex;
	flex-flow: row wrap;
	margin-top: 50px;
}

header * {
	-webkit-flex: 1 1 0%;
	flex: 1 1 0%;
}

header img {
	-webkit-flex: 0 0 150px;
	flex: 0 0 150px;
	margin-right: 20px;
}

header nav {
	-webkit-flex: 1 1 100%;
	flex: 1 1 100%;
}

nav,
nav ul,
nav li {
	margin-left: 10px;
	padding: 0;
	border: none;
}

nav ul {
	display: -webkit-flex;
	-webkit-flex-direction: column;
	display: flex;
	flex-direction: column;
}

nav li {
	list-style-type: none;
	margin: 1.5em 0;
	-webkit-flex: 1 1 100%;
	flex: 1 1 100%;
}

nav a {
	display: inline-block;
	width: 95%;
	margin: 0;
	text-decoration: none;
	text-align: left;
}

nav a:hover {
	text-decoration: none;
}

article {
	background: #6C82B2 ;
	border-color: #6C82B2 ;
	color: #ffffff;
}


/* ########################################################################### */
/* Smart Phones und Tablets mit mittlerer Auflösung */
/* ########################################################################### */
@media all and (min-width: 35em) {
	header img {
		margin-right: 50px;
	}
	nav ul {
		-webkit-flex-direction: row;
		flex-direction: row;
	}
	nav li {
		margin: 0 10px;
		-webkit-flex: 1 1 0%;
		flex: 1 1 0%;
	}
	article {
		-webkit-order: 2;
		order: 2;
	}
}

/* ########################################################################### */
/* Large screens */
/* ########################################################################### */
@media all and (min-width: 50em) {
	article {
		/* Der Article wird 2.5x so breit wie die beiden asides! */
		
		-webkit-flex: 5 1 0%;
		-webkit-order: 3;
		order: 3;
		flex: 5 1 0%;
	}
	aside {
		-webkit-flex: 2 1 0%;
		flex: 2 1 0%;
	}
	nav {
		-webkit-flex: 2 1 0%;
		-webkit-order: 2;
		-webkit-align-self: top;
		flex: 2 1 0%;
		order: 2;
		align-self: top;
		height: 200px;
	}
}

/* ########################################################################### */
p.small{
	margin:0px 0px 12px 0px;
	font-size: 11px;
}
p.smalllast{
	margin:0px 0px 30px 0px;
	font-size: 10px;
}
p.italic{
	margin:0px 0px 30px 0px;
	font-size: 11px;
	font-style: italic;
}
#ueberschrift {
	font-family: 'PT Sans', sans-serif;
	font-size: 36px;
	font-weight: bold;
	text-decoration: none;
	color: #6C82B2;
}
a {
	text-decoration: none;
	color: #ffffff;
}
a.hover {
	text-decoration: none;
	color: #6C82B2;
}

.pdflist {
	font-weight: bold;
}
.pdflist a {
	font-weight: normal;
}
