/* NOW ON LUNAR */

/* ---------- Global and utility ---------- */
/* reset all elems we use except for from inputs, checkboxes and textarea ....  */
body, div, p, blockquote, h1, h2, h3, h4, h5, h6, 
span, address, acronym, dl, dt, dd, ul, ol, li, 
form, fieldset, label, legend, img, a, em, strong, object, iframe,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
}

body {
	font-family: arial, helvetica, sans-serif;
	font-size: 0.7em;
	color: #eee;
	background: #151515;
}

form,
input,
select {
	font-size: 1em;
}

ul {
	list-style: none;
}

.clearAfter:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* new - aug */
.clearAfter {
	*height: 1%;
}


img {
	display: block;
}


/* fix for dots on image links in FF3 */
a:focus, 
a:hover, 
a:active { 
	outline: none;
}


/* ---------- Structure ---------- */
#header {
	background: #333;
	padding: 6px 12px 12px 8px;
	border-bottom: solid 1px #444;
}

#header h1 {
	font-size: 200%;
}

#header h1 a {
	text-decoration: none;
	color: #EEE;
	font-weight: normal;
	font-size: 36px;
}

#wrapper {
	/* width: 960px; */
	 width: 980px;
	 padding: 20px 0 0;
	 *height: 1%;
}

#wrapper:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}



#mainNav {
	float: left;
	margin: 0 20px 0 0;
	/* width: 160px; */
	width: 159px;
	border: solid 1px #333;
	border-left: 0;
}

#mainNav ul li {
	font-weight: bold;
	padding: 0;
	margin: 0 0 20px 0;
	_height: 1%; /* weird... must be a cleaner fix */
	_width: 100%; /* weird... must be a cleaner fix */
	_overflow: auto; /* weird... must be a cleaner fix */
}

#mainNav ul li ul li {
	padding: 0;
	margin: 0 0 1px 0;
	_margin: 0 0 -2px; /* weird... must be a cleaner fix */
}

#mainNav ul li a {
	text-decoration: none;
	color: #999;
	display: block;
	padding: 3px 3px 3px 10px;
	font-size: 12px;
}

#mainNav ul li a:hover {
	color: #fff;
	background: #444; 
}

#mainNav ul li.selected a {
	font-weight: bold;
	color: #eee;
	background: #444;
}

#contentArea {
	width: 800px;
	float: left;
}

#footer {
	clear: both;
	text-align: center;
	padding: 40px 0 10px;
	width: 960px;
	color: #ccc;
}


/* ---------- Content ---------- */
#contentArea h2 {
	margin: 0 0 12px;
	font-weight: normal;
	font-size: 24px;
	color: #eee;
}

#contentArea p {
	line-height: 1.4em;
}


/* ---------- Components ---------- */
#photoGallery {
	padding: 5px;
	margin-left: -10px;
}


#page #photoGallery {
	float: left; 
	height: 502px;
	overflow: auto;
	width: 180px;
	/* width: 172px;   */
	/* margin: 0 10px 0 10px; */
	margin: 22px 0 0 10px;
}

/* NEW - DANIEL - jQuery stuff - June 30 */
#page #popupWrapper {
	float: left;
	width: 600px;
	overflow: hidden;
	text-align: center;
	margin: 10px 0;
}

#page #popupContainer img {
	display: inline;
	margin: 0 0 10px;
}

#photoGallery .photoThumb {
	float: left;
	margin: 3px;
	_display: inline;
}

#photoGallery .photoThumb .selected, 
#photoGallery .photoThumb.selected img {
	border: solid 1px #fff;
}

/* June 30 - w jQuery thing */
#page #photoGallery img {
	width: 70px;
	height: 70px;
	padding: 2px;
}

#homepage #photoGallery img {
	width: 130px;
	height: 130px;
	padding: 3px;
}

#homepage #photoGallery .photoThumb {
	margin: 10px;
}

#photoGallery .photoThumb .meta {
	display: block;
	text-indent: -5000em;
	overflow: hidden;
	height: 0;
	width: 0;
}




/* so alt tags not so blue... */
.photoThumb a:link,
.photoThumb a:visited {
	color: #ccc;
}

a:link img,
a:visited img {
	border: solid 1px #333;
	cursor: pointer;
}

a:hover img {
	border: solid 1px #363636;
	border: solid 1px #ddd;
}


/* ---------- Photo gallery popup ---------- */
#popupDiv {
	padding: 10px;
	background: #222;
	color: #ddd;
	width: 740px;
	text-align: center;
}

#popupCloseArea,
#popupNavArea,
#popupDiv .metadata {
	/* text-align: center; */
}

#popupNavArea {
	 margin: 0 auto 6px;
}

#popupDiv #popupMetadata {
	 margin: 6px auto;
}


/* ---------- Widgets ---------- */
.close,
.popupNav {
	cursor: pointer;
	font-weight: bold;
	color: #ccc;
}

.close:hover,
.popupNav:hover {
	color: #eee;
}

/* quick/dirty to center . revisit */
#ajaxedImg {
	text-align: center;
}

#popupDiv img {
	display: inline;
}


/* ---------- Info pages ---------- */
#contentArea.info {
	float: left;
	width: 500px;
}

#contentArea.info h3,
#contentArea.contact h3 {
	font-size: 120%;
}

#contentArea.info p,
#contentArea.contact p {
	margin: 0 0 10px;
}


/* -------- Blurb Book --------- */
a.buyTheBook {
	margin:12px 3px; 
	color: #eee;
}

a.buyTheBook:hover {
	color: #fff;
}



/* --------  Contact Form --------- */
#formContainer {
	width: 500px;
	vertical-align: top;
	text-align: left;
	background-color: #eee;
	border: 1px solid #ddd;
	overflow: visible;
	float: left;
	color: #000;
}

#contactPict {
	float: left;
	margin: 40px 0 0 30px;
}

#contentArea.contact #contactPict {
	margin: 0 0 0 30px;
}

fieldset {
	border: 0;
	padding: 10px;
}

#contactForm p {
	clear: both;
}

label {
	cursor: pointer;
	font-weight: bold;
	width:25%;
	float:left;
	display:block;
	text-align: right;
	margin: 0 10px 0 0;
}

#contactForm input.text {
	width: 17.5em;
}

#contactForm textarea {
	width: 15em;
}

#contactForm p.instructions {
	font-weight: bold;
	font-size: 90%;
	margin: 0 0 20px;
}

#submit {
	border: 1px solid #999;
	background: #E4E4E4;
	margin: 5px 0 0 0;
	cursor: pointer;
	float: right;
	font-weight: bold;
}

.errorMsg {
	font-weight: bold;
	font-size: 90%;
	color: #f00;
}

.thankyou {
	margin: 20px 0;
	size: 110%;
	font-weight: bold;
}
