/* ********************************************************************************
 * body and tables
 ******************************************************************************** */
body, table, th, td {
	border: 0px;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	color: #000000;
	font-family: Verdana;
	font-size: 10pt;
	line-height: 10pt;
	font-weight: normal;
	text-align: left;
	vertical-align: top;
}

body {
	background-color: #832F31;
}

hr {
	height: 1px;
	border: 1px solid #000000;
}

fieldset {
	border: 1px solid #000000;
	padding: 10px;
}

legend {
	color: #000000;
}

td.logo {
	background-image: url(../gfx/main/logo_duelmania.gif);
	background-repeat: no-repeat;
	background-position: center;
}

td.link {
	background-image: url(../gfx/main/logo_link.gif);
	background-repeat: no-repeat;
	background-position: center;
}

table.mainframe {
	border: 1px #000000 solid;
	background-image: url(../gfx/main/bg.gif);
	background-repeat: repeat;
}

table.smallbox {
	border: 1px #000000 solid;
	background-color: #A0A0A0;
	width: 150px;
}

.smallbox th {
	border-bottom: 0px #000000 solid;
	padding: 2px;
	background-color: #898989;
	background-image: url(../gfx/main/th_bg.gif);
	background-repeat: repeat;
	color: #FFFFFF;
	font-size: 8pt;
	line-height: 12pt;
	font-weight: bold;
}

.smallbox td {
	padding: 5px;
	font-size: 8pt;
	line-height: 12pt;
}

table.largebox {
	border: 1px #000000 solid;
	background-color: #ACAAA0;
	width: 589px;
}

.largebox th {
	border-bottom: 0px #000000 solid;
	padding: 2px;
	background-color: #898989;
	background-image: url(../gfx/main/th_bg.gif);
	background-repeat: repeat;
	color: #FFFFFF;
	font-size: 11pt;
	line-height: 15pt;
	font-weight: bold;
}

.largebox td {
	padding: 5px;
	font-size: 10pt;
	line-height: 12pt;
}

.form td {
	padding: 2px;
	font-size: 8pt;
}

table.warning {
	border: 1px #440000 solid;
}

.warning td {
	padding: 2px;
	color: #440000;
	font-weight: bold;
}

table.message {
	border: 1px #005522 solid;
}

.message td {
	padding: 2px;
	color: #005522;
	font-weight: bold;
}

td.help {
	border: 1px dashed #000000;
	font-family: monospace;
	font-style: italic;
	text-align: center;
}

/* ********************************************************************************
 * text
 ******************************************************************************** */
.notice {
	font-style: italic;
}

.timestamp {
	font-size: 8pt;
	font-weight: bold;
}

.season {
	font-size: 14pt;
	line-height: 14pt;
	font-weight: bold;
}

.module {
	font-size: 13pt;
	line-height: 12pt;
	font-weight: bold;
}

.heading {
	font-size: 11pt;
	font-weight: bold;
}

.copyright {
	font-size: 7pt;
	text-align: center;
}

.coloured td {
	background-color: #FFFFFF;
}

.timeframe td {
	background-color: #666666;
}

a:link {
	font-weight: bold;
	text-decoration: none;
	color: #741C1D;
}

a:visited {
	font-weight: bold;
	text-decoration: none;
	color: #741C1D;
}

a:hover {
	font-weight: bold;
	text-decoration: underline;
	color: #741C1D;
}

.smallbox a:link {
	font-weight: bold;
	text-decoration: underline;
	color: #741C1D;
}

.smallbox a:visited {
	font-weight: bold;
	text-decoration: underline;
	color: #741C1D;
}

.smallbox a:hover {
	font-weight: bold;
	text-decoration: none;
	color: #741C1D;
}

/* ********************************************************************************
 * forms
 ******************************************************************************** */
input.text {
	background: #A0A0A0;
	border: 1px #000000 solid;
	padding-left: 2px;
	padding-right: 2px;
	color: #000000;
	font-family: Verdana;
	font-size: 10px;
	font-weight: bold;
}

input.submit {
	background: #A0A0A0;
	border: 1px #000000 solid;
	padding-left: 0px;
	padding-right: 0px;
	color: #000000;
	font-family: Verdana;
	font-size: 10px;
	font-weight: bold;
}

textarea {
	background: #A0A0A0;
	border: 1px #000000 solid;
	padding-left: 2px;
	padding-right: 2px;
	color: #000000;
	font-family: Verdana;
	font-size: 10px;
	font-weight: bold;
}

select {
	background-color: #A0A0A0;
	border: 1px #000000 solid;
	padding-left: 2px;
	padding-right: 2px;
	color: #000000;
	font-family: Verdana;
	font-size: 10px;
	font-weight: bold;
}

/* ********************************************************************************
 * text bracket
 ******************************************************************************** */
table.text_bracket {
	border: 1px #000000 solid;
	padding: 0px;
}

th.text_bracket {
	border: 0px;
	padding: 2px;
	background-color: #000000;
	color: #FFFFFF;
	font-size: 8pt;
	font-weight: bold;
	text-align: center;
}

.text_bracket td {
	border: 0px;
	padding: 2px;
	font-size: 8pt;
	text-align: left;
}

table.text_round {
	border: 0px;
	padding: 0px;
}

th.text_round, th.text_actual_round {
	border: 1px #000000 solid;
	padding: 2px;
	font-size: 8pt;
	font-weight: bold;
	text-align: center;
}

th.text_actual_round {
	background-color: #AAAAAA;
}

.text_round td {
	border: 0px;
	padding: 0px;
	padding-right: 2px;
	padding-left: 2px;
	text-align: left;
	line-height: 9pt;
}

.text_round a:link {
	font-size: 8pt;
	font-weight: normal;
	text-decoration: none;
	color: #000000;
}

.text_round a:visited {
	font-size: 8pt;
	font-weight: normal;
	text-decoration: none;
	color: #000000;
}

.text_round a:hover {
	font-size: 8pt;
	font-weight: normal;
	text-decoration: underline;
	color: #000000;
}

.text_round .played {
	font-weight: bold;
}

.text_round .wo {
	font-weight: bold;
	color: #004400;
}

.text_round .bye {
	font-weight: bold;
	color: #004400;
}

.text_round .out {
	font-weight: bold;
	color: #660000;
}

/* ********************************************************************************
 * table bracket
 ******************************************************************************** */

table.table_bracket {
	border: 1px #000000 solid;
	padding: 0px;
}

th.table_bracket {
	padding: 2px;
	background-color: #000000;
	color: #FFFFFF;
	font-size: 8pt;
	font-weight: bold;
	text-align: center;
}

.table_bracket td {
	border: 0px;
	padding: 0px;
	text-align: center;
	font-size: 8pt;
	line-height: 8pt;
}

table.table_round {
	border: 0px;
	padding: 0px;
}

th.table_round, th.table_actual_round {
	border: 1px #000000 solid;
	padding: 2px;
	font-size: 8pt;
	font-weight: bold;
	text-align: center;
}

th.table_actual_round {
	background-color: #AAAAAA;
}

.table_round td {
	border: 0px;
	padding: 0px;
}

td.pl1 {
	border: 0px;
	padding: 0px;
	padding-left: 2px;
	padding-right: 2px;
	background-color: #A9A9A9;
}

td.pl2 {
	border: 0px;
	padding: 0px;
	padding-left: 2px;
	padding-right: 2px;
	background-color: #939393;
}

td.v {
	border: 0px;
	padding: 0px;
	background-color: #000000;
	color: #FFFFFF;
	vertical-align: middle;
}

.table_round a:link {
	font-size: 8pt;
	font-weight: normal;
	text-decoration: none;
	color: #FFFFFF;
}

.table_round a:visited {
	font-size: 8pt;
	font-weight: normal;
	text-decoration: none;
	color: #FFFFFF;
}

.table_round a:hover {
	font-size: 8pt;
	font-weight: normal;
	text-decoration: underline;
	color: #FFFFFF;
}

.table_round .played {
	font-weight: bold;
}

.table_round .wo {
	font-weight: bold;
	color: #006600;
}

.table_round .bye {
	font-weight: bold;
	color: #006600;
}

.table_round .out {
	font-weight: bold;
	color: #990000;
}

/* ********************************************************************************
 * graphic bracket
 ******************************************************************************** */

.match {
	position: absolute;
	width: 100px;
	height: 39px;
	border: solid 1px black;
	background-color: #AAAAAA;
}

.con {
	position: absolute;
	width: 30px;
	border-top: solid 1px black;
	border-right: solid 1px black;
	border-bottom: solid 1px black;
}

.match td {
	font-size: 10px;
	text-align: left;
	color: #333333;
	width: 100px;
}

td.key {
	font-weight: bold;
	text-align: center;
	border-top: solid 1px black;
	border-bottom: solid 1px black;
}

td.winner {
	background-color: #333333;
	color: #888888;
}

td.wo {
	background-color: #006600;
	color: #FFFFFF;
}

td.bye {
	background-color: #006600;
	color: #FFFFFF;
}

td.out {
	background-color: #990000;
	color: #FFFFFF;
}
