/*****************************************************************************/
/* Common page styles.                                                       */
/*****************************************************************************/

/*---------------------------------------------------------------------------*/
/* General styles.                                                           */
/*---------------------------------------------------------------------------*/

a
{
	color: #5db3ff;
	font-weight: bold;
	text-decoration: none;
}

a:active,
a:hover
{
	text-decoration: underline;
}

a img
{
	border-style: none;
}

body
{
	background-color: #000000;
	background-image: url("../graphics/pageBg.jpg");
	background-position: left 36px;
	background-repeat: no-repeat;
	color: #f0f0f0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 22px;
	margin: 0px;
	padding: 0px;
}

h1
{
	font-size: 20px;
}

h2
{
	font-size: 18px;
}

h3
{
	font-size: 16px;
}

td, th
{
	padding: 2px .2em;
}

/* Remove extra spacing in table cells inserted by some browsers. */

td > h1:first-child, th > h1:first-child,
td > h2:first-child, th > h2:first-child,
td > h3:first-child, th > h3:first-child,
td > h4:first-child, th > h4:first-child,
td > h5:first-child, th > h5:first-child,
td > h6:first-child, th > h6:first-child,
td > p:first-child, th > p:first-child,
td > div > p:first-child, th > div > p:first-child,
div.message > p:first-child
{
	margin-top: 0px;
}

td > h1:last-child, th > h1:last-child,
td > h2:last-child, th > h2:last-child,
td > h3:last-child, th > h3:last-child,
td > h4:last-child, th > h4:last-child,
td > h5:last-child, th > h5:last-child,
td > h6:last-child, th > h6:last-child,
td > p:last-child, th > p:last-child,
td > div > p:last-child, th > div > p:last-child,
div.message > p:last-child
{
	margin-bottom: 0px;
}

/*---------------------------------------------------------------------------*/
/* Form elements.                                                            */
/*---------------------------------------------------------------------------*/

input,
option,
select,
textarea
{
	color: #547898;
	font-size: 14px;
	font-weight: bold;
}

textarea
{
	font-family: Arial, Helvetica, sans-serif;
}

input[type="text"],
input[type="password"],
select,
textarea
{
	border: 1px solid #809cb8;
}

input.button
{
	background-color: #000000;
	background-image: url('../graphics/buttonBg.png');
	background-position: left top;
	background-repeat: repeat-x;
	border: 1px solid #404040;
	color: #ffffff;
	font-weight: bold;
	padding: .5ex .75em .75ex .75em;
	border-radius: .25em;
	text-shadow: -1px -1px 1px #000000;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
	box-shadow: 0px 0px 2px #808080;
	-moz-box-shadow: 0px 0px 2px #808080;
	-webkit-box-shadow: 0px 0px 2px #808080;
}

input.button[class]
{
	overflow: visible; /* Removes extra padding in IE. */
	width: 0px;
}

input.button[class]
{
	width: auto; /*  Undo the above for non-IE. */
}

input.button:hover
{
	background-color: #202020;
	background-image: url('../graphics/buttonHoverBg.png');
}

input.button:active
{
	position: relative;
	left: 1px;
	top: 1px;
	box-shadow: 0px -1px 2px #404040, inset 0px 0px 4px #808080;
	-moz-box-shadow: 0px -1px 2px #404040, inset 0px 0px 4px #808080;
	-webkit-box-shadow: 0px -1px 2px #404040, inset 0px 0px 4px #808080;
}

input.numeric
{
	text-align: right;
}

input.readonly
{
	background-color: #f7f7f7;
	border: 1px solid #b0b0b0;
	color: #b0b0b0;
}

/* Used with the TinyMCE control. */

.htmlEditorArea div
{
	border: 1px solid #809cb8;
	margin: 1em;
}

.htmlEditorArea input,
.htmlEditorArea select,
.htmlEditorArea textarea 
{
	color: #000000;
}

.mceContentBody
{
	background-color: #ffffff;
	background-image: none;
	color: #000000;
}

/* Used to indicate invalid fields. */

div.fieldError,
input.fieldError,
select.fieldError,
textarea.fieldError,
.htmlEditorArea.fieldError
{
	background-color: #fff0f0;
	border-color: #400000;
	color: #800000;
	box-shadow: 0px 0px 2px #800000;
	-moz-box-shadow: 0px 0px 2px #800000;
	-webkit-box-shadow: 0px 0px 2px #800000;
}

select.fieldError option
{
	background-color: #fff0f0;
	color: #800000;
}

div.fieldError,
.htmlEditorArea.fieldError
{
	border: 1px solid;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

/*---------------------------------------------------------------------------*/
/* Page header.                                                              */
/*---------------------------------------------------------------------------*/

#titleBar
{
	background-color: #003a73;
	background-image: url("../graphics/titleBarBg.png");
	background-position: left center;
	background-repeat: repeat-x;
	border-bottom: 1px solid #000000;
	border-top: 2px solid #000000;
	font-size: 12px;
	font-weight: bold;
	line-height: normal;
}

#titleBar a,
#titleBar a:active,
#titleBar a:hover,
#titleBar a:visited
{
	color: #ffffff;
}

#status
{
	background-color: #ffffff;
	background-image: url("../graphics/statusBg.png");
	background-position: left top;
	background-repeat: no-repeat;
	border: 1px solid #000000;
	color: #000000;
	float: right;
	padding: 1px 1em;
	white-space: nowrap;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#status.noUsername
{
	background-color: #ffffe0;
	border-color: #800000;
	color: #800000;
}

#login
{
	background-color: transparent;
	clear: right;
	color: #ffffff;
	float: right;
	padding: 1px 1em;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#title
{
	color: #ffffff;
	font-family: Tahoma;
	font-size: 32px;
	font-style: italic;
	text-shadow: -1px -1px 1px #000000;
}

#titleLogo
{
	padding-left: 4px;
}

#titleText
{
	padding-left: .25em;
}

#title a:hover
{
	text-decoration: none;
}

/*---------------------------------------------------------------------------*/
/* Site menu.                                                                */
/*---------------------------------------------------------------------------*/

#menuSection
{
	background-image: url("../graphics/menuBarShadow.png");
	background-position: left bottom;
	background-repeat: repeat-x;
	line-height: normal;
	margin-bottom: 1em;
	padding-bottom: 4px;
}

#menuBar
{
	background-color: #000000;
	background-image: url("../graphics/menuBarBg.png");
	background-position: left top;
	background-repeat: repeat-x;
	border-bottom: 1px solid #202020;
	border-top: 1px solid #808080;
}

#siteMenu td
{
	border-collapse: collapse;
}

#siteMenu a
{
	display: block;
	font-size: 12px;
}

#siteMenu a,
#siteMenu a:active,
#siteMenu a:hover,
#siteMenu a:focus,
#siteMenu a:visited
{
	color: #ffffff;
}

#siteMenu td
{
	padding: 0px;
	text-align: left;
}

#siteMenu a
{
	padding: 6px .75em;
	white-space: nowrap;
}

#siteMenu a span.arrow
{
	font-size: 9px;
}

#siteMenu a.hasSubMenu:hover
{
	text-decoration: none;
}

#siteMenu .subMenu
{
	background-color: #202020;
	border: 2px solid #000000;
	border-top-width: 0px;
	padding: 2px 0px;
	border-bottomleft-radius: .5em;
	border-bottomright-radius: .5em;
	min-width: 10em;
	position: absolute;
	visibility: hidden;
	z-index: 3;
	-moz-border-radius-bottomleft: .5em;
	-moz-border-radius-bottomright: .5em;
	-webkit-border-bottom-left-radius: .5em;
	-webkit-border-bottom-right-radius: .5em;
	box-shadow: 2px 2px 6px #000000;
	-moz-box-shadow: 2px 2px 6px #000000;
	-webkit-box-shadow: 2px 2px 6px #000000;
}

#siteMenu .subMenu .separator
{
	border-bottom: 1px solid #c0c0c0;
	margin: 4px .5em;
}

/*---------------------------------------------------------------------------*/
/* Main content.                                                             */
/*---------------------------------------------------------------------------*/

#contentSection
{
	min-height: 600px;
}

#mainWrapper
{
	margin: 1ex auto 0px auto;
}

/* Special text. */

.adjustWidth
{
	width: 12em;
}

.errorMsg,
.successMsg,
.warningMsg
{
	background-image: url("../graphics/msgBg.png");
	background-position: left top;
	background-repeat: repeat-x;
	border: 2px solid #000000;
	font-weight: bold;
	padding: .5ex 1em;
	min-height: 32px;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

.errorMsg
{
	background-color: #800000;
	border-color: #400000;
	color: #ffffff;
}

.successMsg
{
	background-color: #008000;
	border-color: #004000;
	color: #ffffff;
}

.warningMsg
{
	background-color: #ffff00;
	border-color: #404000;
	color: #000000;
}

.errorMsg ul
{
	margin-top: 1ex;
	margin-bottom: .5ex;
}

.errorMsg div,
.successMsg div,
.warningMsg div
{
	padding: 1ex .5em;
}

.headerNote
{
	font-size: 80%;
	font-style: italic;
}

.linkArrow
{
	font-size: 120%;
	line-height: 1ex;
}

.small
{
	font-size: 12px;
	line-height: 18px;
}

/* For Administrator-only text. */

.adminSection
{
	background-color: #c0c0c0;
	background-image: url("../graphics/adminBg.png");
	background-position: center top;
	background-repeat: no-repeat;
	border: 2px solid #000000;
	color: #000000;
	padding: .5em;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

td.adminSection
{
	border-width: 0px;
	border-radius: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}

/* Paging navigation. */

.goToNavigation
{
	white-space: nowrap;
}

.goToHeader,
.goToNavigation a
{
	display: inline-block;
	line-height: 1.6em;
}

.goToHeader
{
	font-weight: bold;
}

.goToNavigation a
{
	background-color: #ffffff;
	background-image: url("../graphics/goToLinkBg.png");
	background-position: left bottom;
	background-repeat: repeat-x;
	border: 1px solid #404040;
	font-size: 12px;
	margin-left: 4px;
	text-align: center;
	width: 1.6em;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

.goToNavigation a,
.goToNavigation a:active,
.goToNavigation a:hover,
.goToNavigation a:visited
{
	color: #005cae;
}

.goToSeparator
{
	display: none;
}

/* Main table styles. */

table.main
{
	background-color: #ffffff;
	border: 2px solid #000000;
	color: #000000;
	empty-cells: show;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
	box-shadow: 0px 0px 4px #808080;
	-moz-box-shadow: 0px 0px 4px #808080;
	-webkit-box-shadow: 0px 0px 4px #808080;
}

table.main a,
table.main a:active,
table.main a:hover,
table.main a:visited
{
	color: #005cae;
}

table.main tr.header
{
	background-color: #003a73;
	color: #ffffff;
	font-weight: bold;
}

table.main tr.header th
{
	background-image: url("../graphics/headerBg.png");
	background-position: left top;
	background-repeat: repeat-x;
	text-shadow: -1px -1px 1px #000000;
}

table.main tr.subHeader
{
	background-color: #f0f0f0;
	color: #000000;
}

table.main tr.subHeader th
{
	background-image: url("../graphics/subHeaderBg.png");
	background-position: left bottom;
	background-repeat: repeat-x;
}

table.main tr.bottomEdge td,
table.main tr.bottomEdge th
{
	border-bottom: 2px solid #000000;
}

table.main tr.topEdge td,
table.main tr.topEdge th
{
	border-top: 2px solid #000000;
}

table.main tr.bottomEdge table td,
table.main tr.bottomEdge table th
{
	border: 0px none;
}

table.main tr.alt
{
	background-color: #f0f0f0;
}

table.main td,
table.main th
{
	padding-left: .25em;
	padding-right: .25em;
}

/* Add padding to first and last columns. */

table.main td:first-child,
table.main th:first-child
{
	padding-left: 1em;
}

table.main td:last-child,
table.main th:last-child
{
	padding-right: 1em;
}

table.main table td:first-child,
table.main table th:first-child
{
	padding-left: .25em;
}

table.main table td:last-child,
table.main table th:last-child
{
	padding-right: .25em;
}

/* Prevent text wrap. */

table.main tr.singleLine td,
table.main tr.singleLine th
{
	white-space: nowrap;
}

/* For displaying small text in tables. */

table.main td.small
{
	line-height: 1em;
}

table.main th.small
{
	line-height: 1.25em;
}

/* For the standings page. */

table.main tr.header.afc
{
	background-color: #6e1012;
}

table.main tr.header.nfc
{
	background-color: #001e3a;
}

table.main tr.playoffsBreak td
{
	border-bottom: 3px double #000000;
}

/* For links on table sub headers. */

table.main tr.subHeader a,
table.main tr.subHeader a:active,
table.main tr.subHeader a:hover,
table.main tr.subHeader a:visited
{
}

/* Used to fix the table width. */

table.main.fixed
{
	width: 40em;
}

table.main td.freeForm
{
	padding: 1em;
}

/*---------------------------------------------------------------------------*/
/* Page footer.                                                              */
/*---------------------------------------------------------------------------*/

#subTitle
{
	color: #808080;
	font-size: 19px;
	font-style: italic;
	font-weight: bold;
	padding: 1em .75em 2px 0px;
	text-align: right;
}

#footer
{
	border-top: 1px solid #808080;
	font-style: italic;
	padding: 4px;
	padding-left: 1em;
	padding-right: 1em;
	text-align: right;
}

#contact
{
	float: left;
}

#copyright
{
}

/*---------------------------------------------------------------------------*/
/* Bar charts.                                                               */
/*---------------------------------------------------------------------------*/

table.main tr.grid
{
	background-image: url("../graphics/graph.gif");
}

table.main tr.grid td
{
	padding-top: 0px;
	padding-bottom: 0px;
}

.scaleContainer
{
	position: relative;
	width: 2em;
}

.vertScale
{
	position: absolute;
	text-align: right;
	width: 100%;
}

.barContainer
{
	position: relative;
	width: 28px;
}

.bar
{
	border: 1px solid #404040;
	position: absolute;
	width: 100%;
}

.rangeBar1
{
	background-color: #e0e0e0;
	background-image: url("../graphics/barBg.png");
	background-position: center top;
	background-repeat: repeat-y;
	border-color: #000000;
}

.rangeBar2
{
	background-color: #da2127;
	background-image: url("../graphics/barBg.png");
	background-position: center top;
	background-repeat: repeat-y;
}

.userBar
{
	background-color: #003a73;
	background-image: url("../graphics/barBg.png");
	background-position: center top;
	background-repeat: repeat-y;
}

/****************************************************************************/
/* Live scoreboard styles.                                                  */
/****************************************************************************/

#scoreboardSpacer
{
	margin-bottom: 2.5em;
}

#scoreboardContainer
{
	bottom: 0px;
	color: #ffffff;
	font-size: 10px;
	left: 0px;
	line-height: normal;
	text-align: center;
	position: fixed;
	text-align: center;
	width: 100%;
	z-index: 1;
}

#scoreboardContainer a,
#scoreboardContainer a:active,
#scoreboardContainer a:hover,
#scoreboardContainer a:visited
{
	color: #ffffff;
	text-decoration: none;
}

#scoreboardContainer td
{
	padding: 0px;
}

#scoreboard
{
	background-color: #202020;
	width: 100%;
}

#scoreboard table
{
	empty-cells: show;
	margin: auto;
	text-align: left;
}

#scoreboard table td
{
	padding: 1px 2px;
}

#scoreboard table table td
{
	padding: 0px 5px;
}

#scoreboard table td.leftEdge
{
	border-left: 1px solid #000000;
}

#scoreboard .highlight
{
	color: #fcfc82;
}

#scoreboard .redzone
{
	background-color: #800000;
}

#scoreboardTab th
{
	background-color: #000000;
	background-image: url("../graphics/scoreboardTabBg.png");
	background-position: left top;
	background-repeat: repeat-x;
	border-top: 1px solid #202020;
	padding: 2px 1em;
}

#scoreboardArrow
{
	font-size: 70%;
}

.totalLine
{
	border-top: 1px solid #000000;
}

