body {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	font-size: 10pt;
	color: #000;
	margin: 0;
	padding: 0;
	text-align: center; /*centre for ie5 */
	background: #f0f0f0 url(/images/bg.gif) top center repeat-y;
}

#background {
	background: #f0f0f0 url(/images/bg-right-info.gif) top center repeat-y;
}

#background.no-right-info {
	background: #f0f0f0 url(/images/bg.gif) top center repeat-y;
}

body#popup {
    background: #fff;
    text-align: left;
} 

body#print {
    background: #fff;
    text-align: left;
} 

h1 {
	clear: both;
	color: #004E92;
	font-size: 14pt;
	font-weight: normal;
}
	
h2 {
	clear: both;
	color: #333;
	font-size: 12pt; 
}

h3 {
	clear: both;
	color: #333;
	font-size: 10pt; 
}

h4 {
	color: #333;
	font-size: 10pt; 
}

a:link {
	text-decoration: underline; 
	color: #00c;
}

a:visited { 
	text-decoration: underline; 
	color: #00c;
}

a:active { 
	text-decoration: underline; 
	color: #c00;
}

a:hover { 
	text-decoration: none; 
}

.clear {
	clear: both;
}

.im {
	margin: 8px;
}

/* template objects */

#userbar {
	width: 940px;
	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: 600px;
	float: right;
	text-align: right;
}

#masthead {
	margin: 0 auto 8px auto; 
	width: 940px; 
	height: 135px;
	background: #fff url(/images/nav.jpg) top center no-repeat;
}

#masthead h1 {
	margin: 0;
	display: inline;
}

#masthead #logo a {
	display: block;
	width: 940px;
	height: 135px;
}

#masthead span {
	display: none;
}


#nav {
	width: 924px;
	height: 135px;
	margin: 8px auto; 
	background-image: url(/images/nav.jpg);
	background-position: top center;
	background-repeat: no-repeat;
}

#nav h1 {
	margin: 0;
}

#nav ul {
	padding: 0;
	margin: 47px 8px 0 0;
	display: block;
	float: right;
} 

#nav ul li {
	list-style: none;
	float: left;
	display: block;
	padding: 0;	
	margin: 0;
}
			
#nav ul li.active {
}

#nav a#self {
	display: block;
	width: 192px;
	height: 72px;
	padding: 0;
	margin: 0;
	text-decoration: none;
	background: none;
	float: left;
}

#nav a#self span {
	display: none;
}

#nav ul li a {
	display: block;
	width: 120px;
	height: 25px;
	text-align: center;
	padding: 0;
	margin: 0 0 0 4px;
	text-decoration: none;
	color: #fff;
	background: url(/images/nav-tab-0.gif) top left no-repeat;
}

#nav ul li.active a {
	background: url(/images/nav-tab-1.gif) top left no-repeat;
}

#nav ul li a:hover {
	background: url(/images/nav-tab-h.gif) top left no-repeat;
}

#nav ul li a span{
	display: block;
	padding-top: 3px;
}

#menubarbox {
	text-align: center;
	margin: auto;
	width: 940px; 
	padding-top: 1px;
}

#popup #menubarbox {
	width: 100%; 
}

#menubarbox #skip {
	display: none;
}

#menu {
	font-size: 12px;
	line-height: 20px;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #036;
	clear: both;
}

#menu ul {
	padding: 0;
	margin: 0;
	display: inline;
} 

#menu ul li {
	list-style: none;
	display: inline;
	padding: 0;	
	margin: 0;
}
			
#menu ul li.active {
	display: inline;
}

#menu a {
	background: #eee; 
	height: 12px;
	padding: 1px 20px;
	margin: 0;
	margin-bottom: 0;
	text-decoration: none;
	color: #333;
	border: 1px solid #666;
	width: 100px;
}

#menu li.active a {
	background: #fff; 
	border: 1px solid #036;
	border-bottom: 1px solid #fff;
	font-weight: bold;
}

#menu li a:hover {
	background: #ffe;
	color: #666;
}

#menu li.active a:hover {
	background: #fff;
	color: #666;
}

#menu a span {
}

#menu ul li.active a {
	color: #000;
}

.sidemenu {
	width: 160px;
	margin: 20px 0 0 0;
	background: #fff;
}

.sidemenu a {
	color: #8D8C8C;
}	

.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: #333;
}	

.sidemenu h2 a:hover {
	text-decoration: underline;
	color: #333;
}	

.sidemenu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	border-bottom: #8D8C8C 1px solid;
} 

.sidemenu ul ul {
	padding: 0;
	margin: 0;
	margin-left: 10px;
	list-style-type: none;
	border: 0px;
} 

.sidemenu li {
	margin: 0;
	padding: 0;
	border-top: #8D8C8C 1px solid;
}

.sidemenu li a {
	color: #8D8C8C;
	display: block;
	text-decoration: none;
	margin: 0;
	padding: 4px 0 4px 0;
	margin-right: 2px;
    position:relative; 
}

.sidemenu li a:link, .sidemenu li a:visited {
	color: #8D8C8C;
	text-decoration: none;
	font-weight: bold;
}

.sidemenu li a:hover {
	color: #004E92;
}

.sidemenu li a.static:hover {
	background: #eee;
	color: #333;
}

.sidemenu ul li.active a:link, .sidemenu ul li.active a:visited {
	color: #004E92;
}

.sidemenu ul li.active ul li a:link, .sidemenu ul li.active ul li a:visited {
	color: #8D8C8C;
}

.sidemenu ul li.active {
	color: #004E92;
}

#page #login {
	width: 180px;
	height: 160px;
}

#page #login p {
	margin: 12px 8px 2px 8px;
}

#page #login h3 {
	color: #8D8C8C;
}


#page #login p.form span {
	display: block;
	float: left;
	width: 60px;
	padding-top: 2px;
	color: #8D8C8C;
}

#page #login p.form input {
	float: right;
	padding: 2px;
	width: 80px;
	border: 1px solid black;
	margin-right: 4px;
}

#page #login p input.submit {
	float: right;
	padding: 2px;
	border: 1px solid black;
	margin-right: 4px;
	border: none;
}

#page #login p.hook {
	font-size: 9pt;
	text-align: center;
	margin-top: 5px;
}

#page #login ul {
}

#page #login li {
}

#page #login li a {
	color: #8D8C8C;
}

#container {
	margin: auto; 
	width: 940px; 
	text-align: left;
}

/* usuable content width is 866px */
#content {
	margin: 0 8px 0 66px;
	min-height: 300px;
}

#home {
}

#home #feature {
	float: left;
	width: 600px;
	margin-left: 16px;
	margin-bottom: 16px;
}

#home #feature h1 {
	margin-top: 0;
}

#home #news {
	float: right;
	width: 230px;
	margin-right: 16px;
}

#index {
}

#page {
}

#left {
	float: left;
	width: 182px;
}	

#left h2 {
	margin-bottom: 0;
}	

#left h2 a {
	color: #000;
}	

#left ul li .active {
	font-weight: bold;
}

#right {
	width: 450px;
	float: left;
	margin: 0;
	padding: 0 0 8px 0;
}

#sideinfo {
	width: 210px;
	float: right;
	background: #CDE3E7;
	position: relative;
	left: 8px;
}

#sideinfo h1 {
	margin: 0;
	padding: 0;
	font-size: 12px;
	padding: 10px 0 0 10px;
	color: #004E92;
	font-weight: bold;
}

#sideinfo p {
	margin: 0;
	padding: 0 0 20px 10px;
}

#sideinfo form {
	margin: 0;
	padding: 0 0 0 10px;
}

#sideinfo a {
	color: #000;

}


#contact {
}

#contact #page-sidebar {
	width: 340px;
	float: left;
	display: inline;
}

#contact #page-main {
	width: 576px;
	float: right;
	display: inline;
}


.embedtv {
	margin: 8px;
}

/* /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: 480px;
	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 {
	width: 940px;
	height: 24px;
	margin: auto;
	clear: both;
	padding: 2px 0 2px 0;
	text-align: left;
	color: #222;
	background: #fff url(/images/footer.gif) right repeat-y;
}
#footer a {
	color: #222;
}

/* 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;
}

