body {
	font: 10pt/1.4 Arial, Verdana, Helvetica, sans-serif;
	color: #333;
	margin: 0;
	padding: 0;
	text-align: center; /*centre for ie5 */
	background: #fff url(/images/bg.gif) top center repeat-y;
}

body#popup {
    background: #fff;
    margin: 0;
    text-align: left;
} 

body#print {
    background: #fff;
    text-align: left;
} 

h1 {
	font-size: 13pt; 
	color: #333; 
	margin-top: 0;
}

h2 {
	font-size: 11pt; 
	color: #333; 
}

h3 {
	font-size: 10pt;
	color: #333; 
}

h4 {
	font-size: 10pt;
	color: #333; 
	margin-bottom: 0;
}

a:link {
	text-decoration: underline; 
	color: #00c; 
}

a:visited { 
	text-decoration: underline; 
	color: #00c; 
}

a:active { 
	text-decoration: underline; 
	color: #c33; 
}

a:hover { 
	text-decoration: none; 
}

/* Global Classes */

/* for empty divs to clear floats */
.clear {
	clear: both;
}

/* template objects */

#userbar {
	width: 780px;
	height: 24px;
	margin: auto;
	color: #fff;
	font-family: verdana;
	font-size: 8pt;
	background: #000 url(/images/nav/userbar-bg.gif) top left repeat-x;
}

#userbar a {
	color: #fff;
	text-decoration: none;
}

#userbar a:hover {
	text-decoration: underline;
}

#userbar #userbar-title {
	margin-top: 4px;
	margin-left: 8px;
	width: 300px;
	float: left;
	font-weight: bold;
}

#userbar #userbar-links {
	margin-top: 4px;
	margin-right: 8px;
	width: 340px;
	float: right;
	text-align: right;
}

#background {
	padding: 0;
	margin: 0 auto;
	width: 780px;
	text-align: left; /* centre for compliant browsers*/
}

#container {
	margin: auto; 
	width: 780px; 
}

#content {
	margin: 0;
 	padding: 8px 0;
}

#masthead {
	margin-top: 15px;
	width: 780px; 
	height: 65px;
	background-image: url(/images/masthead.gif);
	background-position: top left;
	background-repeat: no-repeat;
}

#masthead h1 {
	padding: 0;
	background: none;
	display: inline;
}

#masthead #logo {
}

#masthead #logo a {
	margin: 0;
	display: block;
	width: 780px;
	height: 65px;
}


#masthead span {
	display: none;
}

/* menubar */

#menubarbox {
	margin-bottom: 0;
}

#menubarbox #skip {
	display: none;
}

#menu {
/*	background-color: #369; */
	text-align: left;
	margin-top: 5px;
	padding: 0;
	width: 775px;
	height: 27px;
	font-size: 10pt;
	background: #fff url(/images/mb.gif) no-repeat 0 0;
	}

#menumain {
}

#menu ul {
	border: 0;
	margin: 0;
	padding: 0;
	float: right;
	list-style-type: none;
	text-align: center;
	clear: left;
}

#menu ul li {
	display: block;
	float: left;
	text-align: center;
	padding: 0;
	margin: 0;
}

#menu a {
	color: #fff;
	margin: 0;
	display: block; 
	text-align: center;
	text-decoration: none;
	line-height: 25px;
	font-size: 8pt;
	font-weight: bold;
}

#menu a:link {
	text-decoration: none;
}

#menu a:hover {
	color: #000;
	text-decoration: underline;
	background: url(/images/mr.gif) no-repeat 0 0;
}

#menu a:active {
	color: #000;
}

#menu a:hover.active {
	color: #000; 
}

#menu a.active	{
	color: #091651;
	text-decoration: underline;
	background: url(/images/mr.gif) no-repeat 0 0;
}

#sidemenu {
	width: 170px;
	font-size: 8pt;
}

#sidemenu a {
	display: block;
	color: #115079;
} 

#sidemenu p {
	margin: 0;
	margin-bottom: 4px;
}

.sidemenu {
	margin: 0;
	padding: 4px;
	border: 1px solid #f93;
	-moz-border-radius: 5px; 
	background: #ffe;
	font-size: 8pt;
	color: #369;
}

.sidemenu a {
	color: #369;
	font-weight: bold;
}	

.sidemenu div.smhead {
/*
	padding: 0;
	margin: 0;
	height: 24px;
	background: url(/images/smhead.gif) no-repeat;
	overflow: hidden; 
*/
/* Overflow is sidemenu styles is for IE */
}

.sidemenu .smtop {
/*
	height: 8px;
	background: url(/images/smtop.gif) no-repeat;
	overflow: hidden;
*/
}

.sidemenu div.smbottom {
/*
	height: 8px;
	background: #fff url(/images/smbottom.gif) no-repeat;
	overflow: hidden;
*/
}

.sidemenu h2 {
	color: #333;
	font-size: 10pt;
	font-weight: bold;
	padding: 4px;
	margin: 0 4px 8px 4px;
/*
	color: #333;
	font-size: 10pt;
	font-weight: bold;
	padding: 1px 0 0 0;
	margin: 0 0 8px 8px;
*/
}	

.sidemenu h2 a:link, .sidemenu h2 a:visited {
	text-decoration: none;
	color: #369;
}	

.sidemenu h2 a:hover {
	text-decoration: underline;
	color: #369;
}	

.sidemenu ul {
	padding: 0;
	margin: 0;
	margin-left: 4px;
	margin-right: px;
	list-style-type: none;
} 

.sidemenu li {
	margin: 0;
	padding: 0;
}

.sidemenu li a {
	color: #369;
	display: block;
	text-decoration: none;
	margin: 1px;
	padding: 1px;
	-moz-border-radius: 5px;
	margin-right: 2px;
    position:relative; 
}

.sidemenu li a:link, .sidemenu li a:visited {
	color: #369;
	text-decoration: none;
}

.sidemenu li a:hover {
	text-decoration: underline;
}


.sidemenu li a.static:hover {
	background: #eee;
	color: #333;
}

#page {
}

#left {
	float: left;
	width: 170px;
}

#right {
	float: right;
	width: 586px;
	margin-right: 8px;
}

#right h1 {
	margin: 0 0 3px 0;
}


#right h3 {
	margin: 0 0 3px 0;
	color: #369; 
}

#right h3 a {
	color: #369; 
}

#right p {
	margin-top: 0;
	margin-bottom: 6px;
}

#index {
}

#contact {
}

#contact #page-sidebar {
	width: 200px;
	float: left;
	display: inline;
}

#contact #page-main {
	width: 560px;
	float: right;
	display: inline;
}


#home {
}

#home #left {
	width: 170px;
	float: left;
}

#home #newswrap {
	width: 170px;
	background: #ffe url(/images/boxs.gif) repeat-y 0 0;
}

#home #news {
	font-size: 8pt;
	padding: 5px;
}

#home #news a {
	display: block;
	color: #115079;
} 

#home #news p {
	margin: 0;
	margin-bottom: 4px;
}

.nbt {
	width: 170px;
	background:  url(/images/boxn.gif) no-repeat 0 0;
	height: 8px;
	
}

.nbb {
	margin: 0 0 20px 0;
	padding: 0;
	width: 170px;
	background: url(/images/boxn.gif) no-repeat 0 -19px;
	height: 8px;
	overflow: hidden;
}

#home #right {
	float: right;
	width: 580px;
}

#home #flash{
	width: 580px;
	height: 200px;
}

#home #hero{
}

#hero #one {
	background: url(/images/one.gif) no-repeat center center;
}

#hero #two {
	margin-left: 17px;
	background: url(/images/two.gif) no-repeat 50% 0;
}

#hero #three {
	margin-left: 17px;
	background: url(/images/three.gif) no-repeat 50% 0;
}

#hero div {
	width: 180px;
	margin-top: 10px;
	text-align: center;
	height: 130px;
	float: left;

}


#summary, .summary {
	-moz-border-radius: 5px; 
	border: 1px solid #ddc; 
	background: #ffe;
	padding: 4px;
	margin-bottom: 8px;
}	

.summary table {
	border-collapse: collapse;
	width: 754px;
	margin: auto;
}

#clear {
	clear: both;
}

/* /gallery module-widget (enabled if /gallery page attached to home) */

#gallery {
}

#gallery .gallery-item {
	width: 223px; /* 4 items across in 924px */
	float: left;
	text-align: center;
	margin: 4px;
}

#gallery .gallery-item .gallery-item-image {
	width: 223px;
	height: 190px;
	margin: 0 auto;
}

#gallery .gallery-item .gallery-item-image a {
	display: block;
	width: 225px;
	height: 190px;
}

#gallery .gallery-item .gallery-item-image a span {
	display: none;
}

#gallery .gallery-item h3 {
	text-align: center;
}

#gallery .gallery-item h3 a {
	color: #4E7033;
}

#gallery p {
	text-align: center;
}

#gallery #simpleviewer {
}

/* page-gallery for Gallery page formatting (include/page_render) -
you will need to adjust sizes if page-main has different width to
default. */

#page-gallery {
	margin: 8px 0;
	padding: 8px 0;
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
}

#page-gallery #page-gallery-thumbnails {
	width: 188px;
	float: left;
}

/* thumbs images are 70x50px max */
#page-gallery #page-gallery-thumbnails .page-gallery-thumbnail {
	width: 80px;
	height: 60px;
	text-align: center;
	margin: 0 4px 4px 0;
	float: left;
}

#page-gallery #page-gallery-thumbnails .page-gallery-thumbnail img {
	border: 1px solid #000;
	margin: auto;
}

#page-gallery #page-gallery-zoom {
	width: 400px;
	float: right;
	text-align: left;
}

#page-gallery #page-gallery-zoom img {
	border: 1px solid #000;
}

#page-gallery #page-gallery-zoom h3 {
	text-align: left;
}

#page-gallery #page-gallery-zoom p {
	text-align: left;
}

/* footer */
#footer {
	clear: both;
	padding-top: 8px;
	color: #369;
	font-size: 9pt;
	border-top: 1px solid #369;
}

#footer a {
	color: #369;
}

/* Core Styles */
 
#controller {
	margin: 0 auto 4px auto;
	background: #fff url(/images/nav/controller.gif) center repeat-x;
	color: #000;
	border: 1px solid #dde;
}

#controller table {
	width: 100%;
	border-collapse: collapse;
}

#controller td {
	vertical-align: top;
}

#controller h1 {
	color: #000;
	margin: 0;
	font-size: 10pt;
}

#controller a {
	color: #000;
}

a.buttonitem {
	float: right;
	display: block;
	text-align: center;
	padding: 0;
	width: 110px;
	height: 22px; 
	background: url(/images/nav/button0.gif) right no-repeat;
	margin-left: 8px;
}

a:hover.buttonitem {
	background: url(/images/nav/button1.gif) right no-repeat;
}

a.additem {
	float: right;
	display: block;
	text-align: center;
	padding: 1px 8px 0 0;
	width: 102px;
	height: 21px; 
	background: url(/images/nav/additem0.gif) right no-repeat;
	margin-left: 8px;
}

a:hover.additem {
	background: url(/images/nav/additem1.gif) right no-repeat;
}

a.additemsm {
	float: right;
	display: block;
	text-align: center;
	padding: 1px 0 0 0;
	width: 20px;
	height: 21px; 
	background: url(/images/nav/additemsm0.gif) right no-repeat;
	margin-left: 8px;
}

a:hover.additemsm {
	background: url(/images/nav/additemsm1.gif) right no-repeat;
}

a.printitem {
	float: right;
	display: block;
	text-align: center;
	padding: 1px 8px 0 0;
	width: 102px;
	height: 21px; 
	background: url(/images/nav/print0.gif) right no-repeat;
	margin-left: 8px;
}

a:hover.printitem {
	background: url(/images/nav/print1.gif) right no-repeat;
}

#controller #print span {
	display: none;
}

#controller select {
}

#selector {
	border: 1px solid #ddd;
	background: #f6f6f6;
	margin-top: 4px;
	margin-bottom: 4px;
	padding: 4px;
}

#selector h1 {
	font-size: 10pt;
}

#selector a {
}

#selector table {
	border-collapse: collapse;
	width: 100%;
}

#selector table td {
	padding: 0;
}


#selector td.action {
	width: 60px;
	text-align: right;
	vertical-align: middle;
}

#selector td.action input.close {
	font-size: 8pt;
	width: 60px;      
	font-weight: bold;
}

table#title {
	width: 100%;
	background: #eee;
	-moz-border-radius: 5px;
	margin: 0 auto;
}

table#title td {
	vertical-align: middle;
}

#title td.action {
	width: 60px;
	text-align: right;
	vertical-align: middle;
}

#title td.action input.close {
	font-size: 8pt;
	width: 60px;
	font-weight: bold;
}

table#title td form {
	margin-top: 3px;
}

table#title td h1 {
	font-size: 11pt;
	background: none;
	color: #000;
	margin: 0 0 0 4px;
}

table#title td h1 a {
	color: #000;
}

.summary {
	margin-top: 4px;
	border: 1px solid #ddc; 
	background: #ffe;
	padding: 4px;
}	

.summary table {
	width: 100%;
}

.summary table td {
	vertical-align: top;
}

#heirachy {
	margin-top: 4px;
	margin-bottom: 4px;
	border-top: 1px solid #ddc; 
	border-bottom: 1px solid #ddc; 
	background: #ffe;
	padding: 2px;
	font-size: 9pt;
}	

#toc {
}	

#toc ul {
}	

ul.outline {
	list-style-image: none;
	list-style: none;
	color: #666;
	margin: 0;
	padding: 0;
	margin-top: 4px;
	margin-left: 8px;
}

ul.outline li {
	margin-left: 0;
	padding-left: 20px;
	list-style: none;
}	

.outline ul li .active {
	font-weight: bold;
}

ul.outline li.root {
	background: url(/images/nav/folder.gif) no-repeat 0 3px;
}	

ul.outline li.folder {
	margin-left: 4px;
	background: url(/images/nav/folder.gif) no-repeat 0 3px;
}	

ul.outline li.file {
	margin-left: 4px;
	background: url(/images/icon/generic.gif) no-repeat 0 3px;
}	

ul.outline ul {
	padding: 0;
	margin: 0;
	margin-left: 8px;
	margin-right: 8px;
	list-style: none;
} 

.outline li {
	margin: 0;
	padding: 0;
}

.outline li a {
	display: block;
	text-decoration: none;
	margin: 0;
	padding: 3px;
	-moz-border-radius: 5px;
	margin-right: 4px;
}

.outline li a:visited {
	text-decoration: none;
}

.outline li a:hover {
	background: #fff;
}

.outline li a.static:hover {
	background: #eee;
	color: #333;
}

.outline li a.static#active {
	background: #fff;
}

.posts {
	margin-top: 4px;
	padding: 4px;
	border: 1px solid #ccc;
	background: #eee;
}

.posts #audit {
	float: right;
}

.posts p {
	margin-top: 2px;
	margin-bottom: 4px;
}

/* name of user posting comment */
.posts .user {
	color: #666;
}

.posts table {
	width: 100%;
}

.posts table td {
	vertical-align: top;
}

#content .printlink {
	float: right; 
	margin: 8px;
}

.controller thead, .controller tfoot {
	clear: both;
	background: #eee;	
}

#content .localtools {
	background: #eee;	
	margin: 0;
	padding: 4px;
	border: 1px solid #999;
}

#content .localtools ul {
	margin: 0;
}

#content .localtools ul li {
	margin-left: 8px;
	display: inline;
}

#content .printlink {
	float: right; 
	margin: 8px;
}

code {
  font-family: courier, monospace;
  background: #ccc;
}

table.markup {
	border-collapse: collapse;
}

table.markup caption {
	background: #000;
	border: 1px solid #000;
	color: #fff;
	padding: 2px;
}

table.markup thead {
	background: #ffe;
	border: 1px solid #000;
	padding: 2px;
}

table.markup td {
	border: 1px solid #333;
	padding: 2px;
	vertical-align: top;
}

/* dataset */

.dataset {
	margin-top: 4px;
}

.dataset table {
	border-top: 1px solid #ddc; 
	border-bottom: 1px solid #ddc;
	width: 100%;
	border-collapse: collapse;
}

.dataset table td {
	vertical-align: top;
	padding: 2px;
}

.dataset thead {
	background: #ffe;
	border-bottom: 1px solid #ddc; 
}

.dataset td.thead {
	background: #ffe;
	border-bottom: 1px solid #ddc; 
}

.dataset td.odd {
	background: #fff;
}

.dataset td.even {
	background: #f6f6f6;
}

.dataset tfoot td {
	border-top: 1px solid #ddc; 
	background: #ffe;
}

.dataset tfoot td {
	padding: 2px;
}

/* forms */

.formbox {
	margin-top: 4px;
	border: 1px solid #dfdfdf;
	-moz-border-radius: 5px; 
	background: #f6f6f6;
	padding: 4px;
}

.formbox h2 {
	background: #ffe;
	border-bottom: 1px solid #ddc; 
	color: #333;
	font-size: 10pt;
	font-weight: bold;
	padding: 2px;
	margin-top: 4px;
}	

.formbox h3 {
	margin-top: 4px;
}	

.formbox table {
	border-collapse: collapse;
	width: 100%;
}

.formbox td {
	vertical-align: top;
	padding: 4px;
}

.formbox thead {
	background: #ffe;
}

.formbox thead td {
	background: #ffe;
}

.formbox thead td {
	border-bottom: 1px solid #ddc; 
}

.formbox tfoot {
	background: #ffe;
}

.formbox tfoot td {
	background: #ffe;
}

.formbox tfoot td {
	border-top: 1px solid #ddc; 
}

form {
	margin: 0;
	padding: 0;
}

.formbox textarea {
	font-size: 10pt;
}

.alert {
	color: #c00; 
}

#trail {
	text-align: center;	
	margin: 8px;
}
