/*Padding and margin reset*/
	html, body, p, ul, li, ol, dl, dt, dd, h1, h2, h3, h4, h5, h6, blockquote, address, table, tr, td, th, form, fieldset, img{
		margin: 0;
		padding: 0;
		font-size: 1em;
		list-style: none;
		font-style: normal;
		font-weight: normal;
		border: 0;
	}

	a{
		text-decoration: none;
		color: #00f;
	}
	
	a:hover{
		text-decoration: underline;
	}
	
	.clearer{
		height: 1px;
		font-size: 1px;
		clear: both;
	}
	
	abbr{
		border: none;
	}
	
/*At least it's not raining*/
html{
	background: #b0d5e8 url(images/bg_r.gif) repeat-y top;
	
}

body{
	background: url(images/bg_content_alt.jpg) no-repeat top;
	min-height: 783px;
	font-family: Helvetica, Arial, sans-serif;
}

body.home{
	background: url(images/bg_home.jpg) no-repeat top;
}


#wrapper{
	width: 960px;
	margin: 0 auto;
	position: relative;
}

/*Branding*/
#branding{
	width: 420px;
	position: absolute;
	right: 0;
	height: 240px;
}

#branding h1 a{
	display: block;
	height: 165px;
}

#branding h1 a, #branding h2, #branding h3{
	text-indent: -999em;
}

/*Nav*/
#nav{
	padding: 43px 0 0 84px;
	font-size: 18px;
}

#nav ul{
	float: left;
	width: 233px;
}

#nav ul.two,
#nav ul.two li{
	width: 153px;
}

#nav ul li{
	float: left;
	width: 233px;
}

#nav ul a{
	color: #b0d5e8;
	display: block;
	float: left;
	padding: 2px 5px;
}

#nav ul a:hover{
	color: #fff;
	text-decoration: none;
}

#nav ul li.active a,
#nav ul li.active a:hover{
	background: #fce530;
	color: #000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

/*Footer*/
#footer{
	clear: both;
	font-size: 12px;
	padding: 3em 10px 1em;
}

#footer ul{
	float: left;
	clear: left;
	margin-left: -.5em;
	padding-bottom: .5em;
}

#footer li{
	display: inline;
	padding:0 .5em;
	border-right: 1px solid #4a6675;
}

#footer li.last{
	border-right: none;
}

#footer a{
	color: #4a6675;
}

#footer .credit{
	float: right;
	padding-right: .5em;
}

/*Home page*/ 
#book-cover{
	position: absolute;
	left: 63px;
	top: 148px;
}

.home #content{
	background: url(images/bg.png);
	width: 464px;
	padding: 1em 10px 0 20px;
	float: right;
	margin-top: 140px;
	color: #fff;
	font-size: 17px;
	-moz-border-radius-topleft: 6px; 
	-webkit-border-top-left-radius: 6px;
	-moz-border-radius-bottomleft: 6px; 
	-webkit-border-bottom-left-radius: 6px;
}

.rgba .home #content{
	background: rgba(0,0,0,.6);
}

#content{
	line-height: 1.3;
}

#content p{
	margin-bottom: 1em;
	
}

.home #content p{
	font-weight: bold;
}

.home .buy-the-book{
	float: right;
	clear: right;
	margin-bottom: 150px;
	margin-right: 20px;
	margin-top: -10px;
}

.home .buy-the-book a{
	display: block;
	width: 154px;
	height: 124px;
	background: url(images/flash_home.png) no-repeat 0 -121px;
	text-indent: -999em;
}

.home .buy-the-book a:hover{
	background-position: 0 0;
}

/*Content pages*/
.content #content{
	color: #fff;
	margin: 151px 391px 0 71px;
	min-height: 425px;
	background: url(images/bg.png);
	-moz-border-radius-topleft: 6px; 
	-webkit-border-top-left-radius: 6px;
	-moz-border-radius-topright: 6px; 
	-webkit-border-top-right-radius: 6px;
	padding: 18px 18px 1px;
}

.rgba .content #content{
	background: rgba(0,0,0,.6) ;
}

.content #content-foot{
	height: 124px;
	background: url(images/bg-fade.png) repeat-x bottom;
	margin: 0 391px 0 71px;
}

#content h1{
	color: #fce530;
	font-size: 36px;
	font-weight: bold;
}

#content a{
	color: #fce530;
}

.content .buy-the-book{
	position: absolute;
	top: 430px;
	left: 600px
}

.content .buy-the-book a{
	display: block;
	width: 154px;
	height: 124px;
	background: url(images/flash_content.png) no-repeat 0 0;
	background-position: 0 -123px;
	text-indent: -999em;
}

.content .buy-the-book a:hover{
	background-position: 0 0;
}

/*Typo*/
#content ul,
#content ul li{
	list-style-type: disc;
}

#content ul{
	padding-left: 2em;
	margin-bottom: 1em;
}

#content h2{
	font-size: 1.4em;
	margin-bottom: .25em;
}

#content h3{
	font-weight: bold;
}

#content blockquote{
	border-left: 3px solid #a1d5ea;
	padding-left: 10px;
	margin: .5em 0 1.5em;
}

#content .quoter{
	text-align: right;
	margin-top: -.5em;
	font-size: .9em;
}

/*Photo gallery*/
.photo-gallery #content a{
	cursor: pointer;
}

.photo-gallery #content a img{
	border: 5px solid #95999b;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;

}

.photo-gallery #content div.image{
	float: left;
	width: 44%;
	padding: 0 2%;
	padding-bottom: 1em;
}

.photo-gallery #content a span{
	display: block;
	font-size: .9em;
	color: #fff;
}

.photo-gallery #content a span.caption{
	height: 2.3em;
}

.photo-gallery #content div.image span.image{
	min-height: 154px;
	position: relative;
	padding-bottom: 3px;
}

.photo-gallery #content div.image span.image img{
	position: absolute;
	bottom: 3px;
}

.photo-gallery #content a:hover{
	text-decoration: none;
}

.photo-gallery #content a:hover img{
	border: 5px solid #B8BBBC;	
}

/*Contact form*/
#gbcf-form{
	margin-bottom: 1em;
}

#gbcf-form .main-label{
	font-size: 12px;
	font-style: italic;
	float: none;
	margin-bottom: 1em;
	display: block;
	width: auto;
	text-align: left;
}

#gbcf-form label{
	float: left;
	clear: left;
	width: 30%;
	display: block;
	text-align: right;
	padding-right: 2%;
}

#gbcf-form input,
#gbcf-form textarea{
	float: left;
	width: 50%;
	margin-bottom: 1em;
	padding: 5px;
}

#gbcf-form label.explain{
	font-size: 12px;
	width: 60%;
	padding-left: 32%;
	float: none;
	text-align: left;
	margin-top: -1em;
}

#gbcf-form .button{
	width: auto;
	margin-left: 32%;
	margin-top: 1em;
}