body{
 	background-color: #CCC;
	margin:0;
	padding:0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	background: url(../images/main.gif) repeat-y top center #CCC;
}
h1{
font-size: 18px;
	color: #A80002;
	margin-left: 5px;
}
h2{
	color: #0F50A3;
	margin-left: 5px;
}
h3{
	margin-left: 5px;
	margin-bottom: 0;
}
h4, h5{
margin-left: 5px;
}
p{
margin-left: 5px;
}
img{
	border: 0px;
}
th{
	text-align: left;
}
#container{
	width: 970px;
	
	margin: 0 auto;
	
}

#header{
	background: url(../images/header.gif) repeat-x bottom #7DB4EA;
	height: 180px;
	width: 940px;
	margin: 0 15px;
}

#headerAdmin{
	background: url(../images/header.gif) repeat-x bottom #7DB4EA;
	height: 143px;
	width: 940px;
	margin: 0 15px;
}

#logo{
	float: left;
	
}

#nav
{	
	font-size: 10px;
	text-align: center;
	width: 690px;
	height: 21px;
	float: left;
	margin-top: 27px;	
}

#navAdmin
{	
	font-size: 10px;
	text-align: center;
	width: 690px;
	height: 21px;
	float: left;
	margin-top: 90px;	
}

#subnav
{
	margin-top: 3px;
	font-size: 8px;
	text-align: center;
	width: 690px;
	height: 21px;
	float: left;	
}
#subsubnav
{
	margin-top: 6px;
	margin-left:250px;
	font-size: 8px;
	text-align: center;
	width: 690px;
	height: 21px;
	float: left;	
}

#nav ul, #subnav ul, #navAdmin ul, #subsubnav ul
{
	padding: 0;
	padding-left: 15px;
	margin-left: 0;
	margin-top: 0;
}


#nav li, #navAdmin li
{
	text-align: center;
	float: left;
	padding-top: 3px;
	width: 93px;
	list-style-type:square;
	list-style-image: url(../images/nav_ball.gif);
	font-size: 10px;
	height:100%;
}

#subnav li, #subsubnav li
{
	text-align: center;
	float: left;
	padding-top: 3px;
	width: 93px;
	list-style-type:none;
	font-size: 10px;
	height:100%;
}

#nav a:link, #nav a:visited, #nav a:active,
#navAdmin a:link, #navAdmin a:visited, #navAdmin a:active
{
	text-decoration: none;
	color: #FFF;
	
	
}
#nav a:hover, #navAdmin a:hover
{
	
	color: #F00;
}

a:link, a:visited, a:active
{
	text-decoration: none;
	color: #A80002;
	
}
a:hover
{
	
	color: #7DB4EA;
	
}
ul.fields li
{
	list-style-image: url(../images/nav_ball.gif);
	margin-top: 5px;
	width: 226px;
	float:left;
}

#main{
	
	margin: 20px 25px;
}
#footer{
clear: both;
}
div.tabtop{
	border-bottom: 1px solid #CCC;
	width: 24px;
	margin-left: 125px;
}
div.tabup{
	width: 150px;
	font-size: 8pt;
}
div.tabdown{
	width: 150px;
	font-size: 8pt;
}
div.tabup a:link, div.tabup a:active, div.tabup a:visited,
div.tabdown a:link, div.tabdown a:active, div.tabdown a:visited
{
	width: 20px;
	display: block;
	border: 1px solid #CCC;
	border-top: none;
	padding: 0 2px;
	margin-left: 125px;
	text-align: right;
}
div.tabup a:link, div.tabup a:active, div.tabup a:visited{	background: #A80002;color:#FFF;	}
div.tabdown a:link, div.tabdown a:active, div.tabdown a:visited{ background: #EEE;}

div.tabup a:hover{	background: #FFF;color:#A80002;}
div.tabdown a:hover{	background: #FFF;}
div.game{
	width: 210px;
	margin-left: 5px;
	margin-right: 25px;
	margin-bottom: 25px;
	float: left;
}
div.game a:link, div.game a:active, div.game a:visited,
a.team:link, a.team:active, a.team:visited
{
	color: #000;
}
div.game a:hover,
a.team:hover
{
	color: #A80002;
	text-decoration: underline;
}
div.game div.time{
	float:left;
	width: 105px;
	font-weight: bold;
	font-size: 8pt;
}
div.game div.field{
	float:left;
	text-align: right;
	width: 105px;
	font-size: 8pt;
	color: #666;

}
div.game div.final{
	width: 210px;
	text-align: right;
	font-size: 8pt;
}
div.game table{
	clear: both;
	border: 1px solid #A80002;
	border-bottom: 0px;
	width: 210px;
	margin-top: 3px;
	background-color: #FFF;
}
div.game td{
	border-bottom: 1px solid #A80002;
	font-size: 8pt;
}
a.tab:link, a.tab:active, a.tab:visited, a.tab:hover
{
	width: 130px;
	text-align:center;
	color: #000;
}
ul#tabs
{
	
	padding: 0;
	margin-bottom: 0;
	
	margin-left: 0;
	margin-top: 0;
	
}
ul#tabs li
{
	
	width: 100px;
	list-style-type:none;
	border-left: 1px solid #999;
	border-bottom: 1px solid #999;
	border-top: 1px solid #999;
	background: #CADBEA;
	float: left;
	margin: 0;
	padding: 3px;
}
ul#tabs li.start
{
	width: 3px;
	border-left: none;
	border-right: none;
	border-top: 1px solid #F3F3EC;
	background: none;
}
ul#tabs li.fill
{
	width: 30px;
	border-left: 1px solid #999;
	border-right: none;
	border-top: 1px solid #F3F3EC;
	background: none;
}
ul#tabs li.active
{
	
	background: none;
	border-bottom: #F3F3EC; 
	border-left: 1px solid #999;
	font-weight: bold;
}
ul#tabs li.games
{
	clear:left;
	background: none;
	border-top: none;
	border-left: none;
	border-bottom: none;
	padding: 0px;
	width: 590px;
	
}
ul#tabs li.games div
{
	margin: 10px;
}

#d1playoffs, #d1season, #d2playoffs, #d2season, #upcoming
{
	display: none;
}

/********** bracket *************/
td.top
{
	width: 130px;
	border-bottom: 1px solid #000;
}
td.pks {
	width: 10px;
	border-bottom: 1px solid #000;
	text-align: right;
}


td.mid
{
	border-right: 1px solid #000;
}
td.bot
{
	width: 130px;
	border-bottom: 1px solid #000;
}
td.loc
{
	border-right: 1px solid #000;
	font-style:italic;
	font-size: 10px;
	text-align:center;
}
td.scoretop
{
	padding-right: 5px;
	text-align: right;
	border-bottom: 1px solid #000;
	width: 10px;
	font-weight: bold;
	color: #A80002;
}
td.scorebot
{
	padding-right: 5px;
	text-align: right;
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
	width: 10px;
	font-weight: bold;
	color: #A80002;
}
#message
{
	border: 1px solid #A80002;
	padding: 10px;
	font-weight: bold;
	margin-bottom: 10px;
}
.cellname 
{
	width: 150px;
	font-weight: bold;
}
.smallText,
table.small td.smallText{
	font-size:6pt;
}

.adminLink{
	width: 200px;
	float: right;
	text-align: right;
}
#preview{
	float: left;
	margin-left: 20px;
}
#logout{
	position:relative;
	top: -80px;
	left: 250px;
	width: 680px;
	text-align: right;
	color: #FFF;
}
#logout .user
{
	color:#FFCC00;
	padding-right: 5px;
	border-right: 1px dotted #FFF;
}
#logout a:link, #logout a:active, #logout a:visited,
#preview a:link, #preview a:active, #preview a:visited{
	color: #FFF;
}
#logout a:hover,
#preview a:hover{
	color: #A80002;
}

#teaminfo{
	float: left;
	width: 240px;
	margin-left: 10px;
	margin-bottom: 10px;
}
#teaminfo table{
	border: 1px solid #CCC;
}

#teamresults{
	float: left;
	width: 450px;
	border-right: 1px dotted #CCC;
	padding-right: 10px;
}
#teamresults thead td,#teaminfo thead td,
#teamresults h3,#teaminfo h3
{
	border: 3px double #FFF;
	background-color: #518CCE;
	color: #FFF;
	font-weight: normal;
	font-size: 10pt;
}
#teamresults h3,#teaminfo h3
{
padding: 3px;
}
tr.highlight td{
	background-color: #EFA4A7;
}

.yellow{
	height: 16px;
	width: 16px;
	background-color:#FF0;
	border: 1px solid #666
}
.red{
	height: 16px;
	width: 16px;
	background-color:#C00;
	border: 1px solid #666
}

.person{
	float: left;
	width: 295px;
	margin-bottom: 10px;
	margin-left: 10px;
}
.person .title{
	font-weight:bold;
}
tr.header td {
	border-bottom: 1px solid #BBB;
	font-weight:bold;
}
.border td
{
	border-bottom: 1px dotted #CCC;
}

#header .ad{
	text-align: center;
}
.ad img{
	padding: 5px;
}
div.ads{
float: right;
margin-left: 10px;
}
#main div.ad{
	border: 1px solid #CCC;
	
	margin-bottom: 10px;
}

.display td{
	border-bottom: 1px dotted #CCC;
}
.notdisplay td{
	border-bottom: none;
}

.login {
	width: 250px;
	float: right;
}
.login  legend{
	font-weight: bold;
	color: #A80002;
}

.loginbox{
	font-size:9pt;
	width: 150px;
}
.loginbttn{
	float: right;
}

legend{
	font-weight: bold;
}
fieldset{
	margin-bottom: 10px;
	font-size: 8pt;
	margin-left: 20px;
}
ol li{
	margin: 5px 0;
}

table.small td
{
	font-size: 8pt;
}