/* gallery css functions only */
div#gal_wrapper {

	display:block;
	padding-right:15px;
	width: 720px;

}

div#gal_wrapper img {
border-width:1px;
border-color:red;
border-style:solid;
}
div#gal_wrapper img {
	border-color:#999;
	height:94px;
	width:94px;
	overflow:hidden;
}
div#gal_wrapper img:hover {
	border-color:red;
}
div.gal_image {
  float: left;
  width: 24%;
  clear:right;

}

div.gal_image p {
  text-align: center;
  font-size:14px;
  text-indent: 0;
  padding-bottom:1em;
  width:80px;  
}

div#pageing p{
	text-align:center;
	width:510px;
	position:relative;
	clear:left;
	float:right;
	color:#666;
	text-decoration:none;
}
div#pageing p a{
	color:#666;
	text-decoration:none;
}

div#pageing p a:hover{
	color:red;
	text-decoration:underline;
}

.pics_area {
	width:470px;
	float:right;
	margin: 20px;
}

#subnav{
	margin: -5px -5px 0 -5px;
	width:167px;
	float:left;
	background-color:#ddd;
	background-position:bottom;
	background-repeat:no-repeat;
	clear:none;
	border:solid 1px #a1a1a1;	
}
#subnav p{
	margin: 5px 10px 5px 10px;
	padding-bottom:5px;
	font-family:Trebuchet MS, Geneva;
	font-size:14px;
	line-height:24px;
}
#subnav a:link {
	color:#5a5a5a;
	text-decoration:none;
}
#subnav a:visited {
	color:#5a5a5a;
	text-decoration:none;
}
#subnav a:hover {
	color:#000000;
	text-decoration:underline;
}
#subnav a:active {
	color:red;
	text-decoration:underline;
}



a.edit:link, a.edit:visited {
	display:block;
	height:15px;
	line-height:15px;
	color:#666666;
	font-size:10px;
	width:37px;
}
a.edit:hover, a.edit:active {
	display:block;
	height:15px;
	line-height:15px;
	color:#66CC33;
	font-size:10px;
	width:37px;
}

/* forms */
fieldset {
	border-color: #66CC33;
	border-width:1px;
	border-style:solid;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	color:#333333
}

legend {
	border-color: #66CC33;
	border-width:1px;
	border-style:solid;
	color:#FF0000;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

input.buttons {
	background-color:#66CC33;
	color:#fff;
}

a#close:link, a#close:visited {
	color:#666666;
	display:block;
	height:auto;
	width:43px;
}

a#close:hover, a#close:active {
	color:#fff;
	background-color:#66CC33;
	display:block;
	height:auto;
	width:43px;
}


/* lightbox css */

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