*{padding:0; margin:0;}

.corner-t-l, .corner-t-r, .corner-b-l, .corner-b-r
{position:absolute; width:10px; height:10px;}

.corner-t-l {top:0px; left:0px; background:url(images/corner-t-l.gif);}
.corner-t-r {top:0px; right:0px; background:url(images/corner-t-r.gif);}
.corner-b-l {bottom:0px; left:0px; background:url(images/corner-b-l.gif);}
.corner-b-r {bottom: 0px; right:0px; background:url(images/corner-b-r.gif);}

div.sides {position: absolute; top:10px; bottom:10px; left:0; right:0; background:#363636;}
div.top-and-bottom {position: absolute; top:0; bottom:0; left:10px; right:10px; background:#363636;}

hr{width:50%; margin:auto;}
h2{text-align:center;}
img{border:none;}

/* forms: */
.left{clear:left;}
form{text-align:left;}
#message{position:absolute; top:135px; left:0; right:5px; bottom:27px;}
#submit{position:absolute; right:5px; bottom:5px;}

.padded{
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 10px;
}

html, body{
	position: relative;

	height: 100%;
	width: 100%;

	font: 12pt georgia,palatino,times;
	text-align: center;
	color: black;
}

div.thumb-box{
	position: relative;
	margin: 1px;
	background: center center transparent no-repeat;
	float: left;
	width: 170px;
	height: 170px;
}

a.thumbnail{
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background: no-repeat center center;
}
div.overlay1{
	position: relative;
	height: 100%;
	width: 100%;
	background: url(images/blue-overlay.png); /* blue=#004477; green=#004411; brown=#AA8855; */
}

div.overlay2{
	position: relative;
	height: 100%;
	width: 100%;
	background: url(images/white-overlay.png);
}

#everything{
	position: absolute;
	width: 100%;
	height: 800px;
	min-width: 900px;
	top: 0;
	left: 0;
}

#header{
	position: relative;
	height: 100px;
	background: white url(images/gradient1.jpg) bottom left repeat-x;
}

#footer a{color:white;}
#footer div{position:absolute; left:0; right:0; top:0; color:white;}
#footer{
	position: relative;
	height: 100px;
	background: white url(images/gradient2.jpg) top left repeat-x;
	font-size: .9em;
}

#main{
	position: relative;
	height: 600px;

	border-top: 2px solid white;
	border-bottom: 2px solid white;
	background-position: bottom right;
	background-color: #242424;
	background-image: url(images/bg1.jpg);
	background-repeat: no-repeat;
}

#page{
	position: absolute;
	width: 850px;
	height: 535px;

	border: 2px solid white;

	top: 28px;
	left: 30px;

	padding: 0px 0px 0px 0px;
}

#content{
	position: absolute;
	overflow: auto;
	top: 10px;
	right: 0px;
	bottom: 0px;
	height: 525px;
	width: 735px;
}

#links{
	position: absolute;
	top: 0px;
	left: 0px;

	width: 100px;
	height: 100%;
	padding: .5em .5em .5em .5em;
}




/**** oooohhh the sexy buttons! yes! yes! yes! ****/


/* generic container (i.e. div) for floating buttons */
.clear{
	overflow: hidden;
	width: 100%;
}


a.button{
	background: transparent url('images/bg_button_a.gif') no-repeat scroll top right;
	color: #444;
	position: relative;
	width: 80%;
	display: block;
	font: normal 12px arial, sans-serif;
	height: 24px;
	margin-right: 6px;
	padding-right: 18px; /* sliding doors padding */
	text-decoration: none;
	text-align: center;
}


a.button span{
	background: transparent url('images/bg_button_span.gif') no-repeat;
	display: block;
	height: 14px;
	line-height: 14px;
	padding: 5px 0 5px 18px;
}


a.button:active{
	background-position: bottom right;
	color: #000;
	outline: none; /* hide dotted outline in Firefox */
}


a.button:active span{
	background-position: bottom left;
	padding: 6px 0 4px 18px; /* push text down 1px */
}














/**** lightbox 2! ****/



#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}

#imageContainer{
	padding: 10px;
}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%
}

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}

#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
}
