/* 
CSS Document for Rockpool Publishing
Author: James Nicol, www.glossopteris.com, February 2007
*/

/*------ Header Styles ------*/
#header {
	position:relative;
	width:725px;
	padding-top:30px;
	margin:auto;
}

/*---- Masthead Styles ----*/
#masthead {
	padding:0 2px;
}

/*---- Top Nav Styles ----*/
#top_nav {
	position:absolute;
	top:5px;
	right:5px;
	height:15px;
}
#top_nav a {
	color:#333333;
	text-decoration:none;
}
#top_nav a:hover {
	color:#990000;
	border-bottom:1px dotted #990000;
}


/*---- Nav Menu Styles ---*/
#nav_menu {
	position:relative;
	height:40px;
	margin-top:10px;
	background:url(../images/nav_background.gif) no-repeat top left;
	text-align:left;
	padding-top:7px;
	padding-left:10px;
}

/*-- Suckerfish Dropdowns --*/
#nav, #nav ul {
	list-style: none;
	font-size:12px;
}
#nav a {
	display: block;
	color:#333333;
	text-decoration:none;
	padding:0 9px;
	border-right:1px solid #666666;
}
#nav li {
	float:left;
	padding:3px 0
}
#nav li:hover {
	background:#F7F7F7;
}
#nav a#last_item {
	border:none;
}
#nav li ul {
	left: -999em;
	position: absolute; 
	background:url(../images/dropdown_bg.png) no-repeat bottom left;
	width:154px;
	padding-top:5px;
	padding-bottom:20px;
	margin-left:-2px;
}
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}
li.sfhover {
	background:#F7F7F7;
}
#nav li ul li { 
	float:none;
	list-style:none;
	width:150px;
	padding:2px 0;
	margin:0 2px;
}
#nav li ul a { 
	display: block;
	color:#000000;
	text-align:left;
	text-decoration:none;
	padding:3px 3px 3px 5px;
	border:none;
	font-size:11px;
	line-height:13px;
}
#nav li ul a:hover{ 
	color:#990000;
	background:#FFFFFF;
}


/*-- Google Search Box --*/
div#googleSearch {
	position:absolute;
	top:202px;
	right:14px;
}
form#site_search {
	display:block;
}
input#search_text {
	font-family:Arial, Helvetica, sans-serif;
	border-top:1px solid #666666;
	border-left:1px solid #666666;
	border-bottom:1px solid #FFFFFF;
	border-right:1px solid #FFFFFF;
	background:#F4F4F4;
	font-size:9px;
	padding:2px;
	width:110px;
}
input#search {
	background:none;
	border:none;
	font-family:inherit;
	font-size:9px;
	color:#333333;
}



















/*
	NEW WEBSITE
*/


body {
	background:#FFF url(../images/bg2.gif) repeat-y top right;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	margin:0;
	padding:0 0 50px 0;
	width: auto; height: 101%;
}

/*-- Whitespace reset --*/
* {
	margin:0;
	padding:0;
}

/*-- General Styles --*/
img, fieldset {
	border:none;
}
a {
	color:#454847;
	font-weight:bold;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}
h1 {
}
h1 span {
}
img {
	border:none;
}
table {
	border-collapse:collapse;
}
.form_input, textarea, select {
	padding:2px 3px 2px 3px;
	border:1px solid #CCCCCC;
	width:96%;
}
input, select, textarea {
	font-family:Arial, Helvetica, sans-serif;
}
p.success_message {
	text-align:center;
	margin:2px 5px;
	padding:5px;
	color:#669900;
	border:1px solid #669900;
	background:#EEFAE8;
}
p.fail_message {
	text-align:center;
	margin:2px 5px;
	padding:5px;
	color:#CC3300;
	border:1px solid #CC3300;
	background:#F9E9E4;
}



/* Masterhead */

#masterhead {
	background:url("../images/masterhead.gif") repeat-x;
	height:161px;
	position:relative;
}
#masterhead #note { 
	position:absolute;
	top:20px;
	right:30px;
	font:normal 14px Georgia,Verdana;
	color:#FFF;
	text-align:left;
	margin-left:500px;
}
a#rockpool_logo {
	position:absolute;
	top:0px;
	left:0px;
	height:142px;
	width:171px;
	background:url(../images/logo_full.gif) no-repeat top left;
}
a:hover#rockpool_logo {
	background:url(../images/logo_full.gif) no-repeat 0 -142px;
}


#masterhead ul {
	position:absolute;
	top:0px;
	left:171px;
	list-style:none;
	height:160px;
}
#masterhead ul li {
	float:left;
	text-align:left;
	height:142px;
	padding-left:30px;
	padding-bottom:18px;
	margin-right:1px;
	position:relative;
}
#masterhead a.mainlink { 	
	position:absolute;
	top:0;
	left:0;
	width:30px;
	height:142px;
	display:block;
}
li#tn_books {
	background:url(../images/topnav_buttons/books_off.gif) no-repeat top left;
}
li#tn_authors {
	background:url(../images/topnav_buttons/authors_off.gif) no-repeat top left;
}
li#tn_store {
	background:url(../images/topnav_buttons/store_off.gif) no-repeat top left;
}
li#tn_company {
	background:url(../images/topnav_buttons/company_off.gif) no-repeat top left;
}
li#tn_contact {
	background:url(../images/topnav_buttons/contact_off.gif) no-repeat top left;
}
li#tn_books.this_category {
	background:url(../images/topnav_buttons/books_on.gif) no-repeat top left;
}
li#tn_authors.this_category {
	background:url(../images/topnav_buttons/authors_on.gif) no-repeat top left;
}
li#tn_store.this_category {
	background:url(../images/topnav_buttons/store_on.gif) no-repeat top left;
}
li#tn_company.this_category {
	background:url(../images/topnav_buttons/company_on.gif) no-repeat top left;
}
li#tn_contact.this_category {
	background:url(../images/topnav_buttons/contact_on.gif) no-repeat top left;
}

#masterhead li table {
	border-collapse: collapse;
	background:url(../images/masterhead.gif) repeat-x top left;
}
#masterhead td {

}
#masterhead td a {
	line-height:23px;
	display:block;
	padding:0 10px;
	color:#FFFFFF;
	width:auto;
	height:auto;
}
#masterhead td a:hover {
	background:#FFFFFF;
	color:#2262A3;
	text-decoration:none;
}