/* -- reset all elements to a common value ------ */
* {
	padding:0;
	margin:0;
}

h1, h2, h3, h4, h5, h6 {
	margin:0 0 0.3em 0; 
}

p, pre, blockquote, label, ul, ol, dl, fieldset, address { 
	margin:0 0 1em 0;
}

li, dd, blockquote, address { margin-left:1em; }
fieldset { padding: .5em; }


/* -- default classes ------ */
.center { text-align: center; }
.right { text-align: right; }
.small { font-size: 0.9em; }
.bold { font-weight: bold; }
.floatRight { float: right; }
.floatLeft { float: left;}
.clear { clear: both; }
.border {
	padding: 4px;
	border: 1px solid #c1bfc4;
}
.bordersmall {
	padding: 1px;
	border: 1px solid #c1bfc4;
}
.margin {
	margin-right: 5px;
	margin-bottom: 5px;
}
a.on {font-weight: bold;}

/* -- accessibility ------ */
.aural {
	position: absolute;
	left: -9999px;
	font-size: small;
}


/* -- Default Styles ------ */
/* colours, sizes, etc of elements */
body {
	font: 62.5%/1.7 Arial, sans-serif; /* set font size to 10px (a nice round number) */
	background: #05718c;
	text-align: center;
	color: #000;
}

h1 { 
	font: 2.1em "Trebuchet MS", Arial, sans-serif;
	color: #460000;
	font-weight: bold;
	float: left;
	width: 765px;
	height: 66px;
	padding: 13px 0 0 15px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	margin: 0;
}

	h1 span {
		font-weight: normal;
		display: block;
	}

	.home h1 {
		background: #cfcfcf url(../img/h1-home.png) no-repeat 578px 9px;
	}
	
	.projects h1 {
		background: #cfcfcf url(../img/h1-projects.png) no-repeat 578px 9px;
	}

	.services h1 {
		background: #cfcfcf url(../img/h1-services.png) no-repeat 578px 9px;
	}

	.about h1 {
		background: #cfcfcf url(../img/h1-about.png) no-repeat 578px 9px;
	}

	.contact h1 {
		background: #cfcfcf url(../img/h1-contact.png) no-repeat 578px 9px;
	}
	
h2 { 
	font: 1.8em "Trebuchet MS", Arial, sans-serif;
	font-weight: normal;
}

h3 { 
	font: 1.5em "Trebuchet MS", Arial, sans-serif;
	font-weight: normal;
}

a { color: #095199; }
a img { border: 0; } /* no borders on linked images */

fieldset {
	border: 0;
	border-top: 1px solid #cfcfcf;
}

legend {
	font-weight: bold;
}

fieldset ol {
	list-style: none;
}

fieldset li {
	float: left;
	width: 100%;
	margin: 0 0 8px 0;
}

fieldset li label {
	display: block;
	margin: 5px 0 0 0;
}

fieldset textarea {
	width: 350px;
	height: 200px;
}


/* -- Layout Styles ------ */
#wrapper { /* contain the design */
	margin: auto;
	overflow: hidden;
	text-align: left;
	width: 780px;
	background: #fff url(../img/bg-column.png) repeat-y right;
}

#header { /* header bar with flash image */
	float: left;
	height: 110px;
	width: 100%;
	background: url(../img/bg-header.jpg) no-repeat;
}


#logo { /* flash banner */
	float: left;
	height: 110px;
	width: 160px;
	margin: 20px 0 0 10px;
	text-indent: -9999em;
}

	#logo a {
		float: left;
		width: 100%;
		height: 100%;
		text-decoration: none;
	}

#nav { /* main nav bar */
	float: left;
	margin: 82px 0 0 20px;
	padding: 0;
	list-style: none;
}

	#nav li {
		float: left;
		font: 1.2em "Trebuchet MS", Arial, sans-serif;
		text-transform: uppercase;
		font-weight: bold;
		padding: 7px 0 6px 0;
		text-align: center;
	}
	
	#nav li.projects {
		width: 80px;
		margin-right: 14px;
	}
	
	#nav li.services {
		width: 80px;
		margin-right: 11px;
	}

	#nav li.about {
		width: 79px;
		margin-right: 12px;
	}

	#nav li.contact {
		width: 94px;
		margin-right: 12px;
	}
	
		#nav li a {
			text-decoration: none;
		}
		
#contentGroup { /* keep all the content divs contained */
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
}

#content { /* two column style for the content area */
	float: left;
	width: 545px;
	margin: 0;
	font-size: 1.2em;
	padding: 15px;
	overflow: hidden;
}

#services {
	list-style: none;
}

	#services li {
		float: left;
		margin: 0 5px 0 5px;
		height: 184px;
		text-indent:-9999em;
	}
	
	#services li a {
		float: left;
		width: 100%;
		height: 100%;
		text-decoration: none;
	}
	
	#services .metal-presswork {
		background: url(../img/metal-presswork.jpg) no-repeat;
		width: 175px;
	}

	#services .precision-welding {
		background: url(../img/robot-welding.jpg) no-repeat;
		width: 165px;
	}

	#services .cnc-machining {
		background: url(../img/cnc-machining.jpg) no-repeat;
		width: 175px;
	}

	#content .projectList li {
		margin: 0 0 25px 0;
		list-style: none;
		float: left;
		width: 100%;
	}
	
		#content .projectList li h2 {
			font-size: 1.4em;
			border-bottom: 1px solid #e3e3e3;
		}
		
		#content .projectList .floatLeft {
			margin-right: 10px;
		}

		#content .projectList .floatRight {
			margin-left: 10px;
		}

#rightbar {
	float: right;
	width: 204px;
}

	#rightbar h3 {
		border-top: 1px solid #fff;
		border-bottom: 1px solid #fff;
		font: 1.7em "Trebuchet MS", Arial, sans-serif;
		font-weight: normal;
		color: #500;
		padding: 5px 0 5px 15px;
		margin-top: -1px;
	}
	
		#rightbar h3 span {
			font-weight: bold;
		}
		
	#rightbar p {
		padding: 0 0 10px 15px;
	}
	
	#rightbar h4 {
		padding: 0 0 0 15px;
	}
	
#footer { /* site footer */
	background: #333;
	color: #fff;
	float: left;
	padding: 4px 0;
}

	#footer p {
		margin: 0 10px;
	}
	
	#footer a {
		color: #fff !important;
		text-decoration: none;
	}
	
	#footer a:hover {
		text-decoration: underline;
	}