@import url('https://fonts.googleapis.com/css?family=Open+Sans');

*{
	font-family: "Open Sans","DejaVu Sans","Arial",sans-serif;
}

body {
	padding: 12em 0 2em 0;
	background-color: #ffffff;
	color: #000000;
}

header,
footer,
nav {
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	z-index: 1;
}

header,
article,
aside,
section h1 {
	background-color: #ececec;
	color: #000000;
}

article,
aside,
section h1 {
	border: 1px solid black;
}

header {
	position: absolute;
	top: 2em;
}

header p.sk34 {
	background-color: #ececec;
	color: #0000cc;
	font-size: 3em;
	background-image: url(sb19_emblem.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 0.5em;
	padding-left: 2em;
}

main {
	margin: 0;
	padding: 0;
	width: auto;
	max-width: 65em;
}

footer {
	position: fixed;
	bottom: 0;
	background-color: #333333;
	color: #dadada;
}

footer p {
	margin: 0;
	padding: 0.2em 0.8em 0.2em 0.8em;
}

header li {
	position: static;
	display: inline-block;
	list-style: none;
	margin: 0.4em;
	padding: 0;
	vertical-align: middle;
}

nav {
	position: fixed;
	top: 0;
}

aside ul {
	margin-left: 0.5em;
	padding-left: 0.7em;
}

nav ul {
	margin: 0;
	padding: 0.2em 0.2em 0.2em 0.2em;
	background-color: #333333;
	color: #dadada;
}

nav li {
	position: static;
	display: inline-block;
	list-style: none;
	margin: 0.4em 0.2em 0.4em 0.2em;
	padding: 0;
}

ul.standlisten,
ul.startkarten {
	margin: 0;
	padding: 0.2em 0.2em 0.2em 0.2em;
}

ul.standlisten li {
	list-style: none;
}

ul.startkarten li {
	display: inline-block;
	list-style: none;
}

article a,
aside a {
	text-decoration-line: underline;
	background-color: #ececec;
	color: #0000cc;
}

article a:active,
article a:focus,
article a:hover,
aside a:active,
aside a:focus,
aside a:hover {
	text-decoration: none;
	font-weight: bold;
}

nav a {
	padding: 0.4em;
	text-decoration: none;
	background-color: #333333;
	color: #dadada;
}

nav a:active,
nav a:focus,
nav a:hover {
	background-color: #ffffff;
	color: #000000;
	font-weight: normal;
}

article nav,
aside nav {
	position: static;
}

article nav li {
	width: 14.2em;
}

article nav ul a {
	display: block;
	padding: 0.4em;
}

aside nav li {
	display: list-item;
	width: auto;
}

aside nav a,
aside nav a:active,
aside nav a:focus,
aside nav a:hover {
	display: block;
	text-decoration: none;
	font-weight: normal;
}

article,
aside,
section h1 {
	border-radius: 0.5rem;
	margin: 0.6rem;
	padding: 0.5em;
}

section {
	display: block;
	margin: 0;
	padding: 1em 0 0 0;
	width: auto;
	clear: both;
	overflow: auto;
}

main section {
	padding-left: 0;
	padding-right: 0;
}

article {
	width: 45em;
}

section article {
	float: left;
}

article.kein_aside {
	float: none;
	width: auto;
}

article.km {
	float: none;
}

main.km-1_60 {
	width: 72em;
	max-width: none;
}

main.km-1_60 article {
	width: auto;
}

aside {
	margin-left: 47em;
	/*width: 12em;*/
}

/*article {
	margin-right: 15em;
}

aside {
	float: right;
	width: 12em;
	clear: both;
}*/

address {
	font-style: normal;
}

article a.extern::after {
	content: url("extlink.svg");
	margin-left: 0.1em;
}

nav a.extern::after {
	content: url("extlink_nav.svg");
	margin-left: 0.1em;
}

nav a.extern:active::after,
nav a.extern:focus::after,
nav a.extern:hover::after {
	content: url("extlink_nav_focus.svg");
	margin-left: 0.1em;
}

section h1 {
	margin-bottom: 0;
}

h2 {
	font-size: 1.2em;
}

h3 {
	font-size: 1em;
}

h1.startliste {
	font-size: 1.8em;
	margin: 0;
	padding: 0;
}

article.pokale_startliste h2.startliste {
	font-size: 1.2em;
}

article.pokale_startliste h3.startliste {
	font-size: 1em;
}

article.pokale_startliste ul.startliste {
	margin: 0;
	padding: 0.2em 0.8em 0.2em 0.8em;
	background-color: inherit;
}

article.pokale_startliste ul.startliste li {
	display: list-item;
	width: auto;
	list-style: none;
}

table.termine {
	width: 100%;
}

th,
td {
	text-align: left;
}

table.termine tr.monat th,
table.km th.Finalserie {
	text-align: center;
}

table.km th.Platz,
table.km td.Platz,
table.km th.Startnr,
table.km td.Startnr,
table.km th.Serie,
table.km td.Serie,
table.km td.Finalserie,
table.km th.Summe,
table.km td.Summe,
table.ergebnisse-24h th.Platz,
table.ergebnisse-24h td.Platz,
table.ergebnisse-24h th.Serie,
table.ergebnisse-24h td.Serie,
table.ergebnisse-24h th.Summe,
table.ergebnisse-24h td.Summe {
	text-align: right;
}

/*table.km td.Platz,
table.km td.VNr {*/
table.km td {
	vertical-align: top;
}

table.km th,
table.km td,
table.ergebnisse-24h th,
table.ergebnisse-24h td,
table.teilnehmer-24h th,
table.teilnehmer-24h td,
table.termine th,
table.termine td {
	padding: 0.1em 0.2em 0.1em 0.2em;
}

table.termine th.datum,
table th.ergebnis,
table td.ergebnis {
	text-align: right;
}

table.km th,
table.termine th,
table.ergebnisse-24h th,
table.teilnehmer-24h th {
	background-color: #212121;
	color: #dadada;
}

table.km td,
table.termine td,
table.ergebnisse-24h td,
table.teilnehmer-24h td {
	background-color: #ffffff;
	color: #000000;
}

td a {
	background-color: #ffffff;
	color: #0000cc;
}

@media (min-width: 501px) and (max-width: 66em) {
	body {
		padding: 6em 0 0 0;
	}

	header {
		top: 1.1em;
	}
}

@media (max-width: 500px) {
	body {
		padding: 10.3em 0 0 0;
	}

	header {
		top: 3em;
	}

	header p.sk34 {
		padding-left: 3em;
	}

	table.km th.Verein,
	table.km td.Verein,
	table.km th.Finalserie,
	table.km td.Finalserie {
		display: none;
	}
}

@media (max-width: 59em) {
	body {
		margin: 0;
	}

	header p.sk34 {
		margin-bottom: 0.2em;
		font-size: 2em;
	}

	footer {
		position: static;
	}

	section {
		width: auto;
		padding: 0;
	}

	section h1,
	article,
	aside {
		width: auto;
		margin: 0.2em;
		margin-bottom: 0.5em;
		padding: 0.5em;
	}

	section h1,
	article,
	aside {
		border-radius: 0;
	}

	section article,
	aside {
		float: none;
		overflow: scroll;
	}

	article li,
	aside li {
		display: list-item;
	}

	article nav li,
	aside nav li {
		width: auto;
	}

	table.km th.Startnr,
	table.km td.Startnr,
	table.km th.VNr,
	table.km td.VNr,
	table.km th.Bemerkungen,
	table.km td.Bemerkungen,
	table.km th.Serie,
	table.km td.Serie {
		display: none;
	}

	main.km-1_60 {
		width: auto;
	}
}
