body {
   text-align: center;
   background-color: #3f3f3f;
   color: #efefef;
   font-family: Tahoma;
   font-size: 11px;
   }
 
#wrapper {
	width: 986px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.clear {
  clear: both;
  }
  
#header-left {
  width: 50%;
  height: 40px;
  float: left;
  text-align: left;
  margin: 0px;
  padding: 0px;
  position: relative;
  z-index: 2;
  }
  
#header-right {
  width: 50%;
  height: 40px;
  float: right;
  text-align: right;
  margin: 0px;
  padding: 0px;
  position: relative;
  z-index: 3;
  }

#navbar {
	width: 986px;
	position: relative;
	background: url('images/navbar.jpg');
  background-repeat: no-repeat;
  height: 20px;
  margin: 0px;
  padding: 0px;
  padding-top: 6px;
  z-index: 4;
}

#navbar a, a:visited {
  position: relative;
  z-index: 100;
  color: #cbcbcb;
  font-family: Tahoma;
  font-size: 11px;
  text-decoration: none;
}

ul#nav {
position: relative;
list-style: none;
padding: 0;
margin: 0;
padding-left: 10px;
color: #cbcbcb;
text-align: left;
z-index: 101;
}

ul#nav li, ul#nav li ul li{
padding-left: 8px;
padding-right: 20px;
float: left;
position: relative;
}

ul#nav li a {
position: relative;
display: block;
}

ul#nav li a:hover {
position: relative;
color: #ffffff;
}

ul#subnav {
position: relative;
list-style: none;
padding: 0;
margin: 0;
padding-left: 0px;
color: #cbcbcb;
text-align: left;
z-index: 90;
}

li ul {
display: none;
background: #3f3f3f;
background-image: url('images/button.jpg');
background-repeat: no-repeat;
background-position: top;
list-style: none;
width: 100px;
text-align: left;
line-height: 2;
position: absolute;
z-index: 89;
top: 0;
left: 0;
margin-left: 0px;
margin-top: -6px;
padding-top: 28px;
padding-bottom: 6px;
}

li>ul {
top: 0;
left: 0;
}

li:hover ul, li.over ul {
display: block;
color: #ffffff;
}

#main {
  width: 986px;
  background: url('images/main_bg.jpg');
  background-repeat: no-repeat;
  height: 543px;
  margin: 0px;
  padding: 0px;
  text-align: center;
  position: relative;
  z-index: 0;
}

#printmain {
  width: 986px;
  color: #f0f0f0; 
  font-family: Tahoma; 
  font-size: 12px;
  background: url('images/main_bg.jpg');
  background-repeat: no-repeat;
  height: 543px;
  margin: 0px;
  padding: 0px;
  text-align: center;
  position: relative;
  z-index: 1;
}

#thumbs {
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 5;
}

#pagination {
  color: #666666;
}

#pagination a:link {
  color: #ffffff;
  text-decoration: none;
}

#pagination a:visited {
  color: #ffffff;
  text-decoration: none;
}

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

.buybutton {
  color: #f0f0f0; 
  font-family: Tahoma; 
  font-size: 12px;
  text-decoration: none;
  float: left; 
  height: 22px; 
  padding-bottom: 4px; 
  line-height: 22px; 
  margin-right: 0px;
  margin-left: 80px; 
  width: 100px; 
  text-align: center; 
  background-image: url('images/button.jpg');
}

.buybutton a:link, a:visited {
  color: #f0f0f0; 
  font-family: Tahoma; 
  font-size: 12px;
  text-decoration: none;
}

#print_options {
  width: 429px; 
  float:left; 
  background-color: #666666; 
  height: 20px; 
  padding-top: 6px; 
  text-align: center; 
  color: #333333;
  font-family: Tahoma; 
  font-size: 12px;
}

#print_options a, a:visited { 
  color: #333333;
  text-decoration: none;
  font-size: 12px;
}

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

#frame {
	width: 950px;
  height: 536px;
  line-height: 536px;
  margin: 0px;
  margin-top: 4px;
  padding: 0px;
  text-align: center;
  display: block;
  position: relative;
  background-image: url('images/frame_glow.png');
  z-index: 2;
 }

#frame img {
 position: absolute;
 width: 600px;
 height: 491px;
 top: 22px;
 left: 175px;
 z-index: 2; 
}

#rotator {
  position: absolute;
  width: 600px;
  height: 491px;
  top: 22px;
  left: 175px;
  z-index: -1;
}

#rotator img {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

#footer {
  width: 986px;
  height: 14px;
  text-align: right;
  margin: 0px;
  padding: 0px;
}

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#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-image: url(data:image/gif;base64,AAAA); 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; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
