
body {
	font: 2.0em "Source Sans 3";
	line-height: 100%;
	background: light-dark(#EEE, #111); color: light-dark(#333, #CCC);
	padding: 0em;
	margin: 0em;
	box-sizing: border-box;
}

form {
	margin: 0em;
	padding: 0em;
}

input {
	background: rgba(255, 255, 255, 0.2); border: none;
	font: inherit; margin: 0em; padding: 0.1em 0.5em;
	color: #FFF;
	width: 10em;
	border-radius: 0.5em;
}
input::placeholder {
  color: #EEE;
  opacity: 0.5;
}



header {
	display: flex; flex-direction: row;
	font-weight: 400;
	align-items: center;
	justify-content: flex-end;
	position: sticky; top: 0em;
	with: 100%; height: 3em;
	background: center top url(header.jpg) repeat-x;
	color: light-dark(#EEE, #DDD);
	background-size: auto 100%;
	padding: 1em;
	box-sizing: border-box;
	/*background: #333;*/
	/*border-bottom: solid 0.2em #111;*/
}
header > div {
	flex-grow: 1;
}
header > div:last-child {
	flex-grow: 1;
	text-align: right;
	font-style: italic;
}
header > div:first-child {
	display: flex; flex-direction: column;
}
header > div:first-child > div:first-child {
	font-style: italic;
}
header > div:first-child > div:last-child {
}



header  a {
	color: #DDD;
	text-decoration: none;
	width: 3.5em;
	display: inline-block;
	margin: 0em 0.4em 0em 0em;
}
header  a.selected {
	text-decoration: none;
	font-weight: 700;
}
header  a:hover {
	color: #DDD;
	text-decoration: underline;
}


div.ranking ,
div.events {
	display: flex;
	flex-direction: column;
	gap: 0.3em;
	margin: 0.3em auto;
	padding: 0.3em;
	max-width: 45em;
}

div.ranking img ,
div.events img {
	vertical-align: center;
	height: 0.6em; margin-right: 0.3em;
}

div.ranking > a ,
div.events > div {
	display: flex;
	background: light-dark(#DDD, #222);
	border: solid 1pt light-dark(#CCC, #333);
	border-radius: 0.5em;
	flex-direction: row;
	align-items: center;
	gap: 0.3em;
	padding: 0.1em 0.3em 0.0em;
	color: inherit;
	text-decoration: inherit;
}
div.ranking > a:hover {
	background: light-dark(#CCC, #333);
	color: light-dark(#111, #EEE);
}

div.ranking > a > div ,
div.events > div > div {
	flex-grow: 1;
	padding: 0.1em;
	display: flex;
}

div.ranking > a > div > div {
	flex-grow: 1;
}

div.ranking > a > div > div > small {
	color: #808080; padding-left: 0.5em;
	font-size: 0.6em;
}
div.ranking > a > div > div > small::before {
	content: ""
}
div.ranking > a > div > div > small::after {
	content: ""
}

span.gender::before {
	font-size: 0.8em; font-weight: 600;
}
span.gender.w::before {
	content: "♀  ";
	color: #C48;
}
span.gender.m::before {
	content: "♂  ";
	color: #48C;
}




@media (min-width: 80em) {
	
	div.ranking > a > div ,
	div.events > div > div {
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}
	
	div.ranking > a > div:first-child {
		min-width: 2.0em; max-width: 2.0em;
		align-items: center;
		text-align: center;
		color: #808080;
	}
	div.events > div > div:first-child {
		font-size: 0.8em;
		min-width: 5.0em; max-width: 5.0em;
		align-items: center;
		text-align: center;
		color: #808080;
	}
		
	div.ranking > a > div:nth-child(2) ,
	div.events > div > div:nth-child(2) {
		justify-content: space-between;
	}
	div.ranking > a > div:nth-child(2) > div:last-child ,
	div.events > div > div:nth-child(2) > div:last-child {
		text-align: right;
	}
	
	div.ranking > a > div:nth-child(3) {
		min-width: 7em; max-width: 7em;
		text-align: right;
		align-items: center;
		justify-content: flex-end;
	}
	div.events > div > div:nth-child(3) {
		min-width: 6em; max-width: 6em;
		text-align: right;
		align-items: center;
		justify-content: flex-end;
	}
	div.ranking > a > div:nth-child(3) > div:last-child ,
	div.events > div > div:nth-child(3) > div:last-child {
		min-width: 4.5em; max-width: 4.5em;
	}
	div.ranking > a > div:nth-child(3) > div:last-child > span::after ,
	div.events > div > div:nth-child(3) > div:last-child > span::after {
		content: " Sp.";
	}
	
	div.ranking > a > div:last-child {
		min-width: 5em; max-width: 5em;
		text-align: right;
		align-items: center;
		justify-content: flex-end;
	}
	div.events > div > div:last-child {
		min-width: 3.5em; max-width: 3.5em;
		text-align: right;
		align-items: center;
		justify-content: flex-end;
	}
	div.ranking > a > div:last-child > div:not(:first-child) {
		min-width: 2em; max-width: 2em;
	}
		
	div.ranking > a > div > div:not(:first-child) ,
	div.events > div > div:not(:first-child) > div:not(:first-child) {
		font-size: 0.6em;
		color: #808080;
		line-height: 125%;
	}
	div.ranking > a > div:last-child > div:last-child > span {
		font-weight: 900;
		color: light-dark(#333,#000);
		background: light-dark(#BBB,#555);
		padding: 0.0em 0.3em;
		border-radius: 0.3em;
	}
	
	
}

@media (max-width: 80em) {
	
	div.ranking > a > div ,
	div.events > div > div {
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
	}
	div.ranking > a > div > div:not(:first-child) ,
	div.events > div > div > div:not(:first-child) {
		font-size: 0.6em;
		color: #808080;
		line-height: 125%;
	}

	
	div.ranking > a > div:first-child {
		min-width: 2.0em; max-width: 2.0em;
		align-items: center;
		text-align: center;
		color: #808080;
	}
	div.events > div > div:first-child {
		min-width: 3.0em; max-width: 3.0em;
		align-items: center;
		text-align: center;
		color: #808080;
	}
	div.events > div > div:first-child > div:not(:first-child) {
		font-size: 0.6em;
	}
	
	

	div.ranking > a > div:nth-child(3) ,
	div.events > div > div:nth-child(3) {
		min-width: 3.5em; max-width: 3.5em;
		align-items: flex-end;
	}
	div.ranking > a > div:nth-child(3) > div:last-child > span::after ,
	div.events > div > div:nth-child(3) > div:last-child > span::after {
		content: " Spiele";
	}
	
	div.ranking > a > div:last-child ,
	div.events > div > div:last-child {
		min-width: 3.5em; max-width: 3.5em;
		align-items: flex-end;
	}
	div.ranking > a > div:last-child > div:not(:first-child) {
		font-weight: bold;
	}
	div.ranking > a > div:last-child > div:last-child > span::before {
		content: "RL-Kl.  ";
		font-weight: normal;
	}
	div.ranking > a > div:last-child > div:last-child > span {
		font-weight: 900;
	}	
}





h1 {
	font-size: 1.2em;
	color: #FFF;
	text-align: right;
	height: 4em; vertical-align: middle;
	padding: 0.2em 0.4em; margin: 0em;
	display: block;
}


