body {
	font-family: "Arial", Verdana, Helvetica, sans-serif;
	font-size: 10pt;
	color: #C0C0C0;
	margin: 0;
	padding: 0;
	text-align: center; /*centre for ie5 */
	background: #000;
}

body#popup {
    background: #fff;
    text-align: left;
} 

body#print {
    background: #fff;
    text-align: left;
} 

h1 {
	color: #C0C0C0;
	font-size: 10pt; 
}
	
h2 {
	color: #333;
	font-size: 12pt; 
}

h3 {
	color: #333;
	font-size: 10pt; 
}

h4 {
	color: #333;
	font-size: 10pt; 
}

a:link {
	text-decoration: underline;
	color: #C0C0C0;
}

a:visited { 
	text-decoration: underline;
	color: #C0C0C0;
}

a:active { 
	text-decoration: underline;
	color: #C0C0C0;
}

a:hover { 
	text-decoration: underline; 
}

.clear {
	clear: both;
}

.im {
	margin: 8px;
}

/* template objects */

#background {
	text-align: left; /* centre for compliant browsers*/
 	background: #000;
}

#masthead {
	margin: 0 auto; 
	width: 840px; 
	height: 74px;
	background: #000 url(/images/masthead.gif) 0 16px no-repeat;
}

.homebg #masthead {
	background: #000 url(/images/masthead-home.gif) 0 16px no-repeat;
}

#background.workbg #masthead {
	background: none;
}

#masthead h1 {
	display: inline;
}

#masthead #logo a {
	display: block;
	width: 840px;
	height: 74px;
}

#masthead span {
	display: none;
}

/* menubar */

#menubarbox {
	text-align: right;
	margin: auto;
	width: 840px; 
	padding-top: 1px;
}

#popup #menubarbox {
	width: 100%; 
}

#menubarbox #skip {
	display: none;
}

#menu {
	font-size: 13px;
	font-weight: bold;
	line-height: 20px;
	margin: 0;
	padding: 0;
	clear: both;
}

#menu ul {
	padding: 0;
	margin: 0;
	display: inline;
} 

#menu ul li {
	list-style: none;
	display: inline;
	padding: 0;	
	margin: 0;
	text-transform: lowercase;
}
			
#menu ul li.active {
	display: inline;
}

#menu a {
	height: 12px;
	padding: 1px 0 0 40px;
	margin: 0;
	margin-bottom: 0;
	text-decoration: none;
	color: #C0C0C0;
	width: 100px;
}

#menu li.active a {
}

#menu li a:hover {
	color: #666;
}

#menu li.active a:hover {
	color: #666;
}

#menu a span {
}

#menu ul li.active a {
	color: #C00;
}

#privacy {
	font-size: 8pt;
	color: #C0C0C0;
	margin: 0;
	padding: 0;
	background: #000;
}

#work {
	margin: 0;
}

#work #left {
	float: left;
	height: 380px;
	width: 280px;
}

#work #right {
	text-align: right;
	float: right;
	height: 330px;
	width: 530px;
	margin: 50px 0 0 0;
}

#work #right img { 
	vertical-align: bottom;
}  

#work ul {
	padding: 0;	
	margin: 0;
}

#work ul li {
	list-style: none;
	padding: 0;	
	margin: 0;
}

#work ul li a{
	text-decoration: none;
	color: #C0C0C0;
}

#work ul li a:hover {
	color: #666;
}


#worktitle {
	font-size: 12pt;
	color: #C00;
	text-transform: uppercase;
}

#work-paging {
	font-size: 8pt;

}


#work-paging #work-paging-prev {
	color: #966;
	display: block;
	float: left;
	width: 100px;
	text-align: left;
	text-decoration: none;
}

#work-paging #work-paging-prev-na {
	color: #333;
	display: block;
	float: left;
	width: 100px;
	text-align: left;
}

#work-paging #work-paging-next {
	color: #966;
	display: block;
	float: left;
	width: 100px;
	text-align: left;
	text-decoration: none;
}

#work-paging #work-paging-next-na {
	color: #333;
	display: block;
	float: left;
	width: 100px;
	text-align: left;
}

#work-paging #work a {
	height: 12px;
	width: 100px;
	padding: 1px 20px;
	margin: 0;
	margin-bottom: 0;
	text-decoration: none;
	color: #C0C0C0;
}

#workmenu {
	height: 24px;
	font-size: 12px;
	margin: 0;
	padding: 12px 0 0 0; 
/*	clear: both; */
}

#workmenu ul {
	padding: 0;
	margin: 0;
	display: inline;
} 

#workmenu ul li {
	list-style: none;
	display: inline;
	padding: 0;	
	margin: 0;
	text-transform: lowercase;
}
			
#workmenu ul li.active {
	display: inline;

}

#workmenu a {
	height: 12px;
	padding: 0 40px 0 0;
	margin: 0;
	margin-bottom: 0;
	text-decoration: none;
	color: #C0C0C0;
	width: 100px;

}

#workmenu li.active a {

}

#workmenu li a:hover {
	color: #666;

}

#workmenu li.active a:hover {
	color: #666;

}

#workmenu a span {

}

#workmenu ul li.active a {
	color: #C00;

}



#imagemenu {	
}

#imagemenu ul {
	padding: 0;
	margin: 0;
	display: inline;
} 

#imagemenu ul li {
	list-style: none;
	display: inline;
	padding: 0;	
	margin: 0;
	text-transform: lowercase;
}
			
#imagemenu ul li.active {
}

#imagemenu a {
	height: 12px;
	margin: 0 16px 0 0;
	text-decoration: none;
	color: #966;
	text-align: left;
}

#imagemenu li.active a {
	font-weight: bold;
}

#imagemenu li a:hover {
	color: #966;
}

#imagemenu li.active a:hover {
	color: #966;
}

#imagemenu a span {
}

#imagemenu ul li.active a {
	color: #966;
}

#splash {
	padding: 300px 0 0 0;
}

#splash img {
	text-decoration: none;
	border-style: none;
}


.sidemenu {
	margin: 0;
	padding: 4px;
	border: 1px solid #dfdfdf;
	-moz-border-radius: 5px; 
	background: #f6f6f6;
/* commented versions are for image based sidemenu background */
/*
	margin: 0;
	padding: 0;
	background: url(/images/smbg.gif) repeat-y;
*/
}

.sidemenu a {
	color: #333;
}	

.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;
	margin-left: 8px;
	margin-right: 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: 5px;
	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;
}

#container {
	margin: 0 auto 0 auto;
	width: 840px;
	background:  #000 url(/images/adg_logo.gif) bottom right no-repeat;
}

.workbg #container {
	margin-top: 0;
}


/* usuable content width is 924px */
#content {
	margin: 0px;
	height: 440px;
}

#home {
}

#home #left {	
}

#home #right {
	text-align: right;
}

#index {
}

#contact #page-main {
	width: 400px;
	float: right;
}

#contact #page-sidebar {
	margin: 0;
	width: 250px;
	float: left;
}	

#page {
}

#left {
	margin: 0;
	width: 250px;
	float: left;
}	

#left h2 {
	margin-bottom: 0px;
}	

#left h2 a {
	color: #000;
}	

#left ul li .active {
	font-weight: bold;
}

#right {
	padding-bottom: 8px;
	width: 576px;
	float: right;
}

#right h1 {
}

#right h1 a {
	color: #666;
}

/* gallery */

#gallery {
}

#gallery .item {
	width: 200px;
	float: left;
	text-align: center;
}

#gallery .item .im {
	border: 0;
	width: 180px;
	height: 190px;
	margin: auto;
}

#gallery .item .i {
	border: 1px solid #000;
}

#gallery p {
	text-align: left;
}

#gallery #thumbs {
	width: 220px;
	float: left;
}

#gallery #thumbs .im {
	width: 80px;
	height: 60px;
	text-align: center;
	vertical-align: middle;
	margin: 4px;
	float: left;
}

#gallery #thumbs .i {
	border: 1px solid #000;
	margin: auto;
}


#gallery #zoom {
	margin: 4px;
	width: 480px;
	float: left;
	text-align: left;
}

#gallery #zoom .im {
	text-align: center;
}

#gallery #zoom .i {
	border: 1px solid #000;
}

#gallery #zoom h3 {
	text-align: left;
}

#gallery #zoom p {
	text-align: left;
}

/* footer */
#footer {
	clear: both;
	height: 16px;
	padding: 0px;
	text-align: right;
	font-size: 6pt;
}

#footer #company {
	color: #C00;
}



#footer a {
	text-decoration: none;
	color: #C0C0C0;
}


/* 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 {
	margin: auto;
	width: 868px;
}

#controller td {
	vertical-align: top;
}

#controller h1 {
	color: #000;
	margin: 0;
	font-size: 11pt;
}

#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;
}

#navleft {
	margin: 0;
	width: 200px;
	float: left;
}	

#navleft h2 {
	margin-bottom: 0px;
}	

#navleft h2 a {
	color: #000;
}	

#navleft ul li .active {
	font-weight: bold;
}

#contentright {
	width: 676px;
	float: right;
}


#contentright h1 {
}

#contentright h1 a {
	color: #666;
}

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;
	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 {
	background: #F9F9F9;
	padding: 2px;
}	

#toc ul {
	margin-top: 0;
	margin-bottom: 0;
}	

.tip {
	color: #69f;
	font-size: 8pt;
	border: 1px dotted #69f;
	margin: 8px;
	padding: 8px;
}

.tip h1, .tip h2, .tip h3 {
	margin-top: 0;
	color: #69f;
}

.tip a {
	color: #69f;
}

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;
	padding: 4px;
	align: right;
}

.formbox h2 {
	color: #C0C0C0;
	font-size: 10pt;
	font-weight: bold;
	padding: 2px;
	margin-top: 4px;
}	

.formbox h3 {
	margin-top: 4px;
}

.formbox p {
	margin: 0;
	padding: 4px;
}	


.formbox table {
	border-collapse: collapse;
}

.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;
}

.formtable {
	background: #f6f6f6;
	border: 1px solid #369;
}

.formkey {
	padding-top: 4px;
}

.formerror {
	color: #c00;
	padding-top: 4px;
}

.formvalue {
	margin-top: 4px;
	color: #036;
}

.htmlformerror {
	width: 200px;
}

.alert {
	color: #c00; 
}

.extra {
	padding: 4px;
	margin-top: 8px;
	margin-bottom: 8px;
}

#trail {
	text-align: center;	
	margin: 8px;
}

#userbar {
	background: #fff;
	border-bottom: 1px solid black;
	color: #000;
	text-align: right;
	padding: 4px;
}
