/* GENERAL DEFINITIONS -------------------------------------------------------------- */


body {
	background-color: #333333;

}

.ltblue { color: #4dc3ff; } 
.ltred { color: #ff8080; } 

.yellow { color: #FFFF66; }
.white { color: #FFFFFF; }

.box1  {
	border-width: 1px;
	border-style: solid;
	padding: 1px;
}

/* TABLE AND DIV LAYOUT ----------------------------------------------------------------------- */


table.layout {
	font-family: Calibri, Helvetica, sans-serif;
	margin-left: auto;
	margin-right: auto;
}

table.layout td {
xborder: dashed;					/* change from xborder to border to visualize the layout */
xborder-color: #999999;
xborder-width: thin;
} 

div {
xborder: dashed;					/* change from xborder to border to visualize the layout */
xborder-color: #999999;
xborder-width: thin;
} 



/* SPECIFIC AREAS -------------------------------------------------------------------- */

/* Header Items */

td.table-td  {
	padding: 5px 22px 4px 22px;
}

p.table-p-boards {
	margin-bottom: 4px;
	padding-bottom: 4px;
	font-size: 30px;
	line-height: 27px;
	width: 100%;
	background-color: #FFFFFF;
	text-align: center;
}

p.table-p-boards-locked {
	margin-bottom: 4px;
	padding-bottom: 4px;
	font-size: 30px;
	line-height: 27px;
	width: 100%;
	background-color: #DDDDDD;
	text-align: center;
}

p.locked {
	border-style: solid;
	border-color: yellow;
	border-width: 0px 0px 0px 15px;
}

.xallcaps {text-transform: uppercase; }

div.teamscores {
	height: 30px;
	text-align: center;
}

div.school1name  {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	width: 35.5%;
	color: white;
	font-size: 14px;
	line-height: 13px;
	font-weight: bold; 
	text-align: center; 
	height: 100%;
}

div.school2name  {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	width: 35.5%;
	color: white;
	font-size: 14px;
	line-height: 13px;
	font-weight: bold; 
	text-align: center; 
	height: 100%;
}

.winner {
	xbackground-color: #DBF7D7;
	xcolor: black;
	xborder: 1px solid white;
}

div.school1score  {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	width: 11%;
	font-size: 16px;
	line-height: 20px;
	font-weight: bold; 
	text-align: center;
}

div.school2score  {
	display: inline-block;
	vertical-align: top;
	padding: 0px;
	width: 11%;
	font-size: 16px;
	line-height: 20px;
	font-weight: bold; 
	text-align: center;
}

.blue { 
	background-color: #4dc3ff; 
	color: black
}
.bluewinner {
	background-color: #1a8cff;  /*#0066CC; */
	color: white;
	border: 1px solid white;
}
.blueloser {
	background-color: #555555;
	color: #CCEEFF;    
	border: 1px solid black;
}	
.red { 
	background-color: #ff8080; 
	color: black;
} 
.redwinner {
	background-color: #ff3300;
	color: white;
	border: 1px solid white;
}
.redloser {
	background-color: #555555;
	color: #FFD6CC;    
	border: 1px solid black;
}	
.draw { 
	background-color: #FFFF66; 
	color: black:
}




span.tablenumber {
	background-color: black;
	color: yellow;
	padding: 2px;
	font-size: 18px;
	font-weight: bold; 
}

span.xnotlocked {
	color: white;
	background-color: #33cc33; 
	border: solid 1px #000000;
	width: 100px;
	padding: 2px;
}

/* blink CSS from https://stackoverflow.com/questions/13955163/imitating-a-blink-tag-with-css3-animations */

@keyframes blink {
  0% { opacity: 0; } 	/* Fully visible at the start */
  90% { opacity: 1; } 	/* Fully hidden at 90% */
  100% { opacity: 0; } 	/* Fully visible at the end */
}
.blink {
  animation: blink 6s step-start 0s infinite;  /* 6-second cycle */
}

.incomplete {
	background-color: #29a329;
	xpadding-left: -3px;
	xpadding-right: -3px;
}
   
