/* updated May 2010 */

/* Palette
body bkgd #f6e6c5
buff bkgd, alt #e9cba8
blue link #3a3ad1
brown vlink #7c3f17
brown text #5c0a00
tan th, button #b27f4c
light tan menu #d5b48b
red #c01f00
green cart #4e9a06
*/

/* LAYOUT */

html, body, div, span {
	margin: 0;
	padding: 0;
}

body {
	color: #5c0a00;
	background: #f6e6c5 url(http://www.bridgehousebooks.com/images/bkgd-leather.jpg);
	font: normal 100%/1.5 Georgia, 'Times New Roman', Times, serif;
	text-align: center;
	padding-top: 8px;
}

#view-schedule {
	background: #4d5eac;
	height: 40px;
	text-align: center;
	margin-top: -8px;
}

#wrapper {
	max-width: 920px;
	text-align: left;
	margin: 24px auto;
	padding: 20px;
}

#header {
	border-bottom: 3px solid #5c0a00;
	margin: 0 0 6px;
	padding: 0 12px 6px 6px;
}

#header.main {
	height: 132px;
}

#header p {
	font-size: 24px;
	font-style: italic;
	text-align: right;
	text-shadow: 1px 1px 2px rgba(0,0,0,.3);
	margin: 0;
	padding-top: 16px;
}

#header img {
	float: left;
	display: inline;
	margin-right: 16px;
}

#header a {
	padding: 0;
}

#content {
	margin: 32px 40px 24px;
}

#footer {
	clear: both;
	background: url(http://www.bridgehousebooks.com/images/bhb-brand-brown.png) center 18px no-repeat;
	text-align: center;
	border-top: 2px solid #5c0a00;
	margin: 0;
	padding-top: 40px;
}

.screen-reader-text {
	position: absolute;
	left: 0px;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.clearfix:after, .author:after, .book-catalog:after, .book-single:after {
	clear: both;
	content: " ";
	display: block;
	height: 0;
	font-size: 0;
	line-height: 0;
	margin: 0;
	padding: 0;
	visibility: hidden;
}

/* LINKS */

#skip a, #skip a:visited, #skip a:hover {
	position: absolute;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#skip a:focus, #skip a:active {
	position: absolute;
	left: 12px;
	top: 6px;
	width: auto;
	height: auto;
	padding: 2px 8px;
}

#view-schedule a:link, #view-schedule a:visited, #view-schedule a:focus, #view-schedule a:hover, #view-schedule a:active  {
	display: block;
	position: relative;
	width: 335px;
	height: 40px;
	color: #f6e6c5;
	font: bold 20px/40px Futura, "Century Gothic", Arial, Helvetica, sans-serif;
	text-decoration: none;
	border: none;
	background: none;
	margin: 0 auto;
	padding: 0;
	z-axis: 1;
}

#view-schedule a:link span, #view-schedule a:visited span, #view-schedule a:focus span, #view-schedule a:hover span, #view-schedule a:active span {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: transparent url(http://www.bridgehousebooks.com/images/csf-view-schedule.gif) no-repeat center top;
	z-axis: 50;
}

#view-schedule a:focus span, #view-schedule a:hover span, #view-schedule a:active span {
	background: transparent url(http://www.bridgehousebooks.com/images/csf-view-schedule.gif) no-repeat center -40px;
}

a {
	color: #3a3ad1;
	text-decoration: none;
	border-bottom: 1px solid #3a3ad1;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 1px 3px;
}

a:visited {
	color: #7c3f17;
	border-color: #7c3f17;
}

a:focus, a:hover, a:active {
	color: #f6e6c5;
	background: #3a3ad1;
	border: none;
}

a[href $='.pdf']:link, a[href $='.pdf']:visited {
	background: url(http://www.bridgehousebooks.com/images/acrobat.png) no-repeat right center;
	padding-right: 18px;
}
a[href $='.pdf']:focus, a[href $='.pdf']:hover, a[href $='.pdf']:active {
	background: #3a3ad1 url(http://www.bridgehousebooks.com/images/acrobat.png) no-repeat right center;
}

.links a, .links a:visited, a.cart-view, a:visited.cart-view, a.cart-add, a:visited.cart-add {
	color: #f6e6c5;
	background: #b27f4c;
	border: none;
	font: bold .95em Futura, "Century Gothic", Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: -1px -1px 2px rgba(0,0,0,.3), 1px 1px 2px rgba(255,255,255,.3);
	margin-right: 16px;
	padding: 2px 6px;
}

.links a:focus, .links a:hover, .links a:active {
	color: #f6e6c5;
	background: #3a3ad1;
}

a.cart-add, a:visited.cart-add {
	background: #b27f4c url(http://www.bridgehousebooks.com/images/cart-add.png) 4px center no-repeat;
	padding-left: 30px;
}

a.cart-view, a:visited.cart-view {
	background: #b27f4c url(http://www.bridgehousebooks.com/images/cart.png) 4px center no-repeat;
	padding-left: 26px;
}

a:focus.cart-add, a:hover.cart-add, a:active.cart-add {
	color: #f6e6c5;
	background: #3a3ad1 url(http://www.bridgehousebooks.com/images/cart-add.png) 4px center no-repeat;
}

a:focus.cart-view, a:hover.cart-view, a:active.cart-view {
	color: #f6e6c5;
	background: #3a3ad1 url(http://www.bridgehousebooks.com/images/cart.png) 4px center no-repeat;
}

ul.links {
	margin: 1em 0;
	padding: 0;
}

.links.aligncenter {
	margin: 1em 0 2em;
}

.links li {
	list-style: none;
	display: inline;
}

.links a.current, .links a:visited.current, .links a:focus.current, .links a:hover.current, .links a:active.current {
	color: #5c0a00;
	background: #b27f4c;
	cursor: default;
}

.buttonfloat {
	float: left;
	margin-right: 32px;
}

/* MENU */

#menu {
	padding: 0 24px;
	z-index: 90; /* for IE */
	position: relative; /* for IE */
}

#header #menu {
	float: right;
	padding: 0;
}

#menu ul {
	list-style: none;
	font: bold 1em Futura, "Century Gothic", Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
	padding: 0 6px;
}

#menu ul ul {
	position: absolute;
	top: -999em;
	width: 16em; /* match :hover ul below */
	text-transform: none;
	letter-spacing: 0;
}

#menu li {
	float: left;
	position: relative;
	padding-left: .5em;
	padding-right: .5em;
}

#menu ul ul li {
	width: 15.5em;
	padding-top: 4px;
	padding-bottom: 4px;
}

#menu ul ul li+li {
	border-top: 1px solid #f6e6c5;
}

#menu ul ul ul {
	width: auto;
}

#menu a {
	color: #5c0a00;
	display: block;
	position: relative;
	text-decoration: none;
	border: none;
}

#menu a:focus, #menu a:hover, #menu a:active {
	color: #f6e6c5;
}

#menu ul li:hover {
	visibility: inherit; /* fixes IE7 sticky bug */
}

#menu li:hover ul,
#menu li.sfHover ul {
	left: 0;
	top: 1.5em; /* match top ul list item height */
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: #d5b48b;
	z-index: 100;
}

#menu ul li:hover li ul,
#menu ul li.sfHover li ul,
#menu ul li li:hover li ul,
#menu ul li li.sfHover li ul {
	top: -999em;
}

#menu ul li li:hover ul,
#menu ul li li.sfHover ul,
#menu ul li li li:hover ul,
#menu ul li li li.sfHover ul {
	left: 16em; /* match ul width */
	top: 0;
}

/*** arrows **/
#menu ul a.sf-with-ul {
	padding-right: 20px;
	min-width: 1px; /* trigger IE7 hasLayout */
}

.sf-sub-indicator {
	position: absolute;
	display: block;
	right: 6px;
	top: .25em;
	width: 10px;
	height: 10px;
	text-indent: -999em;
	overflow: hidden;
	background: url(http://www.bridgehousebooks.com/images/menu-arrows.png) no-repeat 0 -100px;
}

a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px;
}

/* point right for anchors in subs */
#menu ul ul .sf-sub-indicator { background-position:  -10px 0; }
#menu ul ul a > .sf-sub-indicator { background-position:  0 0; }

#menu ul ul a:focus > .sf-sub-indicator,
#menu ul ul a:hover > .sf-sub-indicator,
#menu ul ul a:active > .sf-sub-indicator,
#menu ul ul li:hover > a > .sf-sub-indicator,
#menu ul ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

#menu ul a.current, #menu ul a:focus.current, #menu ul a:hover.current, #menu ul a:active.current {
	color: #b27f4c;
	background-color: transparent;
}

#menu ul ul a.current, #menu ul ul a:focus.current, #menu ul ul a:hover.current, #menu ul ul a:active.current {
	color: #f6e6c5;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: default;
}

a.current:focus > .sf-sub-indicator,
a.current:hover > .sf-sub-indicator,
a.current:active > .sf-sub-indicator,
li:hover > a.current > .sf-sub-indicator,
li.sfHover > a.current > .sf-sub-indicator {
	background-position: 0px -100px;
}

/* BOOKS & AUTHORS */

.author-photo, .bookcover, .slipcover {
	float: left;
	position: relative; /* needed for ie6 */
	text-indent: 0;
	text-align: center;
	margin-left: -172px;
	padding: 0;
}

.slipcover { line-height: 1.1; }

.author-photo img, .bookcover img {
	-moz-box-shadow: 3px 3px 4px rgba(0,0,0,.3);
	-webkit-box-shadow: 3px 3px 4px rgba(0,0,0,.3);
	box-shadow: 3px 3px 4px rgba(0,0,0,.3);
}

.bookcover a, .slipcover a, .puborgs a, .floatleft a, .floatright a {
	color: #3a3ad1;
	background: none;
	text-decoration: none;
	border: none;
	padding: 0;
}

.bookcover a img, .bookcover a:visited img {
	border: 1px solid #aaa;
}

.bookcover a:focus img, .bookcover a:hover img, .bookcover a:active img {
	border: 1px solid #3a3ad1;
}

.wide {
	margin-right: 16px;
}

.author, .book-catalog, .book-single {
	position: relative; /* needed for ie7 */
	margin-bottom: 16px;
	margin-left: 172px;
	padding: 0;
}

.author {
	margin-top: 32px;
}

.author h2 { margin: 0; }

.book-catalog + .book-catalog {
	padding-top: 32px;
	border-top: 1px solid #d5b48b;
}

.book-catalog {
	margin-left: 116px;
}

.book-catalog .bookcover, .book-catalog .slipcover {
	margin-left: -116px;
}

.book-single {
	margin-left: 232px;
}

.book-single .bookcover {
	margin-left: -232px;
}

.book-catalog h2 {
	font-weight: normal;
	font-style: italic;
	margin: 0;
}

.book-catalog cite a {
	font-style: normal;
}

/* TEXT */

h1, h2, h3, h4, h5, h6, th {
	font-weight: bold;
	text-align: left;
	margin: 1em 0 0;
}

h1 {
	font-size: 1.75em;
	text-align: center;
	margin: 0;
}

h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.33em;
}

h4 {
	font-size: 1em;
}

p, p.normal {
	text-indent: 0;
	margin: 0 0 1em;
}

p + p {
	text-indent: 2em;
	margin: -1em 0 1em;
}

small {
	font-size: .8em;
	font-weight: normal;
}

blockquote, dl, ol, ul {
	margin: 0 0 1em;
	padding: 0;
}

blockquote {
	margin-left: 2em;
}

ol {
	list-style: decimal outside;
	margin-left: 2em;
}

ul {
	list-style: square;
	margin-left: 1em;
}

.first-para:first-letter {
	font-size: 1.5em;
	line-height: 1;
	font-weight: normal;
}

.first-para:first-line {
	font-weight: bold;
	text-transform: uppercase;
}

.copyright {
	font-size: .8em;
	margin-top: 2em;
}

.copycenter {
	font-size: .8em;
	text-align: center;
}

.epigraph {
	font-style: italic;
	text-indent: 0;
	margin: 1em 3em;
}

.meta {
	clear: both;
	text-align: right;
	font-size: .8em;
}

.nowrap {
	white-space: nowrap;
}

.alt {
	background: #e9cba8;
}

.big {
	font-size: 1.33em;
}

.new {
	background: url(http://www.bridgehousebooks.com/images/new.png) left .25em no-repeat;
	padding-left: 62px;
}

.now-shipping {
	background: url(http://www.bridgehousebooks.com/images/now-shipping.png) left .25em no-repeat;
	padding-left: 172px;
}

.notice {
	color: #ecfeda;
	background: #4e9a06;
	font: bold .9em Futura, "Century Gothic", Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: -1px -1px 2px rgba(0,0,0,.3), 1px 1px 2px rgba(255,255,255,.3);
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 2px 4px;
}

/* STATE FAIR, TABLES */

.csf-banner {
	text-align: center;
	margin: 1em auto;
}

.csf-banner a {
	background: none;
	text-decoration: none;
	border: none;
	padding: 0;
}

.authors {
	list-style-type: none;
}

.authors li {
	margin-bottom: 6px;
}

.authors a {
	font-weight: bold;
}

.date {
	display: block;
	color: #5c0a00;
	font: bold italic 36px/32px Futura, "Century Gothic", Arial, Helvetica, sans-serif;
	text-align: left;
	text-shadow: 2px 2px 3px rgba(0,0,0,.3);
}

.csf-cal .time {
	color: #4d5eac;
	font-weight: bold;
	margin: 16px 0 6px;
	white-space: nowrap;
}

.csf-cal p {
	text-indent: 0;
	text-align: center;
	line-height: 1.2;
	margin: 6px 0;
}

.csf-2010-top-gap {
	background: #4d5eac url(http://www.bridgehousebooks.com/images/calstatefair2010-top.jpg) center center no-repeat;
}

.csf-2010-bottom-gap {
	background: #4d5eac url(http://www.bridgehousebooks.com/images/calstatefair2010-bottom.jpg) center center no-repeat;
}

table {
	width: 100%;
	background: #f6e6c5;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 1em 0;
	padding: 0;
}

th, td {
	vertical-align: top;
	text-align: center;
	border: 1px solid #b27f4c;
	padding: 8px 6px;
}

table.events { background: none; }

.events td {
	text-align: left;
	border: none;
}

th {
	color: #f6e6c5;
	background: #b27f4c;
	font: bold 1em Futura, "Century Gothic", Arial, Helvetica, sans-serif;
}

.alt td {
	color: #000;
}

/* FORMS */

/* IMAGES */

img {
	border: 0;
}

.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

.aligncenter {
	text-align: center;
}

.floatleft {
	float: left;
	margin-right: 16px;
	margin-bottom: 16px;
}

.floatright {
	float: right;
	margin-left: 16px;
	margin-bottom: 16px;
}

.puborgs { padding: 0 200px; }

.puborgs .floatleft { margin-right: 32px; }

.puborgs .floatright { margin-left: 32px; }
