@font-face {
    font-family: 'Score Board';
    src:
    	url('scoreboard.ttf')
    	format('truetype');
}

body, html {
    margin:0;
    padding:0;
    height: 100%;
    font-size: 1em;
}

body {
    font-family: "Score Board", Arial, sans-serif;
    color: #FFCC00;
	background-color: #000000;
}

table{
	width: 30%;
	border-collapse: collapse;
	border-spacing: 0px;
	background-color: #000000;
	color: #FFCC00;
}

table#scoreboard {
	width: 100%;
}

th, td {
    padding: 5px;
    text-align: left;
	white-space: pre;
}

td {
	font-size: 120%;
	padding: 5px 15px;
}

.center {
	white-space: pre;
	text-align: center;
	width: 1%;
}

.right {
	white-space: pre;
	text-align: right;
	width: 1%;
}

.position-1 {
	background-color: #FFCC00;
	color: #000000
}

.position-2 {
	background-color: #ACACAC;
	color: #000000
}

.position-3 {
	background-color: #CD7F32;
	color: #000000
}

#event-table {
	width: 100%;
}

#event-table td:nth-child(even) {
	padding: 5px;
}

#event-table td {
	white-space: nowrap;
}

#event-table td:last-child {
	width: 100%;
	text-align: right;
}

#header-row {
	color: #FFFFFF;
	background-color: #004894;
	border-bottom: 2px solid #FFFFFF;
}

#eventname {
	background-color: #FFFFFF;
	color: #000000;
}

#main-container {
	max-width: 90%;
	margin: 0 auto;
	display: none;
	border: 1px solid #FFFFFF;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: #000000;
}

/* Screens wider than 1080px */
@media only screen 
and (min-width : 1080px) {
/* Styles */
#main-container {
	max-width: 80%;
}
}

#message {
	width: 60%;
	margin: 0 auto;
	display: none;
}

#message  h1{
	font-family: Score Board, Arial, Helvetica, sans-serif;
	font-size: 150%;
	color: #FFCC00;
	text-align: center;
}