#wrapper {
	width: 760px;
	margin-right: auto;
	margin-left: auto;
	padding: 0 10px 0 10px;
	text-align: left;
}
body {
	background-image: url(background.jpg);
	background-repeat: repeat-y;
	background-position: center top;
	text-align: center;
}	
#banner {
	width: 750px;
	margin: 0;
}
#nav ul{
	padding: .2em 0;
	margin: 0;
	list-style-type: none;
	background-color: #036;
	color: #FFF;
	width: 100%;
	font: normal 90% arial, helvetica, sans-serif;
	text-align: center;
}
#nav ul li{
	display: inline;
}
#nav ul li a{
	text-decoration: none;
	background-color: #036;
	color: #FFF;
	padding: .2em .75em;
	border-right: 1px solid #fff;
}
#nav li a:hover {
	font-weight: bold;
	background: #c61515;
}
#nav li a:active {
	font-weight: large;
	background: yellow; 
}
#main {
	float: left;
	width: 500px;
	margin: 0 10px 10px 10px;
	padding: 10px;
	font-family: Centrury Gothic, Gill Sans, Arial, sans-serif;
}
#main h2 {
	text-align: center;
}
#main ul {
		list-style-type: decimal
}
#email {
	line-height: 30%;
	padding: 0 0 2px 0;
	margin: 40px 0 15px 0;	
}
label#teamnamelabel, label#regcontactlabel, label#streetlabel, label#citylabel, label#provincelabel, label#postallabel, label#countrylabel, label#phonelabel, label#otherphonelabel, label#contactemaillabel, label#competitor1label, label#competitor2label, label#judge1label, label#judge2label, #categorylabel, #categorylabel2, label#vegmealslabel {
	float: left;
	width: 8em;
	clear: left;
	text-align: right;
	margin: 2px 10px 2px 150px;
}
input#button {
	margin-left: 50%;
	margin-top: 15px;
	background-color: #CBD893;
}
input#teamname, input#regcontact, input#street, input#city, input#province, input#postal, input#country, input#phone, input#otherphone, input#contactemail, input#competitor1, input#competitor2, input#judge1, input#judge2, input#vegmeals {
	background-color: bcc9e1;
	width: 225px;
	float: right;
	margin: 0 120px 0 0;
}
#dropdown {
	width: 225px;
	float: right;
	margin: 0 120px 0 0;
}
#categorylabel {
	float: left;
	text-align: left:
	margin: 0 0 0 7em;
}
#sponsor {
	float: left;
	width: 130px;
	margin: 0;
	padding: 0 0 20px 0;
	border: no-border;
	text-align: center;	
	font-size: .55em;
	font-family: arial;
}
#sponsor tr {
	text-align: center;
}
.gbanner {
	margin: 0;
	border: 2px outset ffe403;
	padding: 5px 5px 0 7px;
	background: ffe403;
}
img.figure {
	margin: 5px 0 10px 0;
}
#backtop{
	clear: both;
	margin: 10px 0 20px 0;
	text-align: center;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}
#silversponsor {
	margin: 0 15px 0 15px;
}
#legal {
	font-family: Arial, Helvetica, sans-serif;
}
#photogallery {
	position: relative;
	width: 760px;
	height: 280px;
	margin: 20px auto 0 auto;
	border: 1px solid #aaa;
	background: #fff url(mainlogo.jpg) 130px 35px no-repeat;
}
#photogallery ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
#photogallery a.gallery span {
	position: absolute;
	width: 1px;
	height: 1px;
	top: 5px;
	left: 5px;
	overflow: hidden;
	background: #fff;
}
#photogallery a.gallery, #photogallery a.gallery:visited {
	display: block;
	color: #000;
	text-decoration: none;
	border: 1px solid #000;
	margin: 1px 2px 1px 2px; 
   text-align: left; 
   cursor: default;
   background-repeat: no-repeat;
}
#photogallery a.slidea {
	background: url(images/pa_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slideb {
	background: url(images/p1_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slidec {
	background: url(images/p2_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slided {
	background: url(images/p3_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slidee {
	background: url(images/p4_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slidef {
	background: url(images/p5_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slideg {
	background: url(images/p6_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slideh {
	background: url(images/p7_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slidei {
	background: url(images/p8_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery a.slidej {
	background: url(images/p9_t.jpg);
	height: 60px;
	width: 80px;
}
#photogallery ul {
	width: 258px;
	height: 264px;
	margin: 5px;
	float: right;
}
#photogallery li {
	float: left;
}
#photogallery a.gallery:hover {
	border: 1px solid #fff;
}
#photogallery a.gallery:hover span {
	position: absolute;
	width: 320px;
	height: 320px;
	top: 5px;
	left: 60px;
	color: #000;
	background: #fff;
}
#photogallery a.gallery:hover img {
	border: 1px solid #fff;
	float: left;
	margin-right: 10px;
}
span.red {
	padding: 10 0 0 0;
	margin: 10 0 0 0;
	color: red;
	font-weight: bold;	
}
