/* This stylesheet controls the layout of the dynamic version */

/* GENERAL LAYOUT */

html, body {
	height: 100%;
	}
	
body {
	text-align: center;
	background-color: #000;
	}
	
#wrap {
	position: relative;
	width: 960px;
	min-height: 605px;
	margin: 0 auto;
	text-align: left;
	background: #fff url(media/graphics/interface/wrap_bg.jpg) top left repeat-y;
	}
	
#header {
	position: relative;
	height: 85px;
	border-bottom: 1px solid #000;
	background: url(media/graphics/interface/header_bg.jpg) top left no-repeat;
	}
	
#header h1 a {
	position: absolute;
	display: block;
	width: 313px;
	height: 48px;
	top: 20px;
	left: 20px;
	text-indent: -10000px;
	overflow: hidden;
	background: url(media/graphics/interface/title.png) 0 0 no-repeat;
	}
	
/* #header h2 {
	position: absolute;
	display: block;
	width: 334px;
	height: 28px;
	top: 40px;
	right: 20px;
	text-indent: -10000px;
	overflow: hidden;
	background: url(media/graphics/interface/produced_by.png) top left no-repeat;
	} */
#header h2 {
	position: absolute;
	right: 10px;
	top: 16px;
	color: #5F6033;
	font-size: 1em;
	background-color: transparent;
	}
	
#header h2 a {
	padding: 2px 0;
	color: #698530;
	text-decoration: underline;
	}
	
#header h2 a:hover {
	color: #8fb743;
	}
	
#sidebar {
	float: left;
	width: 220px; /* make sure this percentage and the width percentage of maincontent always equal 100% */
	min-height: 605px;
	background: url(media/graphics/interface/sidebar_bg.png) repeat;
	}
	
#maincontent {
	float: right;
	width: 740px;
	background-color: #aaa;
	}
	
#stage {
	position: relative;
	padding: 0 20px;
	margin: 0;
	border-left: 1px solid #000;
	min-height: 595px;
	line-height: 1.8em;
	color: #333;
	background-color: #fff;
	}
	
/* TABBED NAVIGATION */

ul#tab_nav {
	float: left;
	width: 98%;
	margin-top: 20px;
	margin-bottom: 10px;
	padding-left: 2%;
	border-bottom: 3px solid #fff;
	background-color: transparent;
	}
	
ul#tab_nav li {
	float: left;
	}

ul#tab_nav li a,
ul#tab_nav li.here {
	display: block;
	padding: 5px 10px;
	margin: 0 .2em;
	font-size: 1em;
	font-weight: bold;
	background-color: #999;
	}
	
ul#tab_nav li.here {
	background-color: #fff;
	}
	
ul#tab_nav li a:hover {
	background-color: #ddd;
	}
	
/* SIDEBAR */

#sidebar h1 {
	padding: 20px;
	}
	
#sidebar h2 {
	padding: 10px 20px;
	font-size: 1em;
	background-color: transparent;
	}

#menu {
	padding: 20px 0 0 0;
	}
	
#menu h3 { /* hides the 'table of contents' label above menu */
	display: none;
	}
	
#menu ul {
	padding-top: 2px;
	}
	
#menu ul li {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #cecfba;
	text-transform: uppercase;
	font-size: 1.1em;
	font-weight: bold;
	}
	
#menu ul li ul li {
	padding: 1px 0 1px 10px;
	border: none;
	text-transform: none;
	font-size: 1em;
	font-weight: normal;
	background: none;
	}
	
#menu ul li ul li a {
	padding-top: 3px;
	padding-bottom: 3px;
	padding-left: 18px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomleft: 8px;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	color: #333300;
	background: none;
	}
	
#menu ul li ul li ul li {
	padding: 2px 0 2px 10px;
	font-size: 1em;
	}
	
#menu ul li a {
	display: block;
	padding: 10px 10px 10px 32px;
	font-family: Helvetica, Arial, sans-serif;
	}
	
a#section_one {
	background: url(media/graphics/interface/number_one.png) center left no-repeat;
	}

a#section_two {
	background: url(media/graphics/interface/number_two.png) center left no-repeat;
	}	

a#section_three {
	background: url(media/graphics/interface/number_three.png) center left no-repeat;
	}

a#section_four {
	background: url(media/graphics/interface/number_four.png) center left no-repeat;
	}
		
a#section_five {
	background: url(media/graphics/interface/number_five.png) center left no-repeat;
	}
	
#menu ul li a:hover {
	background-color: #fff;
	}
	
#menu a.menu_here,
#menu a.menu_here:hover {
	margin-right: -1px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #fff;
	font-weight: bold;
	background-color: #000;
	}
	
#ext_links {
	bottom: 10px;
	margin: 40px 10px 10px 10px;
	padding: 10px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	font-size: 1.1em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	background-color: #e9e8ba;
	}
	
#ext_links li {
	border-bottom: 1px solid #fff;
	}
	
#ext_links li.last {
	border-bottom: none;
	}
	
#ext_links li a {
	display: block;
	padding: 5px 4px;
	color: #4e4e46;
	background-color: #e9e8ba;
	}
	
#ext_links li a:hover {
	color: #000;
	background-color: #fff;
	}
	
/* STAGE AND CONTENT */
	
#stage h2 {
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: 1em;
	padding: 0.5em 1em;
	border-bottom: 1px solid #000;
	color: #fff;
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: .1em;
	background-color: #385400;
	}
	
#maincontent #produced_by {
	margin-bottom: 0px;
	padding: 3px 10px;
	color: #fff;
	font-size: 1.1em;
	font-weight: bold;
	background-color: #333;
	}
	
#produced_by sup {
	vertical-align: super;
	font-size: 0.75em;
	}
	
.module_hide {
	display: none;
	}
	
/* PAGE NAVIGATION */

.stage_nav {
	position: relative;
	clear: both;
	height: 25px;
	margin: 0;
	padding: 1em 0;
	}
	
#stage .stage_nav ul {
	position: absolute;
	right: 0;
	margin: 0;
	}

#stage .stage_nav li {
	float: left;
	margin: 0 5px 0 0;
	list-style: none;
	}
	
.stage_nav a.next,
.stage_nav a.previous {
	display: block;
	width: 137px;
	height: 26px;
	margin-left: 5px;
	text-indent: -10000px;
	overflow: hidden;
	}

li.inactive-prev {
	width: 137px;
	height: 26px;
	margin-left: 5px;
	background: url(media/graphics/interface/nav_sprite.jpg) 0 -52px no-repeat;
	}
	
li.inactive-next {
	width: 137px;
	height: 26px;
	margin-left: 5px;
	background: url(media/graphics/interface/nav_sprite.jpg) -137px -52px no-repeat;
	}
	
a.next {
	background: url(media/graphics/interface/nav_sprite.jpg) -137px 0 no-repeat;
	}
	
a.previous {
	background: url(media/graphics/interface/nav_sprite.jpg) 0 0 no-repeat;
	}
	
a.next:hover {
	background: url(media/graphics/interface/nav_sprite.jpg) -137px -26px no-repeat;
	}
	
a.previous:hover {
	background: url(media/graphics/interface/nav_sprite.jpg) 0 -26px no-repeat
	}
	
/*to hide stuff in the module version that is to be displayed in the print version*/
.module_hide {
	display: none;
	}


