body {background:#e48027; text-align:center;/* IE hack to center page contents */
	margin:0; font-family:Arial, Helvetica, sans-serif; font-size:14px; color:#000;}

h1, h2, h3, h4 {padding:0; margin:0;}
h2 {font:bold 20px Arial, Helvetica, sans-serif; color:#333; padding:6px 0px 6px 0px;} /* page titles */
h3 {font:bold 18px Arial, Helvetica, sans-serif; color:#333; padding-top:6px;} /* content area subtitles */

p {margin:0; padding:6px 0px 6px 0px; line-height:22px;}
p.error {background:url(admin/icons/warning.gif) 0 8px no-repeat; margin-left:20px; padding-left:20px; color:#de0000;}
p.thanks {color:#9E3E42 !important;}
ul {margin:0; padding:6px 0 6px 20px;}
ol {margin:0;}
li {line-height:15px; padding:0;}

form {margin:0;}
img {border:0;}
.clearFloats {clear:both; line-height:0px; height:0px; font-size:0px;}
.skiplink {display:none;}

div#printlogo {display:none;}


/* ---- links ----------------------------------------- */
a {color:#00c; text-decoration:underline;}  
a:visited {}
a:hover {color:#000; text-decoration:none;}
a:active {color:#00c;}
a:active, a:focus {outline:none;}


/* ---- forms ----------------------------------------- */
form {margin:0;}
input, textarea, select, option {font-family:Arial, Helvetica, sans-serif; font-size:14px;}
input {border:1px solid #fff; width:300px;}
textarea {border:1px solid #fff; width:300px; height:180px;}
input.button {border:1px solid #ccc; background-color:#ccc; color:#333; width:80px;}

/* form tables */
table#formTable {margin:5px auto 10px;}
	table#formTable td {vertical-align:top; padding:4px; font-size:14px;}
	table#formTable td.right {text-align:right;}


/* ---- ids & classes ----------------------------------------- */
#frame { /* this centers the page */
	 width:760px; margin:20px auto 5px; padding:0; text-align:left; background:#fbecbf url(images/bg-frame.jpg) repeat-y;  
	 border:3px solid #fff;}

#header {width:760px; height:45px; padding-top:15px; background:#369; border-bottom:3px solid #fff; }
	h1 {margin:0 auto 0; width:760px; height:37px;}
	h1 span {display:none;}
	h1#home {background:url(images/title-home.jpg) no-repeat;}
	h1#about {background:url(images/title-about.jpg) no-repeat;}
	h1#books {background:url(images/title-books.jpg) no-repeat;}
	h1#news {background:url(images/title-news.jpg) no-repeat;}
	h1#contact {background:url(images/title-contact.jpg) no-repeat;}

#navmenu {float:left; width:170px;}
	#navmenu ul {list-style:none; padding:0; margin:40px 0 0 5px;}
	#navmenu li {display:block;}
	#navmenu a {display:block; margin:8px 0;  height:35px;}
	#navmenu span {display:none;}
	a#homelink {background:url(images/nav-home.gif) no-repeat; width:80px;}
		a#homelink:hover {background:url(images/nav-home-over.gif) no-repeat;}
	a#aboutlink {background:url(images/nav-about.gif) no-repeat; width:170px;}
		a#aboutlink:hover {background:url(images/nav-about-over.gif) no-repeat;}
	a#bookslink {background:url(images/nav-books.gif) no-repeat; width:80px;}
		a#bookslink:hover {background:url(images/nav-books-over.gif) no-repeat;}
	a#newslink {background:url(images/nav-news.gif) no-repeat; width:170px;}
		a#newslink:hover {background:url(images/nav-news-over.gif) no-repeat;}
	a#contactlink {background:url(images/nav-contact.gif) no-repeat; width:90px;}
		a#contactlink:hover {background:url(images/nav-contact-over.gif) no-repeat;}
		
#content {float:right; width:578px; padding-top:40px; position:relative; background:url(images/bg-interior.gif) 6px 6px no-repeat;}
	#pad {padding:0 40px;}
	div#pagePhoto {display:block; float:right; margin:10px 20px 20px 20px; display:inline;}
			div#pagePhoto img {}
			div#pagePhoto p {text-align:right; font-size:10px; padding:0; color:#666;}
	#bookcoverHome {position:relative; width:577px;}
		#bookcoverHome img {display:block;}
		#bookcoverHome p {padding:6px 20px;}
		/* "on sale now" button */ 
		#onsalenow {position:absolute; right:0; top:280px; width:217px; height:141px; background:url(images/on-sale-now.png) no-repeat;}
			#onsalenow {/*behavior:url(scripts/iepngfix.htc); z-index:30;*/}
			#onsalenow a {display:block; background:transparent; position:absolute; top:25px; left:20px; width:160px; height:80px; text-indent:-4000px;}
	/* books */
	div.bookbox {padding-bottom:20px;}
		div.bookextras {float:right; margin:10px 20px 10px 20px; display:inline;}
		div.bookextras img {display:block;}
			a.buybutton {display:block; width:110px; height:70px; background:url(images/buybutton.gif) no-repeat; text-indent:-4000px; text-decoration:none;}
	
	#bottomnav {width:578px; height:35px; background:#f8e098; font-size:11px; margin-top:20px;}
	#bottomnav ul {list-style:none; text-align:center; padding-top:10px;}
	#bottomnav li {display:inline; padding:0 4px 0 7px; border-left:1px solid #000; line-height:14px;}
	#bottomnav a {color:#000;}
	 
	 
	 
/* Footer styles */ 
#footer {width:760px; color:#fff; font-size:11px; margin:0 auto; text-align:left;}
	#footer p {padding:0 0 8px 0; line-height:12px;}
	#footer a {color:#fff; text-decoration:underline; font-weight:normal;}
	#footer a:hover {text-decoration:none;}
	
	
/* ---- admin panel styles -------------------- */
#adminmenu {font-size:10px; margin:3px 3px 0 0; position:absolute; right:0; top:0; 
	border-right:1px solid #666; border-bottom:1px solid #666; border-top:1px solid #eee; border-left:1px solid #eee; width:170px; z-index:100;}
	#adminmenu table {text-align:left; background-color:#fff; border:1px solid #ccc; width:100%;}
	#adminmenu table td {padding:3px;}
	#adminmenu img {margin-left:6px;}
	#adminmenu a, #adminmenu a:visited, #adminmenu a:active {margin-right:6px; text-decoration:none; color:#2970C7;}
	#adminmenu a:hover {color:red;}
	
/* ---- debug panel styles -------------------- */
div#debug {width:200px; text-align:left; background:#efefef; border:1px solid #ccc; padding:4px 10px; margin:10px; color:#666;}
	div#debug p { font-size:11px;}