

* {
	margin: 0;
	padding: 0;
}



body {
	background:#ececec url('img/bg.png') center repeat-y;
	color:#246;
	font:11px/15px Verdana, Arial, Helvetica, sans-serif;
	margin:0 20px;
	padding:0;
}

div#main {
	width:800px;
	min-height:400px;
	background: transparent;
	color:#246;
	font:11px/15px Verdana, Arial, Helvetica, sans-serif;
	clear:both;
	margin:0 auto;
}

a.imglink {
	border: none;
	text-decoration: none;
}

a.imglink img{
	border: none;
}




/*** header ***/

div#image {
	width:775px;
	height:160px;
	border:solid 1px #238;
	background:#ececec url('img/head.jpg');
	color:inherit;
	margin:20px auto;
}

h1 {
	font:16px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	background:transparent;
	color:inherit;
	margin-top:15px;
	padding:0 0 2px 0px;
}

h4 {
	font:16px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	background:transparent;
	color:inherit;
	margin:0;
	padding:0 0 2px 0px;
}

h5 {
	font:16px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	text-decoration:underline;
	background:transparent;
	color:inherit;
	margin:0;
	padding:0px 0px 2px 0px;
}

h6 {
	font:16px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	text-decoration:underline;
	text-align:center;
	background:transparent;
	color:inherit;
	margin:0;
	padding:0 0 2px 0px;
}


div#image h4 {
	font:bold 15px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	color:inherit;
	float:right;
	background:transparent;
	margin:0;
	padding:145px 10px 0 0;
}

h3 {
	font:14px Tahoma, Verdana, Arial, Helvetica, sans-serif;
	background:transparent;
	color:inherit;
	margin:0px;
	padding:0 0 2px 0;
}

/*
***** navigation
*/

div#nav {
	color:inherit;
}

#nav ul {
	display: inline;
	margin-left: 15px;
}

div#nav li {
	display: inline;
	border-left: 1px solid;
	padding-left: 6px;
	padding-right: 5px;
}


div#nav li.firstnav {
	border-left: none;
	padding-left: 0px;
}



div#nav a {
	font:normal 11px/15px Verdana, Arial, Tahoma, Helvetica, sans-serif;
	color:#205080;
	text-decoration:none;
	background:transparent;
}

div#nav a:hover, div#nav a:sfhover {
	text-decoration:underline;
}

/*
***** main
*/
.padonly    {
margin-left: 0px; 
margin-right: 10px; 
margin-top: 6px; 
margin-bottom: 6px; 
background-color: white;
}
.npadonly    {
margin-left: 0px; 
margin-right: 30px; 
margin-top: 6px; 
margin-bottom: 6px; 
background-color: inherit;
}
.rpadonly    {
margin-left: 10px; 
margin-right: 0px; 
margin-top: 6px; 
margin-bottom: 6px; 
background-color: white;
}
.listpadonly    {
margin-left: 0px; 
margin-right: 0px; 
margin-top: 0px; 
margin-bottom: 10px; 
background-color: inherit;
}

div#content {
	float:left;
	text-align:justify;
	width:775px;
	background:transparent;
	color:inherit;
	margin:0 0 5px 10px;
}

div#content h3.l {
float:left;
width:300px;
text-align:left;
background:transparent;
color:inherit;
margin:0;
padding:0;
}

div#content h3.r {
float:right;
width:300px;
text-align:right;
background:transparent;
color:inherit;
margin:0;
padding:0;
}

div#content div.wrapper {
	background:#f1f1f1;
	border:solid 1px #cde;
	color:inherit;
	clear:both;
	margin:4px;
	padding:0 7px;
	position: relative;
}

div.wrapper {
	height: 550px;
}

body#services div.wrapper {
	height: 700px;
}

body#piers div.wrapper,
body#pontoons div.wrapper,
body#roads div.wrapper,
body#waste div.wrapper {
	height: 350px;
}

div#content h3.end {
width:625px;
text-align:right;
background:transparent;
color:inherit;
display:block;
float:right;
margin:0 0 20px;
padding:0 5px 5px;
}

div#content p {
text-indent:0px;
background:transparent;
color:inherit;
margin:0;
padding:7px 2px 10px;
}

div#content ul,div#content ol {
margin-left:0;
padding-left:20px;
}

a {
font:normal 11px/15px Verdana, Arial, Tahoma, Helvetica, sans-serif;
color:#204080;
text-decoration:none;
border-top:0;
border-right:0;
border-bottom:1px;
border-left:0;
background:transparent;
border-color:#68a;
border-style:dotted;
}

.left {
clear:left;
}

.right {
clear:right;
}

blockquote {
background:#d0dcdf;
border:solid 1px #aaa;
color:inherit;
margin:5px 0;
padding:20px;
}

/*
***** footer
*/

div#foot {
width:775px;
height:75px;
border:solid 1px #8ac;
background:#ececec url('img/foot.jpg');
color:inherit;
clear:both;
margin:10px auto;
padding:0;
}

div#foot p {
font:11px/15px Verdana, Arial, Helvetica, sans-serif;
color:#246;
background:#8ac url('img/foot2.png');
margin:60px 0 0;
padding:0 10px 0 0;
}



/*** styling for index page ***/

img#leftcol {
	position: absolute;
	top: 100px;
	left: 8px;
	height: 428;
	width: 147;
	float: left;
}


#maincol {
	position: absolute;
	top: 100px;
	left: 150px;
	width: 400px;
	margin-left: 30px;
	margin-right: 30px;
}

#rightcol {
	position: absolute;
	top: 100px;
	left: 595px;
	width: 160px;
	height: 240px;
	background: lightgrey;
}



/*** styling for awards page ***/

div#awardslogos {
	margin-top: 20px;
}

#awardslogos ul {
	list-style: none;
}

#awardslogos li {
	display: inline;
}

img#saltire {
	width: 90px;
	height: 125px;
	border: 1px solid;
}

img#ice {
	height: 125px;
	border: 1px solid;
}

#awards #awardsintro {
	width: 350px;
	position: relative;
	top: -130px;
	left: 320px;
}

#awards #awardsintro h2 {
	line-height: 18px;
}

#awards #awardsintro p {
	margin-top: 20px;
}




/*** projectlist used on awards pages and projects page ***/

#projectlist {
	position: relative;
	top: -80px;
}

#projectlist ul {
	list-style: none;
	margin-top: -30px;
}

#awards #projectlist li {
	padding-top: 20px;
}

#awards #projectlist a {
	font-size: 110%;
}

div.projectdesc {
	position: absolute;
	top: 100px;
	left: -9999px;
	width: 300px;
}

body#awards div.projectdesc {
	top: 30px;
}

#projectlist a:hover+div.projectdesc {
	left: 240px;

}

li.sfhover div.projectdesc {
	left: 240px;

}

#projectlist img {
	position: absolute;
	top:0;
	left:350px;
	width: 120px;
	height: 120px;
}


/*** styles for the project pages  ***/


ul#tabs {
	list-style: none;
	margin: 0;
	padding: 10px 0 0 0;
	height: 40px;
	border-bottom: 1px solid black;
}


ul#tabs li {
	float: left;
	padding: 0px;
	margin-left: 10px;
	height: 40px;
	text-align: center;
	position: relative;
	width: 160px;
	top: 1 px;
	background: transparent url(img/tab.jpg) no-repeat scroll top;
}



ul#tabs li:hover span, ul#tabs li:sfhover span {
	font-size: 105%;
}



body#piers li#tab1,
body#pontoons li#tab2,
body#roads li#tab3,
body#waste li#tab4 {
	background: transparent url(img/current_tab.jpg) no-repeat scroll top;

}


ul#tabs a {
	display: block;
	height: 40px;
	padding: 6px 10px 0 10px;
	color: white;
	font-size: 12px;
	font-weight: bold;
	border: none;
}

body#piers #projectlist,
body#pontoons #projectlist,
body#roads #projectlist,
body#waste #projectlist {
	top: 30px;
	left: 0px;
	clear: both;
}

body#piers #projectlist li,
body#pontoons #projectlist li,
body#roads #projectlistli ,
body#waste #projectlist li {
	padding-top: 5px;
}


#projectlist ul#followon {       /* only used in piers and harbours */
	position: relative;
	top:-190px;
	left: 110px;
}

#projectlist ul#followon a:hover+div.projectdesc{
	left: 120px;
}

#projectlist ul#followon li.sfhover div.projectdesc{
	left: 120px;
}


/* TODO: conflate these by adding proper page ids and using them to differentiate */

#col2listinv {
	position: relative;
	top: -86px;
	left: 300px;
}

#col2listoban {
	position: relative;
	top: -71px;
	left: 300px;
}

#elementsinv {
	height: 120px;
}

#elementsoban {
	height: 90px;
}


#edphoto {
	width: 113;
	height: 123;
	position: absolute;
	top: 90px;
	left: 180px;
}

#johnphoto {
	width: 113;
	height: 123;
	position: absolute;
	top: 300px;
	left: 180px;
}


ul.projectstats {
	margin-left: 0px;
	margin-right: 0px;
	padding: 0px;
	margin-top: 10px;
	margin-bottom: 20px;
}


ul.projectstats li {
	display: inline;
	padding-left: 60px;
}

ul.projectstats li.firststat {
	padding-left: 10px;
}

