html {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	background: #000 url(background.png) 0 0 no-repeat;
	font-size: 0.8em;
}

#wrapper {
	min-height: 500px;
	height: 100%;
}

#header {
	background: url(logo.png) 116px 32px no-repeat;
	height: 117px;
	position: relative;
}

#header div {
	position: absolute;
	top: 37px;
	left: 170px;
}

#header h1,
#header h3 {
	margin: 0;
	padding: 0;
}

#header h1 {
	color: #fff;
	font-weight: normal;
	font-size: 2.5em;
}

#header h1 a {
	color: #fff;
	text-decoration: none;
}

#header h1 sup {
	color: #333;
	font-size: 0.6em;
	font-style: italic;
	border-bottom: solid 1px #222;
}

#header h3 {
	text-transform: uppercase;
	font-size: 1.25em;
	font-family: "Gill Sans", Tahoma, Geneva, sans-serif;
	font-weight: normal;
	color: #333;
}

#header h3 a {
	color: #333;
	text-decoration: none;
}

#header p {
	position: absolute;
	bottom: 28px;
	right: 0;
	margin: 0 10px 0 0;
	font-family: "Gill Sans", Tahoma, Geneva, sans-serif;
	font-size: 1.5em;
	font-weight: normal;
	color: #ccc;
	text-transform: uppercase;
}

#header p a {
	color: #ccc;
	text-decoration: none;
}

#main {
	height: 450px;
	margin-left: 161px;
	margin-right: 10px;
	background: url(mainpanel.png) 0 0 no-repeat;
	position: relative;
	overflow: hidden;
}

#sidebar {
	margin-left: 11px;
	_margin-left: 5px;
	display: block;
	position: relative;
	height: 100%;
	width: 130px;
	padding: 0 17px;
	float: left;
	background: url(sidebar.png) 100% 25px no-repeat;
}

#sidebar.fixed {
	display: none;
	/* _margin-left: 10px; */
}

#scrollbar {
	width: 3px;
	height: 100%;
	position: absolute;
	left: 8px;
	top: 27px;
	background: url(scrollbar.png) 100% 100% no-repeat;
}

#scrollbar .handle {
	position: absolute;
	top: 0%;
	left: 0;
	margin-left: -4px;
	width: 11px;
	height: 22px;
	background: url(scrollbar_handle.png) 50% 50% no-repeat;
	cursor: move;
}

#sidebar .hack {
	position: absolute;
	top: 8px;
	left: -3px;
	width: 20px;
	height: 20px;
	background: url(sidebarhack.png) 0 0 no-repeat;
}

#sidebar .inner {
	position: relative;
	top: 29px;
	height: 100%;
	overflow: hidden;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	top: 0; /* 30px; */
	right: 0;
}

#sidebar ul li {
	margin: 3px 0 5px;
	padding: 0;
}

#sidebar ul li a {
	display: block;
	width: 126px;
	height: 39px;
	background: url(chapternavitem.png) 0 -39px no-repeat;
	color: #666;
	text-decoration: none;
	font-family: arial, sans-serif;
	font-size: 0.8em;
	overflow: hidden;
	cursor: pointer;
	_cursor: hand;
}

#sidebar ul li.current a,
#sidebar ul li a:hover {
	background-position: 0 0;
	color: #fff;
}

#sidebar ul li a span {
	display: block;
	width: 80px;
	padding: 9px 0 9px 11px;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
	_cursor: hand;
}

#sidebar .inner .static {
	background: url(static.gif) 50% 50%;
	width: 100%;
	height: 100%;
	position: relative;
	top: 0; /* 30px; */
	z-index: 100;
	display: none;
}

#content {
	height: 100%;
	margin-left: 175px; /*45px;*/
	margin-top: 25px;
	margin-bottom: 29px;
}

#content .inner {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#map {
	width: 100%;
	height: 100%;
}

#footer {
	margin: 10px 10px 0 161px;
	padding: 6px 0;
	height: 40px;
	border-top: solid 1px #1a1a1a;
	background: url(footer.png) 0 0 repeat-x;
	position: relative;
}

#footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
}

#footer li {
	margin: 0 15px 0 0;
	padding: 0 24px 0 0;
	overflow: hidden;
	float: left;
	background: url(footerbutton.png) 100% 0 no-repeat;
}

#footer li.toggle {
	position: absolute;
	left: 15px;
	top: 6px;
}

#footer li a {
	display: block;
	_display: inline-block;
	padding: 0 0 0 2px;
	height: 40px;
	color: #999;
	background: url(footerbutton.png) 0 0 no-repeat;
	text-decoration: none;
}

#footer li a:hover {
	color: #fff;
}

#footer li a span {
	display: block;
	padding: 10px 0 10px 15px;
	margin-right: -5px;
	_margin-right: 0;
	font-family: arial, sans-serif;
	font-size: 0.8em;
}

#loadingScreen {
	background: #000;/*  url(loading.gif) 50% 50% no-repeat; */
	opacity: 0.75;
	z-index: 1000;
	height: 100%;
	position: relative;
}

#loadingScreen .outer { height: 100%; width: 100%; overflow: hidden; position: relative; }
#loadingScreen[id] .outer { display: table; position: static; }
#loadingScreen .middle { position: absolute; top: 50%; width: 100%; height: auto; } /* for explorer only*/
#loadingScreen[id] .middle { display: table-cell; vertical-align: middle; position: static; }
#loadingScreen .inner { position: relative; top: -50%; width: 100%; height: auto; text-align: center; } /* for explorer only */
#loadingScreen[id] .inner { position: static; }

#loadingScreen img { margin: 0; padding: 0; }
#loadingScreen p { color: #ccc; margin: 5px 0; padding: 0; font-family: verdana, sans-serif; font-size: 0.9em; }
#loadingScreen p.subtext { font-size: 0.7em; font-style: italic; margin: 0; }

.bubblePaginator {
	font-family: verdana, sans-serif;
	font-size: 0.9em;
	width: 300px;
	height: 100%;
	overflow: hidden;
}

.chapterTextPage {
	width: 300px;
	font-size: 0.9em;
	font-family: verdana, sans-serif;
}

.bubblePaginator .chapterTextPage {
	font-size: 1em;
}

.bubblePaginator .pages .page {
	display: none;
}

.bubblePaginator .pages .page.active {
	display: block;
}

.bubblePaginator .paginator {
	margin-top: 1em;
	float: right;
	width: auto;
	white-space: nowrap;
}

.bubblePaginator .paginator span {
	display: block;
	float: left;
}

.bubblePaginator .paginator ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
}

.bubblePaginator .paginator li {
	float: left;
	border: solid 1px #ccc;
	padding: 0 0.25em;
	margin: 0 0 0 5px;
	color: #999;
	cursor: pointer;
	font-size: 0.9em;
}

.bubblePaginator .paginator li.active {
	background: #eee;
	font-weight: bold;
	color: #333;
}

p.nextContainer {
	padding: 10px 0 0;
	margin-bottom: 0;
	font-size: 0.8em;
	border-top: solid 1px #ccc;
}

p.nextContainer a {
	display: block;
	padding: 3px 5px;
	margin: 0 20px;
	text-align: center;
	background: #eee;
	text-decoration: none;
	color: #666;
	border: solid 1px #ccc;
}

p.nextContainer a:hover {
	color: #000;
	border-color: #999;
}

li.active {
	font-weight: bold;
}

#console {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 70px;
	background: #000;
	opacity: 0.85;
	filter:alpha(opacity=85);
	overflow: hidden;
	font-size: 1.3em;
	border-top: solid 10px #000;
}

#console .log {
	position: absolute;
	bottom: 10px;
	left: 0px;
	padding: 0;
	width: 100%;
	min-height: 60px;
	_height: 60px;
}

#console .log .log_inner {
	margin: 0 10px;
}

#console .log .log_inner * {
	color: #0f0;
	font-family: monospace;
	margin: 0;
}

/*
#console .log .log_inner p {
	text-indent: -1.1em;
	padding-left: 1.1em;
}
*/

#console .log .log_inner .carat span {
	text-decoration: blink;
	background: #0f0;
}

p.actionContainer {
	text-align: right;
}

#bookmarkers {
    float: left;
}

#bookmarkers img {
    border: none;
}
