.sel-cat, .sel-sess {
	min-width: 10em;
}

.pure-g > div {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Flasher boxes - outer border */
.flasher {
	padding: .5em;
}

/* Inner border */
.flasher-inner {
	-moz-border-radius : 20px;
	-webkit-border-radius : 20px;
	border-radius : 20px; 
	border: 4px solid #000;
	padding: .6em;
}

.flasher-inner span.ftext_event {font-size: 1.5em} /* Same as table text */
.flasher-inner span.ftext_name {font-size: 2em}
.flasher-inner span.ftext_num {font-size: 2.5em ; float: right}
.flasher-inner span.ftext_dscore {font-size: 1.5em}
.flasher-inner span.ftext_score {font-size: 4em}

/* Result section - outer border*/
#results {
	margin: .5em;
}

.incomplete {
    text-align: center;
    background-color: red;
    margin: .5em 0 1em;
    padding: .5em 0;
}

.results-name, #results-name {
	text-align: right;
	font-size: 2.5em;
	padding-bottom: .25em;
}

/* Table styles */

table {
	width: 100%;
	border-collapse: collapse;
}

td {
	border-top: 1px solid #2C3539;
	border-bottom: 1px solid #2C3539;
}

td, th {
	padding: 0.2em;
}

th img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding: .1em;
}

th.selected, td.first, .a-results td:nth-child(3n + 7), .v-results td:last-child {
	background-color: #2C3539;
	color: white;
	print-color-adjust: exact;
	-webkit-print-color-adjust: exact;
}

/* left border */
td:first-child, .a-results td:nth-child(3n + 5), .t-results td:nth-child(n + 4), .v-results td:nth-child(2n + 5) {
	border-left: 1px solid #2C3539;
}

/* right border */
td:last-child, .a-results td:nth-child(3n + 7), .t-results td:nth-child(n + 4), .v-results td:nth-child(2n + 6) {

	border-right: 1px solid #2C3539;
}

/* center scores */
.v-results td:nth-child(n + 5), .a-results td:nth-child(n + 5), .w-a td:nth-child(n + 4), .wo-a td:nth-child(n + 2) {
	text-align: center;
}

/* left align leftmost column headers */
.v-results th:nth-child(-n+4), .a-results th:nth-child(-n+4), .w-a th:nth-child(-n+3), .wo-a th:first-child {
	text-align: left;
	vertical-align: bottom;
}

/* light grey for every other row on athlete results as well as totals row and column for team results */
.a-results tbody tr:nth-child(odd), .v-results tbody tr:nth-child(odd),
.totals td:nth-child(n+4), .w-a td:nth-child(4), .wo-a td:nth-child(2) {
	background-color: #E7E8EF;
	border: 1px solid #2C3539;
	print-color-adjust: exact;
	-webkit-print-color-adjust: exact;
}

.t-results .team-name {
	font-size: 2em;
}

.t-results .team, .t-results .totals {
	font-weight: bold;
}

.t-results .used {
	text-decoration: underline;
}

#footer {
	margin: 0 .5em;
}

@media screen and (max-width: 1200px) {
	body {
		font-size: 75%;
	}
}

@media print {

	#footer {
		display: none;
	}

	thead {
		display: table-header-group;
	}
	
	tbody {
		display:table-row-group;
	}
	
	tr {
		page-break-inside:avoid;
	}
	
	body {
		font-size: 10pt;		
	}
	
	body, #results, #footer, .header {
		margin-left:0 !important;
		margin-right:0 !important;
	}
}