/* @override http://deved.meted.ucar.edu/latest_core_temp/styles_layout_dynamic.css */

/* 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: 100%; /* this can be a fluid layout.  change width to 100% if you want it to stretch with the screen. set a pixel width if you want specific dimensions. */
	min-width: 700px;
	max-width: 1200px;
	min-height: 605px;
	margin: 0 auto;
	text-align: left;
	background: url(media/graphics/interface/interface_wrap_bg.gif) 20% 0 repeat-y;
	}
	
#header {
	position: relative;
	width: 100%;
	min-height: 75px;
	border-bottom: 5px solid #2a2b48;
	background: #5a565f url(media/graphics/interface/interface_header_bg.jpg) top left no-repeat;
	}
	
#sidebar {
	float: left;
	width: 20%; /* make sure this percentage and the width percentage of maincontent always equal 100% */
	min-height: 605px;
	padding-bottom: 10px;
	background-color: /* #cfcfcf */ transparent;
	}
	
#maincontent {
	float: right;
	width: 80%;
	background-color: transparent;
	}
	
#stage {
	position: relative;
	padding: 0 20px;
	margin-left: 5px;
	min-height: 595px;
	line-height: 1.8em;
	color: #333;
	background-color: #fff;
	}
	
/* HEADER */

#header h1 a {
	display: block;
	min-height: 50px;
	text-indent: -10000px;
	overflow: hidden;
	}
	
#header h2 {
	position: absolute;
	top: 40%;
	right: 10px;
	color: #fff;
	font-size: 1em;
	background-color: transparent;
	}
	
/* SIDEBAR */

#sidebar h1 {
	padding: 20px;
	}
	
#sidebar h2 {
	padding: 10px 20px;
	font-size: 1em;
	background-color: transparent;
	}

#menu {
	padding: 20px 0 0 10px;
	}
	
#menu h2 {
	display: none;
	}
	
#menu h3 { /* hides the 'table of contents' label above menu */
	display: none;
	}
	
#menu ul {
	padding-top: 2px;
	}
	
#menu ul li {
	padding: 2px 0;
	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 {
	display: block;
	padding: 4px 5px;
	-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;
	font-family: Helvetica, Arial, sans-serif;
	}
	
#menu ul li a:hover {
	background-color: #eee;
	}
	
#menu a.menu_here,
#menu a.menu_here:hover {
	margin-right: -1px;
	color: #fff;
	font-weight: bold;
	background-color: #2a2b48;
	}
	
#ext_links {
	bottom: 10px;
	margin: 40px 10px 0 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: #2a2b48;
	}
	
#ext_links li {
	border-bottom: 1px solid #000;
	}
	
#ext_links li.last {
	border-bottom: none;
	}
	
#ext_links li a {
	display: block;
	padding: 5px 4px;
	color: #aaa;
	background-color: #2a2b48;
	}
	
#ext_links li a:hover {
	color: #fff;
	background-color: #111;
	}
	
/* STAGE AND CONTENT */
	
#stage h2 {
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: 1em;
	padding: 0.5em 1em;
	}
	
#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
	}
