﻿html {
	height:100%;
}
body {
	background-color: #47586d;
	background-image: url('media/foreground.png');
	background-repeat: repeat;
	height: 100%;
}
.wrapper {
	height:auto;
	width: auto;
}
.top {
	width: 790px;
	height:40px;
	margin-left:auto;
	margin-right: auto;
	margin-bottom: 10px;
	border-bottom: 1px gray silver;
	background-image:url('media/Nav.png');
	z-index:500;	
}
.banner {
	height: 150px;
	width: 768px;
	margin: 10px auto 0px auto;
	padding: 0px 0px 0px 0px;
	background-image:url('media/banner.png');
}
.content {
	height:auto;
	width: 758px;
	padding: 0px 10px 0px 10px;
	margin-left: 10px;
}
.content#nav {
	height: auto;
	width: 580px;
	padding: 0px 10px 0px 10px;
	margin-left: 165px;
}
.welcome {
	width: 230px;
	height: 220px;
	background-image: url('media/Welcome.png');
	float: left;
	padding: 30px 10px 50px 10px;
	font-size: xx-large;
	text-align: center;
	margin-left: 20px;
	}
.sign {
	float: left;
	width: 190px;
	height: 115px;
	padding: 10px 20px 5px 20px;
	background-image: url('media/sign.png');
	margin-right: 8px;
	margin-left: 8px;
	text-align: center;
	color: #FFFFFF;
	font-size: x-large;
}
.footer {
	width: 770px;
	height: 20px;
	background: url('media/footer.png') bottom;
	padding: 10px;
	margin: 0px auto 0px auto;
}	
.nav{
	width: 165px;
	height: auto;
	font: bold 12px Verdana;
	border-right: 2px silver dashed;
	float:left;
}
.nav ul{
	width:125px;
	margin: 0px 0px 0px 0px;
	padding: 0;
	list-style-type: none;
	z-index:499;
}
/*Top level list items*/
.nav ul li{
	width: 125px;
	text-align:center;
	position: relative;
	display: inline;
	float: left;
	z-index: 499;
}
/*Top level menu link items style*/
.nav ul li a{
	float:left;
	width:100%;
	display: block;
	background:url("media/left2.png") repeat-y left top;
	color: black;
	cursor: pointer;
	padding-left: 15px;
	margin: 0px 5px 0px 5px;
	color: #2d2b2b;
	text-decoration: none;
}
.nav ul li a span{
	height:auto;
	width:100%;
	float: left;
	display: block;
	background: url("media/right2.png") repeat-y right top;
	padding: 5px 15px 5px 0px;
	margin-right: 2px;
	color: #646464;
}
.nav ul li#first a{
	float:left;
	width:100%;
	display: block;
	background:url("media/left.png") no-repeat left top;
	color: black;
	padding-left: 15px;
	margin: 15px 5px 0px 5px;
	color: #2d2b2b;
	text-decoration: none;
}
.nav ul li#first a span{
	height:0px;
	width:100%;
	float: left;
	display: block;
	background: url("media/right.png") no-repeat right top;
	padding: 12px 15px 16px 0px;
	margin-right: 2px;
	color: #646464;
}
.nav ul li#last a{
	float:left;
	width:100%;
	display: block;
	background:url("media/left3.png") no-repeat left bottom;
	color: black;
	padding-left: 15px;
	margin: 0px 5px 0px 5px;
	color: #2d2b2b;
	text-decoration: none;
}
.nav ul li#last a span{
	height:5px;
	width:100%;
	float: left;
	display: block;
	background: url("media/right3.png") no-repeat right bottom;
	padding: 5px 15px 20px 0px;
	margin-right: 2px;
	color: #646464;
}
.navwrapper {
	width: 788px;
	margin: -10px auto -10px auto;
	background: url('media/content.png') repeat-y;
	border-left: 1px gray solid;
	border-right: 1px gray solid;
	border-top: 1px gray solid;
	padding-top: 1px;
	padding-bottom:20px;
}
.nav ul li a:hover span{
	text-decoration: underline;
	font-weight: bolder;
	color: black;
}
.nav ul li#last a:hover span{
	text-decoration: underline;
	font-weight: bolder;
	color: black;
}
.fix {
	width: 770px;
	height: auto;
	padding: 10px;
	margin: 0px auto 0px auto;
}	
a img {
	text-decoration:none;
	border:none;
}