@charset "utf-8";
/* CSS Document */

/* This first set of styles is for the body and for the page-header blocks that are common 
to all pages on the site. */
body {
	background-image: url(../images/books_bg01.png);
/*	text-align:center;
	margin: auto;
*/
}

#pagewrapper {
	width:1000px;
	margin:auto;
	border: 8px double darkblue;
	border-radius:30px;
/*	padding:10px; */
	background-color:#EEEEED;
}

header {
	display: table;
	vertical-align:top;
	width:100%;
	text-align:center;
	margin:2px auto;
	padding-bottom:2px;
	color:black;
	border-bottom:5px double blue;
}

#crumbs {
	width:75%;
	margin:5px auto;
	text-align:left;
	vertical-align:top;
	font-size:0.8em;
	font-family:"Times New Roman", serif;
	padding:0 5px 0.5em 5px;
	}
	
#crumbs a {
	color:blue;
	}

#crumbs a:visited {
	color:purple;
	}

#crumbs a:hover {
	color:darkblue;
	}

#menu {
	position: absolute;
    z-index:10;
}

#hdr_main {
	vertical-align:top;
}


#titleblock {
	width:500px;
	height:120px;
	text-align:center;
	margin:auto;
	font-size:16px;
	font-weight:bold;
	font-family:arial, sans-serif;
	border:5px ridge blue;
	border-radius: 25px;
}


#titletext {
	margin-top: 1em;
}


/* End of styles for page header block */

/* This next set of styles is for the page-footer elements that are common to all pages. */

/* Styles used in the page footer */
footer {
	clear:both;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	border-top:5px double blue;
	color:black;
	text-align:center;
	font-size:12px;
	padding:0.8em 0 0.8em 0;
}

#credit-notes {
	width:800px;
	padding: 1px 25px;
	text-align:left;
	margin: 0 auto;
}

#email_link {
	width:550px;
	padding: 0.5em 25px;
	margin:auto;
}

#amazon_link {
	color: black;
	width:220px;
	text-align:center;
	font-size:14px;
	padding: 0.5em 10px;
	margin:auto;
}

/* These styles are all for the main content window */

#content {
	margin-top:2.5em;
	padding:10px 5px;
	background-color:#EEEEED;
	font-family:Arial, Helvetica, sans-serif;
/*	border-bottom:5px double blue; */
	font-size:14px;
}


/* These styles are for the search field/control bar at the top of the main window */

#topbar {
	width:100%;
	text-align:left;
	border:5px solid gray;
}

#form-cell {
	width:70%;
}

.search-field {
	background-color: #f0f0f0;
	padding: 10px;
	margin-bottom:10px;
}

.search-field button {
	margin-left: 8px;
	vertical-align: text-bottom;
}


/* These styles are for the display of thumbnails in the "Gallery" view */

#LoadingMsg {
	margin-left:50px;
	font-size:32px;
	font-weight: bold;
}

#thumbsBackground {
	text-align: left;
}

.results-list {
	width:95%;
	height:500px;
	overflow:auto;
}

.results-list li {
	position: relative;
	top: 0;
	display: inline-block;
	margin: 16px;
	vertical-align: middle;
	padding-bottom: 40px;
	font-size: 12px;
}


.results-list li img {
	display: block;
	border: 5px solid #fff;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, .9);
}

.results-list .title {
	position: absolute;
	bottom: 0;
	width: 100%;
	border: 5px solid transparent;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	/*text-shadow: 0 0 8px rgba(0, 0, 0, .9); */
}


.small-thumbs li {
	width: 150px;
}

.small-thumbs li img {
	min-height: 100px;
}

/* These styles are for the Slideshow display in the "Slideshow" view */

#slideshow {
	width:100%;
	border:3px solid black;
	text-align:center;
	margin:auto;
}

#photoTable {
	display: table;
	margin:auto;
}

#photoRow {
	display: table-row;
}

.arrows {
	display: table-cell;
	vertical-align: middle;
	width:50px;
	font-size: 36px;
	font-weight: bold;
}

.arrows button {
	color:gray;
	font-size: 36px;
	font-weight: bold;
}

.arrows button:hover {
	color:black;	
}

#photoGutter {
	width:750px;
	padding: 10px;
}

#closeCtrl, #showButton {
	margin:10px;
	color:gray;
}


#closeCtrl button, #showButton button {
	font-size:16px;
	padding: 5px 25px;
	color:black;
}


#photoTitle {
	font-size: 24px;
	font-weight:bold;
	font-style: italic;
	text-align:center;
	margin: auto;
}

#captionGutter {
	text-align: center;
	width: 775px;
	padding:5px;
	margin:auto;
	font-size: 14px;
}

#captionText {
	display: inline-block; 
	text-align:left;
	padding:5px;
	margin:auto;
}

/* Image tags */

img {
  /* Responsive images (ensure images don't scale beyond their parents) */

  max-width: 100%;
  /* Part 1: Set a maxium relative to the parent */

  width: auto\9;
  /* IE7-8 need help adjusting responsive images */

  height: auto;
  /* Part 2: Scale the height according to the width, otherwise you get stretching */

  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

#content li {
  line-height: 20px;
}


#content a:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
#content a:hover,
#content a:active {
  outline: 0;
}

.instructions {
	text-align:center;
	font-style:italic; 
 }