/* Sets element margins, padding, and border to 0 to even out browser differences when adding desired values later. */
html, body, div, p, h1, h2, h3, h4, h5, h6, blockquote, ol, ul, li, dl, dt, dd, td, form, fieldset, a, img, address {
     margin: 0;
     padding: 0;
     border: 0;
}

h1, h2, h3, h4, h5, h6 {color:#397D47;}

/*Typographics styles adapted from http://www.thenoodleincident.com/tutorials/typography/ */
h1 {
    margin:0;
	font-size: 1.8em;
	font-weight: normal;
}
h2 {
	margin: 1.2em 0em 0em 0em;
	font-size: 1.2em;
	font-weight: bold;
}
h3 {
	margin: 1.2em 0em 0em 0em;
	font-size: 1.4em;
	font-weight: normal;
}
h4 {
	margin: 1.2em 0em 1.2em 0em;
	font-size: 1.2em;
	font-weight: bold;
}
h5 {
	margin: 1.2em 0em 1.2em 0em;
	font-size: 1.0em;
	font-weight: bold;
}
h6 {
	margin: 1.2em 0em 1.2em 0em;
	font-size: 0.8em;
	font-weight: bold;
}

img {border: 0;}

ol, ul, li {
	margin:0.2em 0 0.1em 0;
	font-size: 1.0em;
	line-height: 1.8em;
}

/* DM line height 1.8 */
p {
	margin: 0.4em 0em 0.8em 0em;
	font-size: 0.85em;
	line-height: 1.4em;
}

li > p {margin-top: 0.2em;}

pre {
	font-family: monospace;
	font-size: 1.0em;
}

strong, b {font-weight: bold;}

a {
	text-decoration: none;
	font-weight: bold;
	color:#ffffff;
}

a:link {}

a:visited {}

a:active {}

a:hover {
	text-decoration:underline;	
	color:#333333;
}

/* "Jello Mold" page construction technique see http://www.positioniseverything.net/articles/jello-expo.html */
body {
	padding: 0 377px;	
	text-align: center;
	background-color: #FBFBF6;
	font-family:"Lucida Sans", Verdana, "Lucida Grande", Geneva, sans-serif;
	font-size:80%;
	background-image:url(Images/bg_tile.gif);
}
#skiptocontent{
	position:absolute;
	margin-left:-1000px;
}

/* DM max width
#sizer {
	margin: 0 auto;
	padding: 10px 0;
	width: 60%;
	text-align:left;
	max-width: 150px;
}
	padding: 50px 0; is distance from top
*/

#sizer {
	margin: 0 auto;
	padding: 50px 0;
	width: 60%;
	text-align:left;
	max-width: 0px;
}

/* 	min-width: 750px; /* Critical Safari fix! 
	margin: 0 -375px;
*/

#expander {
	background: white;
	margin: 0 -361px;
	min-width: 720px; /* Critical Safari fix! */
	position: relative;
}

/* Holly hack for IE \*/
* html #expander { height: 0; }
/* */

/*#wrapper { 
	width: 100%; /* helps IE get the child percentages right. /
	background-image:url(Images/content_border.gif);
	background-repeat:repeat-y;
} */

/* DM Probably need to put an image in here */
#wrapper { 
	width: 100%; /* helps IE get the child percentages right. */
	/*background-image:url(Images/content_border.gif);
	background-repeat:repeat-y;*/
} 

/* http://positioniseverything.net/easyclearing */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}

.clearfix {display: block;}
/* End hide from IE-mac */

/* DM width and margin changes fro right panel */
#sidebar {
	width: 240px;
	float: right;
	display: inline; /* IEwin doubled margin bug fix */	
	margin-left:-3px; /*IE Win 3px gap fix*/
	background-color:#DEDEBC;

/* DM
	background-image:url(Images/sidebar_bg.png);
	background-repeat:repeat-y; */	
}

/*
#sidebar {
	width: 243px;
	float: right;
	display: inline; /* IEwin doubled margin bug fix /	
	margin-left:-3px; /*IE Win 3px gap fix/
	background-color:#DEDEBC;
	background-image:url(Images/sidebar_bg.png);
	background-repeat:repeat-y;	
}
*/

html>body #sidebar {margin-left:0;}

#content {
	height:1%;
	margin:0;
	padding:0;
background-color:#7D9969;
/*		DM 
background-image: url(Images/content_border.gif);
	background-repeat:repeat-y; */
}

/* DM Change width 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
html>body #content {
	height:auto;
	margin-right:240px;
}
/* DM header colour */
#header
{
    padding: 2px 0 0 10px;
    background-color: #ffffff;
    background-image: none;
    border-bottom: #666666 1px solid;
}
#headertop {
	position:relative;
	height:60px;
	background-color:#ffffff;
}
#ownername {
	padding:0.5em 25px;
	color:#397D47;
	letter-spacing:0.2em;
}
#ownername strong {
	margin-left:-2px; 
	font-weight:normal;
	font-size:140%;
	letter-spacing:normal; 
}
#ownerinfo {
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	width:70%;
	height:44px;
	background-image:url(Images/topheader_deco_img.jpg);
	background-repeat:no-repeat;
	background-color:#397D47;
	background-position:2px 0;
}
#ownerinfo address {
	width:243px;
	position:absolute;
	top:0;
	right:0;
	height:39px;
	padding-top:5px;
	font-style:normal;
	text-align:center;		
	color:#DEDEBC;
	background-color:#397D47;
	background-image:url(Images/headertop_img_ds.gif);
	background-repeat:no-repeat;
}
#mainmenu, #mainmenu tr
{
    height: 34px;
    position: relative;
    border-bottom: #666666 1px solid;
    border-top: #666666 1px solid;
}

* html #mainmenu {margin-top:-1px;}

#mainmenu a {text-decoration:none;}
/* Adds a height to a button so that IE Win will allow it to be clickable across its full width. */

/* Hide from IE5-Mac \*/
* html #mainmenu a {height: 1%;}
/* end hiding */ 

#mainmenu .normallink
{
    padding: 0 5px;
    font-weight: bold;
    color: #666666;
}
#mainmenu .selectedlink
{
    padding: 0 5px;
    background-color: #ffffff;
    color: #666666;
    text-decoration: underline;
}
#contentwrapper 
{
    background-color: #7D9969;
	/*background-image:url(Images/sidebar_bg.png);
	background-repeat:repeat-y;
	background-position:top right;*/
}

/* Hides from IE5-mac \*/ 
     * html #contentwrapper{height:1%;}
/* End hide from IE-mac */ 

#quote {
	height:127px;
	padding:10px 10px 10px 20px; /* -- to make up for the -2px left margin */
	overflow:hidden;
	font-weight:normal;
	font-size:140%;
	line-height:140%;
	color:#397D47;
}


/* DM THIS is margins for right side text 
IS THE COLOURS FOR LEFT SIDE */
#sidebarcontent {	
	margin:0 0 0;
	background-color:#7D9969;
	line-height:1em;
}
/*
#sidebarcontent {	
	margin:0 10px 1em;
	background-color:#FFFFFF;
	line-height:1em;
}*/

/* DM This is the header for the right sidebar */
#sidebarcontent h3 {
	margin:0;
	padding:0.3em 2em;
	border-top:0px solid #DEDEBC;
	border-bottom:2px solid #DEDEBC;
	background-color:#94CB01;	
	color:#224B2B;
	font-size:110%;
	letter-spacing:0.15em;
	font-variant:small-caps;
}
/* DM THIS is margins for right side text */
#sidebarcontent .sbcontentcontainer {
	padding:0.5em 2em;
	color:#ffffff;
	font-size:100%;
}

#sidebarcontent .sbcontentcontainer ol {padding-left:20px;}

#sidebarcontent .sbcontentcontainer ul {list-style-type:none;}

#headerimgwrapper {
	margin-right:-8px;
	padding-right:10px;
	background-image:url(Images/header_img_border.gif);
	background-repeat:no-repeat;
	background-position:100% 2px;
}
#headerimg {
	height:149px;
	background-image: url(Images/header_img.jpg);
	background-repeat:no-repeat;
	background-color:transparent;
	background-position:10px 2px;
}
#themepicker {
	display:inline;/* IEwin doubled margin bug fix */
	float:right;
	padding:  0 0 10px 0;
	color:#397D47;
	font-size:smaller;
}

/* DM
#themepicker {
	display:inline;/* IEwin doubled margin bug fix /
	float:right;
	padding: 5px 10px 10px 10px;
	color:#397D47;
	font-size:smaller;
}
*/
#copy {		
	margin-left:0;
	padding:0 0 0 0;
	color:#333333;
}

/* THIS FIXES THE PROJECTS SECTION MARGIN
#copy td, #copy th {padding: 0.2em 0.5em;}
 */	
	
#copy td, #copy th {padding: 0 0 0 0}
    
#copy td {font-family:Verdana, Arial, Helvetica, sans-serif;}

/* DM THIS IS THE SIZE IN THE FORM VIEW */    
* html #copy table tr {font-size:1.4em;}

/* DM shifts box image on left down out of line */    
#copy img {
	padding:0;
	border:0px solid #21422C;
}
#copy fieldset {	
	padding:1em;
	border:1px dotted #000000;
	margin-bottom:1em;
}
#copy .txtBox {
	border:1px solid #666666;
	margin-left: 1em;
	background-color:#D7E0EA;	
}
#copy .txtBox:focus {
	border:1px solid #573323;
	background-color:#FFFFFF;	
}
#copy .button {
	border:1px solid #666666;
	background-color:#D7E0EA;	
	color:#333333;	
}
#copy legend {
	padding:0.5em;
	background-color:#FFFFFF;
}
#copy caption {
	text-align:left; 
	font-weight:bold;
}

div#contactForm {margin-left:4em;}

/* Hides from IE5-mac \*/ 
     * html div#contactForm{height:1%;}
/* End hide from IE-mac */ 
/* DM got rid of padding

.imgfloatright {
	float:right;
	display:inline;
	margin: 0.25em 0 0.25em 0.5em;
}
.imgfloatleft {
	float:left;
	display:inline;
	margin: 0.25em 0.5em 0.25em 0;
}
 */
.imgfloatright {
	float:right;
	display:inline;
	margin:0 0 0 0;
}
.imgfloatleft {
	float:left;
	display:inline;
	margin: 0 0 0 0;
}

/* DM got rid of padding, backgrond colour & top / bottom lines */
#footer
{
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    clear: both;
    margin: 0 0 0 0;
    padding: 0 0 0 0px;
   /* border-top: #666666 1px solid; */
    background-color: #ffffff;
    color: #666666;
    font-size: smaller;
    letter-spacing: 0.25em;
    /* border-bottom: #666666 1px solid; */
}
#sidebarfooter
{
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 36px;
    background-color: #ffffff;
}

/*
#footer {
	position:relative;
	bottom:0;
	left:0;
	right:0;
	height:26px;	
	clear:both;	
	margin:0 0 0 10px;
	padding:2px 0 0 10px;
	border-top:2px solid #DEDEBC;
	background-color:#397D47;
	color:#C9E0C5;	
	font-size:smaller;
	letter-spacing:0.25em;
}
#sidebarfooter {
	position:absolute;
	top:0;
	right:0;
	width:243px;
	height:28px;
	background-color:#224B2B;
}
*/

/* DM ADDITIONS FROM LINKUP */
/************************************************************************
* 
* Rollover buttons
*
************************************************************************/

.buttonsmall, .buttonsmall-ovr
{
    background: url(images/background_button_small.gif) repeat-x;
    border: none;
    color: #666666;
    height: 12px;
    font-weight: bold;
    font-size: 9px;
    padding-bottom: 3px;
    padding-left: 3px;
    padding-right: 3px;
    cursor: pointer;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}
.buttonsmall-ovr
{
    text-decoration: underline;
    color: #666666;
    background: url(images/background_button_small-ovr.gif) repeat-x;
}

/* Used by the page number control */
.PageNumbers
{
    display:inline;
}

.PageNumbers span
{
    padding-left: 3px;
}

/* shows a visual seperation */
.dashedline
{
    border-bottom: 1px dashed #000099;
    padding-top: 10px;
    margin-bottom: 10px;
    clear:right;
}

/************************************************************************
* 
* Next / previous specific formatting 
*
************************************************************************/

.nextlink
{
    position:absolute;
    right:0;
    padding-right:15px;    
}



/************************************************************************
* 
* Forms
*
************************************************************************/

/* label column */
.formlabel
{

    font-size: 1.8em;
}

/* value column */
.formvalue
{
    vertical-align: top;
}

.txtfield
{
    width:300px;
}

.txtblock
{
    width:300px;
}

/* Used by the page number control */
.PageNumbers
{
    display:inline;
}

.PageNumbers span
{
    padding-left: 3px;
}

.newscrumbs a
{
    font-size: 0.5em;
    font-weight: bold;
    padding-right: 2px;
}



/* ------------------------------------------------------------------------------------- PRINT -------------------------------------------------------------------------------------- */
@media print {	
	body{
		font-size:11pt;
		line-height:13pt;
		margin:0;
		padding:0;
		background:#FFFFFF !important;
	}
	#sizer{
		margin:0; 
		width:auto !important;
	}
	#expander{
		position:static;
		margin:0 !important;
	}
	#headertop, #ownerinfo {
		position:static; 
		height:auto;
	}	
	#ownerinfo address {
		position:static; 
		height:auto !important; 
		margin-bottom:2em;
	}	
	#header {
		border-bottom:1px solid #000000; 
		margin-bottom:2em;
	}
	#wrapper, #header, #headertop, #ownername, #ownerinfo, #ownerinfo address, #mainmenu, #maimenu .selectedlink, #contentwrapper, #quote, #copy .txtBox, #copy .button, #copy legend, #footer, #sidebarfooter {
		background:none !important;
	}
	h1, h2, h3, h4, h5, h6, #ownername, #mainmenu {
		font-family:"Lucida Sans", Verdana, "Lucida Grande", Geneva, sans-serif;
		font-weight: bold;
		}	
    #sidebar, #themepicker, #headerimgwrapper, #sidebarfooter {
		display:none !important;
	} 
    #copy {
		margin:0;
		padding:0;
	}
	
	#copy fieldset {border:none;}
	
	#copy legend {color:#397D47;}
	
	
	/* DM dos n't do much
	#footer {
		position:static;
		margin-top:2em;
		font-size:1em;
	} */

	#footer {
		position:static;
		margin-top:0;
		font-size:1em;
	}
	
	#content{width:100%;}
	
	/* DM what is last closing bracket, does n't appear to do much
	html>body #content {
		width:85%;
		margin-left:2em;
	}*/
	html>body #content {
		width:100%;
		margin-left:0;
	}
}


