/* fonts */

/* Exo 2 font by Natanael Gama, SIL Open Font License, 1.1 */
/* License: http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web */
/* Homepage: http://ndiscovered.com/ */

@font-face { font-family: 'Exo2';
	src: url("/dinge/fonts/Exo2.0-Regular.otf") format("opentype");
}
@font-face { font-family: 'Exo2'; font-weight: 600;
	src: url("/dinge/fonts/Exo2.0-SemiBold.otf") format("opentype");
}
@font-face { font-family: 'Exo2'; font-weight: bold;
	src: url("/dinge/fonts/Exo2.0-Bold.otf") format('opentype');
}


/* layout */

body {
	background: #000 url("/dinge/bilder/background.png") no-repeat fixed center top;
	font-family: 'Exo2', sans-serif;
	color: #FFF;
}

main, header {
	width: 620px;
	margin: 0 auto;
	position: relative;
	left: 200px;
}


/* global */

a, summary { color: #AAA; }
a:hover, summary:hover { color: #888; }
summary { cursor: pointer; }

h2 {
	font-size: 1.5em;
}

p { margin: 0.75em 0; }

ul {
	list-style-type: none;
	padding-left: 0
}

hr {
	background-color: #fff;
	border: 0;
	height: 1px;
	margin: 0.5em 30% 0.5em 0;
}

figcaption {
	font-size: small;
	text-align: center;
}


/* navigation */

#ilnk {
	font-size: small;
	text-align: right;
	padding-top: 10px;
}

header h1 {
	font-size: 2.8em;
	font-weight: normal;
	margin-top: 60px;
	text-align: right;
}
header h1 #titlemail {
	font-weight: 600;
	visibility: hidden;
}

nav {
	font-size: 1.5em;
	font-weight: 600;
}
nav a {
	color: #FFF;
	text-decoration: none;
}
nav a:hover {
	color: #FFF;
	text-decoration: underline;
}

nav { margin-bottom: 1.5em; }
nav ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0.5em 0;
}
nav ul:first-child {
	justify-content: center;
}
nav ul:first-child li {
	margin-right: 1.5em;
}
nav ul:nth-child(2) {
	justify-content: space-between;
}


/* content */

.m { font-weight: bold; }
.t { font-style: italic; }

#index h2 { font-weight: 600; }
#index .m { font-weight: 600; }

li.audio {
	background-image: url(/dinge/icons/audio.png);
	background-repeat: no-repeat;
}
li.video {
	background-image: url(/dinge/icons/video.png);
	background-repeat: no-repeat;
}
li.info {
	background-image: url(/dinge/icons/info.png);
	background-repeat: no-repeat;
}

main > ul > li {
	margin-bottom: 3em;
	font-size: large;
}

main > ul > li > ul {
	margin-top: 1em;
	font-size: medium;
}
main > ul > li li {
	text-indent: -1em;
	padding-left: 5em;
	margin-top: 0.75em;
	background-position: 2em 0;
}

main > ul li li li { 
	padding-left: 3em;
	margin-top: 0.5em;
	background-position: 0 0;
}

main > ul details summary { font-weight: 600; }
main > ul details li.detailsection {
	font-weight: 600;
	margin-top: 1.25em;
}

main figure {
	float: right;
	margin: 0 0 0 2em;
}
main figure img { width: 200px; }

main#index figure {
	float: left;
	margin: 0 1em 0 0;
}
main#index figure img { width: 250px; }

main figure#karte img { width: 250px; }

ul#termine > li {
	margin-bottom: 1em;
}
main > figure#karte + ul > li li {
	text-indent: -1em;
	padding-left: 3em;
	margin-top: 0.75em;
	background-position: 0 0;
}
ul + h2 { margin-top: 3em; }

section.smdapstaffel {
	margin: 1.5em 0;
	overflow: auto;
}
section.smdapstaffel h3 { margin-top: 0; }
section.smdapstaffel a + p {
	font-weight: bold;
}

section.smdapstaffel img {
	float: left;
	width: 180px;
	margin: 0 2em 0 1em;
}
section.smdapstaffel + ul { margin-top: 3em; }

section.buch {
	margin: 1em 0 3em;
}
section.buch img {
	height: 300px;
	margin: 0 20px;
}
section.buch:nth-child(odd) img { float: right; }
section.buch:nth-child(even) img { float: left; }
section.buch>div { overflow: auto; }

section.buch h2 { margin-top: 0; }

section.buch p.untertitel {
	font-weight: 600;
	margin-top: -15px;
}
section.buch p.buchbeschreibung {
/* 	font-style: italic; */
}

section.buch p.buchhinweis {
/* 	font-weight: 600; */
	font-style: italic;
}

section.buch details p {
	margin-left: 1em;
}

section.buch .inlinetitel { font-weight: bold; }
section.buch .inlineuntertitel {
	font-weight: 600;
	font-style: italic;
}


/* responsible responsiveness */

@media only screen and (max-width : 1110px) {
	main, header { left: 0; }
	body { background-image: url("/dinge/bilder/background_dark.png") }
}
@media only screen and (max-width : 700px) {
	main, header {
		margin: 0;
		width: 95%;
		padding: 0 2.5%;
	}
	hr { margin-right: 0; width: 150px; }
	header h1 #titlemail { display: none; }
	header h1 {
		font-size: 2.3em;
		text-align: center;
		margin-top: 0.5em;
	}
	nav { font-size: 1.75em; }
	nav ul { justify-content: center !important; }
	nav ul li { margin-right: 0.5em !important; text-align: center; }
	main figure {
		float: right !important;
		width: 200px !important;
	}
	main figure img {
		max-width: 100% !important;
	}
	main figure#karte figcaption { display: none; }
}
@media only screen and (max-width : 550px) {
	main, header {
		width: 90%;
		padding: 0 2% 0 5%;
	}
	header h1 { display: none; }
	header nav { margin-top: 1em; }
	main figure {
		width: 200px !important;
		display: block !important;
		float: none !important;
		margin: 0 auto 1em;
	}
	main figure figcaption { display: none; }
	main#index figure figcaption {
		display: block;
		text-align: left;
	}
	main > ul li li {
		padding-left: 3em;
		background-position: 0 0;
	}
	main figure#karte img { width: 250px; }
	section.buch img {
		float: none !important;
		max-width: 90%;
		height: auto;
	}
	section.smdapstaffel img { width: 250px; }
	section.smdapstaffel img {
		float: none !important;
		max-width: 90%;
		height: auto;
		margin: 0.5em 0;
	}
}
