
/* =General
-----------------------------------------------------------------------------*/

/*Remove default browser styles - Eric Meyers*/
html,body,div,span,
applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,font,img,ins,kbd,q,s,samp,
small,strike,sub,sup,tt,var,
dd,dl,dt,li,ol,ul,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: normal;
	font-style: normal;
	font-size: 100%;
	line-height: 1;
	font-family: inherit;
	text-align: left;
}

acronym {
font-weight: bold;
cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
ol,ul {
	list-style: none;
}
q:before,q:after,
blockquote:before,blockquote:after {
	content: "";
}

/* Put it back on certain elements */
h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, fieldset, table, ul {
  margin: 1em 0;
}

/* Class for clearing floats */
.clear {
	clear:both;
}

/* main wrapper that holds it all centrally */

#wrapper {
	width: 770px;
	margin: 0 auto;
	padding: 0px 0px 0px 0px;
}

#headerWrapper {
	width: 730px;
	margin-left: 40px;
	margin-top: 5px;
	background: #fff url(../media/graphics/header_bg.jpg) repeat-x;/*blue fade behind header*/
}

/* =Typography
-----------------------------------------------------------------------------*/

body {
	background: #1d1146 url(../media/graphics/body_bg2.jpg) top repeat-x;
	color: #000033;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	line-height: 1.6;
}


/* =Headings
-----------------------------------------------------------------------------*/
#header {
	width: 730px;
	background: transparent url(../media/graphics/logo.gif) bottom left no-repeat;
}

#header h1 {
	width: 520px;
	text-align: right;
	margin-top: 30px;
	margin-right: 10px;/*4 required for ie6*/
	float: right;
	color: #99abc7;
	font-size: 1.8em;
	font-family: Arial, Helvetica, sans-serif;
	word-spacing: 3px;
}

/*Targets main navigation in header*/
#header ul {
	position: relative;
	float: right;
	list-style: none;
	padding: 0px;
	border: none;
	width: 730px;/* 385 width required in ie*/
	margin: 0px 0px 0px 0px;
	z-index: 500;
}

#header ul li.lastLink {
	margin-right: -6px;/*94px required for ie as positioning in #header ul would not apply*/
}

#header ul#nav li {
	position: relative;
	display: block;
	padding: 5px 45px 2px 0px;
	font-size: 1.4em;
	float: right;/*right float required for ie*/
	}

#header li ul {
	position: absolute;
	left: 0px;/*required for ie drop down list positioning*/
	top: 25px;
	display: none;
	font-size: 0.8em;
	z-index: 500;
	border-top: 1px solid #000033;
	border-right: 2px solid #000033;
	border-bottom: 2px solid #000033;
	border-left: 1px solid #000033;
	padding-bottom: 0px;/*2px required for ie6*/
	float: none;
	}

#header li:hover ul, #header li.over ul{ 	 				
	display: block;
	width: 170px;/*120 for ie7*/
	position: absolute;
	top: 25px;
	font-size: 0.7em;
	background-color: #d1d9e6;
	z-index: 500;
	float: right;
	}	
	

#header ul li ul li {
	width: 160px;/*required for ie and for FF left hand margin issue*/
	float: none;
	margin-bottom: 0px;
	padding-bottom: 0px;
	margin-right: -35px;/*required for FF drop down list menu item positioning*/
}		

#header ul li ul li a:link,
#header ul li ul li a:visited  { 
	position: relative;
	display: block;
	padding-bottom: 2px;
	padding-top: 2px;
	margin-top: 0px;
	margin-bottom: 0px;
	width: 160px;
}
	
#header ul li ul li a:hover,
#header ul li ul li a:active { 
	position: relative;
	background-color: #fff;
	width: 160px;/*Alters width of white band behind drop down menu - 160 for ie7 & FF*/
	display: block;
	border-bottom: 2px solid #000033;
	padding-bottom: 2px;
	padding-top: 2px;
	margin-top: 0px;
	margin-bottom: -2px;
	margin-right: -10px;/*required for ie6*/
}	

div#contentWrapper {
	width: 730px;
	margin-left: 40px;
	background: #fff url(../media/graphics/contentWrapper_bg.jpg) top repeat-x;
}

/* =Links
-----------------------------------------------------------------------------*/
#content a:link,
#content a:visited {
	color: #002d73;
	font-weight: bold;
}

#content a:hover,
#content a:active {
	color: #002d73;
	font-weight: bold;
	text-decoration: none;
}

/* =Main Nav
-----------------------------------------------------------------------------*/
#header a {
	text-decoration: none;
	padding: 0px 5px 0px 5px;
	color: #000033;
	}
	
	
	
#header a:hover {
	position: relative;/*required to sort nav issues in IE e.g. to force hover underline*/
	border-bottom: #b5d283 solid 2px;
	padding-bottom: 5px;
	margin-bottom: -5px;
	}

/* Highlighting the current page */

body#homePage #header a.home,
body#aboutPage #header a.about,  
body#servicesPage #header a.services,  
body#contactPage #header a.contact {
	position: relative;/*required to make nav hightlight work in IE*/ 
	background: transparent url(../media/graphics/mainNavActive_bg.jpg) bottom left repeat-x;
	padding-bottom: 49px;
	margin-bottom: -49px;
	border-bottom: none;
	cursor:default;
}

body#homePage #repeatMainNav a.home,
body#aboutPage #repeatMainNav a.about,  
body#servicesPage #repeatMainNav a.services,  
body#contactPage #repeatMainNav a.contact { 
	border-bottom: 2px solid #b5d283;
	cursor:default;
}

#repeatMainNav a:hover {
	border-bottom: 2px solid #b5d283;
}

#repeatMainNav li {
	display: block;
	padding: 0px 5px 3px 30px;
	margin: 0px 0px;
	background: transparent url(../media/graphics/mainNavRepeat_bullet.gif) left center no-repeat;
	font-size: 1.2em;
	float: right;
	color: #002d73;
	}

#contentWrapper ul#repeatMainNav {
	list-style: none;
	width: 665px;
	float: left;
	background: #002d73 url(../media/graphics/mainNavRepeat_bg.jpg) top left repeat-x;/*blue fade under repeat mainNav*/
	border-left: 1px solid #fff;
	border-bottom: 1px solid #45649a;
	margin: 0px 0px 0px 0px;
	padding-top: 91px;
	padding-right: 63px;
}

ul#repeatMainNav li a {
	text-decoration: none;
	color: #fff;
}

/* =Main Content
-----------------------------------------------------------------------------*/
#content {
	position: relative;/*required to make z-index work*/
	margin: 20px 10px -10px 0px;
	width: 432px;
	float: left;
	z-index: 200;
}

.textBlock {
	background: #e9f1da url(../media/graphics/topRightCorner.jpg) top right no-repeat;
	border: 1px dotted #c0b2bf;
	padding-top: 20px;
	margin-top: 10px;
}

p.lastPara{
	background: transparent url(../media/graphics/bottomLeftCorner.jpg) bottom left no-repeat;
	height: 86px;
	margin-bottom: 0px;
}

li.lastPara img, 
p.lastPara img {
	position:relative;
	float: right;
	width: 100px;
}

p.lastPara img {
	margin-right: -5px;
	margin-bottom: -6px;
}

li.lastPara img {
	margin-right: -20px;
	margin-bottom: 0px;
}

.dividingLine {
	text-align: center;
}

#content p,
#content ul {
	font-size: 1.2em;
	line-height: 1.4em;
	padding-left: 5px;
	padding-right: 5px;
}

#content ul {
	padding-left: 20px;
}

#content ul li {
	padding: 5px 5px 5px 5px;
	line-height: 1.4em;
	list-style-type: square;
}

#content ul li ul li{
	padding: 0px 5px 0px 5px;
	line-height: 1.4em;
	font-size: 0.8em;
	list-style-type: square;
}

#content h1{
	font-size: 1.4em;
	line-height: 1.4em;
	font-weight: bold;
	color: #002d73;
	padding-left: 5px;
	padding-right: 5px;
}

body #content {
	margin-top: 35px;
}

body#homePage #content {
	margin-top: 50px;
}

#contactDetails {
	margin-right: 80px;
	float: right;
}

body#servicesPage #content ul li {
	font-weight: bold;
}

body#servicesPage #content ul li ul li{
	font-weight: normal;
}

/* =Secondary Content
-----------------------------------------------------------------------------*/
#secondaryContent {
	position: relative;/*required to make z-index work*/
	float: left;
	width: 275px;
	background: transparent url(../media/graphics/logoReflection.jpg) top left no-repeat;
	border-right: 1px dotted #c0b2bf;
	z-index: 100;
}

body#homePage #secondaryContent img.mainPageImage {
	margin: 60px 0px -20px 50px;/*80px required to ensure postits are properly wrapped by content bg*/
}

#secondaryContent img.mainPageImage {
	margin: 83px 0px 50px 50px;/*required to ensure postits are properly wrapped by content bg*/
}

#postits ul {
	position: absolute;
	width: 150px;
	list-style: none;
	margin-left: -74px;
	margin-top: 20px;
	}

#postits li{
	display: block;
	margin: 0px 0px;
	padding: 0px 0px;
	border: none;
	clear: left;
	float: left;
	margin-top: -2px;/*-1px required for FF*/
}

#postits ul li img {
	margin: 0px 0px 0px 0px;
}

/* =Footer
-----------------------------------------------------------------------------*/
div#wrapper div#footer {
	width: 730px;
	float: right;
}

div#wrapper div#footer p{
	display: inline;
	color: #99abc7;
	margin-top: 2px;
	padding-bottom: 2px;
}

div#wrapper div#footer p#copyRight {
	width: 350px;
	float: left;
}

div#wrapper div#footer p#designedBy {
	width: 350px;
	float: right;
	text-align: right;
}

div#wrapper div#footer a {
	text-decoration: none;
	color: #99abc7;
}

div#wrapper div#footer a:hover {
	text-decoration: underline;
}

/* =Forms
-----------------------------------------------------------------------------*/

form {
	margin: 0;
	padding: 0;
	font-size: 1em;
	width: 400px;
}

form.form label {
	display: block;
	float: left;
	text-align: right;
	font-weight: bold;
	width: 110px;
	clear: left;
	line-height: 1.2em;
}

html>body form.form label {
	line-height: 2em;
}

form.form input.input {
	margin: 0px 30px 0px 5px;
	float: right;
	padding: 2px;
	border: solid 1px #000033;
	background: #fff;
	color: #000033;
	width: 225px;
}

html>body form.form input {
	margin: 3px 30px 3px 5px;
}

form.form textarea {
	margin: 0px 30px 0px 5px;
	float: right;
	width: 225px;
	height: 100px;
	padding: 2px;
	border: solid 1px #000033;
	background: #fff;
	color: #000033;
}

html>body form.form textarea {
	margin: 3px 30px 3px 5px;
}

form.form input.submit {
	float: right;
	clear: right;
	width: 230px;
	margin-right: 30px;/*required for ie6 submit button positioning*/
}

/* Removes fieldset borders. even on Opea 7 */
fieldset {
  border: 1px solid transparent;
}


/* =Tables
-----------------------------------------------------------------------------*/

table { 
	border-spacing: 0;
	border-collapse: collapse;
}

td {
	text-align: left;
	font-weight: normal;
}

