@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Comic%20Sans%20MS);

html {
	height: 100%;
}

body {
	height: 100%;
	margin: 0;
	padding: 0;
	background: #c8daec;
	font-family: arial;
	color: #406090;
	overflow-y: scroll;
}

table {
	max-width: 3000px;
	width: 100%;
	min-height: 100%;
	height: 100%;
	margin: 0 auto;
	cellpadding: 0;
	cellspacing: 0;
	background-color: white;
	border: 0;
	border-spacing: 0;
}

td {
	height: 1em;
}

p {
	margin-top: 0.5em;
}

a {
	text-decoration: none;
	color: #406090;
}

a:hover {
	text-decoration: none;
	color: #001080;
}

img {
	width: 100%;
}

article {
	display: block;
	flex-direction: column;
}

aside {
	display: block;
	flex-direction: column;
}

section {
	-moz-hyphens: auto;
	-moz-hyphenate-limit-lines: 2;
	-webkit-hyphens: auto;
	-webkit-hyphenate-limit-lines: 2;
	-ms-hyphens: auto;
	-ms-hyphenate-limit-lines: 2;
	hyphens: auto;
	hyphenate-limit-lines: 2;
}





/* Klassen */

.auswahl {
	width: 94%;
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
	border-radius: 5px;
	background: linear-gradient(to bottom, #d0e0ff, #b0c0e0);
	border-top: 2px solid #d0e0ff;
	border-left: 2px solid #d0e0ff;
	border-right: 2px solid #b0c0e0;
	border-bottom: 2px solid #a8b8d8;
	text-shadow: 1px 1px 1px #e0f0ff;
}

.auswahl:active {
	background: linear-gradient(to bottom, #b0c0e0, #d0e0ff);
}

.slide {
	margin: 0 auto;
	display: none;
}

.titelwerbung {
	flex: 1;
	padding-top: 0.5em;
	vertical-align: top;
}
 
.titelwerbung-innen {
	flex: 1;
	padding-top: 0.5em;
	vertical-align: top;
}

.titel-home {
	font-weight: bold;
}
 
.titel-bild {
	border: 1px solid;
	box-shadow: 1px 1px 5px;
	margin-right: 10px;
	margin-top: 2px;
	float: left;
}

.seitenmenue {
	margin-top: 2em;
	font-family: Comic Sans MS;
	font-size: 17.5px;
	font-weight: bold;
	border-bottom: 1px solid #406080;
}

.links {
	width: 1.5em;
	heigth: 1.5em;
	margin-right: 1em;
}

.autor {
	display: table-row;
}

.autor-bild {
	min-width: 2em;
	width: 4em;
	height: auto;
	display: table-cell;
	padding-bottom: 1em;
	vertical-align: top;
}

.autor-text {
	display: table-cell;
	padding: 0 0 1em 1em;
}

.supr-widget-product {
	display: none;
}

.seite {
	width: 3em;
	height: 3em;
	display: table-cell;
	border-radius: 5px;
	border: 1px solid #a8b8d8;
}

.seite-nummer {
	height: 3em;
	display: flex;
	justify-content: center;
	align-items: center;
}

.seite-nummer:hover {
	background-color: #c8daec;
}




/* Identifizierer */

#kopf {
	padding: 1em 0;
	text-align: center;
}

#logo {
	width: 90%;
	margin: 0.5em auto;
}

#banner {
	width: 94%;
	margin: 0 auto;
}

#menue {
	margin: 0;
	display: flex;
	flex-direction: column;
	text-align: center;
	font-family: Comic Sans MS;
	font-size: 17.5px;
	font-weight: bold;
}

#warenkorb {
	width: 94%;
	margin: 0 auto;
	padding: 0 15% 0 0;
	list-style-type: none;
	border-radius: 5px;
	background: linear-gradient(to bottom, #d0e0ff, #b0c0e0);
	border-top: 2px solid #d0e0ff;
	border-left: 2px solid #d0e0ff;
	border-right: 2px solid #b0c0e0;
	border-bottom: 2px solid #a8b8d8;
	text-shadow: 1px 1px 1px #e0f0ff;
	text-align: center;
	font-family: Comic Sans MS;
	font-size: 17.5px;
	font-weight: bold;
}

#warenkorb:active {
	background: linear-gradient(to bottom, #b0c0e0, #d0e0ff);
}

#dieseseite {
	width: 94%;
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
	border-radius: 5px;
	background: linear-gradient(to bottom, #ffd060, #e0b040);
	border-top: 2px solid #ffd060;
	border-left: 2px solid #ffd060;
	border-right: 2px solid #e0b040;
	border-bottom: 2px solid #d8a838;
	color: #001080;
	text-shadow: 1px 1px 1px #fff090;
}

#titel-anordnung {
	margin: 0 auto;
	-moz-hyphens: auto;
	-moz-hyphenate-limit-lines: 2;
	-webkit-hyphens: auto;
	-webkit-hyphenate-limit-lines: 2;
	-ms-hyphens: auto;
	-ms-hyphenate-limit-lines: 2;
	hyphens: auto;
	hyphenate-limit-lines: 2;
}

#suche {
	width: 100%;
	text-align: right;
	margin-top: 0.5em;
}


#eingabe {
	width: 100%;
	height: 2em;
	margin: 3px 0;
	border: 1px solid #406080;
	color: #406090;
}

#main {
	padding: 1em 3%;
}

#button {
	width: 5em;
	height: 2em;
	margin: 3px 0 -1em 0;
	border-radius: 5px;
	background: linear-gradient(to bottom, #d0e0ff, #b0c0e0);
	border-top: 2px solid #d0e0ff;
	border-left: 2px solid #d0e0ff;
	border-right: 2px solid #b0c0e0;
	border-bottom: 2px solid #a8b8d8;
	text-shadow: 1px 1px 1px #e0f0ff;
	color: #406090;
	font-weight: bold;
}

#button:hover {
	color: #001080;
}

#button:active {
	background: linear-gradient(to bottom, #b0c0e0, #d0e0ff);
}

#buchstaben {
	margin: 1em 3% 0 3%;
	text-align: left;
	font-family: Comic Sans MS;
	font-size: 17.5px;
	color: #90b0e0;
	font-weight: bold;
}

#buchstabe {
	padding: 0 0.3em;
	background-color: #d8e8f8;
	border-radius: 5px;
	border-left: 0.15em solid white;
	border-right: 0.15em solid white;
	color: #001080;
}

#buecher {
	width: 100%;
	margin-bottom: 1em;
	}

#wahltabelle {
	margin: 1em auto 0 auto;
	display: table;
}

#seitenwahl {
	display: table-row;
}

#seiteninfo {
	height: 3em;
	padding: 0 1em;
	display: table-cell;
	vertical-align: middle;
	border-radius: 5px;
	border: 1px solid #a8b8d8;
}

#aktuelleseite {
	width: 3em;
	height: 3em;
	display: table-cell;
	border-radius: 5px;
	border: 1px solid #a8b8d8;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
}

#autoren {
	width: 100%;
	display: table;
}

#zurueck {
	width: auto;
	min-width: 13em;
	padding: 0 1em;
	font-weight: bold;
}

#footer {
	margin: 1em 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: Comic Sans MS;
}





/* Responsives Layout */

@media (max-width: 800px) {

	.buch {
		overflow: auto;
		padding: 0.5em 0.5em 0.5em 0;
	}
}





@media (orientation: landscape) and (min-width: 800px) {

	#titel-anordnung {
		display: flex;
		flex-wrap: wrap;
	}

	.titelwerbung-innen {
		padding: 0.5em 2em 0 2em;
	}


	#kopf {
		padding: 2em 2%;
	}

	#logo {
		width: 39%;
		margin: 0 0.5% 0 auto;
	}

	#banner {
		width: 58%;
		margin: 0 auto 0 0.5%;
	}

	#tabelle {
		padding-bottom: 1em;
		border-bottom: 3px solid #647586;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	#menue {
		margin: 0 3%;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
	}

	#dieseseite, .auswahl {
		background: transparent;
		margin: 0;
		padding: 0 0.8em 0.2em 0.8em;
		border: 0;
		text-shadow: none;
	}


	#dieseseite {
		background-color: #d8e8f8;
	}

	#dieseseite a {
		color: #001080;
	}

	.auswahl:active {
		background: transparent;
	}

	.erster {
		padding-left: 0;
	}

	#warenkorb {
		width: 12em;
		margin: 0 2.5% 0 0;
		padding: 0;
		background: transparent;
		border: 0;
		text-shadow: none;
	}

	#footer {
		padding-top: 1em;
		border-top: 3px solid #647586;
	}

	.buch {
		margin: 0;
		padding: 0 0 1em 0;
		flex-basis: 25%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}

	.buch .titel-bild {
		margin: 0;
		float: none;
	}

	#buchstaben {
		margin-top:2em;
		text-align: right;
	}

	#autor-bild {
		width: 15%;
		padding: 0 3%;
	}
}



@media (orientation: landscape) and (min-width: 1000px) {

	table {
		max-width: 1000px;
	}

	tr {
		border-right: 2px solid #a8bcce;
	}

		#main {
		display: flex;
	}

	article {
		margin: 0 3% 0 0;
		padding: 2em 0 0 0;
		flex-basis: 76%;
		float: left;
		font-size: 0.9em;
	}

	aside {
		flex-basis: 24%;
		margin: -1em;
		padding: 0;
		float: right;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		font-size: 0.9em;
	}

	#buecher {
		width: 55%;
		padding-right: 3%;
		float: left;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}

	#autoren {
		width: 45%;
	}

	.autor-bild {
		width: 3.5em;
	}

	.autor-text {
		font-size: 0.9em;
	}
}


/*
@media (orientation: landscape) and (min-width: 1200px) {

	table {
		max-width: 1200px;
	}

	article {
		flex-basis: 80%;
	}

	aside {
		flex-basis: 20%;
	}

	.buch {
		flex-basis: 20%;
	}

}
*/

@media (orientation: portrait) {

	.buch {
		overflow: auto;
		padding: 0.5em 0.5em 0.5em 0;
	}
}