/*  New Guernsey Society web site
	Bookshop version
	redesigned using CSS to replace table formatting 
	& javascript for mouseover
	by 
	Stephen Foote
	December 2004 */
body
{
	font-family: "Trebuchet MS", Verdana, sans-serif; 
	color: #000000; 
	background: #ffffcc;  
	text-align: justify;
	font-size: 12px;
	background-image: url(images/netbkgnd.gif);  
	background-repeat: repeat-y;          
}
h1
{
	font: italic bold 36px "Tahoma", Verdana, sans-serif;
	text-align: right;
	color: #ffff66;
	background-image: url(images/books2.jpg);
	background-repeat: repeat;
	background-color: #ffffff;
	padding-top: 10px;
	padding-bottom: 30px;
	padding-right: 20px;
	border-bottom: 2px solid #aaaaaa;
	border-right: 2px solid #aaaaaa;
}
h2
{
}
h3
{
/*	clear: both;  */
	border-top: 1px dotted #aaaaaa;
}
#clear
{
	clear: both;
}
p
{
	font-family: "Trebuchet MS", Verdana, sans-serif; 
	color: #000000; 
	text-align: justify;
	font-size: 12px;
	background-color: #ffffff;
}
p.new
{
	color: red;
	font: bold 12px "Trebuchet MS", Verdana, sans-serif;
	background-color: #ffffcc;
	display: inline;
}
a:link, a:visited
{
	color: #0000ff;
	background-color: #ffffff;
}
a:hover
{
	background-color: #ffff66;
	color: #0000ff;
}
ul#tabnav
{
	list-style-type: none;
	margin: 0;
	padding-left: 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid #aaaaaa;
	font: bold 11px Verdana, Arial, sans-serif;
}
ul#tabnav li
{
	float: left;
	height: 21px;
	color: #ffff66;
	background-color: #800000;
	margin: 2px 2px 0 2px;
	border: 1px solid #aaaaaa;
}
ul#tabnav a:link, ul#tabnav a:visited
{
	display: block;
	color: #ffff66;
	background-color: transparent;
	text-decoration: none;
	padding: 4px;
}
ul#tabnav a:hover
{
	color: #800000;	
	background-color: #ffff66;
}
body#home li.home, body#books li.books,
body#fiction li.fiction, body#photos li.photos,
body#history li.history, body#ww2 li.ww2,
body#nature li.nature, body#other li.other
{
	border-bottom: 1px solid #ffffff;
	color: #800000;
	background-color: #ffffff;
}
body#home li.home a:link, body#home li.home a:visited,
body#books li.books a:link, body#books li.books a:visited,
body#fiction li.fiction a:link, body#fiction li.fiction a:visited,
body#photos li.photos a:link, body#photos li.photos a:visited,
body#history li.history a:link, body#history li.history a:visited,
body#ww2 li.ww2 a:link, body#ww2 li.ww2 a:visited,
body#nature li.nature a:link, body#nature li.nature a:visited,
body#other li.other a:link, body#other li.other a:visited
{
	color: #800000;
	background-color: #ffffff;
}
#content
{
	color: #000000;
	background-color: #ffffff;
	border-top: none;
	border-left: 1px solid #aaaaaa;
	border-right: 2px solid #aaaaaa;	
	border-bottom: 1px solid #aaaaaa;
	padding: 10px 30px 6px 50px;
}
#content p.advert
{
	float: right;
}
#footer p
{
	clear: both;
	font-size: 0.8em;
	border-top: 1px solid #aaaaaa;
	border-left: 1px solid #aaaaaa;
	border-right: 2px solid #aaaaaa;
	border-bottom: 2px solid #aaaaaa;
	padding: 10px 5px 6px 5px;
	background-color: #ffffff;
	color: #000000;
	margin-top: 0px;
}
/*
	CSS for Bookshop
					*/
/*
.category img
{
	float: left;
}
*/
/*
.category h3
{
	clear: both;
}
*/
.bookcat
{
	clear: left; 
}
.bookimg
{
/*	clear: both; */
	float: left;
	margin-top: 6px;
	margin-right: 20px;
	margin-bottom: 6px;
}
.bookitem
{
	clear: left; 
	border-top: 1px dashed #aaaaaa;
}
.bookitem p
{
	margin-left: 18em;
	padding-right: 10em;
}
.bookitem p.booktitle
{
	font-weight: bold;
	margin-left: 18em;
	padding-right: 10em;
	padding-top: 1em;
	clear: none;
}
.quote
{
	font-style: italic;
/*	padding-right: 3em; 
	padding-left: 3	em;  */
}
.bookitem img, iframe
{
	float: left; 
	border-style: none;
	margin: 10px 10px 10px 10px;
}
#abead
{
/*	clear: both;
	width: 150px; 
	border: 1px solid #000000; */
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 25px;
}
#abead p.top
{
	margin: 0px;
	color: #000000;
	background-color: #ffffff;
}
#abead p.author
{
	border-top: 1px solid #aaaaaa;
	font-size: 0.8em;
	margin: 0px;
	padding-bottom: 3px;
	color: #000000;
	background-color: #f5f3ec;
}
#abead input
{
	margin-left: 15px;
}
#abead p.title
{
	border-top: 1px solid #aaaaaa;
	font-size: 0.8em;
	margin: 0px;
	padding-bottom: 3px;
	color: #000000;
	background-color: #ebe6d9;
}
#abead p.findit
{
	border-top: 1px solid #aaaaaa;
	margin: 0px;
	color: #000000;
	background-color: #d3cfc3; 
	border-bottom: 5px solid #c7002c;
/*	background-image: url(http://dogbert.abebooks.com/images/AffiliateProgram/SearchBoxes/SquareOne/sandStone.gif); */
/*	background-repeat: repeat; */
}
#abead input.findit
{
	float: right;
}
/*
			CSS for sidebar
					*/
#main
{
	padding: 0em 22em 0em 0em;
}
#sidebar
{
	float: right;
	width: 16em;
	padding-top: 0px;
	padding-left: 25px;
	padding-right: 25px;
	padding-bottom: 25px;
	color: #000000;
	background-color: #ffffcc; 
}
#sidebar h2
{
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 16px;
	font-weight: normal;
	text-align: center;
	background-color: #0080ff;
	color: #ffffff;
	padding-top: 6px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 6px;  
	margin-bottom: 0px;
}
#sidebar h3
{
	clear: both; 
	border-top: 1px dotted #aaaaaa;
	font-weight: normal;
	color: #ffff00;
	background-color: #800000;
	text-align: center;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}


#sidebar p
{
	text-align: center;	
	background-color: #ffffcc;
	color: #000000;
}
#sidebar a:link, #featured a:visited
{
	background-color: #ffffcc;
	color: #0000ff;
}
#sidebar a:hover
{
	background-color: #0080ff;
	color: #ffff00;
}
#sidebar img
{
	border-style: none;
}
/* Hide from IE5-mac. Only IE-win sees this.
The Holly Hack
http://www.positioniseverything.net/explorer/threepxtest.html
Used to combat the IE6 Peekaboo Bug
\*/
* html .bookitem img
{
	margin-right: 10px;
}
* html p
{
	height: 1%;
	margin-left: 0;
}
/* End hide from IE5/mac
End Holly Hack */
/*
		Float containers fix:  http://www.csscreator.com/attributes/containedfloat.php
				*/ 
.clearfix:after 
{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clearfix
{
	display: inline-table;
}
/* Hides from IE-mac \*/
* html .clearfix
{
	height: 1%;
}
.clearfix
{
	display: block;
}
/* End hide from IE-mac */  