/************************************************************************

	GLOBAL CSS
	==========

	Provides all global styles for the site which more specific sections 
	can be built on using the layered css technique

	Author:		Nick Watson
				Tom Fletcher
				[www.optixsolutions.co.uk]

	Listing Order:
	==============

	Universal
	Forms
	General Structure / Layout
	Navigation Elements
	Header Elements
	Body Elements
	Footer Elements
	Messages

************************************************************************/

/***********************************************************************
	RESET UNIVERSAL STYLES
************************************************************************/
html,body,h1,h2,h3,h4,h5,h6,ol,ul,li,dl,dt,dd,form,fieldset,input,select,textarea,div,p,img,table,th,td,object,pre,blockquote,address { 
	margin:0;
	padding:0;
}

a, object, embed {
   outline: none;
}

:link,:visited,:hover {
	text-decoration: none;
}

ul,ol {
	list-style: none;
}

h1,h2,h3,h4,h5,h6,pre,code {
	font-size: 1em;
}

a img,:link img,:visited img, table, fieldset, img {
	border: none;
}

address, abbr {
	font-style: normal;
}

body {
	color: #999;
	background: url('../i/layout/page-bg-repeat.gif') top left;
}
div#bg-repeat { background: url('../i/layout/page-bg.gif') top left repeat-x; }


a {
	color: #000;
	text-decoration: none;
	outline: none;
}

dt	{ 
	font-weight: bold; 
}

blockquote {
	margin-left: 1em;
}

img {
	display: block;
}

/***********************************************************************
	UNIVERSAL STYLES
************************************************************************/

body {
	font-size: 62.5%;
}

html, body, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address, abbr, input, select, textarea, table, td, th {
	font-family: "Comic Sans MS", cursive, Verdana, Arial, Helvetica, sans-serif;
}

div#content p {
	color: #166384;
	font-size: 1.4em;
	margin: 1em 0;
}

h1 {
	font-size: 1.8em;
	color: #d13a2a;
	font-weight: normal;
}

div#content p span.important {
	font-size: 1.28em;
	color: #d13a2a;
}

div#main-content ul {
	color: #166384;
	font-size: 1.4em;
	margin: 1em 0 1em 0px;
}
div#main-content ul.small-right,
div#main-content ul.small { width: 200px; float: left; margin-right: 5px; }
div#main-content ul.small-right {margin: none; }
div#main-content ul li {
	padding: 3px 0px 3px 20px;
	text-align: left;
	background: url('../i/layout/bullet-point.gif') 0px 5px no-repeat;
}

img.image-left,
img.image-right {
	float: right;
	border: solid 2px #FFE8A6;
	margin: 15px 0px 5px 15px;
}
img.image-left {
	float: left;
	margin: 4px 15px 5px 0px;
}
img.bottom-margin {
	margin-bottom: 15px;
}
/***********************************************************************
	GENERAL STRUCTURE/LAYOUT
************************************************************************/
div#container {
	width: 808px;
	margin: 0px auto;
}
div#content {
	width: 808px;
	padding: 0px 0px 0px 0px;
	background: url('../i/layout/content-bg.gif') repeat-y;
}
div#left-content {
	float: left;
	width: 238px;
	margin: 0px 0px 0px 24px;
}
* html div#left-content { margin: 0px 0px 0px 12px; }
div#main-content {
	float: left;
	width: 485px;
	margin: 0px 5px 0px 16px;
	overflow: visible;
}
div.content-box {
	width: 445px;
	float: left;
	padding: 10px 20px;
	text-align: justify;
	margin: 0px 0px 15px 0px;
	background: #fffcd1;
}
div#content div.wider {
	width: 690px;
	margin-left: -245px;
	position: relative;

}
div.ul-holder {
	float: left;
	width: 445px;
	margin-bottom: 10px;
}
div.image-holder {
	float: left;
	width: 140px;
	margin: 5px 4px;
}

div.image-holder img {
	margin: 0px auto;
	border: solid 2px #FFE8A6;
}
/***********************************************************************
	HEADER ELEMENTS
************************************************************************/
div#header {
	width: 808px;
	height: 200px;
	background: url('../i/layout/header.gif') top left no-repeat;
}
a#header-link {
	width: 270px;
	height: 190px;
	display: block;
	margin: 0px 0px 0px 270px;
	text-indent: -999em;
	letter-spacing: 133px;	
}
div#branging-tagline {
	width: 808px;
	height: 98px;
	color: #166384;
	font-size: 2.8em;
	text-align: center;
	background: url('../i/layout/stap-line-bg.gif') no-repeat;
}
/***********************************************************************
	BODY ELEMENTS
************************************************************************/
/***********************************************************************
	NAVIGATION
************************************************************************/
ul#side-nav {
	width: 238px;
	font-size: 1.7em;
}
ul#side-nav li {
	width: 198px;
	float: left;
	padding: 0px 30px 0px 10px;
	background-repeat: no-repeat;
}
ul#side-nav li#nav1 {
	height: 38px;
	background-image: url('../i/layout/nav-item-01.gif');
}
ul#side-nav li#nav3,
ul#side-nav li#nav2 {
	height: 37px;
	background-image: url('../i/layout/nav-item-02.gif');
}
/*ul#side-nav li#nav3 {
	height: 55px;
	background-image: url('../i/layout/nav-item-03.gif');
}*/
ul#side-nav li#nav4 {
	height: 38px;
	background-image: url('../i/layout/nav-item-04.gif');
}
ul#side-nav li#nav5 {
	height: 39px;
	background-image: url('../i/layout/nav-item-05.gif');
}
ul#side-nav li#navLast {
	height: 225px;
	background-image: url('../i/layout/nav-bottom-image.jpg');
}
ul#side-nav li a {
	color: #d13a2a;
	display: block;
	padding: 7px 0px 0px 0px;
}
ul#side-nav li#nav3 a { padding: 5px 0px 0px 0px; }
ul#side-nav li a:hover { color: #166384; }
/***********************************************************************
	FOOTER ELEMENTS
************************************************************************/
div#footer {
	width: 808px;
	height: 130px;
	margin: 0px auto;
	padding: 70px 0px 0px 0px;
	background: url('../i/layout/footer.jpg') no-repeat;
}
div#footer-info {
	width: 250px;
	text-align: center;
}
p.fred,
p.fblue {
	font-size: 1.4em;
	color: #266d8c;
	margin: 0px 0px 8px 0px;
}
p.fred a,
p.fred {
	color: #d13a2a;	
}
p.fred a:hover { text-decoration: underline; }
/***********************************************************************
	TOOLS
************************************************************************/

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

.accessibility {
	position: absolute;
	text-indent: -999em;
	left: -999em;
	top: -999em;
}



/*************************************************
remove clients messy styles from word pasting.
specify where this applies or it will do all spans
**************************************************/
/*span[style]{ 
	color: inherit !important; 
	font-size: inherit !important; 
	font-family: inherit !important;
}*/

/***********************************************************************
	FORMS
************************************************************************/

fieldset, legend {
	border: none;
}

legend {
	background: transparent;
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0;
	padding: 0 .5em;
}

label {
	float: left;
	padding: 0 1em 0 0;
	text-align: right;
}

form fieldset div {
	clear: both;
	display: block;
	margin-bottom: .5em;
	padding: 0;
}

div.submit {
	clear: both;
	text-align: center;
	width: auto;
}

div.multi input {
	border: 0;
	width: auto;
}
 
form 									{ width: 100%; }

label		 							{ float: left;	height: 22px; width: 45%; }

fieldset div input,
fieldset div select,
fieldset div textarea  			{ width: 45%; }

fieldset div input.small,
fieldset div select.small,
fieldset div textarea.small 	{ width: 25%; }

div.req label, div.req p		{ font-weight: bold; }

div.multi label 					{ height: 22px; }

div.req label:before, 
div.req p:before {
	content: "* ";
}

input:focus, textarea:focus {
	background: #fafafa;
	color: #000;
}

fieldset div input, 
fieldset div select, 
fieldset div textarea  {
	border: 1px solid #aaa;
	color: #333;
	font-weight: normal;
	padding: 1px;
}

div.submit input {
	background: #777;
	border: 1px solid #333;
	color: #fff;
	font-weight: bold;
	padding: 1px .7em;
	width: auto;
}

/***********************************************************************
	MESSAGES
************************************************************************/

.error, .notice, .message { 
	color: #b22;
	font-weight: bold;
}

.error ol li {
	font-weight: normal;
	list-style-type: lower-roman;
	list-style-position: inside;
	margin-left: 0;
	padding-left: 1em;
	text-indent: 1em;
}

/* FORMMAILER */

/* COLOR/BORDERS CSS */

form.ddfm h1,
form.ddfm h2 {
	color: #606060;
}

form.ddfm legend, 
form.ddfm label, 
form.ddfm label.fmtextlblwide {
	color: #606060;
}

form.ddfm .fmcheck p, 
form.ddfm .fmradio p,
form.ddfm textarea, 
form.ddfm .fmfullblock, 
form.ddfm .fmhalfblock, 
form.ddfm .fmselect, 
form.ddfm input.fmtext,
form.ddfm input.fmverify,
form.ddfm textarea.fmtextwide,
form.ddfm .submit,
form.ddfm .credits {
	color: #404040;
}

form.ddfm .required {
	color: #FF0000;
}

.ddfmerrors {
	color: #FF0000;
}

/* TEXT CSS */

.ddfmwrap {
	font-size: 90%;
	font-family: Arial, Helvetica, sans-serif;
}

form.ddfm h1,
form.ddfm h2 {
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
	margin: 0 0 10px 0;
	padding: 0;
}


form.ddfm h1 {
	font-size: 140%;
}

form.ddfm h2 {
	font-size: 115%;
}

form.ddfm legend, 
form.ddfm label, 
form.ddfm label.fmtextlblwide {
	font-size: 100%;
	font-weight: bold;
}

form.ddfm .credits {
	font-size: 90%;
}

form.ddfm legend {
	font-size: 110%;
}

.ddfmerrors {
	font-weight: bold;
}




/* STRUCTURE CSS */

.ddfmwrap {
	margin: 15px auto 15px auto;
	width: 400px; 
}

.ddfmwrap p.fieldwrap {
	padding: 1px;
	margin: 1px;
}

form.ddfm {
	text-align: left;
	width: 380px; 
}

form.ddfm fieldset {
	padding: 0 10px 2px 10px;
	margin: 0 0 13px 0;
	display: block;
}

form.ddfm legend {
	padding: 0 6px 0 6px;
	margin: 0 0 0 10px;	 
}

form.ddfm label {
	display: block; 
	float: left; 
	width: 24%; 
	text-align: right;
	margin: 0 10px 0 0; 
	padding-bottom: 15px;
	clear: left;  
}

form.ddfm label.fmtextlblwide {
	display: block;  
	float: left; 
	text-align: left;
	margin: 0 10px 0 1px; 
	padding-bottom: 8px; 
}

form.ddfm select.fmselect {
	float: left; 
	display: block;
	width: 65%; 
	margin-bottom: 15px;  
	padding: 3px; 
}

form.ddfm .fmcheck {
	width: 65%; 
	float: left;
	display: block;  
	margin-bottom: 15px;
}

form.ddfm .fmradio {
	width: 65%;
	float: left;
	display: block;
	margin-bottom: 15px;
}

form.ddfm .fmcheck p {
	padding: 0;
	margin: 0 0 5px 0;
	line-height: 140%;
}

form.ddfm .fmradio p {
	padding: 0;
	margin: 0 0 5px 0;
	line-height: 140%;
}

form.ddfm textarea {
	float: left; 
	position: relative;
	width: 65%;
	margin-bottom: 15px;
	padding: 3px;
}


/*
	display: block; 
	float: left; 
	width: 26%; 
	text-align: right;
	margin: 0 10px 0 0; 
	padding-bottom: 15px;
	clear: left;  */

form.ddfm .fmfullblock {
	padding-left: 0px;
	float: left; 
	width: 100%;
	margin-bottom: 13px;
	display: block;
}

form.ddfm .fmhalfblock {
	width: 65%;
	padding-left: 29%;
	margin-bottom: 13px;
	float: left; 
	display: block;
}

form.ddfm input.fmverify {
	float: left; 
	width: 22%;
	margin-bottom: 15px; 
	padding: 3px;
	position: relative;
	display: block;
}

form.ddfm img {
	margin: 1px 0 0 10px; 
	float: left;
}

form.ddfm input.fmfile,
form.ddfm input.fmtext {
	float: left; 
	display: block;
	width: 65%;
	margin-bottom: 15px;  
	padding: 3px;
}

form.ddfm textarea.fmtextwide {
	display: block;
	float: left;
	width: 93%;
	margin-right: 2px;
	margin-bottom: 15px; 
	padding: 3px;
}

form.ddfm .credits {
	text-align: right;
	margin-top: 7px;
	margin-right: 10px;
	width: 95%;
}

form.ddfm .submit {
	margin-top: 15px;
	margin-right: 10px;
	text-align: right;
	clear:both;
	width: 95%;
}

.ddfmwrap .ddfmerrors {
	display: block; 
	float: left; 
	width: 27%; 
	text-align: right;
	margin: 0 10px 0 0; 
	padding-bottom: 15px;
}

.ddfmwrap .errorlist {
	float: left; 
	display: block;
	width: 65%;
	padding: 3px;
}
