/* style.css - Global stylesheet for charlottegray.ca */
/* Copyright 2010 Brian Pirie (sensinct.com) */



/* CSS RESET */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul,
li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
}

ol, ul {
	list-style: none;
}



/* PAGE REGIONS */

html {
	height: 100%;
}

body {
	height: 100%;
	background: white url(../images/body.png) repeat-x top left;
}

#overall-page {
	min-height: 100%;
	position: relative;
	width: 960px;
	min-width: 960px;
	max-width: 960px;
	margin: 0 auto;
}

* html #overall-page {
	height: 100%
}

#header {                      
	height: 120px;
}

#logo {
	padding-left: 10px;
}

#overall-page #content-area {
	padding-bottom: 30px;
}

#content-area:after {
	content: " ";
	display: block;
	clear: both;
}

#footer {
	position: absolute;
	width: 100%;
	bottom: 0;
	height: 24px;
	font-size: 11px;
	color: #888;
	background-color: #fff ! IMPORTANT;
	text-align: right;
	right: 10px;
}



/* SITE-WIDE DEFAULT TEXT AND LINK APPEARANCE */

body {
	font-family: Georgia, serif;
	font-size: 13px;
	line-height: 160%;
}

p {
	margin-bottom: 12px;
}

a:link, a:visited {
	text-decoration: none;
	color: #be6c2a;
}

a:hover, a:active {
	text-decoration: underline;
	color: #be6c2a;
}

h1 {
	padding-bottom: 20px;
}

h2 {
	font-family: "Trebuchet MS", sans-serif;
	font-weight: normal;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #bbb;
	margin-top: 40px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	background: transparent url(../images/divider.png) repeat-x bottom left;
}

h3 {
	margin-top: 20px;
	font-size: 13px;
	font-style: italic;
}

h4 {
	font-family: "Trebuchet MS", sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	color: #bbb;
	margin-top: 0px;
	font-size: 14px;
}



/* SITE-WIDE NAVIGATION MENU */

ul#nav {
	position: absolute;
	top: 21px;
	right: 10px;
	height: 33px;
	font-family: "Trebuchet MS", sans-serif;
	font-weight: normal;
	font-size: 16px;
	text-transform: uppercase;
}

ul#nav li {
	float: left;
	margin-left: 42px;
	display: inline;
	height: 33px;
	overflow: hidden;
}

ul#nav li a {
	display: block;
	height: 33px;
	text-indent: -999em;
}

ul#nav li.books a {
	background: url(../images/nav-sprites.png) -15px 0px no-repeat;
	width: 52px;
}
ul#nav li.books a:hover {
	background-position: -15px -33px;
}
ul#nav li.books a.current {
	background-position: -15px -66px;
}

ul#nav li.articles a {
	background: url(../images/nav-sprites.png) -110px 0px no-repeat;
	width: 75px;
}
ul#nav li.articles a:hover {
	background-position: -110px -33px;
}
ul#nav li.articles a.current {
	background-position: -110px -66px;
}

ul#nav li.about a {
	background: url(../images/nav-sprites.png) -229px 0px no-repeat;
	width: 54px;
}
ul#nav li.about a:hover {
	background-position: -229px -33px;
}
ul#nav li.about a.current {
	background-position: -229px -66px;
}

ul#nav li.contact a {
	background: url(../images/nav-sprites.png) -327px 0px no-repeat;
	width: 73px;
}
ul#nav li.contact a:hover {
	background-position: -327px -33px;
}
ul#nav li.contact a.current {
	background-position: -327px -66px;
}

#nav li a:link, #nav li a:visited {
	color: #999;
	text-decoration: none;
}

#nav li a:hover, #nav li a:active {
	color: white;
	text-decoration: none;
}

#nav li.current a:link, #nav li.current a:visited, #nav li.current a:hover, #nav li.current a:active {
	color: white;
	text-decoration: none;
}



/* DROP-CAPS */

.first-letter {
	color: #be6c2a;
	display: block;
	float: left;
	font-size: 72px;
	line-height: 0.8em;
	margin-right: 0.07em;
}

.first-letter-quote {
	font-size: 13px;
	display: block;
	float: left;
	line-height: 160%;
}



/* PAGE-SPECIFIC STYLING: HOME PAGE */

#welcome-area {
	height: 392px;
	position: relative;
	margin-bottom: 60px;
}

#welcome-message {
	font-size: 18px;
	line-height: 175%;
	position: absolute;
	left: 430px;
	width: 520px;
	bottom: 0px;
}

#welcome-message .first-letter {
	margin-right: 0.1em;
	padding-top: 4px;
}

#news-area {
	padding-left: 10px;
	font-size: 15px;
	width: 940px;
	height: 288px;
	background: transparent url(../images/charlotte-watermark.png) no-repeat bottom right;
}

#news-area h2 {
	width: 380px;
}

#news-area p {
	width: 940px;
}



/* PAGE-SPECIFIC STYLING: BOOKS PAGE */

#books .aside {
	float: left;
	width: 300px;
	padding-left: 10px;
}

#books .main {
	padding-right: 20px;
}

#books .aside h2 {
	margin-top: 0px;
}

#books .aside li {
	margin-bottom: 8px;
}

#books .aside li a:link, #books .aside li a:visited, #books .aside li a:hover, #books .aside li a:active {
	display: block;
	width: 300px;
	height: 54px;
	background-color: #f6f5f4;
	text-decoration: none;
	position: relative;
}

#books .aside li a:hover, #books .aside li a:active {
	text-decoration: none;
	background-color: #ddd;
}

#books .aside .active a:link, #books .aside .active a:visited, #books .aside .active a:hover, #books .aside .active a:active {
	background-color: #be6c2a;
}

.book-nav-icon {
	position: absolute;
	left: 6px;
	top: 6px;
	width: 42px;
	height: 42px;
}

.book-nav-title {
	font-size: 18px;
	position: absolute;
	left: 54px;
	top: 2px;
}

.book-nav-subtitle {
	font-size: 12px;
	color: black;
	position: absolute;
	left: 54px;
	top: 24px;
	line-height: 110%;
}

#books .aside .active .book-nav-title {
	color: white;
}


#book-scrollable {
	position: relative;
	overflow: hidden;
	height: 1550px;
}
 
#book-scrollable #pages { 
	position: absolute;
	width: 20000em;
}

#pages .page {
	margin-top: 40px;
	margin-left: 20px;
	margin-right: 1px;
	padding-left: 17px;
	padding-right: 17px;
	padding-top: 17px;
	padding-bottom: 17px;
	background-color: #f6f5f4;
	border: 3px solid #f8f1f1;
	float: left;
	width: 579px;
	overflow: hidden;
}

.book-header {
	width: 100%;
	position: relative;
	overflow: hidden;
	margin-bottom: 30px;
}

.book-cover {
	float: left;
	width: 114px;
	border: 3px solid #dbdbdb;
}

a.book-buy:link, a.book-buy:visited, a.book-buy:hover, a.book-buy:active {
	display: block;
	float: right;
	color: white;
	text-decoration: none;
	background-color: #be6c2a;
	padding: 4px 8px;
	border: 3px solid #dbdbdb;
	font-size: 16px;
	margin-left: 20px;
}

a.book-buy:hover {
	background-color: #df7f31;
}

.book-basics {
	padding-left: 140px;
}

.book-basics h1 {
	line-height: 120%;
	padding-bottom: 0;
}

.book-tagline {
	font-weight: bold;
}

.book-colophon {
	padding-top: 20px;
	font-size: 12px;
	line-height: 140%;
	position: absolute;
	bottom: 0px;
}

#book-scrollable h2 {
	margin-top: 30px;
	margin-bottom: 8px;
	padding-bottom: 0;
	background-image: none;
}

.book-summary {
	font-size: 18px;
	line-height: 160%;
}

.book-details {
	overflow: hidden;
	width: 100%;
}

.book-byline {
	font-style: italic;
	text-align: right;
}



/* PAGE-SPECIFIC STYLING: ARTICLES PAGE */

#articles h1 {
	padding-left: 10px;
}

#articles .column {
	width: 300px;
	padding-left: 10px;
	padding-right: 10px;
	float: left;
}

#articles ul li {
	padding-bottom: 20px;
	line-height: 120%;
}

#articles ul.compact {
	padding-bottom: 20px;
}

#articles ul.compact li {
	padding-bottom: 0px;
	line-height: 120%;
}

.article-title {
	font-weight: bold;
}

#article-graphic {
	position: absolute;
	right: 0px;
	bottom: 0px;
	padding-bottom: 10px;
}



/* PAGE-SPECIFIC STYLING: ABOUT PAGE */

#about h1 {
	padding-left: 10px;
}

#about .aside {
	float: right;
	width: 313px;
}

#about .main {
	padding-right: 360px;
	padding-left: 10px;
}

.award-date {
	display: block;
	float: right;
	padding-left: 20px;
}

ul.detailed {
	line-height: 120%;
}

ul.detailed li {
	margin-bottom: 20px;
}



/* PAGE-SPECIFIC STYLING: CONTACT PAGE */

#contact .aside {
	float: right;
	width: 386px;
	padding-right: 10px;
}

#contact .photo-caption {
	padding-left: 3px;
	padding-right: 3px;
}

#contact .main {
	padding-right: 420px;
	padding-left: 10px;
}
