/*
Player viewport size = fixed at 480 x 270 px
*/

@font-face {
	font-family: 'roboto_condensedbold';
	src: url('fonts/robotocondensed-bold-webfont.woff2') format('woff2'),
		  url('fonts/robotocondensed-bold-webfont.woff') format('woff'),
		  url('fonts/robotocondensed-bold-webfont.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body{
	padding:10px;
	font-family:'roboto_condensedbold', sans-serif;
	padding: 0;
	margin: 0;
	font-size: 24px;
	background-color: #000;
	color: #FFF;
	width: 480px;
	height: 270px;
	width: 100%;
	height: 100%;
}

.fake-ad{
	position: absolute;
	top: 24px;
	left: 131px;
	width: 219px;
	height: 123px;
	background-color: yellow;
}

.scoreboard{
	margin: 0 auto;
	width: 480px;
}

h4{
	text-transform: uppercase;
	margin: 20px 0 8px 0;
}

.row.top .col{		height: 155px; }
.row.bottom .col{	height: 115px; }

.row .col{
	float: left;
	text-align: center;
}

.row .col.side{ 	width: 130px; }
.row .col.center{ width: 220px; }

/* TOP */
.row.top .col.team .image{
	width: 86px;
	height: 86px;
	padding: 4px;
	-webkit-border-radius:5px;
	border-radius:5px;
	background-color: #fff;
	margin:0 auto;
}
.row.top .col.team .image img{
	display: block;
	width: 100%;
	height: auto;
}

/* BOTTOM */
.row.bottom .col.score p{
	font-size: 90px;
	line-height: 70px;
	margin-top: 20px;
	letter-spacing:-2px;
}

.row.bottom .time{
	font-size: 60px;
	line-height: 50px;
	margin-top: 7px;
	letter-spacing:-2px;	
}
.row.bottom .time.error{
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0;
	margin-top:35px;
	font-family:'arial';
}
.row.bottom .time.hidden{
	visibility:hidden;
	height: 35px;
}
.row.bottom .time.pulse{
	animation: pulse 1s infinite;
	-webkit-animation: pulse 1s infinite;
}
@keyframes pulse {
	0% { opacity:1; }
	50% { opacity:0.5; }
	100% { opacity:1; }
 }
@-webkit-keyframes pulse {
	0% { opacity:1; }
	50% { opacity:0.5; }
	100% { opacity:1; }
 }


.row.bottom.matchEnded .time{  visibility:hidden;  }
.row.bottom.matchEnded .period{  visibility:hidden;  }


.row.bottom .time span{
	width: 60px;
	margin: 0;
	display: inline-block;
}
.row.bottom .time span.seperator{ width:20px; }

.row.bottom .period{
	margin-top: 5px;
	text-transform: uppercase;
	font-size: 26px;
}
.row.bottom .period .light{
	opacity: 0.6;
}

.clear:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	font-size: 0;
 }
 