/*
	content.css
	Main content styles for most pages

	These styles define how the layout and format for most pages will be displayed
*/

#main {
}

#main h1, #main h2, #main h3
{
	font-family: Helvetica,"trebuchet ms",arial,sans-serif;
	font-size: 140%;
	font-weight: normal;
	color: #005079;
}
#main h1 { font-weight: bold; margin-bottom: 0.5em; }
#main h2 { font-size: 110%; }
#main h3 { font-size: 80%; }

#main .center  { text-align: center; }

#main-content {
	text-align: center;
}
.content {	/* inner div for main-content; optional; not all pages use it; mostly admin pages */
	padding: 5px;
	border: 1px solid #DDD;
	background: #EEE;
	margin-bottom: 1em;
}
.content table.neat {
	width: 100%;
}
.content table.neat th.hdr {
	background-color: #CCC;
}

.content-footer {
	margin-top: 1em;
	text-align: center;
	color: gray;
	font-size: 10px;
}

#page-title {
	text-align: left;
	color: #005079;
 	background: #BFEAFF url(../img/more.gif) no-repeat 4px 50%;
	padding: 2px 2px 2px 24px;
	font-weight: bold;
	font-size: 14px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	clear: left;
}
#page-title span {
	font-weight: normal;
	font-size: 80%;
	color: gray;
}

#news {
	width: 96%;
	margin: 1em auto;
	margin-top: 1em;
	text-align: left;
}
#news h2.hdr {
	font-size: 20px;
	text-align: center;
	line-height: 1.5em;
	color: #BCFF00;
	background-color: #84B300;
	font-weight: bold;
	border: 1px solid #008F00;
}
#news div.news {
	color: #333333;
	background-color: white; /*#EEFFBF;*/
	border-left: 1px solid #84B300;
	border-bottom: 1px solid #84B300;
	border-right: 1px solid #84B300;
	padding: 1em;
	font-size: 8pt;
}
#news div h3.hdr {
	font-size: 18px;
	font-weight: bold;
	border-bottom: 2px solid #BCFF00;
	margin-bottom: 0.5em;
	text-align: center;
}
#news div h3.hdr span {
	display: block;
	font-size: 10px;
	font-weight: normal;
	color: black;
}

#page-view {
	margin: 1em;
	text-align: left;
}
#page-view p {
	margin-bottom: 1em;
}
#page-view a {
	color: #006B6B;
	text-decoration: underline;
}
#page-view ul, #page-view ol {
	margin-left: 2em;
}
/* --- TABLE FRAME LAYOUT --------------------------------------------------------------- */
.frame-header { 
	font-size: 125%;
	font-weight: bold;
	text-align: left;
	padding: 0.3em;
	padding-left: 1em;
	margin-bottom: 2px;
	background: #e7e7e7;
	border:  1px solid gray;
}
.frame-header span { 
	display: block;
	width: 100%;
	background: url(../img/exp_minus.gif) no-repeat 100% 50%;
}

.table-frame { 
	margin: 0 0.5em 1em 0.5em;
}
.table-inner {
	border: 1px solid gray;
}
.table-header {
	padding: 0 0.2em 0.2em 0;
	text-align: right;
}
.table-footer {
	border-top: 1px solid gray;
	padding: 1px 5px;
	text-align: left;
	color: #666;
	font-size: 80%;
}
.table-footer p {
	line-height: 1.3em;
}
.table-header {
	padding: 1px 5px;
	color: #666;
	text-align: right;
}
table.neat td.footer {
	background-color: #DDD;
	text-align: right;
}

/* --- TABLE LAYOUT --------------------------------------------------------------- */
table.neat {
	margin: 0 auto;
	width: 96%;
	text-align: left;
	border-collapse: collapse;
	font-size: 12px;
}
table.neat th {
	line-height: 20px;
	color: #BFEAFF;
	background-color: #005079;
	font-weight: bold;
	text-align: center;
	padding: 0;
	border: 1px solid #BFEAFF;
}
table.neat th.hdr {
	color: #005079;
	background-color: #BFEAFF;
	font-size: 14px;
	line-height: 2em;
	border-bottom: 1px solid #005079;
}
table.neat th.active {
	background-color: #8d9da3;
}
table.neat th.active span {
	display: block;
	width: 100%;
}
table.neat th.active span.desc {
	background: url(../img/icons/bullet_arrow_down.png) no-repeat 99% 50%;
}
table.neat th.active span.asc {
	background: url(../img/icons/bullet_arrow_up.png) no-repeat 99% 50%;
}
table.neat td {
	padding: 0 0.5em 0 0.4em;
	text-align: center;
	line-height: 1.5em;
	border: 1px solid #FFFFFF;
}
table.neat td.pager, table.neat td.pager-bottom {
	text-align: right;
	background-color: #EEEEEE;
	border-bottom: 1px solid #AAA;
}
table.neat td.pager-bottom {
	border-bottom: none;
	border-top: 1px solid #AAA;
}

table.neat td.nodata { 
	font-size: 14px;
	padding: 0.25em;
}
table.neat tr { background-color: #CFDEE6; }
table.neat tr.even { background-color: #B8C5CC; }
table.neat td.noborder { border: none; }
table.neat tr.over {
/*	apply mouseover styles for table rows here
	background-color: lightyellow;
/**/
}

table.neat th a,
table.neat th a:link,
table.neat th a:visited,
table.neat th a:hover,
table.neat th a:active 
{
	color: black;
}
table.neat th.active a {
	color: white;
}
table.neat th.active a:hover {
	color: white;
	text-decoration: underline;
}

table.neat acronym {
	text-decoration: none;
	border: none;
	cursor: help;
}

table.neat td span.winning-score,
table.neat td span.losing-score,
table.neat td span.tied-score,
table.neat td span.score {
	color: gray;
	font-style: normal;
}
table.neat td span.winning-score {
	color: green;
}
table.neat td span.losing-score {
	color: red;
}
table.neat td span.tied-score {
	color: orange;
}

div.left   { text-align: left; }
table.neat .left   { text-align: left; }
table.neat .right  { text-align: right; }
table.neat .center { text-align: center; }

table.neat td.item {
	font-weight: bold;
}
table.neat td.game-vs {
	font-weight: normal;
	text-align: left;
}
table.neat td.game-vs .date {
	display: block;
}
table.neat td.game-vs .date a {
	color: #002288;
}
table.neat td.item a, table.neat td.game-vs a {
	color: #0066CC;
}
table.neat td.item span.url {
	font-weight: normal;
	display: block;
	padding-left: 1em;
}
table.neat td.item span.url a {
	background: url(../img/icons/house.png) no-repeat 0 50%;
	padding-left: 20px;
	color: black;
}
table.neat td.item span.url a:hover {
	color: #0066CC;
}
table.neat td.item em {
	font-weight: normal;
	font-size: 90%;
	color: gray;
}

.squeeze {
	width: auto;
}

table.neat span.subtitle {
	display: block;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	line-height: 12px;
	color: gray;
}

/* --- PAGER styles ------------ */
span.pager {
	display: block;
	padding: 3px;
}
.pager-current, .pager-goto, .pager-next, .pager-prev {
	border: 1px solid gray;
	padding: 0 2px;
	background: #DDDDDD;
}
.pager-current {
	background: lightyellow;
	font-weight: bold;
}
.pager-next, .pager-prev {
	background: #BBBBBB;
}

#error {
	width: 80%;
	margin: 1em auto;
	background: lightyellow;
	border: 2px solid darkred;
	padding: 1em;
}
#error h3 {
	text-align: left;
	color: darkred;
	font-size: 120%;
	font-weight: bold;
	border-bottom: 3px solid #999;
	margin-bottom: 0.5em;
}
#error p {
	font-size: 100%;
	text-align: left;
}
div.preview {
	border: 1px solid gray;
	background: #EEE;
}
div.preview table.neat {
	width: 100%;
}
div.success, div.failure {
	width: 400px;
	margin: 0 auto;
	margin-bottom: 1em;
	text-align: left;
	padding: 1em;
	background: #CCFFCC url(../img/icons/tick.png) 10px top repeat-y;
	border: 1px solid #336600;
}
div.success h4, div.failure h4 {
	border-bottom: 2px solid #336600;
	margin-left: 30px;
}
div.success p, div.failure p {
	color: darkgreen;
	margin-left: 30px;
}
div.failure {
	background: #FFCCCC url(../img/icons/cross.png) 10px top repeat-y;
	border-color: #663300;
}
div.failure h4 {
	border-bottom-color: #660000;
}
div.failure p {
	color: darkred;
}

/* activity percentage bar */
.pct-bar {
	border: 1px solid #AAA;
	background-color: #EEE;
	height: 8px;
	overflow: hidden;
	text-align: left;
	display: block;
	float: none !important;
	text-align: left !important;
}
.pct-bar span {
	display: block;
	height: 100%;
	text-align: left;
	background-color: black;
}
.column-content .pct-bar {
	margin-top: 3px;
}

/* dual percentage bars */
.dual-bar {
	border: 1px solid #AAA;
	background-color: #EEE;
	height: 8px;
	overflow: hidden;
	display: block;
	text-align: left !important;
	float: none !important;
}
.dual-bar span.left, .dual-bar span.right, .dual-bar span.center {
	float: left;
	display: block;
	height: 100%;
	text-align: left;
	background-color: black;
}
.dual-bar span.center { width: 1px; background-color: #AAA; }
.column-content .dual-bar {
	margin-top: 3px;
}

.blurb {
	text-align: left;
	margin: 1em;
	font-size: 80%;
	color: black;
}

#map {
	height: 300px;
	border: 1px solid gray;
	width: 800px;
	margin: 0 auto 1em auto;
}

.row {
	width: 96%;
	margin: 0.5em auto;
	text-align: left;
}
.rules-list {
	width: 50%;
	margin: 1em auto;
	background-color: #EEE;
	border: 1px solid gray;
	text-align: left;
}
.rules-list ul {
	list-style-position: inside;
	margin-left: 1em;
}
.rules-list ul li {
	font-size: 150%;
}
#main .row h2 {
	margin-top: 0.5em;
	font-weight: bold;
	color: #008F00;
}
.row p {
	margin-bottom: 0.5em;
}
.row ol, .row ul {
	list-style-position: inside;
}
.row ul ul {
	margin-left: 2em;
}
p.directions {
	margin-left: 2em;
}

#login-form, #logout-form {
	margin-top: 1em;
}

#sponsors-container {
	text-align: left;
	color: black;
	background-color: #EEFFBF;
	font-size: 10px;
	font-weight: bold;
	width: 185px;
	height: 175px;
	float: left;
	margin: 1em;
}
#sponsors { }
#sponsors-container h4 {
	color: #BFEAFF;
	background-color: #005079;
	text-align: center;
	line-height: 18px;
	font-size: 12px;
}
#sponsors span {
	display: block;
	margin-bottom: 3px;
	text-align: center;
}
#sponsors a {
	color: #0066CC;
}
#sponsors a:hover {
	color: red;
}
#main h1.officer-group,
#main h1.sponsor-group {
	margin: 1em 0 0 0;
	clear: both;
	background: #D9F0F7;
	border-top: 1px solid #3355EE;
	border-bottom: 1px solid #3355EE;
	color: #3355EE;
}
#random-sponsor {
	margin-top: 0.5em;
	font-size: 150%;
	background-color: #FFBFBF;
	border-bottom: 1px solid #FF8080;
	border-top: 1px solid #FF8080;
	text-align: center;
}
#random-sponsor label {
	color: #B30000;
	font-weight: bold;
}
#random-sponsor a {
	text-decoration: underline;
	color: #FF0000;
}
#random-sponsor a:hover {
	color: black;
}

#search-box {
	padding: 0.5em;
	border-color: #DDD #666 #666 #DDD;
	border-style: solid;
	border-width: 1px;
	background-color: #CCCCCC;
	width: 300px;
	margin: 1em auto;
}
#search-box h3 {
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	color: #005079;
	border-bottom: 1px solid gray;
	margin-bottom: 0.5em;
}
#search-box input.field {
	width: 230px;
}
#search-box div {
	margin-bottom: 0.5em;
}
#search-box label {
	font-weight: bold;
	padding-right: 0.5em;
}
#search-box label.for {
	font-weight: normal;
}
#search-box p {
	color: #666;
	font-size: 90%;
	text-align: left;
	border-top: 1px solid gray;
	padding: 0 1em;
}
#search-box p em {
	color: black;
	white-space: nowrap;
}
.row #search-box {
	/*margin: 0 0 0 105px;*/
	margin: 1em;
	float: left;
}

#dir-marquee {
	padding: 1em 0;
	background-color: blue;
	color: white;
	font-weight: bold;
}

.officer, .file, .sponsor {
	padding: 0.25em;
	margin: 1em auto;
	width: 400px;
	border: 1px solid #3355EE;
	border-bottom-width: 2px;
	border-right-width: 2px;
	background-color: #D9F0F7; /*#F5FFE6;*/
}
#main .officer span,
#main .officer h3,
#main .sponsor span,
#main .sponsor h3 {
	color: black;
	font-size: 12px;
	margin-left: 1em;
	padding-left: 20px;	
}
#main .sponsor span.edit,
#main .officer span.edit {
	margin-left: 0;
	font-weight: normal;
	padding-left: 0;
}
#main .officer .email {
	background: url(../img/icons/email.png) no-repeat 0 50%;
}
#main .officer .phone {
	background: url(../img/icons/phone.png) no-repeat 0 50%;
}

#main .sponsor .web {
	background: url(../img/icons/house.png) no-repeat 0 50%;
}
#main .sponsor .level {
	background: url(../img/icons/medal_gold_1.png) no-repeat 0 50%;
	line-height: 16px;
}
#main .sponsor h2 {
	font-size: 12px;
	margin-left: 1em;
}
#main .file h2 {
	color: black;
	font-size: 12px;
	margin-left: 1em;
	background: url(../img/icons/disk.png) no-repeat 0 50%;
	padding-left: 20px;	
}
#main .file h2 em {
	color: gray;
	font-size: 80%;
	padding-left: 1em;
}
.officer p, .file p, .sponsor p {
	font-size: 12px;
	margin-left: 1em;
}
.officer a, .file a, .sponsor a {
	color: #3355EE;
}

.officer, .sponsor {
	float: left;
	margin-left: 1em;
	width: 45%;
	height: 40px;
	overflow: hidden;
}
.officer {
	margin-left: 21px;
	height: auto;
}

.vs {
	color: black;
	font-weight: bold;
}

label.simple {
	font-weight: bold;
}
input.home-score, input.away-score {
	width: 3em;
}

div.score {
	line-height: 30px;
	background: url(../img/ajax-small.gif) no-repeat -100px 50%;
}

/* auto-complete */
.ac_results {
	border: 1px solid gray;
	background-color: white;
	padding: 0;
	margin: 0;
	list-style: none;
	position: absolute;
	z-index: 10000;
	display: none;
}
.ac_results li {
	padding: 2px 5px;
	white-space: nowrap;
	color: #101010;
	text-align: left;
}
.ac_over {
	cursor: pointer;
	background-color: #D6E8FF;
}
.ac_match {
	text-decoration: underline;
	color: black;
	font-weight: bold;
}

div.ctrl {
	border: 1px solid #CCC;
	background: #B7C7CD;
	padding: 5px;
}

.csv-link {
	display: block;
	float: left;
	font-weight: bold;
}
.csv-link a {
	color: blue;
}
.csv-link a:hover {
	color: black;
}


div.league-menu, 
ul.league-menu {
	margin: 0 0 1em 0;
	padding: 0.5em;
	border-top: 1px solid #B7C7CD;
	border-bottom: 1px solid #B7C7CD;
	text-align: center;
	background-color: #EEE;
}
ul.league-menu li {
	list-style: none;
	display: inline;
}

ul.league-menu a {
	border: 1px solid #CCC;
	margin: 0 0.5em;
	padding: 4px 25px;
	background-color: #DDD;
	font-size: 120%;
	font-weight: bold;
	color: blue;
}
ul.league-menu a:hover,
ul.league-menu a:active {
	color: black;
	border-color: #AAA;
	background-color: #c0c0c0;
}
ul.league-menu li a.select {
	background: #B7C7CD url(../img/icons/baseball.png) no-repeat 4px 50%;
	padding-left: 25px;
	border-color: black;
}
h3.league-menu {
	position: relative;
	top: 1.5em;
	padding: 0;
	margin: 0;
	text-align: left;
	font-size: 100% !important;
	font-weight: bold !important;
	z-index: 10;
}

table.neat td.body-preview {
	font-size: 80%;
	text-align: left;
	color: gray;
}

div.mce {
	font-size: 10pt;
}
div.mce ul, div.mce ol {
	list-style-position: inside;
	margin: 1em 0 1em 1em;
}
