/* The graphical banner / header */
/* Each banner must have its own ID, and be entered in the CMS database */
#logo {
	margin: 11px 0 0 15px;
}
.wideBanner {
	height: 102px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	padding: 0;
	background-color: #fff;
	width: 100%; 
	position: relative; 
	z-index: 13;
}
.wideBanner#header {
	background-image: url(../images/headers/trophy.jpg);
}
.wideBanner#headerFootball {
	background-image: url(../images/headers/boot_on_grass.jpg);
}





/* 3 col layout based on http://www.redmelon.net/tstme/3cols2/noborder.htm */

body {
	text-align: center;
	font-size: 12px;
}
.wrapper {
	width: 750px;               /* total width */
	margin-left: auto;	/* Centre the container box */
	margin-right: auto;
	text-align: left;
}      

.outer {
	border-left-width: 150px;  /* left column width */
	border-left-color: #00682A;   /* left column colour */
	
	border-right-width: 180px; /* right column width */
	border-right-color: #ccc;  /* right column colour */
	
	background-color: #fff; /* center column colour */
}

.left {
	width: 150px;              /* left column width */
	margin-left: -150px;       /* _negative_ left column width */
}

.right {
	width: 180px;              /* right column width */
	margin-right: -180px;      /* _negative_ right column width */
}

.wide {
	background-color: #fff;    /* header and footer colours */
}

/* Main code */

.outer { width: auto; border-left-style: solid; border-right-style: solid; }
.inner { margin: 0; width: 100%; }

.left { float: left; position: relative; /*z-index: 10;*/ z-index: 10; }
.right { float: left; position: relative; /*z-index: 11;*/ z-index: 11;}
.main { float: left; width: 100%; position: relative; /*z-index: 12;*/ z-index: 12; padding-bottom: 2em; padding-top: 2em;}
.wide { width: 100%; position: relative; /*z-index: 13;*/ z-index: 13;}

.clear { clear: both; }

/* Mozilla code */
.outer > .inner { border-bottom: 1px solid #fff; }
.left { margin-right: 1px; }
.right { margin-left: 1px; }
.right p { padding-left: 15px; padding-right: 15px;}
.main { margin: 0 -8px 0 -2px; }









/* General setup */

body { 
	margin: 10px 0 0 0; 
	padding: 0; 
	color: #000; 
	background-color: #fff; 
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	font-size: 13px;
}

a {
	color: #006600;
}
a:link {
	color: #006600;
}
a:visited {
	color: #004400;
}
a:hover {
	color: #009900;
}
a:active {
	color: #339900;
}

h1 a:link {
	color: #BF2D02;
}
h1 a:visited {
	color: #7D0000;
}
h1 a:hover {
	color: #EE3702;
}
h1 a:active {
	color: #DD7002;
}





.right { 
	padding-top: 3em;
}

.normal { font-style: normal; }




/* Main navigation */
ul#mainNavigation {
	padding: 0;
	margin: 0;
	border-top: 1px solid #FFFFFF;
	background-image: url(../images/nav_gradient.gif);
}
ul#mainNavigation li {
	list-style-type: none;
	padding: 0.3em 10px 0.5em 10px;
	background-image: url(../images/nav_sep_line.gif);
	background-repeat: repeat-x;
	background-position: bottom center;
}
/* SEE BOX MODEL HACK AT END OF THIS STYLESHEET */
ul#mainNavigation li a, ul#mainNavigation li a:link {
	color: #fff;
	text-decoration: none;
	margin: 0;
}
ul#mainNavigation li a:visited {
	color: #eee;
}
ul#mainNavigation li a:hover {
	color: #C7EFB8;
}
ul#mainNavigation li a:active {
	color: #fff;
}
li#navSelected {
	font-weight: bold;
	background-color:#008A37;
}





/* The ticker */
.wide#tickerContainer {
	background-color: #ccc;
	font-size: 0.8em;
	border-top: 1px solid #FFFFFF;
}
.wide#tickerContainer p {
	margin: 0 0 0 9px;
	padding: 0.5em 0 0.5em 0;
}	 


/* Copyright */
.wide#copyright {
	color: #999;
	font-size: 0.7em;
}
.wide#copyright p {
	margin: 0 0 0 9px;
	padding: 0.6em 0 0.6em 0;
}	


/* Main content */
.main p, .main ul  { 
	margin: 0.7em 20px 0.7em 45px; 
	font-size: 0.85em;
	line-height: 1.4em;
}
.main ul  {
	margin: 1em 0 0.75em 45px; 
	padding: 0 25px 0 45px;
}
.main h1 {
	margin: 0.7em 0 0.7em 20px;
	font-weight: bold;
	color: #990000;
	font-size: 1.2em;
}
.main h2, .right h2 {
	margin: 2em 0 0.75em 45px;
	font-weight: bold;
	color: #00682A;
	font-size: 0.9em;
}
.right h2 { 
	margin: 0 10px 0 20px;
}


/* Homepage news headlines */
.newsHeadline a {
	font-weight: bold;
}



/* League finder */
#leagueFinder h1, #leagueStatFinder h1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	color: #FFFFFF;
	font-weight: bold;
	margin: 0 8px;
	padding: 0;
}
#leagueFinder p, #leagueStatFinder p {
	font-size: 0.8em;
	color: #FFFFFF;
	margin: 4px 8px 0 8px;
	padding: 0;
}
#leagueFinder form {
	margin: 8px 0 0 0;
}	
#leagueContainer {
	width: 750px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 5000;
}
#leagueFinder {
	width: 164px;
	margin: 20px 8px 0 0;
	z-index: 100;
	position: absolute;
	right: 0px;
	top: 0px;
	padding: 0;
	font-size: 0;
	line-height: 0;
}
#leagueStatFinder {
	width: 164px;
	margin: 0 0 3px 16px;
	padding: 0;
	font-size: 0;
	line-height: 0;
}
* html #leagueStatFinder { /* for IE */
	margin: 0 0 3px 16px;
}

#leagueFinderBody, #leagueStatFinderBody {
	font-size: 12px;
	line-height: normal;
	width: 162px;
	background-color: #00732E;
	border-left: 1px solid #FFFFFF;
	border-right: 1px solid #FFFFFF;
	background-image: url(../images/league_finder_gradient.gif);
	background-position: bottom;
	background-repeat: repeat-x;
	margin: 0;
}
#leagueStatFinderBody  {
background-image: url(../images/league_finder_gradient_small.gif);
}
#leagueFinderTop, #leagueFinderBottom, #leagueStatFinderTop, #leagueStatFinderBottom {
	width: 164px;
	height: 9px;
	background-repeat: none;
	margin: 0;
	font-size: 0;
	line-height: 0;
}
#leagueFinderTop, #leagueStatFinderTop {
	background-image: url(../images/league_finder_top.gif);
	background-position: bottom;
}
#leagueFinderBottom, #leagueStatFinderBottom {
	background-image: url(../images/league_finder_bottom.gif);
	background-position: top;
}

#leagueFinder select, #leagueFinder input,  #leagueStatFinder select, #leagueStatFinder input {
	font-size: 0.8em;
	margin: 2px 8px;
}
#leagueFinder  a:link, #leagueStatFinder  a:link {
	color: #fff;
}
#leagueFinder  a:visited, #leagueStatFinder  a:visited {
	color: #fff;
}
#leagueFinder a:hover, #leagueStatFinder a:hover {
	color: #CBEFD6;
}
#leagueFinder  a:active, #leagueStatFinder  a:active {
	color: #fff;
}
#leagueStatFinder h1 a {
	text-decoration: none;
}
form.leagueFinder, form.leagueStatFinder { /* inline form, e.g. on app form */
	margin: 0;
}






#leagueFinderResults {
	background-color: #F9F9F9;
	border: 1px solid #CCCCCC;
	margin: 0 25px 0 45px;
	padding: 4px;
	font-size: 0.8em;
}
#leagueFinderResults input, #leagueFinderResults select {
	font-size: 0.9em;
}
#leagueFinderResults form {
	margin: 4px 0;
}
.newsStorySummary {
	font-weight: bold;
	border-top: 2px solid #CCCCCC;
	border-bottom: 2px solid #CCCCCC;
	padding-top: 5px;
	padding-bottom: 5px;
}
.newsMoreLink {
	font-weight: bold;
	padding-top: 5px;
	border-top: 2px solid #cccccc;
}



/* Forms */
div.formRow {
	clear: both;
	padding: 3px 0;
	margin: 3px 0;
}

div.formRow label {
  float: left;
  width: 100px;
  text-align: right;
  font-size: 0.8em;
  font-weight: bold;
  display: block;
  padding-left: 45px;
  
}

div.formRow span.formElement {
  float: right;
  width: 260px;
  text-align: left;
  display: block;
} 

div.formRow span.formElement input, div.formRow span.formElement select {
	font-size: 0.7em;
	margin: 1px 0;
}
div.formRow span.formElement input.fixedWidth {
	width: 230px;
}
.required {
	color: #990000;
}



/* Specific forms */
form#tellafriend {
	margin-top: 25px;
}
.formOptional {
	border: 1px solid #999999;
	background-color: #FFFFF0;
	clear: both;
	padding: 0 0 5px 0;
	margin: 25px 5px 5px 5px;
}
div.formOptional div.formRow  span.formElement {
  width: 255px;
}
* html div.advertisingLogo { /* For IE */
	margin: 8px 0 8px 16px;
}
div.advertisingLogo {
	text-align: center;
	width: 164px;
	margin: 8px 0 8px 16px;
	padding: 0;
}


div.advertisingLogo img {
}


.teamSummary, .playerSummary {
	font-size: 0.8em;
	margin: 10px 10px 10px 45px;
}	
.teamSummary th {
	text-align: right;
	padding: 2px;
	color:#006600;
}
.teamSummary td, .playerSummary td {
	text-align: left;
	padding: 2px;
}


.playerSummary {
	border-top: 1px solid #eeeeee;
}
.playerSummary th {
		color: #FFFFFF;
	background: #006600 url(../images/bground_header.gif) repeat-x bottom;
	padding: 4px;
}
.playerSummary td {
	border-bottom: 1px solid #eeeeee;
}


.leagueTable {
	border: 1px solid #CCCCCC;
	font-size: 0.8em;
	margin: 10px 20px 10px 45px;
	width: 355px;
}
.leagueTable th {
	color: #FFFFFF;
	background: #006600 url(../images/bground_header.gif) repeat-x bottom;
	padding: 4px;
}
.leagueTable td {
	border-top: 1px solid #eeeeee;
	padding: 4px;
}
.leagueTable tr.odd {
	background-color: #fff;
}
.leagueTable tr.even {
	background-color: #efefef;
}
.upcomingMatches {
	font-size: 0.9em;
	border-bottom: 1px solid #eeeeee;
	margin: 5px 20px 5px 45px;
	padding: 0 0 5px 0;
}
.upcomingMatches p {
	margin: 0;
}
.topScorers {
	font-size: 0.8em;
	margin: 8px 10px 0 20px;
	width: 156px;
	border-top: 1px solid #eeeeee;
}
.topScorers th {
	display: none;
	padding: 3px 2px;
	border-top: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
	
}
.topScorers td {
	padding: 3px 2px;
	border-bottom: 1px solid #eeeeee;
}
.leagueStatsBreadcrumbs {
	background-color: #eeeeee;
	border: 1px solid #dddddd;
	padding: 2px;
	
}
#rhLeagueStats {
	margin: 20px 2px 8px 16px;
	border: 1px solid #030;
}
#makeFavourite {
	margin: 0 2px 20px 18px;
	border: 1px solid #999999;
	padding: 0;
	background: #BFC8B9 url(../images/box_gradient.gif) repeat-x bottom;
}	
#makeFavourite  h2 {
	padding: 0;
	margin: 0.5em;
}
#makeFavourite  p {
	font-size: 0.8em;
	padding: 0 0 0.5em 0;
	margin: 0.5em;
}
.vs {
	font-weight: normal;
}



table.matchResults {
	margin: 0 20px 0 45px;
	background: #BFC8B9 url(../images/box_gradient.gif) repeat-x bottom;
	border: 1px solid #00682A;
}
table.matchResults td {
	padding: 4px;
}
table.matchResults td.teamName {
	font-weight: bold;
}
table.matchResults td.scorers {
	font-size: 0.8em;
	font-style:italic;
	vertical-align: top;
}
table.matchResults td.score {
	font-weight: bold;
}

.dim {
	color: #999999;
}
tr.promotionRow td.leaguePosition{
	color: #009900;
}
tr.demotionRow td.leaguePosition {
	color: #990000;
}
tr.lastPromotionRow td {
	border-bottom: 1px dotted #bbbbbb;
}
tr.firstDemotionRow td {
	border-top: 1px dotted #bbbbbb;
}
tr.differentDate td {
	border-top: 1px solid #bbbbbb;
}
.smallPrint {
	font-size: 0.8em;
}

#seasonSwitcher {
	margin-left: 45px;
	margin-top: 20px;

}
#seasonSwitcher select {
	font-weight: bold;
	color: #000000;
	width: 300px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}
.seasonSwitcherSelected {
	color: #000000;
	font-weight: bold;
}
.seasonSwitcherNotSelected {
	font-weight: normal;
	color: #333333;
}	
th.noBground { /* Used on the Team Profile page */ 
	background-image: none;
	background-color: #006600;
}
th.minorHeading { /* Used on the Team Profile page */ 
	font-weight: normal;
}

h2 .lessImportant {
	font-weight: normal;
}


/* Hack for many IE bugs, including peekaboo:
http://www.positioniseverything.net/articles/hollyhack.html */
/* Hides from IE5-mac \*/
* html .buggybox, * html #mainNavigation, * html .formOptional, * html ul li a  {height: 1%;}
/* End hide from IE5-mac */

/* Box model hack is necessary for margins on <IE5.5, or it has funny indent */
		ul#mainNavigation li { 
		  margin: 0 0 0 -15px;
		  voice-family: "\"}\""; 
		  voice-family:inherit;
		  margin: 0;
		} 
		html>body ul#mainNavigation li {
		  margin: 0;
		} 

/* End box model hack */	
