/*set font-family and background image for page */
body {
	background-image: url(../images/background.jpg);
	background-position: left top;
	background-attachment: fixed;
	background-repeat: repeat-x;
	background-color: #000000;
	font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	font-size: 80%;
	margin: 0px;
	padding: 0px;
	}

/* page layout elements */
#wrapper {
	position: absolute;
	width: 700px;
	margin-left: -350px;
	background-color: #FFFFFF;
	left:50%;
	border: medium solid #FEE50E;
	padding-bottom: 50px;
	background-image: url(../images/wrapperbg.gif);
	background-repeat: repeat-y;
	background-position: left top;
	}

#banner {
	background-color: #FFFFFF;
	background-image: url(../images/bannerAlt.jpg);
	height: 86px;
	clear: both;
	border-bottom-width: 1px;
	border-bottom-style: none;
	border-bottom-color: #CCCCCC;
	display: block;
	background-repeat: no-repeat;
	background-position: center;
	}

/* side navigation bar begins */

#sidenav {
	width: 150px;
	margin-top: 0px;
	margin-bottom: 0;
	margin-left: 0;
	position: relative;
	margin-right: 447px;
	padding: 0px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ccc;
	border-right-color: #ccc;
	border-bottom-color: #ccc;
	border-left-color: #ccc;
	color: #036
	}	

#sidenav ul{
	margin: 0px 0px 1.4em;
	padding: 0;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-top-color: #CCCCCC;
	border-right-color: #CCCCCC;
	border-bottom-color: #CCCCCC;
	border-left-color: #CCCCCC;
	}	

#sidenav li {
	list-style-type: none;
	margin: 0px;
	text-align: center;
	padding: 0;
	display: block;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
	color: #036;
	width: 100%;
	}

#sidenav li a:link, a:visited {
	text-decoration:none;
	color: #003366;
	width: 100%;
	}

#sidenav li a:hover {
	color: #000000;
	background-color: #FEE50E;
	display: block;
	width: 100%;
	}
.leftimage{
	float: left;
	margin-right: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
	border-top: none #000000;
	border-right: none #000000;
	border-bottom: none #000000;
	border-left: none #000000;
}

.rightimage{
	margin-bottom: 10px;
	float: right;
	margin-left: 20px;
	margin-top: 10px;
	border-top: #000000;
	border-right: #000000;
	border-bottom: #000000;
	border-left: #000000;
}

.centreimage{
margin-bottom: 20px;
float: none;
margin-left: 15px;
border: 1px solid #000000;
}


#sidenav ul li.extLinks a:hover {
	color: white;
	background-color:#003366;
	display: block;
	width: 100%;
	}	
/* side navigation ends */


/*styles for maincontent - fonts etc*/
#maincontent {
	color: #003366;
	padding-right: 10px;
	padding-left: 0px;
	float: right;
	width: 500px;
	list-style-image: url(../images/bullet.jpg);
	}

#maincontent h1 {
	font-size: 2em;
	color: #5F859C;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: dashed;
	border-left-style: none;
	border-bottom-color: #669ACC;
	border-bottom-width: 1px;
	border-top-width: 1px;
	border-top-color: #F3EA13;
	padding-top: 5px;
	}
#flash {
	padding: 5px 0px;
	background-color: #5F859C;
	border: thin none #FFE211;
}


#maincontent h2 {
	font-size: 1.6em;
	}

#maincontent h3 {
	font-size: 1.4em;
	margin-top: -0.4em;
	}

#maincontent h4{
	font-size: 1.1em;
	}
#maincontent ol {
	margin: 0;
	padding: 0;
	}

#maincontent ul li {
	list-style-type: none;
	}	

#maincontent ul.refs {
	padding: 0;
	margin: 0;
	list-style-type: none;
	}

#maincontent ul.refs li {
	display: block;
	margin-top: 1em;
	}	
	
#maincontent a:link {
	text-decoration:none;
	color:#669ACC;
	}
#maincontent a:hover {

	text-decoration:underline;
	color:#669ACC;
}
	
#maincontent a:visited {
	color:#5F859C;
	}
	




#footer {
	font-family: "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
	font-size: small;
	color: #5F859C;
	text-align: center;
	background-color: #FFFFFF;
	padding: 5px;
	margin: 30px;
	float: none;
	clear: both;
	position: static;
	border-top: thin none #5F859C;
	border-right: thin none #5F859C;
	border-bottom: thin none #5F859C;
	border-left: thin none #5F859C;
}


img.right {
	float: right;
	}

#subBanner {
	height: 80px;
	width: 700px;
	}

#subBanner img {
	display:block;
	}

/* Style lists of references */
#plug {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	color: #666666;
	letter-spacing: 0.2em;
	margin-top: 12em;
}
#plug a:link, #plug a:visited {
	color:#999999;
	}
