/* undo some default styling of common (X)HTML browsers
 * ------------------------------------------------------------------------- */

/* No list-markers by default - must redefine bullets w/ bg graphics */
ul,ol { list-style:none; }

/* Avoid browser default inconsistent heading font-sizes and pre/code */
h1,h2,h3,h4,h5,h6,pre,code,td { font-size:1em; }

/* Remove inconsistent (among browsers) default padding or margin */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,label,div,dd,dt,dl,table,tr,td { margin:0; padding:0; }

/* prevent blue linked image borders */
a img,:link img,:visited img,fieldset { border:none; }


/* global elements
 * ------------------------------------------------------------------------- */


/* ----- type selectors ----- */ 
body { 
	background:#fff;
	text-align:center; 
	font:12px/16px Arial, Helvetica, sans-serif; 
	color:#000;
	}

a:link,a:visited	{ color:#9f1635; text-decoration:underline; outline:none; }
a:hover,a:active	{ color:#000; text-decoration:underline; outline:none; }

/* ----- classes ----- */

div.clear	{ 
	clear:both;
	height:.01em; 
	overflow:hidden; 
	}
	
img.img-left { 
	float:left; 
	margin:0px 0px 10px 66px; 
	}
	
img.img-right { 
	float:right; 
	margin:5px 0 10px 10px; 
	}

/* framework
 * ------------------------------------------------------------------------- */

#wrap {
	width:992px;
	background-color:#ffe6e7;
	margin:0 auto;
	text-align:left;
	}
	
#wrap-sub {
	width:992px;
	background:url("../images/wrap-sub.gif") repeat-y;
	margin:0 auto;
	text-align:left;
	}
	
#masthead {
	position:relative;
	background:url("../images/book-masthead.jpg");
	height:31px;
	}

/* ----- content-left ----- */

#column-left {
	width:635px;
	float:left;
	border-right:1px solid #e4adb4;
	}
	
	#column-left p {
		margin:4px 53px 10px 0px;
		line-height:20px;
		}
		
	#img-book {
	margin-left:44px;
	margin-top:6px;
	}
	
	.img-buy {
	margin:0 0 0 280px;
	}
	
#column-left-sub {
	background:url("../images/left-top.gif") no-repeat;
	width:651px;
	float:left;
	}
	
	#column-left-sub p, #column-left-sub ul {
		margin:0px 21px 10px 281px;
		line-height:20px;
		}
		
	#column-left-sub h2 {
		margin:0px 21px 0px 281px;
	}
		
	#column-left-sub ul { padding-left:0px; }
		#column-left-sub ul li { 
			background:transparent url("../images/bullet.gif") 0px 7px no-repeat;
			padding-left:17px;
			font-weight:bold;
			}

/* ----- content-right ----- */

#column-right {
	width:356px;
	float:left;
	}

	#column-right p, #column-right-sub p {
		margin:0 0px 10px 99px;
		text-align:left;
		}
		
#column-right-sub {
	background:url("../images/right-top.gif") no-repeat;
	width:341px;
	float:left;
	padding-top:369px;
	}

/* ----- bottom-wrap ----- */
 
#bottom-wrap {
	background:url("../images/bottom-wrap.gif") no-repeat;
	height:23px;
	clear:both;
	color:#c15d72;
	font-size:10px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
	padding-top:40px;
	width:100%; /* fix for Safar */
	}

#bottom-wrap-main {
	background:url("../images/bottom-wrap-main.gif") bottom no-repeat;
	height:26px;
	clear:both;
	color:#c15d72;
	font-size:10px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
	padding-top:18px;
	width:100%; /* fix for Safar */
	}
	
/* header framework
 * ------------------------------------------------------------------------- */

#book-top {
	background:url(../images/book-main.gif) no-repeat;
	height:363px;
	}
	
	#book-top p {
	padding:186px 358px 0 280px;
	}
	
	#img-message {
	margin-top:6px;
	}
	
	.title-subhead {
	margin:122px 0 17px 250px;
	}

	body#index #book-top  { background:url("../images/book-main.gif"); height:363px; }
	body#about #book-top-sub  { background:url("../images/book-sub.gif") no-repeat; }


/* footer
 * ------------------------------------------------------------------------- */
 
#footer-top {
	width:992px;
	margin:0 auto;
	text-align:center;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	background-color:#ffe6e7;
	}


#footer-top a:link, #footer-top a:visited { color:#c15d72; text-decoration:underline; }
#footer-top a:hover, #footer-top a:active { color:#000; }

#footer-top ul {padding:10px 0; color:#c15d72;}

#footer-top li { /* if your li's float, you can adjust border height w/ line-height */
	padding:0 5px 0 7px;
	display: inline;
	}

	#footer li.first { border: none; }
	
	/* Horozontal Sprite Nav
 * ------------------------------------------------------------------------- */

#nav { 
	background:url("../images/book-nav.jpg") no-repeat; 
	width:992px; 
	height:25px; 
	margin:0;
	padding:0; 
	}

#nav span { display: none; }

#nav li, #nav a { height:25px; display:block; } 

#nav li { float:left; list-style:none; _display:inline; }

#nav-01 { width: 70px; margin-left: 67px;}
#nav-02 { width: 72px; margin-left:3px;}
#nav-03 { width: 86px; margin-left:3px;}
#nav-04 { width: 66px; margin-left:3px;}



/*-------------- (-79px) X position of button / (-30px) height of image from above ------------- */
#nav-01 a:hover { background:url("../images/book-nav.jpg")  -67px -25px no-repeat; }
#nav-02 a:hover { background:url("../images/book-nav.jpg") -140px -25px no-repeat; }
#nav-03 a:hover { background:url("../images/book-nav.jpg") -215px -25px no-repeat; }
#nav-04 a:hover { background:url("../images/book-nav.jpg") -304px -25px no-repeat; }

/*-------------- OPTIONAL - Keeps the hover state on each page based on body #id ------------- */
body#home #nav-01 { background:url("../images/book-nav.jpg")  -67px -25px no-repeat; }
body#about #nav-02 { background:url("../images/book-nav.jpg") -140px -25px no-repeat; }
body#authors #nav-03 { background:url("../images/book-nav.jpg") -215px -25px no-repeat; }
body#buy #nav-04 { background:url("../images/book-nav.jpg") -304px -25px no-repeat; }


