/* zero out for cross-browser consistency */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { 
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset, img { 
	border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
}

ol, ul {
	list-style: none;
}

caption, th {
	text-align: left;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: bold;
}

q:before, q:after {
	content: '';
}

abbr, acronym { 
	border: 0;
}

/* set defaults for regular html */

body {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	font-size: 10pt;
	color: #000;
	text-align: center; /*centre for ie5 */
	background: #fff url(/images/bg.gif) center repeat;	
}

body#popup {
    background: #fff;
    text-align: left;
} 

body#print {
    background: #fff;
    text-align: left;
} 

h1 {
	color: #666;
	font-size: 16pt; 
	font-family: Tahoma, "Trebuchet MS", Verdana, Helvetica, sans-serif;
	margin: 0 0 0.66em 0;
}
	
h2 {
	color: #666;
	font-size: 13pt; 
	font-family: Tahoma, "Trebuchet MS", Verdana, Helvetica, sans-serif;
	margin: 0.66em 0;
}

h3 {
	color: #666;
	font-size: 10pt; 
	font-family: Tahoma, "Trebuchet MS", Verdana, Helvetica, sans-serif;
	margin: 0.66em 0;
}

h4 {
	color: #666;
	font-size: 10pt; 
	font-family: Tahoma, "Trebuchet MS", Verdana, Helvetica, sans-serif;
	margin: 0.66em 0;
}

p {
	margin: 0.66em 0;
}

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; 
}

ul {
	margin: 8px 0 8px 16px;
	padding: 0;
}	

code {
  font-family: courier, monospace;
  background: #ccc;
}

form {
	margin: 0;
	padding: 0;
}

/* for clearing floating divs */

.clear {
	clear: both;
}

/* custom inline styles */

.alert {
	color: #c00; 
}

.hilite {
	background: #ff6;
}

.summary {
	margin-top: 4px;
	border: 1px solid #ddc; 
	background: #ffe;
	padding: 4px;
}	

.summary table {
	width: 100%;
}

.summary table td {
	vertical-align: top;
}

/* template and widget styles in top-down order */

#background {
	text-align: left; /* centre for compliant browsers*/
}

#container {
	margin: auto; 
	width: 940px;
}

#container #container-sidebar {
	display: inline;
	float: right;
	width: 220px;
}

#container #container-main {
	display: inline;
	float: left;
	width: 720px;
}

/* usuable content width is 924px */
#content {
	padding: 0;
	margin: 24px;
	min-height: 500px; 
	height: auto !important; /* IE6 */
	height: 400px; /* IE6 */
}

#content.content-home {
	margin: 0;
	background: url(/images/home-hero.jpg) top no-repeat;
	padding-top: 220px;
}

#sidebar-contact {
	background: #8ac533;
	margin: 25px 35px;
	font-size: 16px;
	float: right;
	width: 150px;
	color: #fff;
	min-height: 200px;
	display: inline; /* IE6 */
}

#sidebar-contact a {
	color: #fff;
}

#sidebar-contact a:hover {
	color: #000;
}

/* userbar */

#userbar-wrap {
	height: 24px;
	background: #000;
}

#userbar {
	width: 940px;
	height: 24px;
	margin: auto;
	color: #fff;
}

#userbar a {
	color: #fff;
	text-decoration: none;
}

#userbar a:hover {
	text-decoration: underline;
}

#userbar #userbar-title {
	margin-top: 3px;
	width: 300px;
	float: left;
	font-weight: bold;
}

#userbar #userbar-links {
	margin-top: 3px;
	width: 600px;
	float: right;
	text-align: right;
}


/* navigation elements */

/* masthead */

#masthead-wrap {
}

#masthead {
	margin: 0 auto; 
	width: 940px; 
	height: 110px;
	background: #8ac533 url(/images/masthead.gif) top no-repeat;
}

#masthead h1 {
	margin: 0;
	display: inline;
}

#masthead #masthead-logo a {
	margin: 20px 0 0 12px;
	display: block;
	width: 192px;
	height: 90px;
	float: left;
	display: inline; /* IE6 */
}

#masthead #masthead-logo span {
	display: none;
}

#masthead p#masthead-links {
	float: right;
	width: 220px;
	height: 20px;
	margin: 0;
	display: inline; /* IE6 */
	font-size: 15px;
	text-align: center;
	font-weight: bold;
	color: #fff;
}

#masthead p#masthead-links a {
	text-decoration: none; 
	color: #fff;
}

#masthead p#masthead-links a:hover {
	text-decoration: underline; 
	color: #000;
}

/* sidenav */

#sidenav {
}

#sidenav ul {
	margin: 25px 30px;
	padding: 0;
	list-style: none;
	width: 160px;
	border-top: solid 1px #fff;
} 

#sidenav ul li {
	border-bottom: solid 1px #fff;
	list-style: none;
	display: block;
	padding: 0;	
	margin: 0;
}

#sidenav ul li a {
	display: block;
	width: 160px;
	height: 30px;
	text-decoration: none;
	color: #fff;
	background: #8ac533;
	font-weight: bold;
}

#sidenav ul li a:hover {
	background: #fff;
	color: #8ac533;
}

#sidenav ul li a span {
	display: block;
	padding: 4px 8px 4px 6px;
	font-size: 15px;
}

#sidenav ul li#sidenav-active {
}

#sidenav ul li#sidenav-active a {
	background: #fff;
	color: #8ac533;
}

#sidenav ul li#sidenav-active a:hover {
}

#sidenav ul li#sidenav-expanded {
}

#sidenav ul li#sidenav-expanded a {
	background: #444;
}

#sidenav ul li#sidenav-expanded a:hover {
	background: #333;
}

#sidenav ul li#sidenav-expanded ul li a {
	background: #444;
}

#sidenav ul li#sidenav-active ul li a {
	background: #444;
}

#sidenav ul li ul li {
}

#sidenav ul li ul li a {
	font-size: 9pt;
	font-weight: normal;
}

#sidenav ul li ul li a span {
	padding-left: 24px;
}

#sidenav ul li ul li#sidenav-subpage-active {
}

#sidenav ul li ul li#sidenav-subpage-active a {
	font-size: 9pt;
	font-weight: normal;
	background: #000;
}


/* templates - keep structural elements namespaced and grouped together */

.inner {
	padding: 8px;
}

#home {
	padding: 12px 24px 24px 24px;
}

#home h1 {
	margin-top: 0;
}

#home h2 {
	margin-top: 0;
	color: #d8012d;
	font-size: 16pt;
	font-family: Tahoma,"Trebuchet MS",Verdana,Helvetica,sans-serif;
}

#index {
}

#page {
}

#page-main {
}

#page-main h1 {
	color: #d8012d;
}

#page-main h2 {
	color: #d8012d;
}

#page-main h1 a {
	color: #666;
}

#page #page-main .page-image {
	margin: 0 8px;
}

#page #page-main .page-image img {
}

#page #page-main .page-image p {
}

#page #page-main .page-image a {
}

#contact {
	width: 674px;
}

#contact p {
	width: 274px;
}

#contact #page-main{
	width: 390px;
	float: right;
}

#contact #page-sidebar{
	width: 270px;
	float: left;
}

#contact #page-sidebar p {
	width: 270px;
}

.page-index {
}

.page-index-item {
	margin-top: 16px;
}

.page-index-image {
	width: 80px;
	height: 80px;
	float: left;
	margin-right: 16px;
}

.page-index-image img {
	border: 0;
}

.page-index-detail {
}

.page-index-item h3 {
	margin: 0;
}

.page-index-item p {
	margin-top: 4px;
}

/* general-use widgets */

/* sidemenu */

#sidemenu {
	margin: 0;
	padding: 4px;
	-moz-border-radius: 4px; 
	background: #f6f6f6;
}

#sidemenu a {
	color: #333;
}	

#sidemenu h2 {
	color: #333;
	font-size: 10pt;
	font-weight: bold;
	padding: 4px;
	margin: 4px;
}	

#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: 4px 8px;
	list-style-type: none;
} 

#sidemenu li {
	margin: 0;
	padding: 0;
}

#sidemenu li a {
	color: #333;
	display: block;
	text-decoration: none;
	margin: 0;
	padding: 3px;
	-moz-border-radius: 4px;
	margin-right: 2px;
    position:relative; 
}

#sidemenu li a:link, #sidemenu li a:visited {
	color: #333;
	text-decoration: none;
}

#sidemenu li a:hover {
	background: #fff;
}

#sidemenu li a.static:hover {
	background: #eee;
	color: #333;
}

.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: #666;
}

#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;
}

#page-gallery #page-gallery-zoom p span.page-gallery-title {
	font-weight: bold;
}

/* for text_parse_structured table of contents */

#page #toc {
}	

#page #toc ul {
}	

/* for text_parse_structured tables */

#page table.markup {
}

#page table.markup caption {
	background: #000;
	border: 1px solid #000;
	color: #fff;
	padding: 2px;
}

#page table.markup thead {
	background: #ffe;
	border: 1px solid #000;
	padding: 2px;
}

#page table.markup td {
	border: 1px solid #333;
	padding: 2px;
	vertical-align: top;
}

/* footer */

#footer-wrap {
	margin-bottom: 8px;
}

#footer {
	width: 940px;
	margin: auto;
	min-height: 50px; 
	height: auto !important; /* IE6 */
	height: 50px; /* IE6 */
	padding: 0;
	text-align: center;

}

/* web-app UI elements */
 
#controller {
	margin: 0 auto 4px auto;
	color: #000;
}

#controller table {
	width: 100%;
}

#controller td {
	vertical-align: top;
}

#controller h1 {
	margin: 2px 0 0;
	color: #d8012d;
	font-size: 15pt;
}

#controller h1 a{
	text-decoration: none;
	margin: 2px 0 0;
	color: #d8012d;
	font-size: 15pt;
}

#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 {
	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: 4px;
	margin: 0 auto 4px 0;
}

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: 10pt;
	background: none;
	color: #000;
	margin: 8px;
}

table#title td h1 a {
	color: #000;
}

#heirachy {
	margin-top: 4px;
	margin-bottom: 4px;
	border-top: 1px solid #ddc; 
	border-bottom: 1px solid #ddc; 
	background: #ffe;
	padding: 2px;
	font-size: 9pt;
}	

/* dataset - for tabulated data */

.dataset {
	margin-top: 4px;
}

.dataset table {
	border-top: 1px solid #ddc; 
	border-bottom: 1px solid #ddc;
	width: 100%;
}

.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;
}

/* formbox */

.formbox {
	width: 380px;
}

.formbox h2 {	
	color: #d8012d;
	font-size: 15pt;
	font-weight: bold;
	margin: 0;
}	

.formbox h3 {
	margin-top: 4px;
}	

.formbox table {
	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; 
}

.formbox textarea {
	font-size: 10pt;
}
