html {
	background: #cc9 url(background.png) 50% 590px repeat-y;
	height: 100%;
	min-width: 980px;
}

body {
	margin: 0;
	padding: 0;
	/* background: url(background2.png) 50% 961px no-repeat; */
	height: 100%;
	font-family: verdana;
	font-size: 0.8em;
}

#wrapper {
	width: 900px;
	min-height: 675px;
	margin: 0 auto;
	background: transparent url(sky.png) 50% 0 no-repeat;
	position: relative;
}

#header {
	height: 100px;
	position: relative;
	background: url(header.png) 50% 50% no-repeat;
	z-index: 200;
	text-indent: -500em;
	overflow: hidden;
}

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

#header a {
	position: absolute;
	overflow: hidden;
	background: url(transparent.png);
}

#header a.title {
	left: 47px;
	top: 10px;
	width: 223px;
	height: 35px;
}

#header a.author {
	right: 0px;
	top: 8px;
	width: 205px;
	height: 25px;
}

#content {
	position: relative;
}

#chapterContainer {
	position: absolute;
	top: 197px;
	left: 110px;
	width: 680px;
	height: 456px;
	overflow: hidden;
}

#chapter {
	background: #fff;
	border: solid 2px #000;
	width: 606px;
	height: 296px;
	position: absolute;
	top: 78px;
	left: 36px;
	overflow: hidden;
	font-size: 0.9em;
	
}

#chapter.centered {
	display: table;
}

#chapter.centered .content {
	#position: absolute;
	#top: 50%;
	#left: 0;
	#width: 100%;
	display: table-cell;
	vertical-align: middle;
}

#chapter .inner {
	margin: 20px;
}

#chapter.centered .inner {
	#position: relative;
	#top: -50%;
}

#chapter p {
	margin: 10px 0;
}

#chapter.title {
	font-family: georgia, serif;
	text-align: center;
}

#chapter.c1 {
	font-size: 1.2em;
}

#chapter blockquote {
	padding: 0 0 25px 0;
	margin: 0 20px;
	background: url(quote_close.png) 100% 100% no-repeat;
	text-align: center;
	font-size: 1.2em;
	font-family: georgia, serif;
}

#chapter blockquote p {
	padding-left: 40px;
	padding-right: 40px;
}

#chapter blockquote p.first {
	padding-top: 25px;
	background: url(quote_open.png) 0 0 no-repeat;
}

#chapterNavigation {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 245px;
	left: 118px;
	width: 664px;
	height: 360px;
}

#chapterNavigation li {
	position: absolute;
	margin: 0;
	padding: 0;
	list-style: none;
	cursor: pointer;
	_cursor: hand;
	_background: url(transparent.png);
}

#chapterNavigation li.disabled {
	display: none;
}

#chapterNavigation li.north {
	top: -75px;
	left: 0;
	width: 100%;
	height: 75px;
}

#chapterNavigation li.east {
	top: 0;
	right: -75px;
	width: 75px;
	height: 360px;
}

#chapterNavigation li.south {
	bottom: -75px;
	left: 0;
	width: 100%;
	height: 75px;
}

#chapterNavigation li.west {
	top: 0;
	left: -75px;
	width: 75px;
	height: 360px;
}

#chapterNavigation li span.background {
	display: block;
	position: absolute;
	width: 0;
	height: 0;
	margin: auto;
	top: 50%;
	left: 50%;
	background: 50% 50% no-repeat;
}

#chapterNavigation li span.content {
	display: block;
	text-align: center;
	position: absolute;
	width: 100%;
	font-size: 0.9em;
}

#chapterNavigation li.north span.background,
#chapterNavigation li.south span.background {
	height: 55px;
	width: 120px;
	margin-top: -28px;
	margin-left: -60px;
}

#chapterNavigation li.north span.content,
#chapterNavigation li.south span.content {
	color: #fff;
}

#chapterNavigation li.east span.background,
#chapterNavigation li.west span.background {
	height: 120px;
	width: 55px;
	margin-top: -60px;
	margin-left: -28px;
}

#chapterNavigation li.east span.content,
#chapterNavigation li.west span.content {
	color: #000;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	display: table;
}

#chapterNavigation li.east span.content .i1,
#chapterNavigation li.west span.content .i1 {
	#position: absolute;
	#top: 50%;
	display: table-cell;
	vertical-align: middle;
}

#chapterNavigation li.east span.content .i2,
#chapterNavigation li.west span.content .i2 {
	#position: relative;
	#top: -50%;
	#background: #cc9;
	#left: -50%;
}

#chapterNavigation li.north span.background {
	background-image: url(arrow_north.png);
	_background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/week6/arrow_north.png',sizingMethod='scale');
}

#chapterNavigation li.north span.content {
	top: 100%;
}

#chapterNavigation li.east span.background {
	background-image: url(arrow_east.png);
	_background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/week6/arrow_east.png',sizingMethod='scale');
}

#chapterNavigation li.east span.content {
	left: 100%;
	margin-left: 10px;
}

#chapterNavigation li.south span.background {
	background-image: url(arrow_south.png);
	_background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/week6/arrow_south.png',sizingMethod='scale');
}

#chapterNavigation li.south span.content {
	bottom: 100%;
}

#chapterNavigation li.west span.background {
	background-image: url(arrow_west.png);
	_background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/week6/arrow_west.png',sizingMethod='scale');
}

#chapterNavigation li.west span.content {
	left: auto;
	right: 100%;
	margin-right: 10px;
}

#chapterMap {
	display: none;
	position: absolute;
	top: 530px;
	right: 0;
	width: 245px;
	height: 145px;
	z-index: 500;
}

#chapterMap .background {
	position: absolute;
	top: 9px;
	left: 9px;
	width: 225px;
	height: 125px;
	background: #faf8ed; /* transparent url(map.png) 50% 50% no-repeat; */
	border: solid 1px #999370;
	
	/*
	top: -1px;
	left: -1px;
	width: 212px;
	height: 147px;
	background: url(map_background.png) 0 0 no-repeat;
	border: none;
	*/
}

#chapterMap .map {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 225px;
	height: 125px;
	overflow: hidden;
	background: #faf8ed;
}

#chapterMap .map ul {
	position: absolute;
	top: 0;
	left: 0;
	width: 418px;
	height: 490px;
	/* background: transparent url(map_nodes.png) 0 0 no-repeat; */
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#chapterMap .map ul li {
	margin: 0;
	padding: 0;
	position: absolute;
	display: none;
}

#chapterMap .map ul li.line,
#chapterMap .map ul li.node {
	display: block;
}

#chapterMap .map ul li.line span.segment {
	position: absolute;
	display: block;
	width: 5px;
	height: 5px;
	background: url(line_segment.png) 50% 50% no-repeat;
	#background: none;
	/* filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/week6/line_segment_plain.png',sizingMethod='scale'); */
	overflow: hidden;
	z-index: 510;
}

#chapterMap .map ul li.line span.segment span {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 1px;
	height: 1px;
	background: #000;
	overflow: hidden;
}

#chapterMap .map ul li.node {
	border: solid 1px #ccc;
	background: #eee;
	width: 8px;
	height: 8px;
	position: absolute;
	overflow: hidden;
	text-indent: -500em;
	z-index: 520;
}

#chapterMap .map ul li.node.visited {
	border: solid 1px #333;
	background: #ccc;
}

#chapterMap .map ul li.node.active {
	background: green;
}

#chapterMap .filter {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 225px;
	height: 125px;
	background: transparent url(map_filter.png) 50% 50% no-repeat;
	_background: none;
	cursor: move;
}

#sky {
	position: absolute;
	top: 0;
	left: 0;
	width: 900px;
	height: 675px;
}

body.loaded #sky {
	background: url(sky_mask.png) 0 0 no-repeat;
	_background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/week6/sky_mask.png',sizingMethod='scale');
}

#window {
	position: absolute;
	top: 0;
	left: 0;
	width: 900px;
	height: 675px;
	background: url(window_frame.png) 0 0 no-repeat;
	_background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/week6/window_frame.png',sizingMethod='scale');
}

#stars {
	position: absolute;
	top: 0;
	left: 110px;
	height: 252px;
	width: 643px;
}

#stars ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	height: 100%;
}

#stars li {
	position: absolute;
	width: 9px;
	height: 9px;
	overflow: hidden;
	background: url(star.png) 50% 50% no-repeat;
	_background: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/style/week6/star.png',sizingMethod='scale') !important;
}

#footer {
	position: absolute;
	width: 600px;
	height: 40px;
	left: 150px;
	top: 750px;
	text-align: right;
	z-index: 200;
}

#footer a img {
	border: none;
}