/* BODY, GLOBAL, AND PAGE WRAPPER */

body {
	background: #4d4d4a  url('/img/layout/cross_section_slice.jpg') top center repeat-y;
	color: white;
	font-family: Helvetica, Arial, sans-serif;
	height: 100%;
	padding: 0;
	margin: 0;
}

a {
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

hr {
	border: 0;
	width: 90%;
	color: #B6B4A7;
	background-color: #B6B4A7;
	height: 1px;
	text-align: left;/*this will align it for IE*/
	margin: 50px 0 15px 0; /*this will align it left for Mozilla*/
	
}

#wrap {
	width: 1000px;
	margin: 0 auto 0 auto;
	color: black;
	background: white;
	position: relative;
	overflow: hidden;
	height: 100%;
	display: block;
}

/* HEADER */

#header {
	height: 80px;
	width: 380px;
	margin-top: 80px;
	overflow: hidden;
}

/* Technique 6: http://css-tricks.com/css-image-replacement/ */
#header span {
	background: url('/img/layout/decho_header.jpg') top left no-repeat;
	width: 349px;
	display: block;
	padding: 80px 0 0 0;
	margin: 0;
	height: 0;
	overflow: hidden;
}

/* FOOTER */

#footer {
	background: #b5b4a6 url('/img/layout/footer_gradient.jpg') top center repeat-x;
	padding: 30px 1px 1px 100px;
	color: #7B7966;
	text-transform: lowercase;
	font-size: 11px;
	position: relative;
	min-height: 30px;
	max-height: 1500px;
}

#footer span.org {
	font-weight: bold;
}

#footer a {
	color: #7B7966;
}

/* Footer buttons */

#footer .buttons {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 15px;
	right: 70px;
	list-style: none;
}

#footer .buttons li {
	list-style: none;
	padding-bottom: 5px;
}

#footer .buttons a {
	overflow: hidden;
	display: block;
}

#footer .buttons a#button_w3c {
	background: url('/img/layout/button_w3c_compliant.png') no-repeat;
	width: 103px;
	height: 0;
	padding-top: 22px;
}

#footer .buttons a#button_ukwda {
	background: url('/img/layout/button_ukwda.png') no-repeat;
	width: 103px;
	height: 0;
	padding-top: 12px;
}

#footer .footerLinks {
	font-size: 1.1em;
	text-transform: none;
	margin: 5em 325px 0 0;
	line-height: normal;
	color:#7B7966;
	text-align:justify;
}

#footer .footerLinks a {
	color:#7F7D6F;
	font-size: inherit;
	font-weight:bold;
}

#footer .footerLinks h1 {
	color:#7B79660;
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	font-weight:300;
	font-size: 2em;
	text-align:left;
	margin-bottom:0.3em;
	line-height:25px;
}

#footer .footerLinks h2 {
	color:#7B79660;
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	font-weight:300;
	font-size: 1.5em;
	padding-top:0.3em;
	text-align:left;
	margin-bottom:0.4em;
	line-height:20px;
}

#footer .footerLinks h3 {
	color:#7B79660;
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	font-weight:300;
	font-size:inherit;
	text-align:left;
	margin-bottom:0.2em;

}

#footer .footerLinks hr {
	border: 0;
	width: 100%;
	background-color:#8F8C74;
	height: 1px;
	text-align: left;/*this will align it for IE*/
	margin: 30px 0 15px 0; /*this will align it left for Mozilla*/
	
}

	

/* BODY COPY STYLES */

#body {
	margin: 0;
	padding: 60px 350px 30px 100px;
	width: 550px;
	font-size: 13px;
	min-height: 490px; /* Minimum total height is 550px */
	position: relative;
	line-height: 1.5em;
	color: #646464;
	font-family: Helvetica, Arial, sans-serif;
	overflow: visible;
}

#body strong {
	font-weight: bold;
}

#body h1.section {
/*	color: #DEDDD7; */
	text-transform: lowercase;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 1.8em;
	margin-top: 0;
	font-weight:lighter;
}

#body h1.section .subsection {
	color: #AFAEA1;
}

#body #section_body h2 {
	font-size: 1.3em;
	margin-bottom: 0.4em;
}

#body #section_body p {
	margin-bottom: 1.0em;
}

#body #section_body ul,
#body #section_body ol {
	color: #696A62;
	margin-top: 0;
}

#body #section_body p + ul,
#body #section_body p + ol,
#body #section_body h1 + ul,
#body #section_body h1 + ol,
#body #section_body p + .list2columns,
#body #section_body h1 + .list2columns {
	margin-top: -0.9em;
}

#body #section_body h2 + ul,
#body #section_body h2 + ol,
#body #section_body h2 + .list2columns {
	margin-top: -0.4em;
}


#body a {
	color: #76776f;
}

#body #section_body a {
	color: #F08B00;
	text-decoration: underline;
}
#body #section_body a:hover {
	color: #AA5D00;
	text-decoration: underline;

}

/*
 RANDOM SECTION STUFF
*/

.list2columns ul {
	width: 100%;
	overflow: auto;
}

.list2columns ul li {
	width: 50%;
	float: left;
}


/* RIGHT HAND SIDE FOR SECTIONS */

#body_rhs {
	position: absolute;
	right: 0;
	top: -8px;
	z-index: 0;
	width: 350px;
	overflow: visible;
}

#body_rhs img.section_image {
	margin-top: 15px;
	float: right;
}


/* NAVIGATION */

#nav {
	position: absolute;
	margin: 25px 0 0 0;
	top: 80px;
	left: 380px;
	height: 100px;
	right: 25px;
	overflow: hidden;
}

#nav, #nav_level3 {
	font-size: 12px;
	text-transform: lowercase;
}


#nav ul, #nav_level3 ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#nav li, #nav_level3 li {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Language selector */

#nav #languages {
	position: absolute;
	right: 0;
	z-index: 10;
}

#nav #languages li {
	float: left;
	display: block;
	margin: 0 0 0 1em;
}

#nav #languages li a {
	color: #d5d4cd;
}

#nav #languages a.selected {
	font-weight: bold;
	color: #d4d4cc;
}

/* NAVIGATION MENU */

/* Apply to all items */
#nav ul.level1 li a, #nav_level3 li a {
	color: #9F9E95;
}

#nav ul.level1 li.selected > a {
	color: #797a74;
	font-weight: bold;
}

#nav ul.level2, #nav ul.level3 {
	display: none;
}

#nav ul.level1 li.selected > ul.level2 {
	display: block;
}


#nav ul.level1 {
	width: 100%;
	overflow: visible;
	position: relative;
}

#nav ul.level1 > li {
  	float: left;
  	position: relative;
	margin: 0 6px 0;
	padding-left: 8px;
}

#nav ul.level2 {
	position: absolute;
	top: 0;
	width: 1000px;
	overflow: visible;
	left: 0;
	padding: 30px 0 10px 8px;
	background: url('/img/layout/nav_level2_bg.png') bottom left no-repeat;
	height: 12px;
}

#nav ul.level2 > li {
  	float: left;
	margin: 0 1em 0 0;
}

#nav ul.level3 {
	display: none;
}

#nav_level3 {
	width: 250px;
	margin-left: 75px;
	line-height: normal;
}

#nav3_spacer {
	border-right: 1px #c8c7bc solid;
	height: 61px;
	width: 249px;
}

#nav_level3 li {
	display: block;
	height: 27px;
	padding: 0;
	margin: 0;
	width: 250px;
}

#nav_level3 li.selected {
	background: url('/img/layout/nav_level3_bg.png') right no-repeat;
}

#nav_level3 li.nav_border {
	border-right: 1px #c8c7bc solid;
	width: 249px;
}

#body_rhs #nav_level3 li a {
	display: block;
	padding: 6px 3px 0 40px;
	line-height: 21px;
}

#body_rhs #nav_level3 li.selected a {
	color: #797a74;
	font-weight: bold;
}

/* GALLERY CSS */
div.gallery h1,
div.gallery h2 {
	display: none;	
}

dl#wgallery {
	width: 1000px;
	position: relative;
	margin: 0 0 0 -100px;
}

dl#wgallery dt, dl#wgallery dd{
	display: none;
}

dl#wgallery dt.selected {
	display: block;
	position: static;
	width: 600px;
	margin: 0 auto 0 auto;
	border: 1px solid #EFEEE8;
}

dl#wgallery dt.selected img {
	margin: 0 auto 0 auto;
	display: block;
}

dl#wgallery dd.selected {
	display: block;
	width: 565px;
	padding-right: 35px;
	margin: 1em auto 0 auto;
	font-size: 11px;
}

dl#wgallery dt.slice {
	display: block !important;
	position: absolute;
	width: 20px;
	height: 375px;
	border: 1px solid #EFEEE8;
	top: 0;
	overflow: hidden;
	cursor: pointer;
}

dl#wgallery dd h3 {
	margin-top: 0;
}

/* GALLERY CONTROLS */

#gallery_controls {
	overflow: auto;
	position: absolute;
	right: 160px;
	top: 465px;
	height: 57xpx;
}

#gallery_next, #gallery_prev {
	display: block;
	width: 28px;
	height: 0;
	padding-top: 52px;
	overflow: hidden;
	background-repeat: no-repeat;
	float: left;
	cursor: pointer;
}

#gallery_next {
	background-image: url("/img/layout/gallery_next.gif");
}

#gallery_prev {
	background-image: url("/img/layout/gallery_prev.gif");
	margin-right: 10px;
}


/* Used for debugging */
table.cake-sql-log {
	background-color:black;
	color:yellow;
	position:relative;
}