/* Adapted from Eric Meyer's reset styles */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	font-size: 0.76em;
	background: #737373 url(../images/background.gif) left top repeat-x;
	color: #e6e6e6;
	font-family: Arial, sans-serif;
}
ol, ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

strong { font-weight: bold; }
em { font-style: italic; font-size: 1.0em; line-height: 1.2em; }



a:link, a:visited {
	color: #e6e6e6;
	text-decoration: underline;
}

a:hover, a:active {
	color: #fff;
	background-color: #666666;
	text-decoration: none;
}

#page {
	width: 770px;
	background-color: #747474;
	margin: 0 auto;
}

#masthead {
	background: transparent url(../images/masthead-bkgd.gif) left center repeat-x;
	height: 53px;
	border-bottom: 1px solid #888;
}

#logo {
	float: left;
	padding: 16px 0 0 12px;
}

#masthead ul {
	float: right;
}

#masthead ul li {
	float: left;
	width: 77px;
	height: 53px;
}

#masthead li a {
	display: block;
	height: 53px;
	width: 100%;
	text-align: center;
	text-indent: -999em;
	overflow: hidden;
}

#masthead li#homenav { width: 78px; }

#masthead li#homenav, #masthead li#homenav a:link, #masthead li#homenav a:visited {
	background-image: url(../images/home-tab.gif);
}

#masthead li#g1nav, #masthead li#g1nav a:link, #masthead li#g1nav a:visited {
	background-image: url(../images/gallery1-tab.gif);
}

#masthead li#g2nav, #masthead li#g2nav a:link, #masthead li#g2nav a:visited {
	background-image: url(../images/gallery2-tab.gif);
}

#masthead li#reviewnav, #masthead li#reviewnav a:link, #masthead li#reviewnav a:visited {
	background-image: url(../images/review-tab.gif);
}

#masthead li#cvnav, #masthead li#cvnav a:link, #masthead li#cvnav a:visited {
	background-image: url(../images/cv-tab.gif);
}

#masthead li#contactnav, #masthead li#contactnav a:link, #masthead li#contactnav a:visited {
	background-image: url(../images/contact-tab.gif);
}

#masthead li a:link, #masthead li a:visited {
	background-position: center top;
}

#masthead li a:hover, #masthead li a:active, #masthead li.current a:link, #masthead li.current a:visited {
	background-position: center bottom;
}

#main {
	position: relative;
	overflow: auto;
	width: 100%;
	padding: 12px 0 24px;
}

h1 {
	text-indent: -999em;
	height: 18px; 
	background-repeat: no-repeat;
	overflow: hidden;
}

h2 {
	font-weight: bold;
	font-size: 1.1em;
	margin: 1.2em 0 0.6em;
}

.home h1 { background-image: url(../images/home-h1.gif); width: 201px; }
.review h1 { background-image: url(../images/review-h1.gif); width: 287px; }
.cv h1 { background-image: url(../images/cv-h1.gif); width: 104px; }
.cv h1.full { background-image: url(../images/fullcv-h1.gif); width: 100px; }
.contact h1 { background-image: url(../images/contact-h1.gif); width: 94px; }

p, #textcol li, blockquote {
       line-height: 1.3em;
}

p, blockquote, cite { display: block; margin: 0.6em 0; }

blockquote { font-style: italic; }

blockquote cite { display: inline; font-style: normal; }

#textcol {
	float: left;
	width: 308px;
}

.review #textcol { width: 385px; }

#textcol .inner {
	padding: 12px;
}

#paintinglabel p {
	padding-top: 4em;
	font-size: 90%;
	line-height: 1.4em;
	padding-right: 20px;
}

#painting {
}

#painting img {
	display: block;
	border: 12px solid #606060;
}

/*
#painting a:link img, #painting a:visited img {
	border-color: #766f60;
}
#painting a:hover img, #painting a:active img {
	border-color: #625d4f;
}
*/

#footer {
	border-top: 1px solid #808080;
	background-color: #6a6a6a;
	padding: 24px 12px;
	text-align: center;
	font-size: 80%;
	color: #aaa;
}

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

#footer a:hover, #footer a:active { color: #fff; }


/* Styles for main painting view page:
========================================== */

.paintings #painting img {
	margin: 0 auto;
}

.landscape {
	padding: 30px 0 30px;
}

#back {
	padding: 200px 0 0 40px;
	float: left;
}

#forward {
	padding: 200px 40px 0 0;
	float: right;
}

#back a, #forward a {
	display: block;
	width: 45px;
	height: 45px;
	text-indent: -999em;
	overflow: hidden;
}

#back a { 
	background: transparent url(../images/goback2.gif) center top no-repeat;
}
#forward a { 
	background: transparent url(../images/goforward2.gif) center top no-repeat;
}

#back a:link, #back a:visited, #forward a:link, #forward a:visited {
	background-position: center top;
}

#back a:hover, #back a:active, #forward a:hover, #forward a:active {
	background-position: center bottom;
}

#details h1 {
	text-indent: 0;
	font-size: 1em;
	text-align: center;
	color: #d2d1cd;
	margin: 12px 0 0;
	height: auto;
}

#details p {
	font-size: 90%;
	text-align: center;
	color: #c1c0bc;
	margin: 0.2em 0 0;
}

.optionsbtn {
	display: block;
	height: 128px;
	position: absolute;
	text-indent: -999em;
	overflow: hidden;
}

.optionsbtn:link, .optionsbtn:visited {
	background-position: right top;
}

.optionsbtn:hover, .optionsbtn:active {
	background-position: right bottom;
}

#open {
	display: none;
	background-image: url(../images/options-button.gif);
	top: 24px; right: 0;
	width: 23px;
}

#close {
	display: none;
	background-image: url(../images/options-button-open.gif);
	top: 24px; right: 158px;
	width: 25px;
	z-index: 100;
}

#options {
	display: none;
	position: absolute;
	top: 24px; right: 0;
	width: 158px;
	height: 128px;
	background: transparent url(../images/options-panel.gif) center top no-repeat;
	z-index: 100;
}

#options li {
	padding: 16px 0 14px 17px;
}

#thumbsbtn, #autobtn {
	display: block;
	width: 125px;
	height: 34px;
	text-indent: -999em;
	overflow: hidden;
}

#thumbsbtn { background-image: url(../images/thumbs-button.gif); }
#autobtn { background-image: url(../images/auto-button.gif); }

#thumbsbtn:link, #thumbsbtn:visited, 
#autobtn:link, #autobtn:visited {
	background-position: left center;
}

#thumbsbtn:hover, #thumbsbtn:active, 
#autobtn:hover, #autobtn:active {
	background-position: right center;
}

/* Thumbnail pages 
=============================================== */
#thumbs {
	padding: 0 0 0 12px;
}

#thumbs td {
	width: 186px;
	height: 200px;
	text-align: center;
	vertical-align: middle;
}

#thumbs a:link img, #thumbs a:visited img {
	display: block;
	margin: 0 auto;
	border: 10px solid #606060;
}

#thumbs a:hover img, #thumbs a:active img {
	border-color: #505050; 
}

/* CV pages 
============================================== */

.cv #textcol { width: 536px; }

.cv ol li {
	margin: 0.3em 0;
}

.cv li span.title { font-style: italic; }

.cv #subnav {
	float: right;
	width: 230px;
}

.cv #subnav .inner {
	background-color: #666666;
	margin-right: 12px;
	padding: 12px;
}

.cv #subnav p {
	padding-left: 2px;
}

#fullcvbtn, #cvhlbtn {
	display: block;
	margin-top: 14px;
	width: 129px;
	height: 30px;
	background: transparent url(../images/complete-cv-btn.gif) center top no-repeat;
	text-indent: -999em;
	overflow: hidden;
}

#cvhlbtn {
	background: transparent url(../images/cv-highlights-btn.gif) center top no-repeat;
}

#fullcvbtn:link, #fullcvbtn:visited,
#cvhlbtn:link, #cvhlbtn:visited {
	background-position: center top;
}

#fullcvbtn:hover, #fullcvbtn:active,
#cvhlbtn:hover, #cvhlbtn:active {
	background-position: center bottom;
}

/* Contact page
====================================================== */

#contactdetails {
	float: left;
	width: 231px;
}

#sendmsg {
	float: right;
	width: 231px;
}

#sendmsg .inner {
	background-color: #766f60;
	margin-right: 12px;
	padding: 12px;
}

#join { padding-top: 0.2em; }

.contact h2 {
	margin: 0 0 0.5em;
	font-size: 1em;
	text-indent: -999em;
	height: 18px; 
	background-repeat: no-repeat;
	overflow: hidden;
}

.contact #textcol h2 { background-image: url(../images/join-h2.gif); width: 156px; margin-top: 2em; }

h2#uk { background-image: url(../images/uk-h2.gif); width: 22px; }
h2#usa { background-image: url(../images/usa-h2.gif); width 31px; margin-top: 1.5em; }
#sendmsg h2 { background-image: url(../images/send-h2.gif); width: 124px; }

p#vcard {
	background: transparent url(../images/vcard-icon.gif) left center no-repeat;
	padding: 2px 0 2px 28px;
}

#contactdetails {
	font-size: 1.1em;
}

#contactdetails .inner {
	padding: 12px 12px 0 0;
}

p.fn {
	margin: 0;
}

p.adr { margin-top: 0; }

p.email { margin: 1.5em 0; }

.tel { font-weight: bold; }

.contact label {
	display: block;
/*	color: #c7c1b1;*/
	font-size: 90%;
	letter-spacing: 0.1em;
	margin-top: 0.5em;
}

span.required {
	font-weight: bold;
	font-size: 120%;
	line-height: 1em;
}

.contact .textbox {
	display: block;
	width: 194px;
	margin: 0.2em 0 0.6em;
	padding: 0.1em 0;
	border-width: 0;
	/*background-color: #b4b0a8;*/
	color: #201d17;
}

.contact #join .textbox { margin-top: 0.4em; }

.contact .textbox:focus { background-color: #d6d3cd; }

.contact .checkbox {
	display: inline;
	font-size: 100%;
	letter-spacing: 0;
	width: auto;
}

.contact .button {
	margin: 0.8em 0 0;
	width: 194px;
	color: #eee;
	border: 1px solid #8a8478;
	border-right: 1px solid #3c3930;
	border-bottom: 1px solid #3c3930;
	padding: 0.3em 0;
	background: #686254 url(../images/button-bkgd.gif) left center repeat-x;
}

.contact #join .button { margin-top: 0; }

.contact .button:hover {
	background-image: none;
}

.contact .button:active {
	background-image: none;
	border: 1px solid #3c3930;
	border-right: 1px solid #8a8478;
	border-bottom: 1px solid #8a8478;
}

.error {
	font-weight: bold;
	color: #FFA07A;
}


/* Slideshow pages
========================================================== */
body.slideshow {
	background-color: #737373;
	background-image: none;
}

.slideshow #masthead {
	display: none;
}

.slideshow #painting {
	margin-top: 54px;
}

.slideshow #painting img {
	margin: 0 auto;
}

a#stop {
	margin: 48px auto 0;
	text-align: center;
	display: block;
	width: 8em;
	color: #ccc;
	border: 1px solid #888;
	border-right: 1px solid #333;
	border-bottom: 1px solid #333;
	padding: 0.3em 0;
	background: #666 url(../images/button-bkgd.gif) left center repeat-x;
	text-decoration: none;
}

a#stop:hover, a#stop:active {
	background-image: none;
}

