/* 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: #e9ecf9;
	background-image: url(images/bg.gif);
	background-position: center;
	background-repeat: 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 {
	background: #e9ecf9;
	background-image: url(images/bg.gif);
	background-position: center;
	background-repeat: repeat;
	text-align: left; /* centre for compliant browsers*/
}

#container {
	background: #becfdf;
	margin: auto; 
	width: 940px; 
}

/* usuable content width is 924px */
#content {
	padding: 0;
	margin: 0;
	min-height: 400px; 
	height: auto !important; /* IE6 */
	height: 400px; /* IE6 */
}

/* 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: 20px;
	background: #004b8f;
	background-image: url(images/top.gif);
	background-position: center;
	background-repeat: no-repeat;
}

#masthead-logo{
	border: solid 1px white;
	margin: 0 auto;
	width: 940px; 
	height: 90px;
	background-image: url(images/logo.gif);
	background-position: center;
	background-repeat: no-repeat;
}

#masthead-logo h1 a{
	margin: 12px 0 0 590px;
	display: block;
	width: 330px;
	height: 60px;
}

#masthead-logo span{
	display: none;
}

#masthead #masthead-links {
}

#masthead #masthead-links ul {
	margin: 0;
	width: 225px;
	height: 18px;
	float: right;
}

#masthead #masthead-links li {
	list-style: none;
	float: left;
	display: block;
	display: inline; /* IE6 */
	padding: 0;	
	margin: 0;
}

#masthead #masthead-links li#masthead-home {
	color: #fff;
	width: 109px;
	text-align: center;
}

#masthead #masthead-links li#masthead-space {
	color: #fff;
	width: 2px;
	text-align: center;
}

#masthead #masthead-links li#masthead-contact {
	color: #fff;
	width: 109px;
	text-align: center;
}

#masthead #masthead-links a {
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
	font-size: 14px;
	color: #fff;
	font-weight: bold;
	text-decoration: none; 
}

#masthead h1 {
	margin: 0;
	display: inline;
}

#masthead #masthead-logo span {
	display: none;
}

#masthead #masthead-leaderboard {
	background: pink;
	display: block;
	width: 728px;
	height: 90px;
	margin: 8px 8px 0 0;
	float: right;
	display: inline; /* IE6 */
}

/* menubar */

#menubar-wrap {
	background: #fff;
	border-bottom: 1px solid #999;
}

#menubar {
	margin: auto;
	width: 940px; 
	background: #fff;
}

#menubar #skip {
	display: none;
}

#menubar ul {
	margin: 0 auto;
	padding: 0;
	list-style: none;
} 

#menubar ul li {
	list-style: none;
	display: block;
	float: left;
	display: inline; /* IE6 */
	padding: 0;	
	margin: 0;
}

#menubar ul li#menubar-active {
}

#menubar ul li a {
	display: block;
	width: 120px;
	height: 25px;
	margin: 0 1px;
	text-decoration: none;
	color: #fff;
	background: #666;
	font-weight: bold;
	text-align: center;
}

#menubar ul li a:hover {
	background: #333;
}

#menubar ul li a span {
	display: block;
	padding-top: 3px;
}

#menubar ul li#menubar-active a {
	background: #000;
}

#menubar ul li#menubar-active a:hover {
	background: #333;
}

/* nav */

#nav-wrap {
	height: 80px;
	border-bottom: 1px solid #999;
}

#nav {
	width: 940px;
	height: 80px;
	margin: auto;
}

#nav h1 {
	margin: 0;
}

#nav ul {
	padding: 0;
	margin: 55px 8px 0 0;
	display: block;
	float: right;
	display: inline; /* IE6 */
} 

#nav ul li {
	list-style: none;
	float: left;
	display: block;
	padding: 0;	
	margin: 0;
}
			
#nav ul li.active {
}

#nav a#nav-logo {
	display: block;
	width: 192px;
	height: 80px;
	padding: 0;
	margin: 0 0 0 8px;
	text-decoration: none;
	background-image: url(images/logo.gif);
	background-position: center;
	background-repeat: no-repeat;
	float: left;
	display: inline; /* IE6 */
}

#nav a#nav-logo 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: #666;
}

#nav ul li.active a {
//	background: #000;
}

#nav ul li a:hover {
	color: #fff;
	background: #333;
}

#nav ul li a span{
	display: block;
	padding-top: 3px;
}

/* dropdown */

#dropdown-wrap {
	border-bottom: 1px solid #999;
}

/* use this to set the width and height */
#dropdown {
	width: 940px; 
	height: 24px;
	margin: auto;
}

#dropdown ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline;
}

/* use this to position the tabs, eg margin auto or left */
#dropdown ul.dropdown-tabs {
	margin: 0;
	padding: 0;
}

#dropdown li {
	padding: 0;
	margin: 0;
	float: left;
}

#dropdown li.dropdown-tab {
	margin-right: 2px;
}

#dropdown li.dropdown-tab a:hover {
	background: #333;
}

#dropdown li:hover ul , #dropdown li.sfhover ul {
	left: auto;
	z-index: 100;
}

/* fix ie7 sticky bug */
#dropdown li:hover, #dropdown li.hover {
    position: static;
}

#dropdown li.dropdown-item {
	line-height: 16pt;
}

#dropdown ul li a {
	padding: 0;
	margin: 0;
	display: block;
	width: 154px;
	text-decoration: none;
	color: #fff;
	background: #666;
	text-align: left;
	min-height: 24px;
	height: auto !important; /* IE6 */
	height: 24px; /* IE6 */
}

#dropdown ul li.dropdown-tab a {
	min-height: 24px;
}

/* set the inset of the tab title in it's box */
#dropdown ul li a span {
	display: block;
	padding: 2px 8px 0 8px;
}

#dropdown ul li ul {
	position: absolute;
	width: 154px;
	left: -999em;
	z-index: 100;
}

#dropdown ul li ul li {
}

/* use this to set left and right borders for dropdown items, and
inset of item text from those borders via padding */

#dropdown ul li ul li a span {
	display: block;
	min-height: 24px;
	border-right: 1px solid #999;
	border-left: 1px solid #999;
	padding-left: 2px;
	padding-right: 2px;
}

#dropdown ul li a:hover {
	color: #fff;
	background: #666;
}

#dropdown ul.dropdown-tabs {
	margin-left: 8px;
}

#dropdown ul.dropdown-tabs li a.dropdown-active {
	display: block;
	font-weight: bold;
	background: #000;
}

#dropdown ul.dropdown-tabs li a.dropdown-active:hover {
	display: block;
	font-weight: bold;
	background: #333;
}

/* use this to set the bottom border of the menus */
#dropdown ul.dropdown-items {
	border-bottom: 1px solid #999;
}

/* use this to set the line above each menu item */
#dropdown ul.dropdown-items a {
	border-top: 1px solid #999;
	background:  #666;
}

#dropdown ul.dropdown-items a:hover {
	color: #fff;
	background: #333;
}

/* sidenav */

#sidenav {
	padding: 32px 26px 0 26px;
	background: #004b8f;
}

#sidenav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: solid 1px #fff;
} 

#sidenav ul li {
	list-style: none;
	display: block;
	padding: 0;	
	margin: 0;
}

#sidenav ul li a {
	border-top: solid 1px #fff;
	display: block;
	width: 100%;
	height: 35px;
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	font-size: 15px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#sidenav ul li a:hover {
	background: #fff;
	color: #004b8f;
}

#sidenav ul li a span {
	display: block;
	padding: 4px 8px 0 16px;
}

#sidenav ul li#sidenav-active {

}

#sidenav ul li#sidenav-active a {
//	-moz-border-radius: 4px; 
	background: #fff;
	color: #004b8f;
}

#sidenav ul li#sidenav-active a:hover {

}

#sidenav ul li#sidenav-expanded {

}

#sidenav ul li#sidenav-expanded a {

}

#sidenav ul li#sidenav-expanded a:hover {

}

#sidenav ul li#sidenav-expanded ul li a {
	border-top: solid 1px #fff;
	background: #8ac533;
}

#sidenav ul li#sidenav-active ul li a {
	background: #8ac533;
	border-top: solid 1px #fff;
}

#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 {
	background: url(images/bg_home.gif) center repeat;
}

/* 924px into 4 column grid with 8px gap */

#home #home-main {
	float: left;
	width: 691px;
	display: inline; /* IE6 */
}

#home #home-main h1 {
	margin-top: 0;
}

#home #home-hero {
	width: 719px;
	height: 220px;
	background: url(images/home-hero.jpg) center no-repeat;
}

#home #home-content {
}

#home #home-content h1{
	margin: 20px 30px 20px 30px;
	display: block;
	text-decoration: none;
	color: #004b8f;
	font-size: 19px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#home #home-content h2{
	margin: 20px 30px 20px 30px;
	display: block;
	text-decoration: none;
	color: #5a5959;
	font-size: 17px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#home #home-content h4{
	margin: 20px 30px 20px 30px;
	display: block;
	text-decoration: none;
	color: #004b8f;
	font-size: 15px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#home #home-content p{
	margin: 20px 30px 20px 30px;
	display: block;
	text-decoration: none;
	color: #33373b;
	font-size: 13px;
	font-weight: bold;
}

#home #home-sidebar {
	background: #004b8f;
	float: right;
	width: 221px;
	min-height: 220px;
	display: inline; /* IE6 */
}

#home #home-sidebar #home-contact {
	color: #fff;
	font-size: 14px;
	margin: 145px 0 0 0;
	background: #004b8f;
	float: right;
	width: 221px;
	min-height: 220px;
	display: inline; /* IE6 */
}

#home #home-sidebar #home-contact a{
	text-decoration: underline;
	color: #fff;
	font-size: 13px;
}

#home #home-sidebar #home-contact p{
	margin: 0 37px 0 37px;
}

/* news latest?? */

#home #home-news {
}

#home #home-news h3 {
}

#home #home-news h3 a {
	color: #000;
}

#home #home-news img {
	float: right;
	margin: 0 0 4px 4px;
}

.news-index-detail {
}

.news-index-item h3 {
	margin: 0;
}

.news-index-item p {
	margin-top: 4px;
}

#home ul, #index ul, #page ul {
	list-style: disc;
}

#index {
	background: url(images/bg_home.gif) center repeat;
}

#index-main {
	padding: 20px 0 20px 30px;
	width: 470px;
	float: left;
}

#index-main h1 {
	color: #F7941E;
}

#index-sidebar {
	background: #004b8f;
	float: right;
	width: 221px;
	min-height: 220px;
	display: inline; /* IE6 */
}	

#index-sidebar h2 {
	margin-bottom: 0px;
}	

#index-sidebar h2 a {
	color: #fff;
}	

#index-sidebar ul li .active {
	font-weight: bold;
}


#index-sidebar #home-contact {
	color: #fff;
	font-size: 14px;
	margin: 145px 0 0 0;
	background: #004b8f;
	float: right;
	width: 221px;
	min-height: 220px;
	display: inline; /* IE6 */
}

#index-sidebar #home-contact a{
	text-decoration: underline;
	color: #fff;
	font-size: 13px;
}

#index-sidebar #home-contact p{
	margin: 0 37px 0 37px;
}



#page {
	background: url(images/bg_home.gif) center repeat;
	min-height: 400px; 
	height: auto !important; /* IE6 */
	height: 400px; /* IE6 */
}

#page-sidebar {
	width: 221px;
	float: right;
}	

#page #page-sidebar {
	background: #004b8f;
	float: right;
	width: 221px;
	min-height: 220px;
	display: inline; /* IE6 */
}

#page #page-sidebar #home-contact {
	color: #fff;
	font-size: 14px;
	margin: 145px 0 0 0;
	background: #004b8f;
	float: right;
	width: 221px;
	min-height: 220px;
	display: inline; /* IE6 */
}

#page #page-sidebar #home-contact p{
	margin: 0 37px 0 37px;
}

#page #page-sidebar #home-contact a { 
	text-decoration: underline; 
	color: #fff;
	font-size: 13px;
}

#page #page-menu {
	margin: 0;
	padding: 4px;
	-moz-border-radius: 4px; 
	background: #f6f6f6;
}

#page #page-menu a {
	color: #333;
}	

#page #page-menu h2 {
	color: #333;
	font-size: 10pt;
	font-weight: bold;
	padding: 4px;
	margin: 4px;
}	

#page #page-menu h2 a:link, #page #page-menu h2 a:visited {
	text-decoration: none;
	color: #333;
}	

#page #page-menu h2 a:hover {
	text-decoration: underline;
	color: #333;
}	

#page #page-menu ul {
	padding: 0;
	margin: 4px 8px;
	list-style-type: none;
} 

#page #page-menu li {
	margin: 0;
	padding: 0;
}

#page #page-menu li a {
	color: #333;
	display: block;
	text-decoration: none;
	margin: 0;
	padding: 3px;
	-moz-border-radius: 4px;
	margin-right: 2px;
    position:relative; 
}

#page #page-menu li a:link, #page #page-menu li a:visited {
	color: #333;
	text-decoration: none;
}

#page #page-menu li a:hover {
	background: #fff;
}

#page #page-menu li a.static:hover {
	background: #eee;
	color: #333;
}

#page #page-main {
	padding: 20px 5px 20px 30px;
	width: 639px;
	float: left;
}

#page-main h1 {
	display: block;
	text-decoration: none;
	color: #004b8f;
	font-size: 19px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#page-main h2{
	display: block;
	text-decoration: none;
	color: #004b8f;
	font-size: 17px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#page-main h3{
	display: block;
	text-decoration: none;
	color: #5a5959;
	font-size: 15px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#page-main h4{
	display: block;
	text-decoration: none;
	color: #5a5959;
	font-size: 13px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#page-main p{
	display: block;
	text-decoration: none;
	color: #33373b;
	font-size: 13px;
	font-weight: bold;
}

#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: 640px;
}

#contact #page-sidebar {
	width: 200px;
	float: right;
	display: inline;
}

#contact #page-main {
	width: 430px;
	float: left;
	display: inline;
}

.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;
}

/* /blog module-widget */

#blog {
	min-height: 300px;
}

#blog .blog-post-title {
	background: #fff url(images/blog/blog-post-title.gif) top left no-repeat;
	width: 676px;
	height: 25px;
	margin-bottom: 0;
}

#blog .blog-post-title span {
	padding-left: 6px;
}

#blog .blog-post-title a:link, #blog .blog-post-title a:visited {
	color: #000;
	text-decoration: none;
}

#blog .blog-post-title a:hover {
	color: #00c;
	text-decoration: underline;
}

#blog .blog-post-meta {
	margin-top: 4px;
	font-size: 9pt;
	font-weight: bold;
	padding-left: 4px;
}

#blog .blog-post p {
	margin-left: 4px;
	margin-right: 4px;
}

#blog .blog-post-categories {
	text-align: center;
}

#blog #blog-sidebar {
	margin: 0;
	width: 240px;
	float: right;
}	

#blog #blog-sidebar-top {
	width: 240px;
	height: 4px;
	background-image: url(images/blog/blog-sidebar-top.gif);
	background-position: top left;
	background-repeat: no-repeat;
	overflow: hidden; /* IE6 */
}	

#blog #blog-sidebar-bg {
	width: 240px;
	background-image: url(images/blog/blog-sidebar-bg.gif);
	background-position: top left;
	background-repeat: repeat-y;
	margin: 0;
	border-bottom: 0px solid white;
}	

#blog #blog-sidebar-inner {
	margin: 0 8px;
	padding-top: 8px;
	padding-bottom: 8px;
}	

#blog #blog-sidebar-inner p {
	margin-bottom: 0; /* firefox collapsing margins */
}	

#blog #blog-sidebar-bottom {
	margin: 0;
	width: 240px;
	height: 7px;
	background-image: url(images/blog/blog-sidebar-bottom.gif);
	background-position: top left;
	background-repeat: no-repeat;
}

#blog #blog-sidebar h2 {
	margin-top: 0;
	font-size: 10pt;
}	

#blog #blog-sidebar h2 a {
	color: #000;
}	

#blog #blog-sidebar h3 {
	font-size: 10pt;
}	

#blog #blog-sidebar h3 a {
	color: #000;
}	

#blog .blog-xml-link {
	text-align: center;
}

#blog #main {
	padding-bottom: 8px;
	width: 676px;
	float: left;
}

#blog #main h3#comments-title {
	font-size: 9pt;
	background: #f6f6f6;
	border-top: 1px solid #c9c9c9;
	padding: 2px 2px 2px 4px;
}

#blog .comment-top {
	margin-top: 1em;
	background: #fff url(images/blog/comment-top.gif) top left no-repeat;
	width: 676px;
	height: 4px;
	overflow: hidden; 
}

#blog .comment {
	background: #fff url(images/blog/comment-bg.gif) top left repeat-y;
	padding: 4px;
}

#blog .comment p {
	margin: 0 0 0 4px;
}

#blog .comment-meta {
	background: #fff url(images/blog/comment-meta-bg.gif) top left no-repeat;
	padding: 4px;
	height: 24px;
}

#blog .comment-meta p {
	margin: 6px 0 0 48px;
}

/* /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 {
	outline:none;
	margin: 0;
	text-align: center;
	width: 689px;
	height: 525px;
}


/* 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: 0 auto; 
	width: 940px;
	height: 1px;
}

#footer {
	width: 221px;
	margin: 0;
	padding: 7px 0;
	text-align: center;
	float: right;
}

/* web-app UI elements */
 
#controller {
	margin: 0 auto 4px auto;
//	background: #f6f6f6;
	background: #becfdf;
	color: #000;
	padding: 6px;
	-moz-border-radius: 4px;
}

#controller table {
	width: 100%;
}

#controller td {
	vertical-align: middle;
}

#controller h1 {

	display: block;
	text-decoration: none;
	color: #004b8f;
	font-size: 19px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}

#controller a {
	color: #004b8f;
	font-size: 19px;
	text-decoration: none;	
}

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 {
	background: #becfdf;
}

.formbox form{
}

.formbox h2 {
	display: block;
	text-decoration: none;
	color: #004b8f;
	font-size: 19px;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
}	

.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;
}
