/* ------------------------------------------------------------
    reset nasty things - all ccs by jason of custardfish - HI!
------------------------------------------------------------ */


* {
	margin: 0;
	padding: 0;
}




/* ------------------------------------------------------------
    basic elements
------------------------------------------------------------ */

body {
	font-size: 62.5%;
	margin: 0; padding: 0;
	font-family: Georgia, Arial, sans-serif;
	color: #5F657A;
	background: url(images/background-texture.jpg) top left repeat;
	}

img { border: none }

h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, legend { padding: 0em;margin: 0 }

ul, li, dl, dt, dd { list-style: none }



/* ------------------------------------------------------------
    basic site structure
------------------------------------------------------------ */

#wrapper {
	padding: 35px 0 35px 0;
	height: 30px;
	width: 100%;
	background: url(images/top-bar.png) top left repeat-x;
}

#capTop{
	margin: 0 auto;	height: 20px; width: 824px;
	background: url(images/header-background.png) top left no-repeat;
}

#main {
	margin: 0 auto; width: 824px;  /* was 824px wide */
	background: url(images/body-background.png) top left repeat-y;
	min-height: 500px;
}

#capBottom {
	padding-bottom: 18px; margin: 0 auto;	height: 20px; width: 824px;
	background: url(images/footer-background.png) top left no-repeat;
}

#clear {
	clear: both;
}

/* ------------------------------------------------------------
    main naviation bits
------------------------------------------------------------ */

#navigation {
	position: relative;
	float: left;
	margin: 56px 0 0 -30px;
	width: 40px;
	font-size: 1.4em;
	line-height: 1.8em;
	text-indent: -9999px;
}

/*
#navigation a:link, #navigation a:visited {
	color: #000;
	padding: 5px;	
	display: block;
}

#navigation a:hover, #navigation a:active {background: #AFCE30;}
*/

#navigation ul li {display: block;	width: 40px; height: 96px;}

#navigation ul li a:link, #navigation ul li a:visited{	
	display: block;	width: 40px; height: 96px;
}

#navigation ul li a:hover, #navigation ul li a:active{	
	outline: none;
}




#navigation ul li.home a:link, #navigation ul li.home a:visited{	
	background: url(images/tab-home.png) 4px 0 no-repeat;
}

#navigation ul li.home a:hover, #navigation ul li.home a:active{	
	background: url(images/tab-home.png) 1px 0 no-repeat;
}

#navigation ul li.home a.selected {	
	background: url(images/tab-home.png) -40px 0 no-repeat;
}

#navigation ul li.blog a:link, #navigation ul li.blog a:visited{	
	background: url(images/tab-blog.png) 4px 0 no-repeat;
}

#navigation ul li.blog a:hover, #navigation ul li.blog a:active{	
	background: url(images/tab-blog.png) 1px 0 no-repeat;
}

#navigation ul li.blog a.selected {	
	background: url(images/tab-blog.png) -40px 0 no-repeat;
}

#navigation ul li.contact a:link, #navigation ul li.contact a:visited{	
	background: url(images/tab-contact.png) 4px 0 no-repeat;
}

#navigation ul li.contact a:hover, #navigation ul li.contact a:active{	
	background: url(images/tab-contact.png) 1px 0 no-repeat;
}

#navigation ul li.contact a.selected {	
	background: url(images/tab-contact.png) -40px 0 no-repeat;
}

/* ------------------------------------------------------------
    header bits - logo's etc
------------------------------------------------------------ */

#header {
	padding: 10px 0 0 28px;
}

#header h1 {
	width: 206px; height: 26px;
	color: #BD3C45;
	font-size: 2.6em;
	/*padding: 10px 0 0 40px;*/
	margin: 2px 0 12px 10px; 
	text-indent: -9999px;
	background: url(images/books-at-custardfish.jpg) 0 0 no-repeat;
	float: left;
}

#header h1 span {font-style: italic;}

#header h2 {
	float: right;
	width: 225px; height: 30px;
	color: #4F99C1;
	background: url(images/custardfish-logo.jpg) 0 0 no-repeat;
	font-family: Arial, sans-serif; 
	font-size: 2.8em;
	text-transform: uppercase;
	margin: 1px 40px 0 0;
	padding: 0;
	text-indent: -9999px;
}


/* ------------------------------------------------------------
    content bits - main text etc etc
------------------------------------------------------------ */

#content {
	width: 748px; /* less 2x 10px padding!! */
	margin: 10px auto 20px auto;
	padding: 20px 10px 10px 10px;
	background: #fff;
}

#content h1 {
	font-size: 3.5em; color: #33424A; 
	width: 270px;
	padding: 0 0 0 6px;
	float: left;
}

#content #first p {
	font-size: 1.4em; line-height: 1.5em;
	padding: 9px 0 35px 10px;
	width: 450px;
	float: left;
	}

#content p {
	font-size: 1.4em; line-height: 1.5em;
	padding: 9px 0 35px 10px;
	}

#content p a:link, #content p a:visited {
	color: #F06674; font-weight: bold;
}

#content p a:hover, #content p a:active {color: #33424A;}

#content h2 {
	clear: both;
	font-size: 2.5em; color: #FF9933; font-style: italic;
	background: url(images/vector-bg.gif) top left repeat-x;
	width: 734px;
	margin: 0 auto;
	padding: 10px 0pt 20px 4px;
}

div.gallery {
	width: 740px; margin: 0 auto 40px auto;
}

div.gallery img {
	border: 1px solid #FF9933;
	padding: 10px;
	margin: 0 12px 0 12px;
}

#raster.gallery img {border: 1px solid #2FACAC;}

#paper.gallery img {border: 1px solid #9AB660;}


#content h2.raster {color: #009999; background: url(images/raster-bg.gif) top left repeat-x;}

#content h2.paper {color: #799E2C; background: url(images/paper-bg.gif) top left repeat-x;}

/* ------------------------------------------------------------
    footer bits - serives and contact info etc
------------------------------------------------------------ */
#footer {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	line-height: 1.4em;
	color: #66898C;
	width: 760px;
	margin: 0 auto;
	padding: 0 0 10px 0;
}

#footer ul.services {
	float: left;
}

#footer ul.services li.header {color: #F06B78; font-weight: bold;}

#footer ul.contactInfo {
	text-align: right;
	color: #94B156;
	float: right;
}

#footer a:link, #footer a:visited {color: #F06674;}

#footer a:hover, #footer a:active {color: #33424A;}
