@CHARSET "ISO-8859-1";

@font-face {
	font-family: 'ToonishRegular';
	font-style: normal;
	font-weight: normal;
	src: local('ToonishRegular'), url('TOONISH.woff') format('woff');
}

html, body {
	margin: 0; padding: 0; height: 100%;
	max-width: 100%;
	overflow-x: hidden;
	background-color: #fff;
	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
}
html.comment, html.comment body {
	background-color: #000;
	color: #fff;
}
html.comment table tr th {
	background-color: #559;
}
html.comment table tr td {
	background-color: #77a;
}

th span.small {
	display: block;
}

body {
	max-width: 900px;
	/*background-color: #00CC00;*/
	text-align: center;
	margin: auto;
}

h1 {
	text-align: center;
	font-family: 'ToonishRegular', sans-serif;
	font-weight: normal;
	font-size: 3em;
}
h1, h2, h3, h4 {
	margin: 0px;
	padding: 5px;
}
div#menus {
	display: inline-block;
	width: 100%;
}

div.v {
	text-align: center;
	margin: auto;
	max-width: 100%;
	display: inline-block;
}
div.tab {
	display: inline-block;
}
table {
	margin: 10px;
	border-collapse: collapse;
}
table tr th {
	background-color: #ddd;
}
table tr td {
	background-color: #eee;
}
table tr td,
table tr th {
	white-space: nowrap;
	border: 1px solid #fff;
	padding: 5px;
}
span.player {
	white-space: nowrap;
}
span.player > span {
	display: inline;
}
table tr td.pos,
table tr th.pos,
table tr td.count,
table tr th.count,
table tr td.number,
table tr th.number,
table tr td.points,
table tr th.points {
	text-align: right;
}
table th.pos,
table td.pos,
table th.number,
table td.number {
	width: 2em;
}
table th.player,
table td.player,
table td.player > span {
	min-width: 15em;
}
table td.player,
table td.team,
table td.location,
table td.stage,
table td.group,
table td.time,
table td.status {
	text-align: left;
}
table th.team,
table td.team,
table td.team span {
	width: 18em;
}
table caption {
	padding: 0.2em;
}
html table tr.through td {
	background-color: #429642;
}
html table tr.out td {
	background-color: #9f4848;
}
html table tr.maybe td {
	background-color: #e5a859;
}
html table tr.gold td {
	background-color: #b8b205;
}
html table tr.bronze td {
	background-color: #935434;
}
html table tr.silver td {
	background-color: #b6b6b6;
}
html table tr.forfait td {
	background-color: #666;
}
tr.selected td {
	background-color: #a77;
}
span.long {
	display: none;
}

ul {
	list-style: none;
	display: inline-block;
	margin: 0;
	padding: 0;
}
ul li {
	float: left;
	margin: 1em;
}

span.stage,
span.player,
span.group,
span.wall,
span.team,
ul li {
	cursor: pointer;
}

table.players th.number {
	width: 2.5em;
	text-align: center;
}
th.sorted.asc::after {
	content: ' \25B2';
}
th.sorted.desc::after {
	content: ' \25BC';
}
td.es_3 {
	background-color: #933;
}
td.es_2 {
	background-color: #963;
}
td.es_1 {
	background-color: #993;
}
td.es_0 {
	background-color: #393;
}


.toggle {
	cursor: pointer;
	display: none;
}

.player h2 {
	/*float: left;*/
}
td #follow {
	position: inherit;
	display: block;
}
td input[type=checkbox] {
	/* Double-sized Checkboxes */
	/*-ms-transform: scale(2); !* IE *!*/
	/*-moz-transform: scale(2); !* FF *!*/
	/*-webkit-transform: scale(2); !* Safari and Chrome *!*/
	/*-o-transform: scale(2); !* Opera *!*/
	/*transform: scale(2);*/
}

#follow {
	float: right;
	margin-top: -3em;
	padding-right: 1em;
	/*padding-top: 2em;*/
	width: 1em;
	height: 1em;
	display: block;
	/*border: 1px solid red;*/
}
#follow a {
	cursor: pointer;
	padding: 0.5em;
	margin-left: 1em;
	/*margin-top: -1em;*/
	/*border: 1px solid green;*/
	float: right;
	width: 8em;
	/*font-size: 0;*/
	width: 100%;
	height: 100%;
	font-size: 2em;
}

.player h3 {
	clear: both;
}

#follow a.follow {
	color: grey;
}

#follow a.unfollow {
	/*background-color: grey;*/
	color: #e12222;
}

.small {
	display: none;
}


/* Responsive design changes */
@media screen and (max-width: 880px) {
	.optional {
		display: none;
	}
	.small {
		display: inherit;
	}
	.results_individual table.results th.stage,
	.results_individual table.results td.stage {
		max-width: 3em;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	ul#wallmenu li {
		padding: 0.5em 1em;
	}
}

@media screen and (max-width: 666px) {
	#stages_overview .count {
		display: none;
	}
	.results_individual table.results th.stage,
	.results_individual table.results td.stage {
		max-width: 1.5em;
	}
	.results_individual table.results th.player,
	.results_individual table.results td.player,
	.results_individual table.results td.player > span {
		min-width: 10em;
	}

	h1 { font-size: 2.4em; }
	h2 { font-size: 1.2em; }

	#playerTracker table th.team,
	#playerTracker table td.team,
	#playerTracker table td.team span {
		width: 8em;
		overflow: hidden;
	}
	table th.stage,
	table td.stage,
	table th.team,
	table td.team,
	table td.team span,
	table th.player,
	table td.player,
	table td.player > span {
		/*width: 10em;*/
		/*min-width: inherit;*/
	}
	table.results th.stage,
	table.results td.stage,
	table.results span.short {
		max-width: 4em;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	ul.menu li.icon {
		padding: 0.5em;
	}

}

@media screen and (max-width: 700px) {
	.group_details .group.overview th.player,
	.group_details .group.overview td.player,
	.group_details .group.overview td.player > span {
		width: 6em;
		min-width: 6em;
	}

	.group_details h2 .status {
		display: none;
	}

	table.group_details.overview span.lastname {
		display: none;
	}

}

@media screen and (max-width: 600px) {
	table.group_details.overview {
		font-size: 0.9em;
	}
}

@media screen and (max-width: 500px) {
	table.players th.team,
	table.players td.team,
	table.players td.team span {
		display: none;
	}
	table.group_details.overview {
		font-size: 0.7em;
	}
	.results_teams table.results th.location,
	.results_teams table.results td.location,
	.results_teams table.results td.location span {
		display: none;
	}
	.results_locals table.results th.location,
	.results_locals table.results td.location {
		display: none;
	}

	.results_individual table.results th.player,
	.results_individual table.results td.player,
	.results_individual table.results td.player > span {
		min-width: 8em;
		max-width: 8em;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.results_individual table.results th.retry,
	.results_individual table.results td.retry {
		display: none;
	}

}

@media screen and (max-width: 390px) {

	div#menus {
		/*background-color: rgba(216, 216, 216, 0.81);*/
		/*display: inline-block;*/
		/*float: right;*/
		/*position: absolute;*/
		/*margin: auto;*/
		/*width: 100%;*/
		/*text-align: center;*/
	}
	div#menus .toggle {
		/*right: 1em;*/
		/*top: 0.5em;*/
		/*position: fixed;*/
	}

	h1 {
		font-size: 1.8em;
		/*float: left;*/
		/*margin-left: 1em;*/
	}
	h2 { font-size: 1em; }
	/*
	div.stage_overview {
		transform: scale(0.75);
	}
*/
	ul.menu li {
		/*padding: 0.6em;*/
	}

	.closed {
		/*display: none;*/
	}
	.open {
		/*display: inherit !important;*/
	}

	.toggle {
		/*display: block;*/
		/*font-weight: bold;*/
	}
	ul#mainmenu,
	ul#wallmenu {
		/*display: none;*/
	}
    ul#wallmenu {
        /*clear: left;*/
    }
    ul#wallmenu li {
        /*padding: 0.5em;*/
    }
    ul#mainmenu li {
        /*padding: 0.75em;*/
    }

	table th.player,
	table td.player,
	table td.player > span {
		min-width: 9em;
	}
	table td.player,
	table td.team,
	table td.stage,
	table td.group,
	table td.time,
	table td.status {
		text-align: left;
	}
	table th.team,
	table td.team,
	table td.team span {
		width: 9em;
	}
	table th.location,
	table td.location,
	table td.location span {
		width: 5em;
		display: none;
	}
	table th.group,
	table td.group,
	table td.group span {
		width: 5em !important;
		min-width: 4em !important;
	}
	table th.status,
	table td.status,
	table td.status span {
		min-width: 4em !important;
	}
	table th.stage,
	table td.stage,
	table td.stage span {
		min-width: 5em !important;
	}

	.results_individual table {
		font-size: 0.9em;
	}

	.results_individual table th.stage,
	.results_individual table td.stage,
	.results_individual table td.stage span {
		min-width: inherit !important;
	}
	.results_individual table th.stage.first,
	.results_individual table td.stage.first {
		display: none;
	}

	table td span {
		overflow: hidden;
		text-overflow: ellipsis;
		display: block;
	}

	table td.status span.progress {
		min-width: auto !important;
	}
	.group .player {
		width: 13em;
	}
	.group_details .group .player {
		width: 8em;
	}

	.group_details .overview.group th.player,
	.group_details .overview.group td.player,
	.group_details .overview.group td.player > span {
		width: 4em;
		min-width: 4em;
	}
	table.group_details.overview {
		font-size: 0.7em;
	}
}

@media screen and (max-width: 460px) {
	.favorites td.stage,
	.favorites td.status {
		display: none;
	}
}

/* Responsive design changes */
@media screen and (max-width: 325px) {
	h1 {
		font-size: 1.5em;
	}
}

/* Responsive design changes */
@media screen and (max-width: 280px) {
	h1 {
		font-size: 1.2em;
	}
	h2 { font-size: 1em; }
}
/* Responsive design changes */
@media screen and (max-width: 220px) {
	h1 {
		font-size: 1.1em;
	}
}


table tr td.inafroep,
table tr td.startklaar,
table tr td.gedaan,
table tr td.bezig,
table tr td.nogleeg {
	/*opacity: 1;
	filter: alpha(opacity=1);*/
}

table caption.gedaan {
	background-color: rgba(164, 164, 164, 0.8);
}

html.comment table tr.inafroep td,
table caption.inafroep,
table tr td.inafroep,
table tr.inafroep td {
	background-color: rgba(245, 203, 90, 0.8);
}
html.comment tr.inafroep.aanwezig td,
html tr.inafroep.aanwezig td {
	background-color: #50a950;
}
html.comment tr.inafroep.afwezig,
html tr.inafroep.afwezig {
	background-color: #da3e3e;
}
/*table caption.startklaar,*/
table tr td.startklaar,
table tr.startklaar td {
	background-color: rgba(163, 163, 163, 0.6);
}
/*table caption.gedaan,*/
body table tr td.gedaan,
body table tr.gedaan td {
	background-color: rgba(31, 136, 51, 0.7);
}

/* VOLGORDE IS BELANGRIJK!! */
body table tr.through td {
	background-color: rgba(109, 178, 122, 0.7);
}
body table tr.out td {
	background-color: rgba(175, 84, 70, 0.7);
}
body table tr.bezig td,
body table tr td.bezig {
	background-color: rgba(218, 124, 2, 0.7);
}
body table tr td.nogleeg,
body table tr.nogleeg td {
	background-color: rgba(111, 109, 108, 0.7);
}


ul.menu li {
	margin: 0em;
	padding: 1em;
}
ul.menu li.selected {
	background-color: #8d95aa !important;
}
span.toggle.bezig,
ul.menu li.bezig {
	background-color: green;
}
span.toggle.inafroep,
ul.menu li.inafroep {
	background-color: orange;
}

ul.menu li.nogleeg {
	background-color: rgba(111, 109, 108, 0.7);
}
ul.menu li.gedaan,
ul.menu li.startklaar {
	background-color: red;
}

/* TODO: nog beter stylen... */
div#message_container {
	display: none;
}

table#wall_games tr.currentGame td {
	background-color: rgba(251, 187, 16, 0.5);
}

ul.funfacts {
	list-style: disc;
}

table.prevstats tr td,
table.funfacts tr td,
table.prevstats tr th,
table.funfacts tr th {
	text-align: left;
}
ul.menu li {
	margin: 0;
}
div.nomenu ul.menu {
	display: none;
}

html.comment table.funfacts tr th {
	background-color: #47482d;
}
html.comment table.funfacts tr td {
	background-color: #62643f;
}

/** Op individuele ranking verbergen we de vrouwenfinales... */
div#results_ind table.results th.women,
div#results_ind table.results td.women {
	display: none;
}

/** Op vrouwen ranking verbergen we de niet-vrouwenrondes... */
div#results_women table.results th.stage,
div#results_women table.results td.stage {
	display: none;
}
div#results_women table.results th.women,
div#results_women table.results td.women {
	display: table-cell;
}

td.status {
	padding: 0;
}
td.status span.status {
	padding: 5px;
}
span.progress {
	display: block;
	height: 3px;
	font-size: 1px;
	width: 100%;
	background-color: red;
	float: left;
	clear: both;
}
span.progress > span.progress {
	background-color: green;
}
span.progress.p00, span.progress.p0 { width: 0%; }
span.progress.p01, span.progress.p1 { width: 1%; }
span.progress.p02, span.progress.p2 { width: 2%; }
span.progress.p03, span.progress.p3 { width: 3%; }
span.progress.p04, span.progress.p4 { width: 4%; }
span.progress.p05, span.progress.p5 { width: 5%; }
span.progress.p06, span.progress.p6 { width: 6%; }
span.progress.p07, span.progress.p7 { width: 7%; }
span.progress.p08, span.progress.p8 { width: 8%; }
span.progress.p09, span.progress.p9 { width: 9%; }
span.progress.p10 { width: 10%; }
span.progress.p11 { width: 11%; }
span.progress.p12 { width: 12%; }
span.progress.p13 { width: 13%; }
span.progress.p14 { width: 14%; }
span.progress.p15 { width: 15%; }
span.progress.p16 { width: 16%; }
span.progress.p17 { width: 17%; }
span.progress.p18 { width: 18%; }
span.progress.p19 { width: 19%; }
span.progress.p20 { width: 20%; }
span.progress.p21 { width: 21%; }
span.progress.p22 { width: 22%; }
span.progress.p23 { width: 23%; }
span.progress.p24 { width: 24%; }
span.progress.p25 { width: 25%; }
span.progress.p26 { width: 26%; }
span.progress.p27 { width: 27%; }
span.progress.p28 { width: 28%; }
span.progress.p29 { width: 29%; }
span.progress.p30 { width: 30%; }
span.progress.p31 { width: 31%; }
span.progress.p32 { width: 32%; }
span.progress.p33 { width: 33%; }
span.progress.p34 { width: 34%; }
span.progress.p35 { width: 35%; }
span.progress.p36 { width: 36%; }
span.progress.p37 { width: 37%; }
span.progress.p38 { width: 38%; }
span.progress.p39 { width: 39%; }
span.progress.p40 { width: 40%; }
span.progress.p41 { width: 41%; }
span.progress.p42 { width: 42%; }
span.progress.p43 { width: 43%; }
span.progress.p44 { width: 44%; }
span.progress.p45 { width: 45%; }
span.progress.p46 { width: 46%; }
span.progress.p47 { width: 47%; }
span.progress.p48 { width: 48%; }
span.progress.p49 { width: 49%; }
span.progress.p50 { width: 50%; }
span.progress.p51 { width: 51%; }
span.progress.p52 { width: 52%; }
span.progress.p53 { width: 53%; }
span.progress.p54 { width: 54%; }
span.progress.p55 { width: 55%; }
span.progress.p56 { width: 56%; }
span.progress.p57 { width: 57%; }
span.progress.p58 { width: 58%; }
span.progress.p59 { width: 59%; }
span.progress.p60 { width: 60%; }
span.progress.p61 { width: 61%; }
span.progress.p62 { width: 62%; }
span.progress.p63 { width: 63%; }
span.progress.p64 { width: 64%; }
span.progress.p65 { width: 65%; }
span.progress.p66 { width: 66%; }
span.progress.p67 { width: 67%; }
span.progress.p68 { width: 68%; }
span.progress.p69 { width: 69%; }
span.progress.p70 { width: 70%; }
span.progress.p71 { width: 71%; }
span.progress.p72 { width: 72%; }
span.progress.p73 { width: 73%; }
span.progress.p74 { width: 74%; }
span.progress.p75 { width: 75%; }
span.progress.p76 { width: 76%; }
span.progress.p77 { width: 77%; }
span.progress.p78 { width: 78%; }
span.progress.p79 { width: 79%; }
span.progress.p80 { width: 80%; }
span.progress.p81 { width: 81%; }
span.progress.p82 { width: 82%; }
span.progress.p83 { width: 83%; }
span.progress.p84 { width: 84%; }
span.progress.p85 { width: 85%; }
span.progress.p86 { width: 86%; }
span.progress.p87 { width: 87%; }
span.progress.p88 { width: 88%; }
span.progress.p89 { width: 89%; }
span.progress.p90 { width: 90%; }
span.progress.p91 { width: 91%; }
span.progress.p92 { width: 92%; }
span.progress.p93 { width: 93%; }
span.progress.p94 { width: 94%; }
span.progress.p95 { width: 95%; }
span.progress.p96 { width: 96%; }
span.progress.p97 { width: 97%; }
span.progress.p98 { width: 98%; }
span.progress.p99 { width: 99%; }
span.progress.p100 { width: 100%; }

.startklaar > span.progress,
.gedaan > span.progress,
.nogleeg > span.progress,
.inafroep > span.progress {
	/* onzichtbaar maken, maar wel "volume" behouden, zodat layout niet verspringt... */
    background-color: transparent;
}

div#debugbox {
	font-size: 10px;
	color: transparent;
}

/* Layout voor "multi-muur overzicht"... */
body.allwalls {
	overflow-y: hidden;
}
body.allwalls div.walls {
	font-size: 1em;	/* we zullen maar gewoon uitzoomen ipv font verkleinen */
}
body.allwalls div.walls table.group {
	float: left;
}
body.allwalls div.walls table.group th.game,
body.allwalls div.walls table.group td.points,
body.allwalls div.walls table.group th.team,
body.allwalls div.walls table.group td.team {
	display: none;
}
body.allwalls div.walls table.group td.total {
	display: table-cell;
}
body.allwalls div.walls table.group {
	min-width: 19%;
	min-height: 300px;
	/*border: 1px solid black;*/
}

table#wall_games th.status,
table#wall_games td.status {
	min-width: 8em;
}
table#wall_games th.group,
table#wall_games td.group {
	min-width: 6em;
}
table#wall_games th.stage,
table#wall_games td.stage {
	min-width: 7em;
}
table.final th.player,
table.final td.player {
	min-width: 13em;
}

table#map {
	width: 100%;
	height: 100%;
	border-collapse: collapse;
	/*padding-top: 56.25%;    !* Aspect ratio *!*/
	background-color: #777;
	padding: 0;
	margin: 0;
}
table#map tr td {
	text-align: center;
	vertical-align: middle;
	font-family: 'ToonishRegular', sans-serif;
	/*color: red;*/
	/*text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;*/
	font-size: 1.5em;
	border: 2px solid black;
	padding: 0;
}
table#map tr td a {
	text-decoration: none;
	color: black;
	width: 100%;
	height: 100%;
	display: block;
	padding: 0px;
	padding-top: 0.5em;
	height: 1.5em;
}
table#map tr td.side {
	width: 3%;
	height: 2em;
	border: none;
}
table#map tr td.terrain {
	width: 12%;
	max-height: 40%;
	font-size: 3em;
	background-color: #aaa;
}
table#map tr td.toog {
	width: 15%;
	padding: 2px;
	height: 80%;
	border: none;
}
table#map tr td.spoor {
	background-color: #666;
}
table#map tr td.wall {
	background-color: #877;
}

/*div.partners {
	text-align: center;
	width: 100%;
}*/
div#partners {
	margin-top: 5em;
	text-align: center;
	width: 100%;
}
div#partners img {
	margin: 3px;
}
/*div#partners img + img + img + img + img  + img  + img + img {
	clear: both;
}
div#partners img + img + img + img + img  + img  + img + img + img {
	clear: none;
}*/
span.small.letter {
	font-family: 'ToonishRegular', sans-serif;
	font-weight: normal;
	font-size: 1.5em;
}
span.loading,
span#waitingbox.waiting {
    width: 100%;
    height: 100%;
    /*background-color: #8d95aa;*/
	display: block;
	font-family: 'ToonishRegular', sans-serif;
	font-weight: normal;
	font-size: 2em;
	padding-top: 2em;
	text-align: center;
	margin: auto;
}
span#waitingbox.waiting {

}

.loader, span#waitingbox.waiting {
	border: 12px solid #c3c3c3; /* Light grey */
	border-top: 12px solid #5d7686; /* Blue */
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 2s linear infinite;
	text-align: center;
	margin: 3em auto auto;
}
span#waitingbox.waiting {
	border: 6px solid #c3c3c3; /* Light grey */
	border-top: 6px solid #5d7686; /* Blue */
	width: 20px;
	height: 20px;
	margin: auto;
	padding: 0;
	color: black;
	float: right;
	right: 0.2em;
	bottom: 0.2em;
	position: fixed;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

table.throughout caption {
	font-weight: bold;
}
table.throughout {
	float: left;
}

table.throughout td {
	text-align: left;
}
table.throughout td + td {
	min-width: 10em;
	text-overflow: ellipsis;
}

footer.poweredby {
	margin: auto;
	text-align: center;
	width: 100%;
	padding: 1em 0;
	font-size: 0.8em;
	font-style: italic;
}

footer.poweredby a {
	color: inherit;
	text-decoration: none;
}

footer a svg {
	margin: 0.5em;
}

div.break {
	width: 100%;
	clear: both;
}


div#calloutbox {
	position: fixed;
	top: 1em;
	right: 1em;
	border: 2px solid white;
}
#calloutlink {
	display: block;
	position: fixed;
	top: 1em;
	right: 1em;
	border: 2px solid white;
	background-color: red;
	padding: 3em;
}
#playerslink {
	display: block;
	position: fixed;
	top: 1em;
	left: 1em;
	border: 2px solid white;
	background-color: blue;
	padding: 1em;
}

html.comment .inafroep.selected {
	background-color: gold !important;
	border-bottom: 3px solid lightgrey;
}

html.comment .startklaar.selected {
	background-color: red !important;;
	border-bottom: 3px solid lightgrey;
}
html.comment .bezig.selected {
	background-color: green !important;;
	border-bottom: 3px solid lightgrey;
}

.vertical {
	/*text-orientation: upright;*/
	writing-mode: tb;
	/*white-space: break-spaces;*/
}

.mobileonly {
	margin-top: 2em;
	/*display: none;*/
}

html.comment table tr.aanwezig td,
html.comment table tr td.aanwezig  {
	background-color: green;
}
html.comment table tr.afwezig td,
html.comment table tr td.afwezig {
	background-color: grey;
}
html.comment table tr.in_afroep td,
html.comment table tr td.in_afroep {
	background-color: darkgoldenrod;
}