body{
	margin: 0px;
	background: #505050;
}


#headerbg{
	background: url(images/headerbg.jpg) top center no-repeat;
	height: 133px;
	overflow: hidden;
	text-align: center;
}

#mainbg{
	background: #505050 url(images/mainbg.jpg) top center repeat-y;
	text-align: center;
}

#headerbg h1{
	margin: 20px auto 0px auto;
	padding: 0px;
	width: 770px;
	height: 113px;
	display: block;
	text-align: left;

}

#headerbg h1 span{
	position: relative;
	width: 770px;
	height: 113px;
	background: url(images/header.png);
}

#headerbg>h1>span{
	position: absolute;
}

#main{
	text-align: left;
	width: 770px;
	margin: 0px auto;
}

#nav{
	width: 178px;
	float: left;
}

#nav #navpic{
	width: 178px;
	height: 100px;
	background: url(images/navdecoration.png) no-repeat;
	xmargin-left: 1px;
}

#nav a{
	display: block;
	text-align: right;
	font: bold 10pt/25px 'century gothic', verdana, sans-serif;
	text-decoration: none;
	color:#ffffff;
	width: 176px;
	height: 25px;
	margin: 0px 1px 0px 2px;
	padding: 0 20px 0 0;
	border-bottom: 1px solid #939598;
	border-top: 1px solid #BCBEC0;
}

#nav>a{
	width: 157px;
	margin: 0px 1px 0px 1px;

}

#nav a:hover{
	background: #cccccc;
	border-bottom: 1px solid #6D6E71;
	border-top: 1px solid #6D6E71;
}

#maincontent{
	width: 560;
	font: 8pt verdana, geneva, sans-serif;
	padding: 25px 15px 10px 15px;

}

#maincontent td{
font: 8pt verdana, geneva, sans-serif;
}

#maincontent a{
font: 8pt verdana, geneva, sans-serif;
color: #415CAB;

}

#footbg{
	height: 36px;
	background: url(images/footerbg.jpg) top center no-repeat;
	text-align: center;
}


#maincontent h1{
	font: 16pt 'century gothic', verdana, geneva, sans-serif;
	color: #CB2227;
	margin-bottom: 5px;
border-bottom: 1px solid #cb2227;
}

#maincontent h2{
	font: bold 9pt 'century gothic', verdana, geneva, sans-serif;
	color: #000000;
	margin-bottom: 0px;
}

#maincontent p{
	margin: 0 0 20px 0;
}

#foot{
	width: 770px;
	margin: 0px auto;
}

#contactline{
	float: left;
	font: 8pt/20px verdana, sans-serif;
	color: #ffffff;
	margin-left: 10px;
}

#copyright{
	float: right;
	font: 8pt/20px verdana, sans-serif;
	color: #ffffff;
	margin-right: 10px;
}

#maincontent form{
float: right;
}

#maincontent form p{
margin: 0 0 10px 0;

}

.textinput, .textareainput{
width: 300px;
border: 1px solid #cccccc;
background: #f6f6ff;
font: 10px verdana, geneva, sans-serif;
}

.textareainput{
height: 200px;
}