/* -- basic html elements -- */

html {
	font: 10pt/12pt verdana;
	text-align: center;
	}

body {
	margin: 0;
	padding: 0;
	background: black;
	color: #333333;
	text-align: center;
	font: 10pt/12pt verdana;
	}

a {
	color: #D77FD3;
	text-decoration: none;
	}

a:link {
	color: #D77FD3;
	text-decoration: none;
	}

a:visited {
	color: #D77FD3;
	text-decoration: none;
	}

a:hover {
	color: #D77FD3;
	text-decoration: none
	}

a:active{
	color: #D77FD3;
	text-decoration: none
	}

h1 {
	margin: 0;
	margin-bottom:  5px;
	font-size: 14pt;
	line-height: 16pt;
	}

h2 {
	margin: 0;
	font-size: 12pt;
	line-height: 14pt;
	}

h3 {
	}

p {
	margin: 0 0 1em 0;
}

img, form {
	border: 0; 
	margin: 0;
}

textarea {
	font: 8pt/11pt verdana;
	}

input {
	font: 8pt/11pt verdana;
	}
	
select {
	font: 8pt/11pt verdana;
	}



/* -- layout elements -- */


#wrap {
	width: 790px;
	margin: 50px auto; 
	text-align: left;
}

#headerwrap {
	background: black;
	height: 35px;
	}

#headerwrap td {
	text-align: bottom;
	font-size: 16px;
	letter-spacing: 1px;
	color: #D77FD3;
	}


#centerwrap {
	height: 400px;
	width: 790px;
	}

#footerwrap {
	margin-top: 10px;
	height: 20px;
	color: white;
	background: black;
	font: 8pt/10pt verdana;
	}

#footerwrap a {
	text-decoration: none;
	color: white;
	}

#left {
	width: 470px;
	background: #CCCCCC;
	vertical-align: top;
}

#center {
	width: 190px;
	background: #663366;
	vertical-align: top;
	color: white;
}

#center a {
	color: white;
	text-decoration: none;
	}

#center a:link {
	color: white;
	text-decoration: none;
	}

#center a:visited {
	color: white;
	text-decoration: none;
	}

#center a:hover {
	color: white;
	text-decoration: none
	}

#center a:active{
	color: white;
	text-decoration: none
	}

#right {
	width: 130px;
	background: black;
	vertical-align: top;
}

.rightnavi {
	border-left: 5px solid #663366;
	margin-left: 5px;
}
.rightnavi td {
	vertical-align: top;
	}

.rightnavi ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	padding-left: 5px;
	}

.rightnavi ul li {
	margin-bottom: 4px;
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 1px;
	color: #333333;
	}

.rightnavi a {
	color: #666666;
	text-decoration: none;
	}

.rightnavi a:link {
	color: #666666;
	text-decoration: none;
	}

.rightnavi a:visited {
	color: #666666;
	text-decoration: none;
	}

.rightnavi a:hover {
	color: #D77FD3;
	text-decoration: none
	}

.rightnavi a:active{
	color: #666666;
	text-decoration: none
	}

#rightnaviindex {
	border-left: 5px solid #663366;
	margin-left: 5px;
	}

#rightnaviindex td {
	vertical-align: top;
	}

#rightnaviindex ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	padding-left: 5px;
	}

#rightnaviindex ul li {
	margin-bottom: 4px;
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 1px;
	color: #333333;
	}

#rightnaviindex a {
	color: #666666;
	text-decoration: none;
	}

#rightnaviindex a:link {
	color: #666666;
	text-decoration: none;
	}

#rightnaviindex a:visited {
	color: #666666;
	text-decoration: none;
	}

#rightnaviindex a:hover {
	color: #D77FD3;
	text-decoration: none;
	}

#rightnaviindex a:active{
	color: #666666;
	text-decoration: none
	}







.querytable {
	font: 11px/12px arial;
	border: solid 2px black;
	}
.querytable th {	
	background: #555555;
	padding: 2px 5px;
	color: white;
	vertical-align: top;
	text-align: center;
	}
	
.querytable td {	
	font: 11px/12px arial;
	background: #CCCCCC;
	color: black;
	padding: 2px 5px;
	vertical-align: top;
	}
	
.searchtable {
	background: #DDDDDD;
	}
.searchtable td {	
	background: #DDDDDD;
	padding: 2px 5px;
	text-align: left;
	}