/* Body */
body {
	background: url(images/background.gif) repeat-y white;
	color: black;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: medium;
}

body.plain {
	background: white;
}

/* Inline elements */
a:link {
	color: #000066;
}

a:visited {
	color: #666699;
}

a:active {
	color: #cccc33;
}

/* Block-level elements */
h1 {
	color: #006600;
}

h2 {
	color: #660000;
}

h3 {
	color: #000066;
}

.smh h1 {
	font-size: x-large;
}

.smh h2, .smh h3 {
	font-size: medium;
}

dt {
	margin-top: 1em;
	font-weight: bold;
	color: #000066;
}

hr {
	border: none;
	margin-top: 1.3em;
	margin-bottom: 1.3em;
	width: 60%;
	height: 1px;
	background: gray;
}

.copyright {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: bold;
}

.footnote {
	margin-top: 0em;
	font-size: x-small;
	margin-bottom: 1.5em;
}

.paralist li {
	margin-top: 1em;
}

.paralist li ul li+li {
	margin-top: 0;
}

/* Table elements */
table {
	border-collapse: collapse;
}

td, th, table.layout table td, table.layout table th {
	border: 1pt solid windowtext;
	padding-left: 5.4pt;
	padding-right: 5.4pt;
	text-align: left;
}

table.layout table thead th, table thead th {
	text-align: center;
}

table.layout {
	width: 100%;
	table-layout: fixed;
}

table.layout td {
	border: none;
	padding: 0;
	vertical-align: top;
}
/*
table.layout td+td {
	padding-left: 1em;
}
*/
table.layout table td {
	vertical-align: middle;
}

table.layout td.navcol {
	width: 8.5em;
	padding-top: 1em;
	padding-right: 24px;
}

/* Navigation elements */
/*td.navcol a, td.navcol .current {
}*/

.navcol a, .navrow a, .current {
	border-left: 1px solid white;
	border-top: 1px solid white;
	border-right: 1px solid #D9B40B;
	border-bottom: 1px solid #D9B40B;

	text-align: center;
	font-size: small;
	color: black;
	text-decoration: none;
}

.navcol a, .navrow a {
	background: url(images/lbb_l.png) left no-repeat #EAD858;
}

.navcol a, .navcol .current {
	float: left;
	width: 10.5em;
	line-height: 1.35em;
}

.navrow a, .navrow .current {
	display: inline-block;
	margin-bottom: 0.2em;
	width: 10.5em;
	line-height: 1.35em;
}

.current, a.current {
	background: url(images/lbb_p.png) left no-repeat #E1C70F;
}

.navcol a:hover, .navrow a:hover {
	background: url(images/lbb_a.png) left no-repeat #F7E251;
}


/* League table */
.leaguetable {
	font-size: smaller;
	border: 1pt solid windowtext;
	table-layout: fixed;
	min-width: 50%;
}
.leaguekey {
	font-size: smaller;
	border: 1pt solid windowtext;
	float: left;
	margin-right: 12px;
}

.layout .league .leaguetable {
	table-layout: fixed;
	width: 100%;
}

.layout .leaguetable th, .layout .leaguetable td, .leaguetable th, .leaguetable td,
.layout .leaguetable th+th+th, .layout .leaguetable td+td+td, .leaguetable th+th+th, .leaguetable td+td+td {
	border: 0;
	text-align: center;
	vertical-align: top;
}

.layout .leaguetable th+th, .leaguetable th+th,
.layout .leaguetable td+td, .leaguetable td+td {
	text-align: left;
}

.leaguetable col {
	width: 2.5em;
}
.leaguetable col.team {
	width: auto;
}
.leaguetable col.pos {
	width: 3em;
}
.leaguetable col.ctpos {
	width: 4.5em;
}
.leaguetable col.gpd {
	width: 3.5em;
	background: #ccffcc;
}
.leaguetable col.points {
	width: 3.5em;
	background: #ffcc00;
}

.cuptable col.team {
	width: 12em;
}

.champ {
	background-color: #ffcc00;
	color: black;
}

.promo {
	background-color: #99ff99;
	color: black;
}

.releg {
	background-color: #ff9999;
	color: black;
}


/* Fixtures table */
table.layout table.fixtures {
	margin-bottom: 0.5em;
}

table.layout table.fixtures td {
	border: none;
	font-size: small;
	padding-left: 2.5pt;
	padding-right: 2.5pt;
	width: 2.25em;
}

table.layout table.fixtures td+td {
	text-align: right;
	width: 1em;
}

table.layout table.fixtures td+td+td {
	width: 2em;
}

table.layout table.fixtures td+td+td, table.layout table.fixtures td+td+td+td+td+td {
	text-align: left;
}

table.layout table.fixtures td+td+td+td {
	padding-left: 5.4pt;
	padding-right: 5.4pt;
	text-align: right;
}

table.layout table.fixtures td+td+td+td, table.layout table.fixtures td+td+td+td+td+td {
	width: 11em;
}

table.layout table.fixtures td+td+td+td+td {
	text-align: center;
	width: 4em;
}

/* League result table */
table.layout table.result {
	margin-bottom: 1em;
}

table.layout table.result td, table.layout table.result td+td+td+td,
table.layout table.result th {
	text-align: center;
}

table.layout table.result td+td+td, table.layout table.result td+td+td+td+td {
	text-align: left;
}

table.layout table.result col {
	width: 2.5em;
}

table.layout table.result col+col+col+col {
	width: 5em;
}

table.layout table.result col+col+col, table.layout table.result col+col+col+col+col {
	width: 12em;
}

/* Also-scheduled matches listed on the result page */
table.layout table.alsosched td, table.layout table.alsosched td+td+td {
	text-align: center;
}

table.layout table.alsosched td+td, table.layout table.alsosched td+td+td+td {
	text-align: center;
}

table.layout table.alsosched td+td+td+td+td {
	text-align: left;
}

table.layout table.alsosched col, table.layout table.alsosched col+col+col {
	width: 5em;
}

table.layout table.alsosched col+col,table.layout table.alsosched col+col+col+col {
	width: 12em;
}

table.layout table.alsosched col+col+col+col+col {
	width: auto;
}

/* Standard-play cup result table */
table.layout table.spcupresult {
	margin-bottom: 1em;
}

table.layout table.spcupresult td,
table.layout table.spcupresult tbody td+td+td+td+td,
table.layout table.spcupresult td+td+td+td+td+td+td {
	text-align: center;
}

table.layout table.spcupresult tbody td+td+td+td,
table.layout table.spcupresult td+td+td+td+td+td {
	text-align: left;
}

.board, .colour {
	width: 2.5em;
}

.grade {
	width: 3em;
}
.gdiff {
	width: 3.5em;
}

.spcupresult .name, .rpcupresult .name, .result .name {
	width: 12em;
}

.score {
	width: 5em;
}

.gd {
	width: 3.5em;
}

/* Rapid-play cup result table */
table.layout table.rpcupresult {
	margin-bottom: 1em;
}

table.layout table.rpcupresult td,
table.layout table.rpcupresult tbody td+td+td {
	text-align: center;
}

table.layout table.rpcupresult tbody td+td,
table.layout table.rpcupresult td+td+td+td+td {
	text-align: left;
}

.rpcupresult .board {
	width: 5em;
}

.rpcupresult .score {
	width: 3.5em;
}

/* New-style result tables */
.rp-results, .sp-results {
	margin-right: 8.5em;
}

.hc {
	margin-right: 5em;
}

table.layout .rp-results table, table.layout .sp-results table {
	table-layout: fixed;
	width: 100%;
	margin-bottom: 1em;
}

table.layout .rp-results col.board {
	width: 5em;
}

table.layout .rp-results col.score {
	width: 3.5em;
}

table.layout .rp-results td, table.layout .rp-results td+td+td+td,
table.layout .rp-results td+td+td+td+td+td+td, table.layout .sp-results td,
table.layout .sp-results td+td+td+td+td, table.layout .sp-results td+td+td+td+td+td+td {
	text-align: center;
}

table.layout .rp-results td+td+td, table.layout .rp-results td+td+td+td+td+td,
table.layout .sp-results td+td+td+td, table.layout .sp-results td+td+td+td+td+td {
	text-align: left;
}

/* Also-scheduled matches listed on the result page for standard-play cups */
table.layout table.spcalsosched td, table.layout table.spcalsosched td+td+td {
	text-align: center;
}

table.layout table.spcalsosched td+td, table.layout table.spcalsosched td+td+td+td {
	text-align: center;
}

table.layout table.spcalsosched td+td+td+td+td {
	text-align: left;
}

table.layout table.spcalsosched col, table.layout table.spcalsosched col+col+col {
	width: 5em;
}

table.layout table.spcalsosched col+col,
table.layout table.spcalsosched col+col+col+col {
	width: 15em;
}

table.layout table.spcalsosched col+col+col+col+col {
	width: auto;
}

/* Also-scheduled matches listed on the result page for rapid-play cups */
table.layout table.rpcalsosched td, table.layout table.rpcalsosched td+td+td {
	text-align: center;
}

table.layout table.rpcalsosched td+td, table.layout table.rpcalsosched td+td+td+td {
	text-align: center;
}

table.layout table.rpcalsosched td+td+td+td+td {
	text-align: left;
}

table.layout table.rpcalsosched col {
	width: 5em;
}

table.layout table.rpcalsosched col+col+col {
	width: 7em;
}

table.layout table.rpcalsosched col+col,
table.layout table.rpcalsosched col+col+col+col {
	width: 12em;
}

table.layout table.rpcalsosched col+col+col+col+col {
	width: auto;
}

/* New-style also scheduled tables */
table.layout table.rp-left, table.layout table.sp-left
{
	table-layout: fixed;
	width: 100%;
}

table.layout table.rp-left td, table.layout table.sp-left td {
	text-align: center;
}

table.layout table.rp-left td+td+td+td+td, table.layout table.sp-left td+td+td+td+td {
	text-align: left;
}

table.layout table.rp-left col.date, table.layout table.sp-left col.date, table.layout table.sp-left col.score {
	width: 5em;
}

table.layout table.rp-left col.score {
	width: 7em;
}

col.status {
	width: 8.5em;
}

/* History of champions */
table.layout table.history th, table.layout table.history td {
	text-align: center;
}

/* Data tables in rules pages */
table.rulesdata thead th, table.rulesdata td,
table.layout table.rulesdata thead th, table.layout table.rulesdata td {
	text-align: center;
}

/* Result submission form */
form.result {
	margin-left: 2em;
	margin-right: 2em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 1em;
	padding-right: 1em;
	border: 1px solid black;
}

form.result p {
	font-weight: bold;
}

form.result table.header {
	width: 100%;
	font-weight: bold;
}

form.result table.detail {
	width: 100%;
}

form.result table.detail th, form.result table.detail td {
	text-align: center;
}
