/* Colours */

:root {
	--back: #111;
	--boxs: #222;
	--text: #888;
	--tits: #bbb;
	--link: #aaa;
	--over: #bbb;
	--butt: #333;
	--bott: #444;
	--deet: #666;
	--trim: #444;
	--logo: rgb(0, 45, 90);
}

body {
	background: var(--back);
	color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--tits);
}

a {
	text-decoration: none;
	color: var(--link);
}

a:hover {
	color: var(--over);
}

img, ol, ul {
	margin: 0;
	padding: 0;
}

/* Font */

@font-face {
  font-family: stadium-font;
  src: url(font/atkinson-hyperlegible-regular.woff2),
		  url(font/atkinson-hyperlegible-regular.woff);
}

@font-face {
  font-family: stadium-bold;
  src: url(font/atkinson-hyperlegible-bold.woff2),
		  url(font/atkinson-hyperlegible-bold.woff);
}

body {
	font-family: 'stadium-font', Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'stadium-font', Helvetica, sans-serif;
}

/* Lay */

body {
	text-align: center;
	margin: 12px;
}


/* Forms */

.line form {
	display: inline-block;
}

/* Lists */

li {
	list-style: none;
}

/* Index */

.index a {
	display: inline-block;
	background: var(--butt);
	padding: 12px;
	margin: 8px;
	border-radius: 18px;
	width: 180px;
	height: 180px;
	
}

.index a img {
	width: auto;
	max-height: 120px;
}

.index a:hover {
	background: var(--bott);
}

/* Butts */

.butts a, .butt {
	display: inline-block;
	background: var(--butt);
	padding: 8px 18px;
	margin: 8px;
	border-radius: 8px;
}

.butts a:hover, .butt:hover {
	background: var(--bott);
}

.butts .live, .butt.live {
	background: var(--link);
	color: var(--butt);
}


/* Tools */

.tools ol {
	list-style: none;
}


h4 {
		text-align: left;
}



/* Select */
select {
	font-size: 1.2em;
}

/* Table */

table {
	margin: auto;
	border-collapse: collapse;
}

table tr {
	border-top: thin solid var(--trim);
}

table th {
	font-family: 'stadium-font', Helvetica, sans-serif;
	font-size: small;
	text-align: center;
	color: var(--deet);
	border-top: thin solid var(--deet);
	border-bottom: thin solid var(--deet);
}

table td {
	border-top: thin solid var(--trim);
	padding: 8px;
}

td a {
	color: inherit;
}

td.thumb {
	width: 4em;
	text-align: center;
}

td.thumb img {
	max-width: 360px;
	max-height: 48px;
}

td.title {
	font-size: 1.2em;
	width: 8em;
	text-align: left;
}
td.tally {
	width: 2em;
	text-align: right;
}
td.time {
	width: 4em;
	text-align: right;
}
td.percent {
	width: 4em;
	text-align: right;
}
td.bar {
	width: 4em;
	text-align: right;
}

div.bar {
	height: 1em;
	background: var(--deet);
}

/* Logos */

ol.logos li {
	margin: 24px;
	border-bottom: thin solid var(--trim);
}

ol.logos li:first-child {
	border-top: thin solid var(--trim);
}

.logo .title {
	font-size: 1.2em;
	color: var(--text);
}

.logo img {
	margin: 12px;
}

.logo .info {
	color: var(--deet);
}

.logo .info span {
	margin: 0 12;
}

.ribbon {
	display: block;
	background-repeat: repeat-x;
	text-align: left;
}

/* Zones */

.zones a {
	border-radius: 0;
	margin: 8px 0px;
}

.zones a:first-of-type {
	padding-left: 24px;
	border-radius: 8px 0 0 8px;
}

.zones a:last-of-type {
	padding-right: 24px;
	border-radius: 0 8px 8px 0;
}

/* Foot */

.signature {
	max-height: 180px;
	width: auto;
}