/**************** Body and tag styles ****************/
* {margin: 0;}
body, h1, h2, h3, h4, h5, h6, p, blockquote, label, fieldset, ul, ol, dl, li, object, table, th, tr, td  {padding: 0;}
body {
	font: 100%/1.5 Arial, Helvetica, sans-serif;
	color: #006; background-color: #fff;
	background: url(../images/main/bg.jpg) repeat-x left top ;
}
img {border:none;
}
h1 {margin-bottom: .5em;
	font-size: 2em;
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	text-align: left;
	font-style:italic;
}
h2 {font-size: 1em;
	font-weight: bold;
	font-style:italic;
	font-family: "Times New Roman", Times, serif;
}
h3 {font-size: 1em;
	border-bottom: 1px solid #f00;
}
h4 {font-size: .9em;
	color: #f00;
}
h5 {font-size: .9em;
	color: #3A1D5C;
	text-align: center;
	margin-top: 1em;
}
p, ol {font-size: .8em;
	margin-bottom: 1em;
}
a {text-decoration: underline;}
a:link, a:visited {color: #f00;}
a:hover,a:active {color: #c00; text-decoration: none;
}
/**************** Container styles ****************/
#container {
	width: 980px;
	margin: 0px auto 0;
	background: url(../images/main/blue-bg.jpg) repeat-y left top ;
	position: relative;
}
#cypher {
	width: 980px;
	margin: 0px auto 0;
	font-size: .6em;
	position: relative;
	text-align: right;
}

a.cypher {text-decoration: underline;}
a.cypher:link, a.cypher:visited {color: #006;}
a.cypher:hover,a.cypher:active {color: #009; text-decoration: none;
}
/**************** Header styles ****************/
#header {
	background-color: #fff;
	height: 112px;
	width: 980px;
	z-index: 1;
}

#headerlogo {
	z-index: 5;
	float: left;
	}
#headermats {
	z-index: 100;
	float: left;
	right: 0;
	top: -10px;
	position: absolute;
}

/**************** Navigation styles ****************/
#navigation {margin-top: 5px; margin-bottom: 44px; width: 980px; height: 30px; background-color: #8D8045; z-index: 2; float: left; border-top: 1px solid #fff; border-bottom: 1px solid #fff;}

ul#navbar {
	margin-left: 0px;
}
ul#navbar li {
	display: inline;
	list-style: none;
	height: 30px;
	float: left;
	width: 113px;
	border-right: 1px solid #fff;
	border-left: none;
	position: relative;
	z-index: 100;
}
ul#navbar li a {
	display: block;
	height: 30px;
	text-align: center;
	width: 113px;
	line-height: 30px;
	color: #fff;
	font-size: .8em;
	background-color: #8D8045;
}
ul#navbar li a:link, ul#navbar li a:visited {
	text-decoration: none;
}
ul#navbar li a:hover, ul#navbar li a:active {
	text-decoration: none;
	background: url(../images/main/nav-overbg.jpg) no-repeat;
	color: #000066;
}
ul#navbar li.lastlink {
	border-right: none;
}
/**************** Content styles ****************/
#maincontent {
	clear: both;
	width: 904px;
	float: left;
	margin: 0px 0px 0px 38px;
	background: url(../images/main/boxbg.gif) repeat-y left top;
	z-index: 2;
	position:relative;
}
#slideshow {
	float: right;
	position: relative;
	width: 360px;
	height: 207px;
	margin: 0px 0px 0px 0px;
}
#slideshow img {
	display: none;
	position: absolute;
	top: 0; left: 0;
}

#pageheader {
	float: left; width: 100%; margin-left: 38px; z-index: 12; margin-bottom: 20px; margin-top: 15px;
}
	
#leftblock {float: left; width: 370px; margin-left: 38px; margin-right: 38px;}
#rightblock {float: left; width: 370px;}
#wideblock {clear: both; float: left; width: 778px; margin-left: 38px;}

/*---------- xxx page ----------*/

/**************** Footer styles ****************/
#footer {
	clear: both;	
	width: 980px;
	height: 66px;
	font-size: 1.1em;
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	text-align: center;
	color: #fff;
	background:url(../images/main/bottomcurve.png) no-repeat top left;
	margin-top: 0px;
	line-height: 80px;
}
#footer a:link, #footer a:visited {color: #bbb;}
#footer a:hover, #footer a:active {color: #999; text-decoration: none;
}
/**************** Misc classes and styles ****************/
.boldtext {font-weight: bold;}
.italictext {font-style: italic;}
.greytext {color: #666;}
.normaltext {font-weight: normal;}
.floatleft {float: left;}
.imageleft {float: left; margin-right: 10px;}
.textcentre {text-align: center;}
.textright {text-align: right;}
.gallerythumbs {border: 1px solid #003399; margin-right: 40px; margin-bottom: 10px;}