/* ELEMENT STYLES */
body {
	width: 100%;
	height: 100%;
}

h2 {
	color: #888888;
	font-size: 1em;
	letter-spacing: 1px;
	text-shadow: -1px -1px 0 #c0c0c0;
	margin: 0.25em 0;
}

a {
	color: #000000; 
}

	a:hover {
		text-decoration: underline;
	}

ul {
	margin: 0;
}
/* LAYOUT */
#content {
	position: relative;
	height: 80%;
	overflow: hidden;
}

.panes {
	height: 100%;
}

#control-pane {
	width: 194px;
	padding: 14px 28px;
	background-color: #f0f0f0;
}

	#control-pane ul {
		/* height: 35%; */
		margin: 0 0 1.25em;
		overflow-y: auto;
	}
	
	#list-topics {
		height: 50%;
	}
	
	#list-types {
		height: 15%;
	}
	
	#control-pane a {
		display: inline-block;
		width: 85%;
		font-size: 1em;
		font-weight: bold;
		color: #333;
		padding: 0.5em 0.25em;
	}
	
	.viewing {
		background-color: #d0d0d0;
	}
	
#library-pane {
	position: absolute;
	margin: 0 0 0 250px;
	border-left: 1px solid #d0d0d0;
	overflow-x: hidden;
	overflow-y: auto;	
}

#library-header {
	position: fixed;
	bottom: 60px;
	width: 100%;
	min-height: 57px;
	background-color: #f0f0f0;
	padding: 10px;
	z-index: 100;
}

	#library-header h1 {
		font-size: 1.75em;
		color: #1a1a1a;
		text-shadow: 1px 1px 0 #fff;
		padding-right: 116px;
		margin: 0 0 0.25em;
	}

	#library-header span {
		display: block;
		font-size: 0.8em;
		font-style: italic;
		letter-spacing: 1px;
		color: #888;
		padding-right: 116px;	
	}
	
	.link-btns {
		float: right;
		height: 60px;
		font-size: 1.8em;
		font-style: normal;
		font-weight: bold;
		line-height: 2.6em;
		text-align: center;
		vertical-align: middle;
		padding: 0 1em;
		margin: 8px;
		background: #e58f31 url('img/btn-shadow.png') repeat-x left bottom;
		border-top: 1px solid #fcb261;
		border-right: 1px solid #a15808;
		border-bottom: 1px solid #a15808;
		border-left: 1px solid #fcb261;
		
		text-shadow: 1px 1px 1px #fcb261;
		-moz-border-radius: 8px;
		border-radius: 8px;
		-moz-box-shadow: 1px 1px 1px #6b3215;
		-webkit-box-shadow: 1px 1px 1px #6b3215;
		box-shadow: 1px 1px 1px #6b3215;
		background-image: -webkit-linear-gradient(top, #f4ac5d, #d46f00); 
		background-image: -moz-linear-gradient(top, #f4ac5d, #d46f00); 
		background-image: -ms-linear-gradient(top, #f4ac5d, #d46f00); 
		background-image: -o-linear-gradient(top, #f4ac5d, #d46f00); 
	}
	
	.link-btns:hover {
		line-height: 2.5em;
		text-decoration: none;
		border-top: 1px solid #a15808;
		border-right: 1px solid #fcb261;
		border-bottom: 1px solid #fcb261;
		border-left: 1px solid #a15808;	
		
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;			
	}
	
	.link-btns:active {
		background-image: -webkit-linear-gradient(top, #d46f00, #f4ac5d); 
		background-image: -moz-linear-gradient(top, #d46f00, #f4ac5d); 
		background-image: -ms-linear-gradient(top, #d46f00, #f4ac5d); 
		background-image: -o-linear-gradient(top, #d46f00, #f4ac5d); 
	}
	
#books {
	width: 100%;
	height: 100%;
	padding: 0 0 102px;
	background: transparent url('img/library-shelves.jpg') repeat center top;
}

	#books li {
		margin: 15px 10px 20px;
		background: transparent url('img/th/shadow_th_l.png') no-repeat -20px 0;
	}
	
	#books a {
		position: relative;
		display: block;
		width: 100px;
		height: 125px;
		padding: 0 5px;
		background: transparent url('img/th/shadow_th_r.png') no-repeat -20px 0;
	}
	
	#books a:hover {
		text-decoration: none;
	}
	
	#books img {
		position: absolute;
		bottom: 0;
		border: none;
	}

	.book-title {
		position: absolute;
		font-size: 0.9em;
		line-height: 1.5em;
		padding: 16px 14px 0 8px;
		overflow: hidden;
		z-index: 101;
	}

#footer {
	position: absolute;
	bottom: 0;
	margin-left: 0.75em;
}

