/* Verwendete Farbwerte

Blau: #4080C0
Grün: #468641

*/

@import url('../../res/fonts/fonts.css');


body {
    margin-left: auto;
    margin-right: auto;
    width: 60em;
    background-color: darkgrey;
    font-family: 'Open Sans',Arial,sans-serif;
    font-size: 16px;
    color: white;
}

header {
	padding: 20px;
	background-image: linear-gradient(#4080C0, darkgrey);
	border-radius: 10px;
}

main {
	
}

footer {
	padding: 20px;
	background-image: linear-gradient(darkgrey, #468641);
	border-radius: 10px;
}


h2, h3 {
	color: white;
	font-weight: normal;
}

figure {
	margin: 5px 4px 5px 0;
}

figcaption {
	text-align: center;
	font-size: 80%;
}

.figcap {
	background-color:#666666;
	padding: 0 5px 0 5px;
}

img,video {
	/*margin: 5px 0 0 0;*/
	border-radius: 7px;
	border: 2px solid lightgrey;
}


/* Verweise */

a {
	padding-left: 2px;
	padding-right: 2px;
}

a.bild {
	background-color: transparent;
	padding-left: 0px;
	padding-right: 0px;
	}


/* Bilder mit Umfluss */

.bildL, .bildR {
	float: none;
	width: 100%;
	height: auto;
	margin: 0 0 1em 0;
}

@media (min-width: 30em) {
	.bildL {
		float: left;
		width: 50%;
		height: auto;
		margin: 0 1em 1em 0;
	}
	
	.bildR {
		float: right;
		width: 50%;
		height: auto;
		margin: 0 0 1em 1em;
	}
}


/* Spaltenlayout */

.spaltenAbschnitt {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media all and (min-width: 30em) {
	.spaltenAbschnitt {
    	flex-direction: row;
    }
}

/* Spalte */

.spalte {
	flex: auto;
}

@media (min-width: 30em) {
  .spalte {
    flex: 1 1 10%;
    margin-left: 5px;
    margin-right: 5px;
  }
  .spalte:first-of-type {
    margin-left: 0;
  }
  .spalte:last-of-type {
    margin-right: 0;
  }
}

.reiter {
	flex: auto;
	text-align: center;
	margin: 0.1em;
}


/* Inhaltsabschnitte */

.verweis {
	display: inline-block;
	border-radius: 7px;
	border: 2px solid lightgrey;
	background-color: white;
	padding: 5px;
	text-align: center;
	color: black;
}

.datum {
	display: inline-block;
	border-radius: 7px;
	border: 2px solid lightgrey;
	background-color: #666666;
	color: white;
	padding: 5px 20px 5px 20px;
}

.bericht {
	margin: 5px 0 10px 0;
	border-radius: 7px;
	border: 2px solid lightgrey;
	background-color: white;
	padding: 5px 10px 5px 10px;
	color: black;
}


/* Alle Tabellen */

table {
	/*border: 2px solid lightgrey;
	border-radius: 7px;*/
	border-spacing: 0;
    color: black;
}

 td {
	padding: 7px;
	border: 1px solid lightgrey;
	background-color: white;
}

table.links {
	border: none;
}

table.links td {
	border: none;
	background-color: transparent;
	color: white;
}
