/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

/* Elements */

* {
	color: #8B8B8B;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	background: #FFFFFF url(images/img01.gif);
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

h4, h5, h6 {
}

p, ol, ul, dl, blockquote {
	margin-top: 0;
}

a {
}

a:hover {
	text-decoration: none;
	color: #000000;
}

/* Wrapper */

#wrapper {
	width: 600px;
	height: 100%;
	min-height: 100%;
	margin: 2;
	background: url(images/img02.gif) repeat-y;
}

html>body #wrapper {
	height: auto;
	margin-top: 2px;
	margin-right: auto;
	margin-bottom: 2px;
	margin-left: auto;
}

/* Header */

#header {
	width: 600px;
	height: 130px;
	background: url(images/img03.gif) no-repeat;
}

#header h1 {
	float: left;
	padding: 60px 0 0 20px;
	font-size: 14pt;
	letter-spacing: -1px;
}

#header h2 {
	float: right;
	padding: 25px 20px 0 0;
	font-size: 1.25em;
	letter-spacing: -1px;
	
}

#header a {
	text-decoration: none;
}

/* Menu */

#menu {
	width: 600px;
	height: 35px;
	padding-top: 13px;
	background: url(images/img04.gif);
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu li {
	display: inline;
}

#menu a {
	display: block;
	float: left;
	width: 112px;
	height: 19px;
	padding: 3px 4px 0 4px;
	text-align: center;
	text-decoration: none;
	background: url(images/img05.gif) no-repeat center top;
}

#menu .active a, #menu a:hover {
	background-image: url(images/img06.gif);
	color: #000000;
}

/* Content */

#content {
	width: 600px;
	background: url(images/img07.gif);
}

#content h2 {
	margin-bottom: 1em;
}

#content h3 {
	margin-bottom: 0;
}

#colOne {
	float: right;
	width: 340px;
	padding: 20px 20px 0 20px;
}

#colTwo {
	float: left;
	width: 180px;
	padding: 20px 20px 0 20px;
}

#colTwo ul {
	margin-left: 0;
	padding-left: 0;
	list-style-position: inside;
}

/* Footer */

#footer {
	width: 600px;
	background: url(images/img08.gif) no-repeat;
}

#footer p {
	margin: 0;
	padding: 20px 0 0 0;
	text-align: center;
	font-size: smaller;
}

/* Menu */

#nav, #nav ul {
    padding: 0;
    margin: 0;
    list-style: none; 
    line-height: 1;
}


#nav a {
	display: block;
	width: 9em;
}
#nav li {
	float: left;
	width: 9em;
}

#nav li ul {
	position: absolute;
	width: 8em;
	left: -999em;
}
#nav li:hover ul {
    left: auto;
}

#nav li ul ul {
    margin: -1em 0 0 10em;
}


sfHover = function() {
    var sfEls = document.getElementById("nav").getElementsByTagName("LI");
    for (var i=0; i<sfEls.length; i++) {
        sfEls[i].onmouseover=function() {
            this.className+=" sfhover";
        }
        sfEls[i].onmouseout=function() {
            this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

/* #nav li:hover ul, #nav li.sfhover ul {
    left: auto;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
    left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {
    left: auto;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul, #nav li.sfhover ul ul ul ul {
    left: -999em; */
} 
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul, #nav li li li li.sfhover ul {
    left: auto;
}

#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;
	}
