/************************************************************************

	GLOBAL CSS
	==========

	Provides all global styles for the site which more specific sections 
	can be built on using the layered css technique

	Author:		Tom Harman
				Nick Watson
				Tom Fletcher
				[www.optixsolutions.co.uk]

	Listing Order:
	==============

	Universal
	Forms
	General Structure / Layout
	Navigation Elements
	Header Elements
	Body Elements
	Footer Elements
	Messages

************************************************************************/

/***********************************************************************
	UNIVERSAL STYLES
************************************************************************/

body {
	font-size: .7em;
}

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: trebuchet ms, Verdana, Arial, Helvetica, sans-serif;
	
}

/***********************************************************************
	IF YOU GET RANDOM SPACING AND OTHER ANNOYING WIERDNESS LOOK BELOW FIRST
************************************************************************/

div#content p, div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, 
div#content h6, div#content table, div#content ul, div#content ol, div#content form {
	margin: 1em 0;
}

/***********************************************************************
	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{
	margin: 0 auto;
	width: 778px;	
}
div#header{
	float: left;
	width: 778px;
	height: 166px;
	background-image: url(../i/layout/header-header.jpg);
	background-repeat: no-repeat;
}
div#main{
	float: left;
	width: 778px;
	background-image: url(../i/layout/body-repeat.jpg);
	background-repeat: repeat-y;
}
div#content{
	background-image: url(../i/layout/watermark.jpg);
	background-repeat: no-repeat;
	margin-left: 30px;
/*	margin-right: 30px;*/
width: 720px;
	margin-top: -30px;
}
* html div#content{
	margin-top: -20px;
}
div#footer{
	float: left;
	width: 778px;
	height: 141px;
	background-image: url(../i/layout/footer-footer.jpg);
	background-repeat: no-repeat;
}

/***********************************************************************
	HEADER ELEMENTS
************************************************************************/
a.home-link{
	float: left;
	height: 98px;
	width: 434px;

	clear: right;
}
a.emergency-link{
	float: right;
	height: 98px;
	width: 200px;

}
/***********************************************************************
	BODY ELEMENTS
************************************************************************/
p{
	text-align: justify;
	color: #666;

}
h1{
	color: #057E28;
	font-size: 1.6em;
	font-weight: bold;	
}
h2{
	color: #057E28;
	font-size: 1.4em;
	font-weight: bold;	
}
h3{
	color: #057E28;
	font-size: 1em;
	font-weight: bold;
	text-decoration: underline;
}
div#content ul{
	list-style: disc;
}
div#content ul li{
	margin-left: 50px;
	color: #666;
}
div#content img{
	float: right;
	margin-left: 20px;
	margin-top: 5px;
	margin-bottom: 20px;
	clear: both;
}
div.directions{
	float: left;
	width: 350px;

}
div#map{
	float: left;
	width: 350px;
	height: 300px;
	padding: 5px;
	border: 1px solid #349550;
}
div.getdirs{
	float: left;
	width: 320px;

	padding: 20px;
	border: 1px solid #349550;
		border-bottom: none;
}
div#mapoptions{
float: right;
	width: 350px;
	padding: 5px;
	border: 1px solid #349550;
	background-color: #EEE;
	margin-right: 6px;
	border-top: none;
}
/***********************************************************************
	NAVIGATION
************************************************************************/
div#header ul{
	float: left;
	height: 30px;
	clear: both;
	padding-left: 30px;

	width: 663px;
}
div#header ul li{
	float: left;
	height: 30px;
	font-size: 1em;
	color: #fff;
	text-transform: uppercase;
	padding-top: 7px;
}
div#header ul li a{
	color: #fff;
	margin-left: 12px;
	float: left;
}
div#header ul li a:hover{
	color: #ccc;
}
/***********************************************************************
	FOOTER ELEMENTS
************************************************************************/

/***********************************************************************
	CONTACT FORM
************************************************************************/
div.ddfmwrap{
	float: left;
	background-color: #feff82;
	border: 2px solid #000;
	width: 300px;
	margin-right: 10px;
}
div.ddfmwrap form.ddfm{
	float: left;
	width: 300px;
}
div.ddfmwrap form.ddfm label{
	width: 60px;
}
div.contact{
	float: right;
	background-color:#FEFF82;
	width: 380px;
	padding:5px;
	margin-top:15px;
	border: 2px solid #000;
}
div.contact img{
	float: left;
	margin-right: 20px;
}


/***********************************************************************
	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;
}