body
{
	font-size: 		small;
	font-family: 	Arial, Helvetica, Verdana, Sans-Serif;
	text-align:		center;
	background: 	url(img/background.gif);
	z-index:		0;
	margin:			0px;
	padding:		0px;
}

a img
{
	border: none;
}
a:link,
a:visited
{
	color: #990000;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}

a.underline
{
	text-decoration: underline;
}

#crez_container
{
	position:			relative;
	width:          	1000px;
	height:				100%;
	margin:         	10px auto;
	text-align:			left;
	background-color:	white;
	border-top:			solid 1px #777;
	border-left:		solid 1px #777;
	border-right:		solid 2px #333;
	border-bottom:		solid 2px #333;
	z-index:			1;
}

#crez_page_form 
{
	margin:		0px;
	padding:	0px;
}

#crez_header
{
	margin:			10px;
}

div#crez_ads
{
	width:			720px;
	height:			60px;
	margin:			5px auto;
	text-align:		center;
}

div#crez_header div.float_left
{
	float:		left;
	text-align:	center;
	margin:		0px 2px;
}

div#crez_header p
{
	margin-top:		0px;
	padding-top:	0px;
}

div#crez_header div.crez_banner,
div#crez_banner div.crez_banner
{
	border:			solid 1px #990000;
	width:			466px;
	height:			58px;
	vertical-align:	middle;
	text-align:		center;
}

div#crez_header div.crez_banner p,
div#crez_banner div.crez_banner p
{
	margin-top:		6px;
	margin-bottom:	0px;
}

div#crez_banner div.crez_banner 
{
	margin:		0px auto;	
}

div#crez_content_container
{
	clear:			both;
	float:			none;
	margin:			10px;
}

div.main_container_wide
{
	float:		left;
	margin:		0px;
	width:		100%;
}

div.main_container_slim
{
	float:		left;
	margin:		0px;
	width:		840px;
}

div.side_container 
{
	float:			left;
	width:			120px;
	text-align:		center;
	margin-left:	10px;
	margin-bottom:	10px;
}

div.side_container a img
{
	margin-bottom:	10px;
}

div.side_container div.crez_ad
{
	border:			solid 1px #990000;
	margin-bottom:	10px;
	padding:		3px;
	text-align:		left;
}

div.side_container div.crez_ad a
{
	text-decoration:	underline;
}

#league_logos
{
	margin-top:		5px;
	margin-bottom:	5px;
	margin-left:	auto;
	margin-right:	auto;
	text-align:		center;
}

#league_logos img
{
	border-top:			solid 1px #999;
	border-left:		solid 1px #999;
	border-right:		solid 1px #555;
	border-bottom:		solid 1px #555;
}

#crez_footer
{
	clear:		both;
	float:		none;
	margin:		5px 10px 5px;
	text-align:	center;
}

.center
{
	text-align:		center;
	margin:			0px auto;
}

.bold 
{
	font-weight:	bold;
}

.underline
{
	text-decoration:	underline;
}

.full 
{
	width:	100%;
}

table.crez_bracket 
{
	border-collapse:	collapse;
	border-spacing:		0px;
	margin-bottom:		10px;
}

table.crez_bracket td
{
	padding:	2px 5px;
	text-align:	left;
}

table.crez_bracket td.bracket_bottom
{
	border-bottom:	solid 2px #000;
}

table.crez_bracket td.bracket_side
{
	border-right:	solid 2px #000;
}

table.crez_bracket td.bracket_label
{
	text-align:		center;
	font-weight:	bold;
	font-style:		italic;
}

/* IE's CSS inheritance for tables is fubar, so we need to have redundant styles just for tables */
table{
	font-size: 12px;
}

#board{
	background-color: #990000;
	margin: 5px 0 5px 0;
}
#boardmain
{
	float: right;
}
#linescore, #linescore table
{
	padding: 10px;
	font-size: small;
}
#nav
{
	font-weight: bold;
	background-color: #eeeeee;
	clear: both;
	padding: 5px;
}
#nav ul
{
	margin: 0;
	padding: 0;
	list-style: none;
}
#nav li
{
	margin: 0;
	padding: 0;
	background-color: #dddddd;
	display: inline;
}
#nav A:link,#nav A:visited
{
	padding: 2px;
	color: #444444;
	font-style: normal;
	text-decoration: none;
}
#nav A:hover
{
	padding: 2px;
	background-color: #333333;
	color: #ffffff;
	text-decoration: none;
}
#nav li.current
{
	padding: 2px;
	background-color: #9999cc;
	color: #000000;
}
#leftcol{
	float: left;
	width: 295px;
}
#rightcol{
	float: right;
	width: 500px;
}
#misc {
	background-color: #ffff99;
}
#banner{
	width: 468px;
	height: 60px;
}
#players{
}
#gameinfo{
	
}
.plays
{
}
#playbyplay
{
	overflow: auto;
	height: 48em;
}
#boardmain table{
	color: #ffffff;
}
#linescore table{
	color: #ffffff;
	text-align: right;
}
.boardscore{
	font-weight: bold;
	font-size: x-large;
	width: 3em;
}
.boardheading{
	color: #ffff00;
	font-size: small
}
.mischeading{
	font-weight: bold;
}
.boxteamname{
	text-align: center;
	font-weight: bold;
	font-size: small;
}
.statheadings{
	color: #ffffff;
	background-color:#990000;
	font-weight: bold;
}
td.playperiod{
	background-color: #dedede;
	text-align: center;
}
/*alternate row colours for tables*/
/*
tr.H, tr.true{
	background-color: #ffff99;
}
tr.V, tr.false{
	background-color: transparent;
}
td.diff{
	background-color: #dedede;
}
*/
/*Leaders page*/
.leaderteamname
{
	font-weight: bold;
	font-size: small;
	text-align: center;
}
.leaderheading
{
	text-align: center;
	font-weight: bold;
	font-size: small;
	background-color: #990000;
	color: #ffffff;
}
/*Team stats page*/
.centercol
{
	background-color:#dddddd;
	font-weight: bold;
}
.teambox
{
	width: 500px;
}
.teamcompare
{
	margin: 2em 0 0 0;
	width: 400px;
}

/***********************************************
   New Styles for Tournament view
    - slowly phase out old styles once we 
       eliminate old Game display
*************************************************/

ul#tv_nav
{
	float:		right;
	margin:		0px 0px 10px 10px;
	padding:	0px;
	display:	inline;
}

ul#tv_nav li
{
	display: inline;
	margin: 0 10px 0 0;
	padding: 0;
	/*background: #990000;*/
}
/*#tv_nav a:link, #tv_nav a:visited { color: #FFFFFF; }*/

div.tv_tournamentName
{
	float:			left;
	margin-left:	10px;
	margin-right:	15px;
	font-size:		x-large;
	font-weight:	bold;
}

div.main_container_slim div.tv_tournamentName 
{
	width:			380px;
}

div.main_container_wide div.tv_tournamentName 
{
	width:			500px;
}

#tv_header a img
{
	border: solid 1px #A0A0A0;
	margin: 0px 2px;
}

#tv_header a.ouSi 
{
	margin-right:	15px;
}

#tv_header a.ouSi img
{
	position: relative;
	top: 2px;
	border: solid 2px #A0A0A0;
}

#tv_header a.active_team img
{
	position: relative;
	top: 1px;
	border: solid 2px #990000;
}

div#tv_content 
{
	float:			none;
	clear:			both;
	margin-left:	10px;
}

div.tv_title 
{
	margin:			10px 0px 10px 0px;
}

div.tv_title span.tv_pageTitle
{
	float:			left;
	position:		relative;
	top:			3px;
	font-size:		large;
	font-weight:	bold;
}

div.tv_title input,
div.tv_title select,
div.tv_title .control
{
	float:			right;
	text-align:		center;
	vertical-align:	middle;
	margin-right:	10px;
}

div.tv_title select
{
	margin-top:		2px;
	text-align:		left;
}

.player_team
{
	font-size: x-large;
	font-weight: bold;
}

.teamlogo img
{
	padding: 20px;
	height: 108px;
}

/* Stat tables */
.statsFilter
{
	margin: 0;
	padding: 0;
}
.statsFilter li
{
	display: inline;
	margin: 0;
	padding: 0;
}

table.stats
{
	clear:				both;
	border:				none;
	background-color:	#FFFFFF;
	text-align:			center;
	margin:				10px auto 0px auto;
}
table.stats td
{
	text-align:		left;
	padding-left:	2px;
	padding-right:	2px;
	white-space:	nowrap;
	vertical-align:	top;
}

table.stats td.href 
{
	white-space:	normal;
}

table.stats th a,
table.stats td a 
{
	display:	block;
}

table.stats tr.alt, 
table.stats tr.altconfdiv
{
	background-color: #EFEFEF;
}
table.stats tr.confdiv td, 
table.stats tr.altconfdiv td
{
	  border-top: solid 2px #D0D0D0;
}

table.stats tr.confdiv td.sort, 
table.stats tr.altconfdiv td.sort
{
	border-top: solid 2px #B0B0B0;
}

table.stats th,
table.stats td.h

{
	font-weight:		bold;
	vertical-align:		top;
	text-align:			center;
	padding-left:		2px;
	padding-right:		2px;
	background-color:	#E0E0E0;
	white-space:		nowrap;
}

table.stats td.f
{
	padding-top:	3px;
	font-weight:	bold;
	font-style:		italic;
}
table.stats td.sort
{
	background-color: #D0D0D0;
}

/* GameDetails */
div#game_details
{
	float:			none;
	clear:			both;
	margin-bottom:	10px;
}

div#game_details table.stats_container
{
	width:		90%;
	text-align:	center;
	margin:		10px auto;
}

#game_details th,
#game_details td.h
{
	background-color: #D0D0D0;
}

#game_details table.playbyplay
{
	font-size: x-small;
}

#game_details table.playbyplay td 
{
	text-align:		left;
}

#game_details table.playbyplay_head
{
	width: 100%;
	border-bottom: solid 1px black;
}

#game_details table.stats
{
	font-size: xx-small;
}

#game_details .score
{
	padding: 10px;
	font-size: xx-large;
	font-weight: bold;
}
#game_details .team_name
{
	padding: 4px;
	font-weight: bold;
	font-size: larger;
}
#game_details td.h_period
{
	padding: 2px;
	font-size: x-small;
}
#game_details table.linescore
{
	background-color: #F0F0F0;
}
#game_details table.linescore td
{
	padding-left:3px;
	padding-right:3px;
}
#game_details table.linescore td.curprd
{
	font-weight: bold;
}
#game_details .game_clock
{
	font-family: Courier New;
	font-size: larger;
	font-weight: bold;
}
#game_details .date_time
{
	font-size: x-small;
}
#game_details .team_statistics td.h
{
	background-color: Transparent;
	font-style: italic;
	font-weight: bold;
	text-decoration: underline;
}
div.playbyplay
{
	overflow: auto;
	overflow-x: hidden;
	overflow-y: auto;
	height: 18em;
}

table.playbyplay
{
	width: 100%;
}

table.playbyplay tr.h
{
	background-color: #E0E0E0;
	font-weight: bold;
}
table.playbyplay tr.v
{
	background-color: #EFEFEF;
}

#ScopeListings h3
{
	text-align:			center;
	margin:				0px 0px 0px 0px;
	padding:			3px;
	background-color:	#D0D0D0;
}

#ScopeListings td
{
	width:				33%;
	padding-left:		10px;
}

div.scopeListing
{
	padding:			3px;
	background-color:	#EFEFEF;
	overflow:			auto;
	overflow-x:			hidden;
	overflow-y:			auto;
}

div.scopeListing a 
{
	display:			block;
	margin-bottom:		1px;
}

div.scopeListing a:hover 
{
	background-color:	#efefb0;
}