/************************************************************************

	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;
}

: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-color: #FFF;
}

a {
	color: #000;
	text-decoration: none;
	outline: none;
}

dt	{ 
	font-weight: bold; 
}

blockquote {
	margin-left: 1em;
}

img {
	display: block;
}
table {
	color: #000;
	margin-bottom: 10px;
}
th {
	color: #0136A6;
	text-align: left;
	padding: 5px;
}
th.mainColum {
	width: 150px;
}
td {
	padding: 5px;
	border-bottom: solid 1px #CCC;
}
td.heading {
	display: block;
	color: #0136A6;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 10px;
	border-bottom: none;
}
td a {
	display: block;
	padding-top:2px;
	padding-left: 18px;
	height: 14px;
	background: url(../i/icons/link-go.png) left no-repeat;
}
span.green {
	font-weight: bold;
	color: #008000;
}
/***********************************************************************
	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;
}



/***********************************************************************
	UNIVERSAL STYLES
************************************************************************/

body {
	font-size: 62.5%;
	background: #d9dbff url(../i/layout/page-bg.jpg) top left repeat-x;
}

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: Verdana, Arial, Helvetica, sans-serif;
}

div#content p {
	color: #000;
	margin: 1em 0;
	font-size: 1.1em;
}
h1 {
	color: #0136a6;
	font-size: 1.6em;
}
h2 {
	color: #0136a6;
	font-size: 1.4em;
	padding-top: 10px;
	width: 100%;
	clear: both;
}
ul.main li {
	color: #000;
	font-size: 1.1em;
	background: url(../i/layout/bullet-point.gif) left no-repeat;
	padding-left: 15px;
	padding-top: 3px;
	padding-bottom: 4px;
}
div#page-footer-logo {
	padding: 10px;
	text-align: center;
	clear: both;
}
span.footer-blue {
	font-size: 1.6em;
	display: block;
	margin-bottom: 3px;
	color: #0039A2;
}
span.footer-black {
	font-size: 1.3em;
	display: block;
	color: #000;
}
img.linkicon {
	display: inline;
}
div#content a {
	text-decoration: underline;
}
div#content a:hover {
	text-decoration: none;
}
/*************************************************
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;
}

/***********************************************************************
	GENERAL STRUCTURE/LAYOUT
************************************************************************/
div#container {
	width: 770px;
	margin-left: auto;
	margin-right: auto;
}
div#left-collum {
	float: left;
	width: 300px;
}
div#right-collum {
	float: left;
	width: 300px;
	margin-left: 15px;
}
div.home-list {
	float: left;
	width: 180px;
	margin-right: 10px;
	margin-bottom: 40px;
}
/***********************************************************************
	IMAGE BOXES
************************************************************************/
div#about-images {
	float: right;
	width: 200px;
	margin-left: 10px;
}
div#about-images img {
	float: left;
	margin-bottom: 15px;
}
div#choose-images {
	float: right;
	width: 173px;
	margin-left: 10px;
}
div#choose-images img {
	float: left;
	margin-bottom: 15px;
}
div.page-top-images {
	margin-left: 55px;
}
div.page-top-images-solid {
	margin-left: 20px;
}
div.page-top-images-center {
	margin-left: 170px;
}
div.control-image {
	margin-left: 70px;
	margin-bottom: 10px;
}
div.solid-floor-images {
	float: right;
	width: 300px;
	margin-left: 10px;
	margin-bottom: 10px;
}
div.solid-floor-images-small {
	float: right;
	width: 250px;
	margin-left: 10px;
	margin-bottom: 10px;
}
div.solid-floor-images-small img {
	margin-bottom: 10px;
	float: right;
}
/***********************************************************************
	HEADER ELEMENTS
************************************************************************/
a.header {
	display: block;
	width: 770px;
	height: 140px;
	background: url(../i/layout/header.gif) left top no-repeat;
	text-indent: -999em;
	letter-spacing: 133px;
}
div#top-images {
	display: block;
	float: left;
	width: 770px;
	height: 198px;
	background: url(../i/layout/top-images.jpg) left top no-repeat;
}
a.contact-button {
	position: absolute;
	display: block;
	width: 100px;
	height: 26px;
	margin-left: 616px;
	margin-top: 158px;
	text-indent: -999em;
	letter-spacing: 133px;
}
div#main {
	width: 770px;
	background: url(../i/layout/content-bg.gif) repeat-y;
}
div#page-bg {
	width: 630px;
	padding-top: 20px;
	padding-bottom: 100px;
	padding-left: 70px;
	padding-right: 70px;
	background: url(../i/layout/page-bottom.jpg) bottom no-repeat;
}
/***********************************************************************
	BODY ELEMENTS
************************************************************************/
div#google-map {
	width: 610px;
}
div#map {
	float: left;
	width: 300px;
	height: 300px;
	margin-bottom: 10px;
	border: solid 1px #0136A6;
}
div#contact-directions {
	float: left;
	margin-left: 10px;
	width: 300px;
}
div#mapoptions {
	width: 300px;
	float: left;
	margin-top: 10px;
	margin-left: 10px;
}
/***********************************************************************
	NAVIGATION
************************************************************************/
div#top-nav {
	float: left;
	width: 750px;
	height: 34px;
	padding-left: 10px;
	padding-right: 10px;
	background: url(../i/layout/nav-bg.gif) left top no-repeat;
}
div#top-nav ul {
	float: left;
}
div#top-nav ul li {
	float: left;
}
div#top-nav ul li a {
	height: 14px;
	display: block;
	padding: 10px;
	margin-left: 1px;
	margin-right: 1px;
	float: left;
}
* html div#top-nav ul li a {
	height: 14px;
	display: block;
	padding: 10px;
	padding-left: 6px;
	padding-right: 6px;
	margin-left: 1px;
	margin-right: 1px;
	float: left;
}
div#top-nav ul li:hover a {
	background: url(../i/layout/nav-over-bg.gif) repeat-x;
	border-left: solid 1px #999;
	border-right: solid 1px #999;
	margin-left: 0px;
	margin-right: 0px;
}
div#top-nav ul li.over a {
	background: url(../i/layout/nav-over-bg.gif) repeat-x;
	border-left: solid 1px #999;
	border-right: solid 1px #999;
	margin-left: 0px;
	margin-right: 0px;
}

div#top-nav ul li a:hover {
	margin-left: 0px;
	margin-right: 0px;
	display: block;
}
* html div#top-nav ul li a:hover {
	margin-left: 1px;
	margin-right: 0px;
	display: block;
	background: url(../i/layout/nav-over-bg.gif) repeat-x;
	border-left: solid 1px #999;
	border-right: solid 1px #999;
}
div#top-nav ul li ul{
	position: absolute;
	float: left;
	display: none;
	/*margin-top: 34px;*/
	top: 174px;
	clear: both
}
* html div#top-nav ul li ul{
	display: none;
	margin-top: 0px;
	padding-top: 0px;
	clear: both
}
div#top-nav ul li:hover ul, div#top-nav ul li.over ul{
	position: absolute;
	display: block;
	float: left;
	border-bottom: solid 1px #999;
}

div#top-nav ul li ul li{
	clear: both;
	padding-left: 0px;
	padding-right: 0px;
	float: left;
}



div#top-nav ul li ul li a.sublink{
	clear: both;
	float: left;
	background: url(../i/layout/nav-over-bg-sub.gif) repeat-x;
	width: 200px;
	padding-top: 5px;
	padding-bottom: 0px;
	padding-left: 10px;
	padding-right: 10px;
	height: 20px;
	margin-left: 0px;
}
* html div#top-nav ul li ul li a.sublink{
	clear: both;
	float: left;
	background: url(../i/layout/nav-over-bg-sub.gif) repeat-x;
	width: 200px;
	padding-top: 5px;
	padding-bottom: 0px;
	padding-left: 10px;
	padding-right: 10px;
	height: 20px;
	margin-left: 0px;
	border-left: solid 1px #999;
	border-right: solid 1px #999;

}
div#top-nav ul li ul li a.sublink:hover{
	clear: both;
	float: left;
	background: url(../i/layout/nav-over-bg-sub-norm.gif) repeat-x;
	width: 200px;
	margin-left: 0px;
	color: Red;
}

/***********************************************************************
	FOOTER ELEMENTS
************************************************************************/
div#footer {
	color: #0136a6;
	float: left;
	width: 770px;
	height: 79px;
	background: url(../i/layout/footer-bg.jpg) no-repeat;
}
div#footer-left {
	float: left;
	width: 260px;
	margin-top: 18px;
	margin-left: 25px;
}
div#footer-right {
	float: left;
	width: 270px;
	margin-top: 18px;
	margin-left: 10px;
}
a.optix {
	float: left;
	color: #000;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 15px;
}
a.optix:hover {
	color: #666;
}
/***********************************************************************
	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: 450px; 
}

.ddfmwrap p.fieldwrap {
	padding: 1px;
	margin: 1px;
}

form.ddfm {
	text-align: left;
	width: 430px; 
}

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: 40%; 
	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: 100%;
	margin-bottom: 15px;
	padding: 3px;
	font-size: 1.2em;
}


/*
	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: 45%;
	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;
}

