/*****************************************************************************/
/* Common page styles.                                                       */
/*****************************************************************************/

/*---------------------------------------------------------------------------*/
/* General styles.                                                           */
/*---------------------------------------------------------------------------*/

a 
{
	color: #2060a0;
	font-weight: bold;
	text-decoration: none;
}

a:active,
a:hover 
{
	text-decoration: underline;
}

a img
{
	border-style: none;
}

body
{
	background-color: #ffffff;
	background-position: left 36px;
	background-repeat: no-repeat;
	color: #666066;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 22px;
	margin: 0px;
	padding: 0px;
}

body,
input,
option,
select,
textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

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-weight: bold;
}

input[type="text"],
input[type="password"],
select,
textarea {
	border: 1px solid #809cb8;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}

input.button {
	color: #000000;
	font-weight: bold;
	padding: .5ex .75em;
	text-shadow: 1px 1px 1px #ffffff;
}

input.button {
	overflow: visible; /* Removes extra padding in IE. */
	width: 0px;
}

input.button[class] {
	width: auto; /*  Undo the above for non-IE. */
}

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 highlight check boxes and radio buttons. */

.fieldWrapper {
	border: 1px solid transparent;
	display: inline-block;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}

/* Used to indicate invalid fields. */

.fieldError,
input.fieldError,
.htmlEditorArea.fieldError {
	background-color: #ffe0e0;
	border-color: #600000;
	color: #600000;
}

.fieldError option {
	background-color: #ffe0e0;
	color: #800000;
}

.htmlEditorArea.fieldError {
	border: 1px solid;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

/*---------------------------------------------------------------------------*/
/* Page header.                                                              */
/*---------------------------------------------------------------------------*/
#headerSection {
	/*background-color: #2060a0;*/
    background-color: #25316a;
	border-bottom: 1px solid #000000;
	border-top: 1px solid #15426b;
 }


#titleBar {
	/*
    background-color: #2060a0;
	border-bottom: 1px solid #000000;
	border-top: 1px solid #15426b;
    */
	font-size: 12px;
	font-weight: bold;
	line-height: normal;
    
    width: 100%;
    margin-bottom: 0;
    display: inline-block;
}

#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: #16426a;
	float: right;
	padding: 1px 1em;
	white-space: nowrap;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#status.noUsername {
	background-color: #ffffc0;
	border-color: #600000;
	color: #600000;
}

#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 {
	font-family: Tahoma;
	font-size: 32px;
	font-style: italic;
}

#titleLogo {
	padding-left: 4px;
}

#titleText {
	padding-left: .25em;
	text-shadow: 0px 0px 4px #000000;
}

#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/highlightBg.png");
	background-position: left center;
	background-repeat: repeat-x;
	border-top: 1px solid #404040;
}

#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 .arrow {
	font-size: 9px;
}

#siteMenu a.hasSubMenu:hover {
	text-decoration: none;
}

#siteMenu .subMenu {
	background-image: url("../graphics/smokedGlassBg.png");
	border: 1px 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 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.                                                             */
/*---------------------------------------------------------------------------*/

#contentSection {
	background-repeat: no-repeat;
	min-height: 200px;
    
    text-align: center;
}

#mainWrapper {
	margin: 1ex auto 0px auto;
}

/* Used to resize elements dynamically. */

/*
.adjustWidth {
	width: 32em;
}
*/

.adjustWidth {
    text-align: left;
    width: 100% !important;
    max-width: 350px;
    margin: 0 auto;
}

/*---------------------------------------------------------------------------*/
/* Messages.                                                                 */
/*---------------------------------------------------------------------------*/

.errorMsg,
.successMsg,
.warningMsg {
	background-position: left .5ex;
	background-repeat: no-repeat;
	border: 1px solid #000000;
	font-weight: bold;
	padding: .5ex 1em;
	min-height: 64px;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

.errorMsg {
	background-color: #ffe0e0;
	background-image: url("../graphics/error.png");
	border-color: #600000;
	color: #600000;
    
    width: 90% !important;
    max-width: 530px;
    margin: 0 auto;
    text-align: left;
}

.successMsg {
	background-color: #e0ffe0;
	background-image: url("../graphics/success.png");
	border-color: #006000;
	color: #006000;
    
    width: 90% !important;
    max-width: 530px;
    margin: 0 auto;
    text-align: left;
}

.warningMsg {
	background-color: #ffffe0;
	background-image: url("../graphics/warning.png");
	border-color: #606000;
	color: #606000;
    
    width: 90% !important;
    max-width: 530px;
    margin: 0 auto;
    text-align: left;
}

.errorMsg ul {
	margin-top: 1ex;
	margin-bottom: .5ex;
}

.errorMsg div,
.successMsg div,
.warningMsg div {
	padding: 1ex .5em 1ex 72px;
}

.headerNote {
	font-size: 80%;
	font-style: italic;
}

.small {
	font-size: 12px;
	line-height: 18px;
}

.totalLine {
	border-top: 1px solid #000000;
}

/* For Administrator-only text. */

.adminSection {
	background-color: #f8f8f8;
	background-image: url("../graphics/darkStripesBg.png");
	background-position: left top;
	border: 1px 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;
}

/* Main table styles. */

table.main {
	background-color: #ffffff;
	border: 1px solid #000000;
	empty-cells: show;
	border-radius: .25em;
	-moz-border-radius: .25em;
	-webkit-border-radius: .25em;
}

table.main tr.header {
	background-color: #000006;
	background-image: url("../graphics/highlightBg.png");
	background-position: left center;
	background-repeat: repeat-x;
	color: #ffffff;
	font-weight: bold;
	text-shadow: 0px 0px 2px #000000;
}

table.main tr.subHeader {
	background-image: url("../graphics/subHeaderBg.png");
	background-position: left bottom;
	background-repeat: repeat-x;
	background-color: #ffffff;
	color: #000000;
}

table.main tr.bottomEdge td,
table.main tr.bottomEdge th {
	border-bottom: 1px solid #000000;
}

table.main tr.topEdge td,
table.main tr.topEdge th {
	border-top: 1px 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;
}


@media (max-width: 1024px) {
    table.main td:first-child,
    table.main th:first-child {
    	padding-left: .25em;
    }
    
    table.main td:last-child,
    table.main th:last-child {
    	padding-right: .25em;
    }  
}

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: #a02020;
}

table.main tr.header.nfc {
	background-color: #2020a0;
}

table.main tr.playoffsBreak td {
	border-bottom: 3px double #000000;
}

/* Used to fix the table width. */

table.main.fixed {
	width: 40em;
}

table.main.fixed-41 {
	width: 41.2em;
}

table.main td.freeForm {
	padding: 1em;
}

/*---------------------------------------------------------------------------*/
/* Paging navigation.                                                        */
/*---------------------------------------------------------------------------*/
.goToHeaderNew,
.goToNavigationNew a {
    color: #fff;
}


.goToNavigation,
.goToNavigationNew {
	white-space: nowrap;
    
    margin-top: 20px;
}

.goToHeader {
	display: inline-block;
	line-height: 1.6em;
}

.goToHeader {
	font-weight: bold;
}

.goToHeaderNew {
    display: inline-block;
    vertical-align: top;
    height: 26px;
    font-size: 14px;
    line-height: 26px;
    font-weight: bold;
    text-align: center;
    min-width: 14px;
    padding: 0;
}

.goToSeparator {
	display: none;
}



/*---------------------------------------------------------------------------*/
/* Page footer.                                                              */
/*---------------------------------------------------------------------------*/

#subTitle {
	color: #aac2d6;
	font-size: 20px;
	font-style: italic;
	font-weight: bold;
	padding: 1em .75em 2px 0px;
	text-align: right;
}

#footer {
	border-top: 1px solid #c0c0c0;
	font-style: italic;
	padding: 4px;
	padding-left: 1em;
	padding-right: 1em;
	text-align: right;
}

#contact {
	float: left;
}

#copyright {
}

/*---------------------------------------------------------------------------*/
/* new css.                                                                  */
/*---------------------------------------------------------------------------*/

.container {
    margin: 1ex auto 0px auto;
    padding: 0;
    text-align: center;
}

.rightbox {
    float: right;
    padding-right: 5px;
}


@media(max-width:1090px) {
    #status {
            width: 350px;
        }
}

@media(max-width:992px) {
    #titleBar {
        padding: 15px;    
        width: calc(100% - 30px);    
    }
    
    #status {
        float: left;
        width: calc(100% - 100px);
    }
    
    #status.noUsername {
        float: left;
        width: calc(100% - 145px);
    }
    
    #title {
        display: inline-block;
        vertical-align: top;
        padding-top: 15px;
    }    
    
    #login {
        line-height: 21px;
    }
    
    .rightbox {
        float: right;
        width: 100%;
        padding-right: 0;
    }
    
    .leftbox {
        float: left;
        width: 100%;
    }
}


@media(max-width:580px) {
    #contact {
        float: none;
    }
    
    #copyright {
        display: block;
    }
}

@media(max-width:620px) {
    #titleBar {
        padding: 15px;        
    }
    
    #title {
        font-size: 20px;
    }
}

@media(max-width:480px) {
    #title {
        font-size: 16px;
    }
}

#message_tbl {
    width: 100% !important;
}