/* 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: 980px;
	min-height: 605px;
	margin: 0 auto;
	text-align: left;
	background: #fff url(media/graphics/interface/wrap_bg.gif) top left repeat-y;
	}
	
#sidebar {
	float: left;
	width: 170px;
	min-height: 605px;
	background: #999;
	}
	
#maincontent {
	float: right;
	width: 810px;
	background-color: #d69f02;
	}
	
#stage {
	position: relative;
	padding: 0 20px;
	margin: 5px 5px 0 5px;
	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: #999999;
	}
	
ul#tab_nav li.here {
	background-color: #fff;
	}
	
ul#tab_nav li a:hover {
	background-color: #ddd;
	}
	
/* SIDEBAR */

#sidebar h1 a {
	display: block;
	height: 120px;
	font-family: Arial, Helvetica, sans-serif;
	text-indent: -10000px;
	overflow: hidden;
	background: url(media/graphics/interface/sidebar_bg.png) top left no-repeat;
	}
	
#sidebar h2 {
	padding: 10px 20px;
	font-size: 1em;
	background-color: transparent;
	}
	
#sidebar h4 {
	padding: 10px;
	font-size: 1em;
	text-transform: none;
	color: #333;
	background-color: transparent;
	}

#menu {
	padding: 20px 0 0 10px;
	}
	
#menu h3 { /* hides the 'table of contents' label above menu */
	display: none;
	}
	
#menu ul {
	padding-top: 2px;
	}
	
#menu ul li {
	padding: 2px 0;
	text-transform: uppercase;
	font-size: 1.2em;
	font-weight: bold;
	}
	
#menu ul li ul li {
	padding: 2px 0 2px 10px;
	text-transform: none;
	font-size: 1em;
	font-weight: normal;
	}
	
#menu ul li ul li ul li {
	padding: 2px 0 2px 10px;
	font-size: 1em;
	}
	
#menu ul li a {
	color: #eee;
	display: block;
	padding: 4px 5px;
	font-family: Helvetica, Arial, sans-serif;
	}
	
#menu ul li ul li a {
	color: #111;
	}
	
#menu ul li a:hover {
	color: #fff;
	background-color: #888;
	}
	
#menu a.menu_here,
#menu a.menu_here:hover {
	margin-right: -1px;
	color: #fff;
	font-weight: bold;
	background-color:  #d69f02;
	}
	
#ext_links {
	bottom: 10px;
	margin: 40px 10px 10px 10px;
	padding: 10px;
	font-size: 1.1em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	background-color: #000;
	}
	
#ext_links li {
	border-bottom: 1px solid #333;
	}
	
#ext_links li.last {
	border-bottom: none;
	}
	
#ext_links li a {
	display: block;
	padding: 5px 4px;
	color: #aaa;
	background-color: #000;
	}
	
#ext_links li a:hover {
	color: #fff;
	background-color: #222;
	}
	
/* STAGE AND CONTENT */
	
#stage h2 {
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: 1em;
	padding: 0.5em 1em;
	border-top: 0px;
	}
	
#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: 5px 0 0 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;
	}
