body {
	/* background-color: #B9D8FF; */
	background-color: #f1f1f1;
  # /* background-image: url(d/bg2.gif); */
	padding-top:10px;
	padding-bottom:10px;
	font-family: arial;
	font-size: 9pt;
	color: #111133;
	text-align: center;
}
form {
	padding: 0px;
	margin: 0px;
}
p {
	text-align: left;
}

.alltable {
	width:800px; margin-left:auto; margin-right:auto;
	border-collapse:collapse;
	border:1px solid #111133;
	background-color: #FFFFFF;
	padding:0;
}

.firstline { 
	border-bottom:1px solid #111133; 
	background-color: #D5D5D5; 
	text-align: left;
}

.lastline {
	border-top:1px solid #111133; 
	background-color: #D5D5D5; 
	text-align: left;
}

/* 
 * LANGUAGE SELECTION
 */
.flag {
	margin-left: 10px;
	border:1px solid #FFFFFF;
}
.flagselected {
	margin-left: 10px;
	border:1px solid #000000;
}

.bannerleft { 
	width:100px;
	border-right:1px solid #111133; 
}
.banner { 
	width:100%;
	padding:5px;
	text-align:center;
}

.menucol { 
	margin:0; padding:0;
	vertical-align:top;
}

.contentcol {
	margin:0; padding:0;
	border-left:1px solid #111133;
	text-align:center;
	vertical-align:top;
}

.menuheader, .frameheader {
	background-color: #fff799;
	border-top:1px solid #111133; 
	border-bottom:1px solid #111133; 
	font-weight: bold; 
	text-align: center;
	padding-left:5px; padding-right:5px; 
}
.menuitem {
	background-color: #f1f1f1; 
	color: #000000;
	text-decoration: none; 
	text-align:center;
	padding-left:5px; padding-right:5px;
	white-space:nowrap; 
}
.menuitem a {
	color: #000000;
	text-decoration: none;
}
.menulogin {
	border: none;
	background-color: #808080;
	color: #000000;
	text-decoration: none;
}
.menulogin:hover {
	text-decoration: underline;
}
.menuitem a:hover {	
	color: #000000;
	text-decoration: underline;
}

.menufoot {
	border-top:1px solid #111133; 
	background-color: #FFFFFF;
}

.framecontent{
	padding:10px; 
}


.thead{
	background-color: #F2F2F2; 
	font-weight: bold; 
	padding-left:10px; padding-right:10px;
}
.ihead {
	background-color: #f1f1f1;
	font-weight: bold;
	padding-left:10px; padding-right:10px;
	text-align: left;
}

a {				color: #111133; }

.norm, .normlink, .ibutton {	color: #111133; }
.help { 			font-weight: bold; text-decoration: none; }
.error, .important {		color: #990000;	}
.name, .tag { 			font-size: 12pt; }
.winner {			font-size: 12pt; font-weight: bold; }
.toplinks, .bottomlinks { 	text-align: center; }
.currentpage { 			font-size: 14pt; font-weight: bold; }

/*
 * all normal tables (XHTML list of DB entries by smartList())
 */
.simpletable{
	border-spacing:0; 
	border-collapse:collapse; 
	width:80%; 
	margin-top:10px; margin-bottom:10px;
	margin-left:auto; margin-right:auto;
}
.simpletable TD { text-align: left; }
.simplenowarp { white-space:nowrap; }

/*
 * ???
 */
.blocktable{
	border-spacing:0; 
	border-collapse:collapse; 
	margin-top:10px; margin-bottom:10px;
	margin-left:auto; margin-right:auto;
	text-align: left;
}

/*
 * table used when a help item is displayed (seperate window)
 */
.helptable{
	border:1px solid #111133;
	width:90%;
	background-color: #FFFFFF;
	margin-left:auto; margin-right:auto;
	font-family: arial;
	font-size: 9pt;
	color: #111133;
}

/*
 * all forms use this table
 */
.inputtable{
	background-color: #f1f1f1; 
	border:1px solid #111133; 
	border-collapse:collapse; 
	margin-left:auto; margin-right:auto;
}
.inputtable TD { border:1px solid #111133; padding:5px; } 
.inputheader { background-color: #777799; font-family: arial; font-size: 11px; font-weight: bold;}
.itablenoborder { border:0px; }
.itablenoborder TD { border:0px; }

/*
 * table used to display more sopisticated round details (e.g. viewAll)
 */
.koroundtable, .leagueroundtable, .registrationroundtable, .detailstable{
	border:1px solid #111133; 
	border-spacing:0px;
	border-collapse:collapse;
	padding:0px;
	width:80%;
	margin-top:10px; margin-bottom:10px; 
	margin-left:auto; margin-right:auto;
	text-align:left;
}
.koheadline{background-color: #808080; font-weight: bold; }
.kofirstline{border-top:1px solid #111133; text-align: left; }
.leagueheadline{background-color: #808080; font-weight: bold; border-bottom: 1px solid #111133; }
.leaguefirstline{border-top:1px solid #111133; font-weight: bold; text-align: left; padding-left:5px; }

.regheadline{background-color: #808080; font-weight: bold; border-bottom: 1px solid #111133; }

/*
 * display result
 */
.detailsheadline{background-color: #808080; font-size: 12px; color: #000000; font-weight: bold; border-bottom: 1px solid #111133; }
.detailsmatchline{border-bottom:1px solid #111133; padding:5 }
.detailsmatchparty{ width:50%; text-align:center; }
.detailsparty{background-color: #f1f1f1; border-top:1px solid #111133; border-bottom:1px solid #111133;}
.detailsresult{ padding:20px; }

