/* Custom properties */
:root {
	--grau2: #222222;
	--grau6: #666666;
	--akzentrahmen: solid
}


/* CSS */
body {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	background-image: url('../image/taxi_driver.jpg');
	background-repeat: no-repeat;
	background-position: top center;
	background-attachment: fixed;
	background-size: cover;
	opacity: 0.9;
}

* {
	font-family: Lato,verdana, arial, helvetica, sans-serif;
	color: #333333;
	font-size: 13pt;
}

/* Links */
a:link, a:visited, a:active, a:hover {
	font-size: 12pt;
}

a:hover {
	text-decoration: underline;
}

a.menue:link, a.menue:visited, a.menue:active, a.menue:hover {
	color: #000000;
	font-weight: bold;
	text-decoration: none; 
}

a.menue:hover {
	text-decoration: underline;
}

/* Header -> Navigation */
header {
	width: 100%;
	text-align: center;
}
nav {
	margin: auto;
	margin-top: 20px;
	width: 90%;
	text-align: center;
}
nav ul {
	margin: 0;
	margin-bottom: 10px;
	padding: 0;
	list-style-type: none;
	background-color: #2f2d23;
	overflow: hidden;
}
nav ul.subkat {
	margin: auto;
	width: 95%;
}
nav li {
	float: left;
}
nav button {
	margin: 0;
	padding: 14px 20px;
	cursor: pointer;
	background-color: transparent;
	color: #dddddd;
	border: 0;
	border-right: 1px solid var(--grau6);
}
nav button:hover {
	background-color: #25241b;
	color: #bbbbbb;
}
nav ul.topkat button {
	width: 150px;
	font-size: 1.2em;
}



/* Haupt-Content */
main {
}

section {
	width: 100%;
	text-align: center;
}
section p, summary {
	text-shadow: 2px 1px 1px #ccc;
}
section.legend p {
	text-shadow: 2px 1px 1px #bbb;
}
.legend, .hauptinfo {
	display: grid;
	grid-template-columns: 20% 20% 1fr 1fr 1fr;
	grid-gap: 0 1px;
}
.legend {
	margin-bottom: 6px;
}
.legend p, .hauptinfo p {
	margin: 0;
	padding: 2vh;
	text-align: left;
	background-color: #eeeeee;
	background-image: linear-gradient(#eee, #ccc);
}
.legend p {
	font-weight: bold;
	background-color: #cccccc;
	background-image: linear-gradient(#ddd, #bbb);
}
.legend p:nth-child(n+3), .hauptinfo p:nth-child(n+3) {
	text-align: center;
}

.alle_details {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}
details.detail_button, details.detail2_button, details.handlung_button {
	width: 100%;
	padding: 3px;
	box-sizing: border-box;
	cursor: pointer;
	overflow: hidden;
	background-color: #bbb;
	background-image: linear-gradient(#e5e5e5, #ddd);
}

/* Summary-Marker verstecken in nicht-Safari Browsern */
/* * summary::marker { content: none; }
/* Summary-Marker verstecken in Safari */
/* * summary::-webkit-details-marker { display: none; } */
summary {
	font-size: 0.8em;
}
.detail summary {
	padding-right: 20px;
	text-align: right;
}
.detail2 summary {
	text-align: center;
}
.handlung summary {
	padding-left: 20px;
	text-align: left;
}

/* Der aktive Button soll sich von den inaktiven abheben  */
details.detail_button[open] summary, details.detail2_button[open] summary, details.handlung_button[open] summary {
	color: #990000;
}
/* alle Cotainer mit Zusatzinfo sollen an derselben Stelle angezeigt werden und dieselbe Größe haben (siehe: 'width', 'margin-left') */
/* Container der Zusatzinfo, wenn nicht aktiv */
details.detail_button + .detailinfo, details.detail2_button + .detailinfo2, details.handlung_button + .handlung_info {
	margin-left: 3%;
	width: 294%;
	max-height: 0;
	opacity: 0;
	transition: max-height 250ms ease-out, opacity 400ms ease-out;
}
/* Container der Zusatzinfo, wenn aktiv */
details.detail_button[open] + .detailinfo, details.detail2_button[open] + .detailinfo2, details.handlung_button[open] + .handlung_info {
	margin-bottom: 5px;
	max-height: 500px;
	opacity: 1;
	transition: max-height 1000ms ease-out, opacity 250ms ease-out;
}
details.detail2_button + .detailinfo2, details.detail2_button[open] + .detailinfo2 {
	margin-left: -97%;
}
details.handlung_button + .handlung_info, details.handlung_button[open] + .handlung_info {
	margin-left: -197%;
}

.detailinfo, .detailinfo2, .handlung_info {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 1px 1px;

	margin: 2px auto 1px auto;
	width: 98%;
	overflow: hidden;
}
.info {
	padding: 2vh;
	background-color: #dddddd;
	background-image: linear-gradient(#eee, #ddd);
}
.info p {
	margin: 0;
	padding-left: 7px;
	text-align: left;
	font-size: 0.8em;
}
.info p.kategorie {
	padding-left: 0;
}
.handlung_info .info {
	grid-column-start: 1;
	grid-column-end: 5;
	
	padding: 4vh 10%;
}









/* für die Javascript-Variante */
article.details_js {
	margin-top: 2px;
	height: 50px;
	background-color: #eeeeee;
	border: 1px solid #bbbbbb;
	clear: both;
}
.item-standard {
}
.item-standard div {
	float: left;
	width: 20%;
	padding: 10px;
	box-sizing: border-box;
	border-right: 1px solid #cccccc;
}
.item-standard .legende {
	font-weight: bold;
}
.item-standard .jahr {
	text-align: center;
}
.item-standard .more-button {
	float: right;
	margin: 10px 10px 0 0;
	width: 100px;
}


.item-standard .item_details * {
	font-size: 11pt;
}
.item-standard .item_details {
	position: relative;
	top: -5px;
	clear: both;
	margin: -10px 0 0 1%;
	width: 98%;
	max-height: 0;
	overflow: hidden;
	background-color: #e5e5e5;
	transition: max-height ease-out 0.15s;
	border: 1px solid #bbbbbb;
	z-index: -1;
}
.item-standard .item_details p {
	margin: 0;
	padding: 0;
	padding-left: 5px;
}
.item-standard .item_details p.kategorie {
	padding-left: 0;
}

/* für Sofortsuche ('index.php') */
.displayYes {
	display: table-row;
}
.displayNone {
	display: none;
}









/* Sonstiges */
.colorWhite {
	color: white;
}
.clear {
	clear: both;
}

h2.impressum {
	color: #000000;
	font-size: 16px;
	margin-bottom:5px;
}
