/****************************************************************************/
/* Poker Night Theme                                                        */
/*                                                                          */
/* Common page styles.                                                      */
/****************************************************************************/

/*--------------------------------------------------------------------------*/
/* General styles.                                                          */
/*--------------------------------------------------------------------------*/

a
{
	font-weight: bold;
	text-decoration: none;
}

a,
a:active,
a:hover,
a:visited
{
	color: #a00000;
}

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: 10.5pt;
	margin: 0px;
	padding: 0px;
}

h1
{
	font-size: 14pt;
}

h2
{
	font-size: 12pt;
}

h3
{
	font-size: 11pt;
}

td, th
{
	padding: 2px .2em;
}

ul
{
	list-style-type: square;
}

/* 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,
select,
textarea
{
	color: #a06020;
	font-size: 10pt;
	font-weight: bold;
}

textarea
{
	font-family: Arial, Helvetica, sans-serif;
}

input.button
{
	border: 0px none;
	color: #a00000;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

input.button:active,
input.button:hover
{
	outline: 0px none;
}

input.numeric
{
	text-align: right;
}

input.readonly
{
	background-color: #f7f7f7;
	border: 1px solid #b0b0b0;
	color: #b0b0b0;
	padding: 2px;
}

/* Used with the TinyMCE control. */

.htmlEditorArea div
{
	border: 1px solid #800000;
	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: #ffff40;
	border: 1px solid #a00000;
	color: #a00000;
	padding: 2px 1px;
}

div.fieldError
{
	padding: 0px;
}

.htmlEditorArea.fieldError
{
	padding: 0px;
}

/*--------------------------------------------------------------------------*/
/* Page sections.                                                           */
/*--------------------------------------------------------------------------*/

#titleBar
{
	background-color: #c00000;
	background-image: url("../graphics/titleBarBg.jpg");
	background-position: left top;
	background-repeat: repeat-x;
	font-size: 9pt;
	font-weight: bold;
}

#status
{
	background-color: #ffffff;
	background-image: url("../graphics/statusBg.png");
	background-position: left top;
	background-repeat: no-repeat;
	border: 1px solid #800000;
	color: #400000;
	float: right;
	padding: 1px 1em;
	white-space: nowrap;
}

#status.error
{
	background-color: #ffff40;
	color: #800000;	
}

#login
{
	clear: right;
	color: #ffffff;
	float: right;
	padding-right: 1em;
	padding-top: 2px;
}

#login a,
#login a:active,
#login a:hover,
#login a:visited
{
	color: #ffffff;
}

#title
{
	color: #ffffff;
	font-size: 20pt;
	font-style: italic;
}

#wrapper
{
	margin: auto;
}

#subTitle
{
	color: #c0a0a0;
	font-size: 14pt;
	font-style: italic;
	font-weight: bold;
	padding: 1ex 1em 2px 0px;
	text-align: right;
}

#copyright
{
	border-top: 1px solid #800000;
	padding: 2px;
	padding-left: 1em;
	padding-right: 1em;
	text-align: right;
}

#contact
{
	float: left;
}

/*--------------------------------------------------------------------------*/
/* Special text.                                                            */
/*--------------------------------------------------------------------------*/

.info,
.error
{
	border: 1px solid #000000;
	font-weight: bold;
	padding: .5ex 1em;
}

.info
{
	background-color: #606060;
	border-color: #202020;
	color: #ffffff;
}

.error
{
	background-color: #ffff40;
	border-color: #800000;
	color: #800000;
}

.error p
{
	margin-top: .5ex;
	margin-bottom: 1ex;
}

.error ul
{
	margin-top: 1ex;
	margin-bottom: .5ex;
}

.small
{
	font-size: 9pt;
}

/* For dynamically displaying confidence points on the entry form. */

.availPts
{
	color: #ffffff;
}

.duplPts
{
	color: #ff4040;
	text-decoration: line-through;
}

.usedPts
{
	color: #808080;
	text-decoration: line-through;
}

/* For Administrator-only text. */

.adminSection
{
	background-image: url("../graphics/adminBg.png");
	background-position: left top;
	background-repeat: repeat-x;
	border: 1px solid #ffd040;
	padding: .5em;
}

td.adminSection
{
}

/*--------------------------------------------------------------------------*/
/* Main table styles.                                                       */
/*--------------------------------------------------------------------------*/

table.main
{
	background-color: #ffffff;
	border: 1px solid #800000;
	empty-cells: show;
}

table.main tr.header
{
	background-color: #ff4040;
	background-image: url("../graphics/headerBg.jpg");
	background-position: left top;
	background-repeat: repeat-x;
	color: #ffffff;
	font-weight: bold;
}

table.main tr.subHeader
{
	background-color: #202020;
	color: #ffffff;
}

table.main tr.bottomEdge td,
table.main tr.bottomEdge th
{
	border-bottom: 1px solid #800000;
}

table.main tr.topEdge td,
table.main tr.topEdge th
{
	border-top: 1px solid #800000;
}

table.main tr.subHeader.bottomEdge td,
table.main tr.subHeader.bottomEdge th
{
	border-bottom-color: #000000;
	border-top: 0px none;
}

table.main tr.subHeader.topEdge td,
table.main tr.subHeader.topEdge th
{
	border-top-color: #000000;
	border-top: 0px none;
}

table.main tr.bottomEdge table td,
table.main tr.bottomEdge table th
{
	border: 0px none;
}

table.main tr.alt
{
	background-color: #fff0c0;
}

/* Table cell spacing. */

table.main td,
table.main th
{
	padding-left: .25em;
	padding-right: .25em;
}

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;
}

table.main tr.singleLine
{
	white-space: nowrap;
}

/* For displaying picks on results pages. */

table.main td.confPick,
table.main td.margPick
{
	font-size: 9pt;
	line-height: 1em;
}

table.main th.sidePickHeader
{
	width: 2.2em;
}

/* For the standings page. */

table.main tr.afc
{
}

table.main tr.nfc
{
	background-color: #787878;
	background-image: url('../graphics/nfcHeaderBg.jpg');
}

table.main tr.nfc.topEdge th,
table.main tr.nfc.bottomEdge th
{
	border-color: #000000;
}

table.main tr.playoffsBreak td
{
	border-bottom: 3px double #800000;
}

/* For links on table sub headers. */

table.main tr.subHeader th a,
table.main tr.subHeader th a:active,
table.main tr.subHeader th a:hover,
table.main tr.subHeader th a:visited
{
	color: #ffff40;
}

/* For sortable columns on tables that support it. */

table.main tr.sortable a,
table.main tr.sortable a:active,
table.main tr.sortable a:visited,
table.main tr.sortable a:hover
{
	color: #ffff40;
}

table.main tr.header th.sortedCol
{
	background-image: url("../graphics/headerSortedBg.jpg");
	background-position: left top;
	background-repeat: repeat-x;
	background-color: #c03030;
	border-bottom-color: #600000;
}

table.main td.sortedCol
{
	background-color: #fff0c0;
}

table.main tr.alt td.sortedCol
{
	background-color: #ffe080;
}

/* Used to fix the table width. */

table.main.fixed
{
	width: 40em;
}

table.main td.freeForm
{
	padding: 1em;
}

