/* Tom's base CSS, with thanks to Eric Meyer, Shaun Inman, Mr J and others */

/* Contents 

html tags
basic classes
easy clearing
layout
header
nav
content
footer
*/

/* CSS reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, font, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, dl, dt, dd, ol, ul, li, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
/* remember to define focus styles! */
:focus { outline: 0; }
body { line-height: 1; color: black; background: white; text-align: left; }
/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* html tags */
body {
	font-family: Verdana, sans-serif;
    margin: 0;
    padding: 0 0 0 0;
	height: 100%;
    font-size: 76%;
	line-height: 1.4em;
	color: #000;
	background: #3D9B3C url(../i/bg.gif) repeat-y 0 0 scroll;
}
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
h1 {
	font-size: 1.5em;
	color: #000;
}
h2 {
	font-size: 1.4em;
	color: #000;
}
h3 {
	font-size: 1.3em;
	color: #000;
	line-height: 30px;
}
h4 {
	font-size: 1.2em;
	color: #000;
	line-height: 30px;
}
h5 {
	font-size: 1.1em;
	color: #000;
	line-height: 30px;
}
h6 {
	font-size: 1.0em;
	color: #000;
	line-height: 30px;
}
p, pre {
	color: #000;
	line-height: 30px;
}
pre {
	font-family: "Courier New", Courier, monospace;
}
blockquote {
	margin: 1em;
	padding: 1em;
	background: #f6f6f6;
}
a:link {
	color: #06e;
	text-decoration: none;
	border-bottom: 1px solid #06e;
}
a:visited {
	color: #33129F;
	text-decoration: none; 
	border-bottom: 1px solid #33129F;
}
a:hover { 
	color: #f90;
	text-decoration: none;
	border-bottom: 1px solid #f90;
}
a:active {
	color: #06c;
	text-decoration: none;
	border-bottom: 1px solid #06c;
}
ul, ol {
	margin: 0 0 0 30px;
	padding: 0;
}
li {
	margin: 0;
	padding: 0;
	line-height: 30px;
	color: #000;
}
dl {
	margin: 0;
	padding: 0;
}
dt {
	font-weight: bold;
	line-height: 30px;
}
dd {
	line-height: 30px;
	padding: 0 0 0 20px;
}

form { margin: 0; padding: 0; }
strong { font-weight: bold; }
img, a img { border: none; }
a:link img, a:visited img, a:hover img, a:active img { border-bottom: none; }

table, tr, th, td { margin: 0; padding: 0; border: none; font-size: 1em; }
table { border-collapse: collapse; }
th { font-size: 1em; font-weight: normal; }
th, td { padding: 0; text-align: left; }

acronym, abbr { border-bottom: 1px dotted #333; }
sup { line-height: 0; } /* hacked in ie6 */
/* basic classes */
.clear { clear: both; }
.clearleft { clear: left; }
.clearright { clear: right; }
.left { float: left; }
.right { float: right; }
.imgleft {
	float: left;
	padding: 0 10px 10px 0;
}
.imgright {
	float: right;
	padding: 0 0 10px 10px;
}
.imgcentre {
	display: block;
	margin: 0 auto;
}
.top1 { margin-top: 30px; }
.push0 { margin-bottom: 0; }
.push1 { margin-bottom: 30px; }
.push2 { margin-bottom: 60px; }
.skip {
	position: absolute;
	left: -1000px;
	width: 990px;
	height: 20px;
	margin-bottom: -20px;
}
/* easy clearing */
/* float clearing for IE6 */
* html #container, 
* html #prev-tables, 
* html .twocol, 
* html .threecol, 
* html .fourcol, 
* html .clearfix
{
 height: 1%;
 overflow: visible;
}
/* float clearing for IE7 */
*+html #container, 
*+html #prev-tables, 
*+html .twocol, 
*+html .threecol, 
*+html .fourcol, 
*+html .clearfix
{
 min-height: 1%;
}
/* float clearing for everyone else */
#container:after, 
#prev-tables:after, 
.twocol:after, 
.threecol:after, 
.fourcol:after, 
.clearfix:after
{
 clear: both;
 content: ".";
 display: block;
 height: 0;
 visibility: hidden;
}
/* Float Clearing - End */
#container {
	/* easycleared */
	width: 980px;
	margin: 20px 0 20px 1px;
	padding: 0;
	background: #fff;/* url(../i/grid.gif) repeat 0 20px scroll;
	*/
}
#header {
	width: 980px;
	height: 60px;
	margin: 0 0 20px 0;
}
#nav {
	width: 940px;
	height: 40px;
	padding: 0 0 0 20px;
	margin: 0 0 20px 0;
	background: #fff url(../i/bg_nav.gif) no-repeat 0 0 scroll;
}
#footer {
	width: 940px;
	height: 40px;
	padding: 0 20px 22px 20px;
	margin: 30px 0 0 0;
	background: #fff url(../i/bg_footer.gif) no-repeat 0 0 scroll;	
}
/* onecol */
.onecol {
	width: 940px;
	margin: 0 20px 0;
}
/* two col */
.twocol {
	/* easycleared */
	width: 940px;
	margin: 0 20px 0;
}
.twocol .leftcol {
	width: 640px;
	float: left;
}
.twocol .rightcol {
	width: 280px;
	float: right;
}
/* three col */
.threecol {
	/* easycleared */
	width: 940px;
	margin: 0 20px 0;
}
.threecol .leftcol {
	width: 300px;
	margin: 0 20px 0 0;
	float: left;
}
.threecol .centrecol {
	width: 320px;
	margin: 0 20px 0 0;
	float: left;
}
.threecol .rightcol {
	width: 280px;
	float: left;
}

/* four col */
.fourcol {
	/* easycleared */
	width: 900px;
	margin: 0 20px 30px;
}
.fourcol .col1 {
	width: 210px;
	margin: 0 20px 0 0;
	float: left;
}
.fourcol .col2 {
	width: 210px;
	margin: 0 20px 0 0;
	float: left;
}
.fourcol .col3 {
	width: 210px;
	margin: 0 20px 0 0;
	float: left;
}
.fourcol .col4 {
	width: 210px;
	float: left;
}

/* header */
#header h1 {
	width: 960px;
	height: 40px;
	padding: 20px 0 0 20px;
	background: transparent url(../i/header.gif) no-repeat 0 0 scroll;
}
#header h1 a {
	display: block;
	width: 510px;
	height: 40px;
	text-indent: -999em;
	border: none;
}
/* nav */
#nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	height: 40px;
}
#nav ul li {
	float: left;
	height: 40px;
	text-align: center;
	line-height: 40px;
}
#nav ul #ntb { width: 120px; }
#nav ul #npl { width: 100px; }
#nav ul #nru { width: 80px; }
#nav ul #n78 { width: 100px; }
#nav ul #n89 { width: 100px; }
#nav ul #n91 { width: 100px; }
#nav ul a {
	width: 100%;
	height: 100%;
	display: block;
	color: #fff;
	border: none;
}
#nav ul a:hover {
	background: transparent url(../i/nav_hover.gif) repeat-x 0 0 scroll;
}
#nav ul li.selected {
	background: transparent url(../i/nav_selected.gif) repeat-x 0 0 scroll;
}
#nav ul li.selected a:hover {
	background: none;
}

/* content */

#content h2 {
	margin: 0;
	padding: 0;
	font-size: 17px;
	height: 30px;
	line-height: 30px;
	font-variant: small-caps;
	color: #328332;
	font-family: Verdana, sans-serif;
}

/* tables */
table {
	margin: 0 0 30px 0;
	padding: 0;
	width: 100%;
}
tr {
	margin: 0;
	padding: 0;
}
tr.alt {
	background: #f0f4f9;
}
th, td {
	margin: 0;
	padding: 0;
	height: 30px;
	line-height: 30px;
}
th, .total td {
	background: #363636;
	color: #fff;
	text-align: center;
}
th a:link, th a:visited {
	color: #f90;
	border: none;
}
th a:hover, th a:active {
	color: #f90;
	border: none;
	text-decoration: underline;
}
td {
	
}
/* generic table classes */
.t20  { width:  20px; }
.t40  { width:  40px; }
.t60  { width:  60px; }
.t100 { width: 100px; }
.t180 { width: 180px; }
.t200 { width: 200px; }
.t220 { width: 220px; }
.t240 { width: 240px; }

th.textleft, td.textleft     { text-align: left; text-indent: 3px; }
th.textright, td.textright   { text-align: right; }
th.textcentre, td.textcentre { text-align: center; }

/* main league table */
#leagueTable td.league-pos {
	width: 60px;
	text-align: center;
}
#leagueTable td.league-name {
	width: 380px;
	text-align: left;
	text-indent: 3px;
}
#leagueTable th.league-name { text-align: left; text-indent: 3px; }
#leagueTable td.league-thisweek {
	width: 40px;
	text-align: center;
}
#leagueTable td.league-thisweek-wide { width: 80px; text-align: center; }
#leagueTable td.league-thisweekimg {
	width: 40px;
	text-align: center;
}
#leagueTable td.league-motm {
	width: 60px;
	text-align: center;
}
#leagueTable td.league-points {
	width: 60px;
	text-align: center;
}
#leagueTable tr.pos1 { background: #ccffcc; }
#leagueTable tr.pos2 { background: #eeffee; }
#leagueTable tr.pos3 { background: #ccffcc; }
#leagueTable tr.pos4 { background: #eeffee; border-bottom: 1px solid #000; }
/* hacked in ie6 */
#leagueTable tr.pos4 td { height: 29px; line-height: 29px; }

#leagueTable.motm tr.pos1 { background: #ccffcc; border-bottom: 1px solid #000; }
/* hacked in ie6 */
#leagueTable.motm tr.pos1 td { height: 29px; line-height: 29px; }
#leagueTable.motm tr.pos2 { background: #f0f4f9; }
#leagueTable.motm tr.pos3 { background: #ffffff; }
#leagueTable.motm tr.pos4 { background: #f0f4f9; border-bottom: none; }
#leagueTable.motm tr.pos4 td { height: 30px; line-height: 30px; }

#leagueTable.thisweek tr.pos1 { background: #ffffff; }
#leagueTable.thisweek tr.pos2 { background: #f0f4f9; }
#leagueTable.thisweek tr.pos3 { background: #ffffff; }
#leagueTable.thisweek tr.pos4 { background: #f0f4f9; border-bottom: none; }
#leagueTable.thisweek tr.pos4 td { height: 30px; line-height: 30px; }

span.up   { color: #328332; font-weight: bold; }
span.down { color: #cc3300; font-weight: bold; }
span.same { color: #000000; font-weight: bold; }


/* players list table */
#playerlist td.players-rank {
	width: 40px;
	text-align: center;
}
#playerlist td.players-pos {
	width: 60px;
	text-align: center;
}
#playerlist td.players-name {
	width: 180px;
	text-align: left;
	text-indent: 3px;
}
#playerlist th.players-name { text-align: left; text-indent: 3px; }
#playerlist td.players-team {
	width: 100px;
	text-align: left;
	text-indent: 3px;
}
#playerlist th.players-team { text-align: left; text-indent: 3px; }
#playerlist td.players-cost {
	width: 60px;
	text-align: center;
}
#playerlist td.players-pointsbf {
	width: 40px;
	text-align: center;
}
#playerlist td.players-pointsaf {
	width: 40px;
	text-align: center;
}
#playerlist td.players-points {
	width: 60px;
	text-align: center;
}
#playerlist td.players-ppm {
	width: 60px;
	text-align: center;
}

/* teamsheet */
#teamsheet td.team-pos {
	width: 60px;
	text-align: center;
}
#teamsheet td.team-name {
	width: 180px;
	text-align: left;
}
#teamsheet th.team-name { text-align: left; text-indent: 3px; }
#teamsheet td.team-team {
	width: 100px;
	text-align: left;
}
#teamsheet th.team-team { text-align: left; text-indent: 3px; }
#teamsheet td.team-cost {
	width: 60px;
	text-align: center;
}
#teamsheet td.team-pointsbf {
	width: 60px;
	text-align: center;
}
#teamsheet td.team-pointsaf {
	width: 60px;
	text-align: center;
}
#teamsheet td.team-points {
	width: 60px;
	text-align: center;
}
#teamsheet .total th { text-align: left; text-indent: 20px; }

#teamsheet tr td.tr     { background: #efe; }
#teamsheet tr.alt td.tr { background: #cfc; }

#teamsheet tr td.nonpoints     { color: #999; }

/* player info */
#playerinfo th.row			{ width: 320px; background: #fff; color: #000; }
#playerinfo tr.alt th.row	{ background: #f0f4f9; }

/* previous league tables */
#prev-tables {
	/* easy cleared */
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
}
#prev-tables li {
	width: 30px;
	height: 30px;
	margin: 0 10px 10px 0;
	line-height: 30px;
	text-align: center;
	float: left;
}
#prev-tables li a {
	display: block;
	width: 30px;
	height: 30px;
	background: #328332;
	color: #fff;
	border: none;
}
#prev-tables li a:hover { text-decoration: underline; }

#prev-tables li.selected {
	width: 30px;
	height: 30px;
	margin: 0 10px 10px 0;
	line-height: 30px;
	background: #115511;
	color: #fff;
	text-align: center;
	float: left;
}
#prev-tables li.thisweek {
	width: 100px;
}
#prev-tables li.thisweek a {
	width: 100px;
}

/* old league table */

#leagueTableOld td.league-pos {
	width: 40px;
	text-align: center;
}
#leagueTableOld td.league-name {
	width: 520px;
	text-align: left;
	text-indent: 3px;
}
#leagueTableOld th.league-name { text-align: left; text-indent: 3px; }
#leagueTableOld td.league-points {
	width: 40px;
	padding-right: 40px;
	text-align: right;
}
#leagueTableOld th.league-points { text-align: left; text-indent: 3px; }
#leagueTableOld tr.pos1 { background: #ccffcc; }
#leagueTableOld tr.pos2 { background: #eeffee; }
#leagueTableOld tr.pos3 { background: #ccffcc; border-bottom: 1px solid #000; }
#leagueTableOld tr.pos3 td { height: 29px; line-height: 29px; }

/* footer */
#footer #email, #footer #url {
	float: right;
	height: 40px;
	text-align: right;
	line-height: 40px;
	padding-right: 20px;
	display: inline;
}
#footer #email { width: 200px; }
#footer #url   { width: 110px; }

#footer #email a, #footer #url a {
	width: 100%;
	height: 100%;
	display: block;
	color: #fff;
	border: none;
}
