/*****************************************************************************/
/* Common page styles.                                                       */
/*****************************************************************************/

/*---------------------------------------------------------------------------*/
/* General styles.                                                           */
/*---------------------------------------------------------------------------*/

a
{
	font-weight: bold;
	text-decoration: none;
}

a,
a:active,
a:hover,
a:visited
{
	color: #1846a8;
}

a:active,
a:hover
{
	text-decoration: underline;
}

a img
{
	border-style: none;
}

body
{
	background-color: #ffffff;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 22px;
	margin: 0px;
	padding: 0px;
}

h1, h2, h3, h4
{
	text-shadow: 1px 1px 2px #d0d0d0;
}

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: #20a060;
	font-size: 14px;
	font-weight: bold;
}

textarea
{
	font-family: Arial, Helvetica, sans-serif;
}

input[type="text"],
input[type="password"],
select,
textarea
{
	border: 1px solid #7f9db9;
}

input.button
{
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	outline: 0px none;
	padding: .5ex 1em;
}

input.button[class]
{
	overflow: visible; /* Removes extra padding in IE. */
	width: 0px;
}

input.button[class]
{
	width: auto; /*  Undo the above for non-IE. */
}

/* Needed for submit buttons replaced with images in IE. */

input.ieButton
{
	height: 36px;
	width: 80px;
}

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 #7f9db9;
	margin: 1em;
}

.htmlEditorArea input,
.htmlEditorArea select,
.htmlEditorArea textarea 
{
	color: #000000;
}

.mceContentBody
{
	background-image: none;
}

/* Used to indicate invalid fields. */

div.fieldError,
input.fieldError,
select.fieldError,
textarea.fieldError,
.htmlEditorArea.fieldError
{
	background-color: #f3d8cd;
	border-color: #800000;
	color: #800000;
}

select.fieldError option
{
	background-color: #f3d8cd;
	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: #102630;
	background-image: url("../graphics/titleBarBg.png");
	background-position: left top;
	background-repeat: repeat-x;
	border-bottom: 1px solid #102630;
	border-top: 1px solid #307390;
	font-size: 9pt;
	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 #33495d;
	color: #33495d;
	float: right;
	padding: 1px 1em;
	white-space: nowrap;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#status.noUsername
{
	background-color: #fffff1;
	border-color: #800000;
	color: #800000;
}

#login
{
	clear: right;
	color: #ffffff;
	float: right;
	padding-right: 1em;
	padding-top: 2px;
}

#title
{
	color: #ffffff;
	font-family: Tahoma;
	font-size: 32px;
	font-style: italic;
}

#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 #404040;
	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-image: url("../graphics/smokedGlassBg.png");
	border: 2px solid #202020;
	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 4px #404040;
	-moz-box-shadow: 2px 2px 4px #404040;
	-webkit-box-shadow: 2px 2px 4px #404040;
}

#siteMenu .subMenu .separator
{
	border-bottom: 1px solid #c0c0c0;
	margin: 4px .5em;
}

/*---------------------------------------------------------------------------*/
/* Main content.                                                             */
/*---------------------------------------------------------------------------*/

#mainWrapper
{
	margin: auto;
}

/* Special text. */

.adjustWidth
{
	width: 12em;
}

.errorMsg,
.successMsg,
.warningMsg
{
	background-position: -18px -12px;
	background-repeat: no-repeat;
	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: #f3d8cd;
	background-image: url("../graphics/error.png");
	border-color: #800000;
	color: #800000;
}

.successMsg
{

	background-color: #cdf3cd;
	background-image: url("../graphics/success.png");
	border-color: #008000;
	color: #008000;
}

.warningMsg
{
	background-color: #fffe81;
	background-image: url("../graphics/warning.png");
	border-color: #606000;
	color: #606000;
}

.errorMsg ul
{
	margin-top: 1ex;
	margin-bottom: .5ex;
}

.errorMsg div,
.successMsg div,
.warningMsg div
{
	padding: 1ex .5em 1ex 40px;
}

.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-image: url("../graphics/adminBg.png");
	background-position: left top;
	background-repeat: repeat-x;
	border: 2px solid #d0b870;
	padding: .5em;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

td.adminSection
{
	border-width: 1px;
	border-radius: 0em;
	-moz-border-radius: 0em;
	-webkit-border-radius: 0em;
}

/* 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 center;
	background-repeat: repeat-x;
	border: 1px solid #406cc0;
	font-size: 12px;
	margin-left: 4px;
	text-align: center;
	width: 1.6em;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

.goToSeparator
{
	display: none;
}

/* Main table styles. */

table.main
{
	background-color: #ffffff;
	border: 2px solid #102630;
	empty-cells: show;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
	box-shadow: 0px 0px 4px #606060;
	-moz-box-shadow: 0px 0px 4px #606060;
	-webkit-box-shadow: 0px 0px 4px #606060;
}

table.main tr.header
{
	background-color: #204c60;
	color: #ffffff;
	font-weight: bold;
}

table.main tr.header th
{
	background-image: url("../graphics/headerBg.png");
	background-position: left top;
	background-repeat: repeat-x;
}

table.main tr.subHeader
{
	background-color: #608ca0;
	color: #ffffff;
}

table.main tr.bottomEdge td,
table.main tr.bottomEdge th
{
	border-bottom: 2px solid #102630;
}

table.main tr.topEdge td,
table.main tr.topEdge th
{
	border-top: 2px solid #102630;
}

table.main tr.bottomEdge table td,
table.main tr.bottomEdge table th
{
	border: 0px none;
}

table.main tr.alt
{
	background-color: #fff0c0;
}

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.afc
{
	background-color: #78282a;
}

table.main tr.afc th
{
	background-image: url("../graphics/afcHeaderBg.png");
	background-position: left top;
	background-repeat: repeat-x;
}

table.main tr.nfc
{
	background-color: #304890;
}

table.main tr.nfc th
{
	background-image: url("../graphics/nfcHeaderBg.png");
	background-position: left top;
	background-repeat: repeat-x;
}

table.main tr.playoffsBreak td
{
	border-bottom: 3px double #102630;
}

/* 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
{
	color: #fcfc82;
}

/* Used to fix the table width. */

table.main.fixed
{
	width: 40em;
}

table.main td.freeForm
{
	padding: 1em;
}

/*---------------------------------------------------------------------------*/
/* Page footer.                                                              */
/*---------------------------------------------------------------------------*/

#subTitle
{
	color: #307290;
	font-size: 19px;
	font-style: italic;
	font-weight: bold;
	padding: 1em .75em 2px 0px;
	text-align: right;
}

#footer
{
	border-top: 1px solid #000000;
	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;
	border-color: #000000;
}

.rangeBar2
{
	background-color: #a0cde0;
}

.userBar
{
	background-color: #307390;
}

/****************************************************************************/
/* 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-image: url("../graphics/smokedGlassBg.png");
	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 #404040;
	padding: 2px 1em;
}

#scoreboardArrow
{
	font-size: 70%;
}

.totalLine
{
	border-top: 1px solid #000000;
}

