/* 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, button {
     margin: 0;
     padding: 0;
     border: 0;
}

body {
	text-align:center;
	background-color:#848484;
	background-image:url(Images/bg_tile.gif);
	background-repeat:repeat;
	font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
	font-size:0.7em;
}

textarea 
{
    font-family: Arial, Helvetica, Verdana, Geneva, sans-serif;
}

h1, h2, h3, h4, h5, h6 {color:#444444;}

/*Typographics styles adapted from http://www.thenoodleincident.com/tutorials/typography/ */
h1 {
	margin-top:1em;
	font-size: 1.4em;
	font-weight: bold;
}
h2 {
	font-size: 1.3em;
	font-weight: bold;
}
h3 {
	margin: 0.5em 0;
	font-size: 1.2em;
	font-weight: bold;
}
h4 {
	margin: 0.5em 0;
	font-size: 1.1em;
	font-weight: normal;	
	color: #FFFFFF;
	background-color: #B655FA;
	padding-left: 5px;
}
h5 {
	margin: 0.5em 0;
	font-size: 1.0em;
	font-weight: bold;
}
h6 {
	margin: 0.5em 0;
	font-size: 0.8em;
	font-weight: bold;
}

p  {margin: 1em 0;}

a {
    text-decoration:underline;
    color:#000000;
}

a:hover {text-decoration:none;}

#wrapper{
	width:770px;
	margin:0 auto;
	padding-bottom:3px;
	border:1px solid #FFFFFF;	
	text-align:left;
	background-color:#E4E4E4;
	background-image:url(Images/main_bg.png);
	background-repeat:repeat-y;
	background-position:top center;
}
#wrapper2{
	width:770px;
	margin:0 auto;
	padding-bottom:3px;
	border:1px solid #FFFFFF;	
	text-align:left;
	background-color:#E4E4E4;
	background-image:url(Images/main_bg2.png);
	background-repeat:repeat-y;
	background-position:top center;
}
#wrapper0{
	width:770px;
	margin:0 auto;
	padding-bottom:3px;
	border:1px solid #FFFFFF;	
	text-align:left;
	background-color:#E4E4E4;
	background-image:url(Images/main_bg0.png);
	background-repeat:repeat-y;
	background-position:top center;
}

* html .wrapper {   /*** IE5.x/win box model fix ***/
	width: 772px;
	wid\th: 770px;
}
#header{
	height:63px; 
	position:relative;
	background-image:url(Images/header.gif);
	background-repeat:repeat-x;
	background-color:#000000;
}
#headercaption {
    position:absolute;
	top:25px;
	left:340px;
	font-weight: bold;
	font-size:1.1em;
	color:#8245FC;
}
#logon
{
	position:absolute;
	top:42px;
	right:30px;
	font-weight: bold;
}
#mainnav {
	padding:0 0px;
	border: none;	
	background-color:#000000;
}

* html #mainnav tr {height:1.4em;}

#mainnav .item {
	padding:2px 7px;
	border: none;
	background-color:#000000; 
	color:#FFFFFF; 
}

* html #mainnav .item {padding:0 20px;}

#mainnav .selected {
	font-weight: bold;
	color:#FFFFFF;
}
#mainnav .hover {
	background-color:#CEB9F7;
	color:#000000; 
}

#mainnav table table {border-right:none;}

#contentwrapper{
	position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
	margin-left: 150px;    /*** Critical left col dimension value ***/
	width: 468px; /*468px;*/   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	border-left: 1px solid #FFFFFF;  /*** Critical left divider dimension value ***/
	border-right: 1px solid #FFFFFF; /*** Critical right divider dimension value ***/
}

* html #contentwrapper {  /*** IE5.x/win box model fix ***/
	width: 470px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	wid\th: 468px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
}

#floatwrapper {
	float: left;
	height: auto;
	min-height: 420px;
	width: 468px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	margin-right: -1px;   /*** Static fix ***/
}
#centercolumn{
	float: right;
	width: 468px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	
	/* \*/
	margin-left: -1px; 
	/* Hidden from IE-mac */

	padding-top:2px;
}


/* ---------- MJW: Master0 setup  --------------------------------------------------*/
#contentwrapper0{
	position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
	width: 768px; /*618px;*/   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	border-left: 1px solid #FFFFFF;  /*** Critical left divider dimension value ***/
	border-right: 1px solid #FFFFFF; /*** Critical right divider dimension value ***/
}
* html #contentwrapper0 {  /*** IE5.x/win box model fix ***/
	width: 770px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	wid\th: 768px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
}

#floatwrapper0 {
	float: left;
	height: auto;
	min-height: 420px;
	width: 768px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	margin-right: -1px;   /*** Static fix ***/
}
#centercolumn0{
	float: right;
	width: 768px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	
	/* \*/
	margin-left: -1px; 
	/* Hidden from IE-mac */

	padding-top:2px;
}

/* ---------- MJW: Master2 setup  --------------------------------------------------*/
#contentwrapper2{
	position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
	margin-left: 150px;    /*** Critical left col dimension value ***/
	width: 618px; /*618px;*/   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	border-left: 1px solid #FFFFFF;  /*** Critical left divider dimension value ***/
	border-right: 1px solid #FFFFFF; /*** Critical right divider dimension value ***/
}

* html #contentwrapper2 {  /*** IE5.x/win box model fix ***/
	width: 620px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	wid\th: 618px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
}

#floatwrapper2 {
	float: left;
	height: auto;
	min-height: 420px;
	width: 618px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	margin-right: -1px;   /*** Static fix ***/
}
#centercolumn2{
	float: right;
	width: 618px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
	
	/* \*/
	margin-left: -1px; 
	/* Hidden from IE-mac */
	padding-top:2px;
}
/* ------------------------------------------------------------------------*/

#breadcrumbs{
	position:absolute;
	top:5px;
	left:25px;
	font-size:0.9em;
}
#breadcrumbs a {
	color:#8245FC;
	text-decoration:underline;
}

#breadcrumbs a:hover {text-decoration:none;}

#copy a {color:#000000;}

#copy .content {
	margin:5px;
	padding:0 20px 5px 10px;
}

#copy .container {
	margin:5px;
	padding:0 20px 5px 10px;
	border:1px solid #999999;
	background-color:#FFFFFF;
}

.simplesearchcontainer {
	margin:5px;
	padding:20 20px 5px 10px;
	border:3px solid #C38FF9;
	background-color:#FFFFFF;
}

#copy li { margin-left:15px;}

#copy img {float: left; margin: 5px 10px 4px 4px;}
.copyimagebutton {float: left; margin: 5px 10px 4px 0px;}
.centreimage {margin:1px; padding:0;}

/* \*/
* html #copy .container {height:1%;}
/* */

/* #copy img, #rightcolumn img {border:1px solid #FF284E !important;} */

#copy .teaser{
	margin-top:0;
	color:#777777; 
	font-size:0.9em; 
	font-weight:normal;
}

#copy td, #copy th {padding: 0.2em 0.5em;}

.txtBox {border:1px solid #666666;}

#copy fieldset {	
	margin:1em 0;
	padding:1em;
	border:1px solid #CCCCCC;
}

#copy legend {color:#666666;}

* html #copy legend {
	padding:0.5em;
	background-color:#FFFFFF;
}
.button {
    border:1px solid #FFFFFF;
    color:#FFFFFF;
    background-color:#FF9900;
    font-size:1em;
}

#copy .container .button {border-color:#CCCCCC;}

div.readmore {
	text-align:right;
	font-size:0.9em;
}

#leftcolumn {
	position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
	width: 152px;    /*** Critical left col/divider dimension value ***/
	margin-left: -151px;    /*** Critical left col/divider dimension value ***/
	padding-top:10px;
}
* html #leftcolumn {
	float:left;	
	padding-top:5px;
}

*>html #leftcolumn {width:151px;}   /*** Fix only for IE/Mac ***/

/*** This is a fix for IE5/Win at the largest text size setting. ***/
/* \*/
* html #leftcolumn {margin-right: -3px;}
/* */

#leftcolcontainer{
	width: 150px;    /*** Critical left col dimension value ***/
}

#subnav {
	overflow:hidden;
}

* html #subnav tr {height:1.4em;}

#subnav .item {
	padding:2px 7px;
	border-top:1px solid #FFFFFF;
	background-color:#E4E4E4; 
	color:#333333; 
}

* html #subnav .item {padding:0 20px;}

#subnav .selected {
	background-color:#B655FA; 
	color:#FFFFFF;
}
#subnav .hover {
	color:#8245FC; 
	background-color:#E4E4E4;
}

#subnav table {border-bottom:1px solid #FFFFFF;}

#subnav table table {border-bottom:none;}

h4 img {margin-bottom:-0.5em;}

#rightcolumn{
	float: left; 
	position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
	width: 152px;    /*** Critical right col/divider dimension value ***/
	margin-right: -150px;    /*** Critical right col/divider dimension value ***/
	margin-left: -1px;   /*** Static fix ***/
	padding-top:10px;
}

/* \*/
* html #rightcolumn {
	margin-left: 0px; 
	margin-right: -500px; 
	mar\gin-right: -152px;
	padding-top:5px;
}
/* */

/*** These commented-out rules below are there to explain the "Critical" info 
	for the rules above, because comments must not appear within the Mac-hack.
	The "rules" below are not active, they are just for teaching purposes. ***/

/*
* html .right {
margin-left: 0px;    *** Critical right divider dimension value ***
margin-right: -500px;    *** IE5.x/win fix, must be above a critical number, but very high values appear okay ***
mar\gin-right: -152px;    *** Critical right col/divider dimension value ***
}
*/

#rightcolcontainer{
	/* \*/
	width: 150px;
	/* Hidden from IE-Mac */   /*** Critical right col dimension value ***/
	margin-left: 3px;    /*** Critical right divider dimension value ***/
}

/* \*/
* html #rightcolcontainer {
	fl\oat: right;
	margin-left: 2px; 
	mar\gin-left: 0px; 
}
/* */

.sidebarcontainer{
	margin:5px;
	padding:6px;
	border:1px solid #FFFFFF;
	background-color:#EFEFEF;
	font-size:smaller;
}

.advertcontainer{
	margin:10px;
}


/* \*/
* html .sidebarcontainer {height:1%;}
/* */


.sidebarcontainer a {color:#8245FC;}

.sidebarcontainer li {list-style-type:none;}

#footer {
	clear:both;
	margin:1px 5px;
	padding:2px 20px;
	border:1px solid #999999;
	background-color:#8245FC;
	font-size:0.9em;
	text-align:center;
}
#footer a {
	margin:1px 5px;
	color:#FFFFFF;
}
.imgfloatright {
	float:right;
	display:inline;
	margin: 0.25em 0 0.25em 1em;
}
.imgfloatleft {
	float:left;
	display:inline;
	margin: 0.25em 1em 0.25em 0;
}

/* MJW - used to get a table effect for data entry forms. ie label on left and form elements on right */
p.errortext
{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #FF0000;
}

div.row 
{
  clear: both;
  padding-top: 2px;
  padding-top: 2px;
}

div.row span.label {
  float: left;
  width: 120px;
  text-align: right;
}

div.row span.formw 
{
  padding-left: 10px;
  float: right;
  width: 280px;
  text-align: left;
} 
div.row span.formw2 
{
  padding-left: 10px;
  float: right;
  width: 280px;
  text-align: left;
}

div.spacer {
  clear: both;
}

td.subheading
{
	background-color: #E6E4E4;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-align: center;
}

#blog-title
{
	margin-top:1em;
	font-size: 1.3em;
	font-weight: bold;
	color: #000000;
}
#blog-title a
{
	text-decoration: none;
	color: #000000;
}
#blog-description
{
	margin: 0;
	padding: 5px 30px 10px;
	font-size: 1.0em;
	line-height: 1.5em;
	color: #abc;
}
#blog-sidebar
{
	width: 200px;
	float: left;
	margin: 0 0 0;
	font-size: 1.0em;
	line-height: 1.5em;
}
.blog-box
{
	margin: 0 0 15px 10px;
	padding: 2px 0 0;
	color: #FFFFFF;
}
.blog-sidebar-title
{
	margin: 5px;
	padding: 0 0 .2em;
	font-size: 1.3em;
	line-height: 1.5em;
	color: #FFFFFF;
}

.blog-sidebar-title a:visited, .blog-sidebar-title a:link
{
	text-decoration: none;
	color: #000000;
}
.blog-box ul
{
	margin: .5em 0 1.25em;
	padding: 0 0px;
	list-style: none;
}

.blog-box ul li
{
	background: url( "Images/icon_arrow_sm.gif" ) no-repeat 2px .25em;
	margin: 0;
	padding: 0 0 3px 16px;
	margin-bottom: 3px;
	line-height: 1.4em;
}
.blog-box p
{
	margin: 0 0 .6em;
}
.blog-list-item
{
	background: url( "Images/icon_arrow_sm.gif" ) no-repeat 2px .25em;
	padding: 0 0 3px 16px;
	margin-bottom: 3px;
	line-height: 1em;
}
#blog-main
{
	float: right;
	width: 565px;
	padding: 0 0 10px;
	color: #333;
	font-size: 1.2em;
	line-height: 1.5em;
}
.blog-date-header
{
	font-size: 0.75em;
	line-height: 2em;
	text-transform: uppercase;
	letter-spacing: .2em;
	color: #586;
}

.blog-author-header
{
    font-size: 0.75em;
	line-height: 1em;
	color: #586;
}

.blog-article-description
{
    font-size: 0.9em;
	line-height: 1.2em;
	width: 240px;
}

.blog-post
{
	margin: .3em 0 25px;
	padding: 0 16px;
	border-bottom : 1px dotted #bb9;
	border-width: 1px 0;
}
.blog-post-title
{
	margin: 0;
	font-size: 1.5em;
	line-height: 1.0em;
	border-width: 0 1px 1px;
	color: #A864A8;
}
#blog-main  a.blog-title-link, .blog-post-title strong
{
	text-decoration: none;
	display: block;
	color: #A864A8;	
}
#blog-main a.blog-title-link:hover
{
	background-color: #fff;
	color: #A864A8;
}
p.blog-post-footer
{
	background: #fff;
	margin: 0;
	padding: 2px 0px 6px 29px;
	border-bottom: 1px solid #eee;
	font-size: 1.0em;
	line-height: 1.5em;
	color: #666;
	text-align: right;
}
a.blog-comment-link
{
	/* IE5.0/Win doesn't apply padding to inline elements,      so we hide these two declarations from it */
	background: /* */ /**/ url( "Images/icon_comment.gif" ) no-repeat 0 45%;
	padding-left: 14px;
}

/* Comments
----------------------------------------------- */
#blog-comments
{
	margin: -25px 13px 0;
	border: 1px dotted #6a7;
	border-width: 0 1px 1px;
	padding: 20px 0 15px 0;
}
#blog-comments h4
{
	margin: 0 0 10px;
	padding: 0 14px 2px 29px;
	border-bottom: 1px dotted #6a7;
	font-size: 0.8em;
	line-height: 1.4em;
	color: #333;
}
#blog-comments-block
{
	margin: 0 15px 0 9px;
}
.blog-comment-title
{
	margin: 0;
	line-height: 1.5em;
	background: url( "Images/icon_arrow.gif" ) no-repeat 10px .5em;
	display: block;
	border-width: 0 0 1px;
	padding: 2px 14px 2px 29px;
	color: #333;
}
.blog-comment-data
{
	background: url( "Images/icon_comment.gif" ) no-repeat 10px .3em;
	margin: .5em 0;
	padding: 0 0 0 29px;
	color: #666;
}
.blog-comment-poster
{
	font-weight: bold;
}
.blog-comment-body
{
	margin: 0 0 1.25em;
	padding: 0 0 0 29px;
}
.blog-comment-body p
{
	margin: 0 0 .5em;
}
.blog-comment-timestamp
{
	margin: 0 0 .5em;
	padding: 0 0 .75em 20px;
	color: #fff;
}
.blog-comment-timestamp a:link
{
	color: #fff;
}
p.blog-comment-footer
{
	background: #fff;
	margin: 0;
	padding: 0px 14px 0px 29px;
	border: 0px;
	font-size: 0.7em;
	line-height: 1.5em;
	color: #666;
	text-align: right;
	border: 1px dotted #bb9;
	border-width: 0 0 1px;
}
.blog-grid_alternate { background-color: #fff }

.datagridheadercell { font-weight: bold; color: white; background-color: #6b696b } 
.datagrid tr td {padding: 4;} 
.datagridheadercell td a:hover, .datagridheadercell td a:visited, .datagridheadercell td a:link { color: white } 
.datagriditemcell { background-color: white } 
.datagridedititemcell { border-top-style: solid; border-right-style: solid; border-left-style: solid; background-color: #f7f7de; border-bottom-style: solid } 
.datagridalternatingitemcell { background-color: white } 
.datagridfootercell { background-color: #cccc99 } 
.datagridpagercell { background-color: #A9A7A7; text-align: center; } 
.datagridpagercell a { } 
.datagridselecteditemcell { font-weight: bold; color: white; background-color: #ce5d5a } 
.datagrid { border-right: #6b696b 1px; border-top: #6b696b 1px; font-size: 8pt; border-left: #6b696b 1px; color: black; border-bottom: #6b696b 1px; font-family: verdana } 
.datagrid tr td input { font-size: 8pt; font-family: verdana } 
.datagrid tr td textarea { font-size: 8pt; font-family: verdana } 
.datagrid tr td select { font-size: 8pt; font-family: verdana } 
.datagridselecteditemcell { font-weight: bold; border-top-style: solid; border-right-style: solid; border-left-style: solid; background-color: #f7f7de; border-bottom-style: solid } 

@media print {	
	body{
		font-size:11pt;
		line-height:13pt;
		background:#FFFFFF !important;
	}	
	#wrapper, #contentwrapper, #floatwrapper, #centercolumn, * html #wrapper, * html #contentwrapper, * html #floatwrapper, * html #centercolumn {
		width:auto !important;
		margin:auto !important;
	}

	#wrapper, #contentwrapper {border:none;}

	#mainnav{
		padding:0;
		text-align:center;
	}
    
	#leftcolumn, #rightcolumn, #search, #centreimage, #header, #mainnav, #homeimage, #footer {display:none;}

	#wrapper, #header, #mainnav, #mainnav .item, #mainnav .selected, #copy .container, #footer {
		background:transparent;
	}
	#centercolumn {
		float:none;
		margin:0 1em 0 2.5em;
	}	

	#breadcrumbs {position:static;}

	#copy .container{
		margin:0;
		padding:0 !important;
		border-style:none !important;
		border-width:0;
	}
	
    #copy fieldset {border:none;}	
	    
	#footer{	
		position:static;
		border-style:none !important;
		border-top:1px solid #000000;
	}
}