
h1 {
}

body {
	background-color: #191946;
	color: #191946; 
	font-size: 80%; 
	font-family: Geneva, Gill Sans, Arial, Sans-serif;
	margin: 0;
	padding: 0; 
	border: 0;
	border-collapse: collapse;		
}

select {
	font-size: 80%;
}

/* Page is used to identify the main section of the layout used to contain content - i.e. anything outside of the page div is
** the vertical side borders or the thin top border that stops the page bumping up to the top of the browser.
*/

#page {
	/* background-color here controls the background colour for the site's content (except the footer bit) */
	background-color: white; 
	/* The first margin value controls the size of the gap between the top of the browser window and the page containing the content */
	margin-top: 12px;
	margin-left: auto; 
	margin-right: auto;
	margin-bottom: 0px;
	/* Make main page text slightly bigger to improve readability on screen */
	font-size: 116%;
	/* give the page a nice border, for the moment it's the same colour as the background so not visible but useful is playing with colours */
	border: solid 4px #191946; 
	/* width controls the width of the main display area; this is set to a standard value to allow the site to look okay
	** on low resolution screens or other devices. Q.v. bbb.co.uk - this has a similar width but everything is shifted to be top-left
	** with space appearing on the right hand side. If changing this the width of the #footer should probably be made to be consistent */
	width: 760px; 
	text-align: justify;
}

/* The footer is, er, the bit at the bottom which contains the hosting and design details. It's nice to be noticed. */
#footer {
	background-color: #191946; 
	/* change the standard text colour to be the same as the main page */
	color: white;
	/* make the text smaller relative to the main content's text size */
	font-size: 80%;
	/* make everything nicely centered */
	text-align: center;
	/* give the footer a little headroom so its content is not bumped up against the page content */
	padding: 20px 0; 
	/* width - same as the #page element */
	width: 760px;
	/* need clear as there's likely to be some floating elements above - make sure the footer is really the footer */
	clear: both;
}

/* Make the anchor tags within the foot appear different to the rest of the page */
#footer a {
	color: #B0C4DE;
}

/* ... and make the anchor tags in the footer change to the red used for elsewhere when the user's mouse strays across them giving
** a visual cue to the link actually being a link
*/
#footer a:hover {
	color: white;
}

#topLeftCorner, #bottomLeftCorner
{
	float: left;
}

#topRightCorner, #bottomRightCorner
{
	float: right;
}

#rights {
	font-style: italic; 
}

/* ANCHOR tags
** Define main style for all links within the document. 
*/
a {
	font-weight: bold;
	/* make same the same colour as the rest of the text; we need to do this explicitly to avoid the default HTML colourings */
	color: #191946; 
	/* get rid of the underlying that comes with standard hyperlinks */
	text-decoration: none;
}

/* Styles for when user's mouse is hovering over a hyperlink; we'll not mess with them too much by showing the underlining
** associated with normal hyperlinks
*/
a:hover {
	text-decoration: underline;
}

/* Make book links appear italicised */
.authorDetail a.bookLink {
	font-style: italic;
}

/* Make links and author text appear differently */ 
/* Make link for current page appear differently in navigation */
a.authorLink, a.translatorLink, .bookDetailRowAuthor, .header-block a.selectedMenuLink, .highlight 
{
	color: #CC0000;
}

/* Get rid of the nasty border that's normally added to linked images - the logo looks particularly unattractive otherwise */
img {
	border: none; 
}

/* THE HEADER SECTION 
** This is the bit with the logo and the main navigational links
*/

/* The outer wrapper for entire heading */
.header-block 
{ 
	clear: both;
	margin-top: -20px;
	margin-bottom: 40px;
	color: #CC0000;
} 


/* Although the logo appears leftmost we want it next to the bar that appears from the right
** Everything is floated right but in reverse order in the HTML.
*/
#header-logo {
	float: right;
}

/* This is the wrapper block for everything right of the logo */
#header-right {
	float: right; 
	/* make header bar same width as the section headings */
	width: 380px; 
	/* force the bar down to approximately the middle of the logo */
	padding-top: 34px; 
} 


/* This covers the back that appears on the right of the logo; an element within header-right */
.header-right-bar {
	color:#FFFFFF; 
	background-color: #191946;  
	padding-top:1px;
	padding-bottom:1px;
	height: 16px;
}

/* These ids refer to the main nagivation links shown above and below the header-right-bar; elements within header-right */
#header-above-bar, #header-below-bar {
	padding-top: 4px; 
	padding-bottom: 4px; 
	text-align: center;
}


/* Whatever we're doing with links elsewhere make the main navigation ones look like normal lnks 
** We'll inherit decoration from the page links (so no underlying) but reset any weighing/bolding 
*/
.header-block a
{
	font-weight: normal;
}

/*
** Default layout is used for basic site content that isn't otherwise specifically styled, e.g. not gallery, book or author pages.
** (So this will apply to "about us", "contact", etc.
*/
.defaultLayout {
	padding-top: 10px;  
	margin-top: 10px;  
	margin-left: 50px;
	margin-right: 50px;
	text-align: justify;
	clear: both;
}

.header-highlight {
	color: #CC0000;
	font-weight: bolder;
	font-style: italic;
}

.defaultLayout strong, .strongLink {
	color: #CC0000;
}

/*
** Section header - the section title heading (with rounded edge)
** Note: although described as "gallery" these styles are used on all section headings across all pages
*/
#galleryOuter {
	clear: both;
	padding: 0px;
	margin: 0px;
	border-collapse: collapse;		
}

.gallerySection, .authorSection {
	clear: both; 
	margin: 0px;
	padding: 0px;
}

.sectionHeader, .sectionHeaderImage, .sectionHeaderCaption {
	float: right;
}

.sectionHeader {
	margin-top: 0px; 
	margin-bottom: 3px;	
	font-weight: bold; 
}	

.sectionHeaderCaption, h1 {
	/* set colours to be inverse of main page text */
	background-color: #191946; 
	color: white;
	/* make caption same size as the rounded edge! */
	height: 18px;
	text-align: center;
	font-weight: bold;
	/* Make the main part of the section heading the same width as the main link bar in the header*/
	width: 360px;
}

/*
** TEMPLATE PAGE STYLES
*/


/* GALLERY PAGE STYLES */

/* Container for each book show as detailed section */	
.rowSpacer {
	clear: both;
	height: 18px;
}

.galleryRow, .authorSection, .bookOtherSection, .bookSection {
	margin-left:  50px;
	margin-right: 50px;
	clear: both;
	position: relative;
}

/* Inner container for book image */
.galleryDetailRowImage, .authorImage {
	margin-right: 38px;
	float: left;
	width: 160px;	
}

/* Image image when shown as part of book detail */
.galleryDetailRowImageImage, .authorImagePicture {
	height: 240px;
	width: 160px;	
}

.galleryDetailRowImageDetails {
	clear: left;
	font-size: 64%;
	text-align: center;
}

/* Inner container for details */
.galleryDetailRowDetail {
	float: left;
	width: 462px; /* Width - image width - gap - (margin * 2) */
}

/* Book title caption when shown as part of book detail */
.galleryDetailRowTitle {
	font-size: 135%;
	font-weight: bold;
}

/* Author name when shown as part of book detail */
.galleryDetailRowAuthorTranslator, .bookDetailRowTranslator {
	padding-top: 6px; 
	padding-left: 12px;
}

/* The book summary when shown as part of book detail */
.galleryDetailRowSummary, .bookDetailSynopsis {
	padding-top: 12px;
	padding-bottom: 12px;
	width: auto;
}

.galleryDetailRowOrder {
	font-size:  80%;
	padding-top: 12px;
	float: right;
}

.galleryDetailRowMore {
	float: left;
	padding-top: 12px;
	font-weight: bold;
	font-size: 80%;
}

.galleryImageBookInfo, .authorImageCopyright {
	margin-top: 6px;
	font-size: 64%;
	text-align: center;
}	


.galleryImageBookBuy  {
	font-size: 80%;
	width: 160px;
	text-align: center;
}

.gallery-col0-of-2 { float: left; width: 160px; padding-left: 80px;}
.gallery-col1-of-2 { float: right; width: 160px; padding-right: 80px; }

.gallery-col0-of-3 { float: left; width: 160px; text-align: left; }
.gallery-col1-of-3 { position: absolute; left: 250px; }
.gallery-col2-of-3 { position: absolute; right: 0; }

.gallery-col0-of-4 { float: left; width: 25%; }
.gallery-col1-of-4 { float: left; width: 25%; }
.gallery-col2-of-4 { float: left; width: 25%; }
.gallery-col3-of-4 { float: left; width: 24%; /* needed for IE! Pile of shit */ }

.galleryFilterSection {
	clear: both;
	text-align: center;
	font-size: 64%;
}

.bookDetailHeaderFormat {
	font-size: 64%;
	padding-left: 0.5em;
	display: inline;
}
	
.bookDetailSection 
{
	float: left;
	margin-right: 0px;
	margin-left: 0px;
}

.bookDetailSummary
{
	float: left;
	width: 328px;
	right: 0px;
}	

.bookDetailImage
{
	float: left;
	height: 448px;
	width: 290px;
	margin-right: 40px;
}

.bookDetailExtras 
{
	font-weight: normal;
	font-size: 80%;
}

.bookDetailImageNoExplicitSize
{
	float: left;
	margin-left: 0px;
	margin-right: 0px;
	width: 200px;
}

.bookDetailPublished
{
	font-size: 64%;
	clear: left;
}	

.bookDetailRowAuthor 
{
	font-size: 135%;
	font-weight: bold;
}

.bookReview {
	margin-top: 10px;
}	

.reviewDetail {
	margin-top: 10px;
	font-style: italic;
}

.reviewSource {
	margin-left: 20px;
	font-weight: bold;
}
	
a.bookThemeLink {
	font-weight: normal;
	font-style: normal;
}	


/*
** BASIC PAGES -  SPECIFIC FORMATTING
*/

/* News page : page is dividend into section using the rounded-bar headings 
** The classes below control how news items are formatted within each section.
*/

/*  newsSubHeading is used for an item of news within a section */
.newsItem {
	clear: both;
	position: relative;
}

.newsSubHeading
{
	font-size: 116%;
	font-weight: bold;
	color: #CC0000;
}

.newsSubHeading a
{
	color: #CC0000;
	text-decoration: underline;
}

/* newsDetail is the actual news item itself, i.e. the main text */
.newsDetail
{

}

/* newsDate is used for the datestamp for each news items */
.newsDate
{
	text-align: right;
	font-size: 80%;
}

/*
** Readers' group page - page(s) contain suggested question for reading groups
*/

/* make the book cover appear top-left with some space around its edges against the text */
#readingImage
{
	float: left; 
	padding-top: 20px;
	padding-right: 40px;
	padding-bottom: 20px;
}

/* space out the list elements for the actgual questions */
#readingQuestions li
{
	margin-bottom: 10px;
}

/*
** Generic bits of formatting
*/

iframe {
	padding: 0px;
	margin: 0px;
	border: 0px;
}


#footerSpacer {
	height: 20px;
	clear: both;
}

.preFooter 
{
	clear: both;
	padding: 1px;
}

hr {
	/* Where horizontal line is used to separate section make it invisible */
	display: none;
	clear: both;
}


/*
**	Styles for third-party components
*/
#marqueecontainer {
	position: relative;
	width: inherit; /*marquee width */
	height: 100px; /*marquee height */
	background-color: white;
	overflow: hidden;
	border: 0px solid #191946;   
}


/* 
	"Now I have only one thing left to do: nothing. I don't want any belongings, any memories. No friends, no love. Those are all traps."
*/
