/* structural elements */
body {
	margin:0; padding:0; border:0;	/* this removes the border around in old IE's */
	font:115% 'georgia', 'Times New Roman', serif;
	width:100%;
	position:relative;
	color:#222;
	background:#777;
}
/* nest containers inside each other, with 2% left and right margins inside each */
#bg_nav,
#bg_main,
#main {
	/* no float to cope with Mozilla printing bug */
	float:none !important;
	width:auto;
	margin:0 2%;
	border:0;
	padding-bottom:10px;
	background:#fff;
}
#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
	color:#369;
	font-family:helvetica, arial, sans-serif;
	margin-bottom:-0.3em;
}
#main p {
	line-height:120%;
}
#main li {
	list-style-type:square;
}
#sidebar {
	display:none;
}
/* Header styles */
#header {
	clear:both;
	float:left;
	position:relative; left:2%;
	width:96%;
	background:#369;
	margin:0 0 30px 0;
}
#header h1,
#header h2 {
	font-family:helvetica, arial, sans-serif;
	color:#f90;
}
#header h1 {
	margin:10px 0 0 25px;
	letter-spacing:-0.06em;
	word-spacing:0.2em;
	font-size:3.3em;
}
#header h2 {
	margin:0 0 0 25px;
	letter-spacing:0;
	word-spacing:0;
	font-size:1.25em;
}
#header ul {
	clear:left;
	float:left;
	width:100%;
	list-style:none;
	margin:10px 0 0 0;
	padding:0;
}
#header ul li {
	display:inline;
	list-style:none;
	margin:0;
	padding:0;
}
#header ul li a {
	display:block;
	float:left;
	margin:0 0 0 0;
	padding:3px 12px;
	text-align:center;
	background:#ccc;
	color:#111;
	font-size:90%;
	text-decoration:none;
	position:relative;
	left:0px;
	line-height:1.3em;
	border-right:1px solid #777;
	border-bottom:3px solid #ccc;
	-moz-border-radius-topleft:10px;
	-moz-border-radius-topright:10px;
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
}
#header ul li a.active {
	color:#000;
	background:#fff;
	font-weight:bold;
	border-right:4px solid #777;
	border-bottom:3px solid #fff;
}
#header ul li a span {
	display:block;
}
.hdrright {
	display:none;
}
/* Footer styles */
#footer {
	clear:both;
	float:left;
	position:relative;
	left:2%;
	width:96%;
}
#footer p {
	color:#fff;
	font:70% helvetica, arial, sans-serif;
	padding:10px;
	margin:0;
}
/* Picture divs with captions */
div.picture {
	background-color: #eee;
	border:1px solid #ccc;
	padding:2px;
	font:75% helvetica, arial, sans-serif;
}
div.picture img {
	vertical-align:middle;
	margin-bottom:3px;
}
div.picture.right { 
	margin:1em 0pt 0.5em 0.8em;
	float:right;
}
div.picture.left {
	margin:1em 0.8em 0.5em 0;
	float:left;
}
a.button {
	display:inline;
	padding:1px 10px 1px 10px;
	border-top:1px solid #ccc;
	border-left:1px solid #ccc;
	border-right:3px solid #888;
	border-bottom:3px solid #888;
	-moz-border-radius:12px;
	-webkit-border-radius:12px;
	border-radius:12px;
	background-color: #ddd;
	color:#000;
	text-decoration:none;	
	font-weight:bold;
	font-size:90%;
}
a.button:hover {
	border:1px solid #666;
	font-style:italic;
}
/* Source code */
pre.code {
	display:block;
	padding:0.5em;
	border:2px solid #ccc;
	color:#000;
	font:90% "Courier New", Courier, monospace;
}
