@charset "UTF-8";
/* CSS Document
   (c) Ivimeds 2011 */

/*=================================== HEADER SCALING ============================ */

#title {
	min-height:80px;
}

#title h1 {
	font-size:1.8em;
}

#subtitle h2 {
	clear:both;
	padding:5px;
	font-size: 1.2em;
	font-weight: bold;
}

#logo img {
	margin: 5px 5px 2px 0;
	max-width:200px;
	max-height:80px;
}

/*=================================== NAVIGATION STYLES ============================ */

nav {
	display:block;
	padding:0;
	margin: 0 0 0 2px;
	width:200px;
	clear:left;
	float:left;
}

.nav-buttons {
	float:left;
	width:200px;
	height:30px;
	clear:both;
	text-align:center;
	font-weight:bold;
	padding:8px 0;
}

.nav-buttons * {
	font-size:1em;
	-webkit-border-radius:5px;
	padding:6px 0 0 0;
	text-shadow: 0 -1px 0 #000;
}

.nav-buttons span {
	text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
}

a.nav-previous-button, span.nav-previous-button {
	float:left;
}

a.nav-next-button, span.nav-next-button {
	float:right;
}

a.nav-next-button, a.nav-previous-button {
	color:#fff;
	text-decoration:none;
	display:block;
	width:98px;
	height: 25px;
	background: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, rgb(0,140, 190)),
	color-stop(0.49, rgb(0,121,165)),
	color-stop(0.51, rgb(0,90,122)),
	color-stop(1, rgb(0, 60 ,82))
	);
}

span.nav-previous-button, span.nav-next-button {
	color:rgba(255,255,255,0.5);
	text-decoration:none;
	text-align:center;
	font-size:12px;
	display:block;
	width:98px;
	height: 25px;
	background: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, rgb(0,140, 190)),
	color-stop(0.49, rgb(0,121,165)),
	color-stop(0.51, rgb(0,90,122)),
	color-stop(1, rgb(0, 60 ,82))
	);
}

#navtree {
	background-color:#666;
	margin:0 0 10px 0;
	width:200px;
	float:left;
	border-radius:6px;
}

#navtree * {
	margin:0;
	padding:0;
}

#navtree li.page *, #navtree div.chapter-title {
	padding-top:9px;
	padding-bottom:9px;
	padding-right:5px;
	font-weight:bold;
	font-size:11px;
}

#navtree li.page {
	border-bottom: 1px solid #333;
	border-top: 1px solid #aaa;
	font-weight:bold;
	line-height:12px;
}

#navtree div.chapter-title {
	color:#fff;
	border-top: solid 1px #aaa;
	border-bottom: solid 1px #333;
	background: #525252 url(img/openChapterIcon.png) no-repeat;
	text-shadow:0 1px 1px #000;
	cursor: pointer;
}

#navtree a {
	opacity:0.6;
}

#navtree a, #navtree span {
	display:block;
	color:#fff;
	text-decoration:none;
	background: transparent url(img/pageIcon.png) no-repeat;
}

#navtree>div.chapter-title {
	padding-left: 15px;
	background-position: 5px 50%;
}

#navtree>ul li div.chapter-title, #navtree>ul li.page * {
	padding-left: 27px;
	background-position: 16px 50%;
}

#navtree>ul li li div.chapter-title, #navtree>ul li li.page * {
	padding-left: 39px;
	background-position: 28px 50%;
}

#navtree>ul li li li div.chapter-title, #navtree>ul li li li.page * {
	padding-left: 51px;
	background-position: 40px 50%;
}

#navtree>ul li li li li div.chapter-title, #navtree>ul li li li li.page * {
	padding-left: 63px;
	background-position: 52px 50%;
}

#navtree>ul li li li li li.page * {
	padding-left:75px;
	background-position: 64px 50%;
}

#navtree div.chapter-title-hidden {
	background-image: url(img/closedChapterIcon.png);
}

#navtree ul.chapter-hidden {
	display:none;
}

#navtree ul.chapter {
	list-style:none;
}

#navtree>div:nth-of-type(2) { /* round bg colour of first title */
	border-radius:6px 6px 0 0;
	border-top:none;
}

#navtree>ul:last-child li:last-child { /* round bg colour of last page */
	border-bottom:none;
	border-radius: 0 0 6px 6px;
}

#navtree ul li.current-page {
	color:#fff;
	font-weight:bold;
	border-style:none;
	-webkit-box-shadow:inset 0px 0px 5px rgba(0,0,0,0.9);
	background-color:#008ec1;
}

#navtree .close-button {
	display: none;
}

/*================================== CONTENT STYLES ============================== */

#content, #subheader {
	display:block;
	padding: 10px 10px 0 10px;
	margin-left: 200px;
}

#content {
	padding-top: 20px;
}

figure { /* float figures right (within media containers) to wrap left-floating objects */
	float: right;
	width: 100%;
}

.image:after, .audio:after, .flash:after, .video:after { /* clear floating to close wrap */
	content: " ";
    display: block;
    height: 0;
    clear: right;
    visibility: hidden;
}

figure>*:first-child { /* float media left */
	float:left;
	margin:0 20px 20px 0;
}

footer, .nav-button, .score-button { /* Hide elements from tablet view */
	display:none;	
}

#score {
	float:left;
	clear:left;
	color:#fff;
	width:180px;
	background: -webkit-gradient(
	linear,
	left top,
	left bottom,
	color-stop(0, rgb(0,140, 190)),
	color-stop(0.49, rgb(0,121,165)),
	color-stop(0.51, rgb(0,90,122)),
	color-stop(1, rgb(0, 60 ,82))
	);
	font-weight:bold;
	margin:0 0 10px 0;
	padding:10px;
	-webkit-border-radius: 5px;
	text-shadow:0 1px 1px #000;
}

#score .close-button {
	display: none;
}

#score h6 {
	font-size: 0.8em;
}

#score p {
	margin-top: 5px;
}