#thumbnail-small {
	width: 95px;
	max-height: 140px;
	height:auto !important;
  	height:140px;
	position: relative;
	margin: 0 15px 15px 0;
	color: #000000;
	text-align: center;
	font: small-caption;
	float: left;
	border:1px solid #336699;
	background-color: #eeeeee;
	padding-top: 8px;
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 5px;
	}

#thumbnail-small img  {
	margin-bottom: 5px;
	border:1px solid #336699;
	}

#picture-box {
	border:solid 1px #336699;
	background-color:#eeeeee;
	padding: 7px 7px 7px 7px; /* inside the box*/
	font-size:11px;
	text-align:center;
	font: small-caption;
	margin-top:5px;
	margin-bottom:10px;
	}
	
#picture-box img {
	border:1px solid #336699;
	}

#gallery-background {
	/* background-color:#CCCCCC; */
	padding-bottom: 15px;  /*inside the box */
	/* padding-right: 8px;  inside the box */
	padding-left: 20px;  /* inside the box */
	margin-top:5px;
	margin-bottom:5px;
	float:left;
	border:solid 2px #666666;
	}

#gallery-thumb {
	/* padding: 5px 5px 5px 5px;  inside the box*/
	float: left;
	margin-bottom:15px;
	margin-right:20px;
	}

#gallery-thumb img  {
	border:solid 1px #cccccc;
	}

#gallery-background2 {
	background-color:#CCCCCC; 
	padding-bottom: 15px;  /*inside the box */
	/* padding-right: 8px;  inside the box */
	padding-left: 20px;  /* inside the box */
	margin-top:5px;
	margin-bottom:5px;
	float:left;
	border:solid 2px #666666;
	}

#gallery-thumb2 {
	/* padding: 5px 5px 5px 5px;  inside the box*/
	float: left;
	margin-bottom:15px;
	margin-right:20px;
	}

#gallery-thumb2 img  {
	border:solid 1px #000000;
	}

#gallery-background3 {
	/* background-color:#CCCCCC; */
	padding-bottom: 15px;  /*inside the box */
	/* padding-right: 8px;  inside the box */
	padding-left: 20px;  /* inside the box */
	margin-top:5px;
	margin-bottom:5px;
	float:left;
	border:solid 3px #cccccc;
	}

/*Thumbnail Viewer*/

#thumbBox{ /*Outermost DIV for thumbnail viewer*/
position: absolute;
left: 0;
top: 0;
width: auto;
padding: 15px;
background: #000000;
visibility: hidden;
z-index: 10;
cursor: pointer;
font: bold 12px Verdana; /*text inside larger viewer*/
color: #FFFFFF;
line-height: 3.0;
text-align: center;
}

#thumbBox .footerbar{ /*Footer DIV of thumbbox that contains "close" link */
font: bold 12px Arial;
line-height: 1.1em;
color: white;
text-align: right;
}

#thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
background-color: black;
}

#thumbLoading{ /*DIV for showing "loading" status while thumbbox is being generated*/
position: absolute;
visibility: hidden;
border: 1px solid black;
background-color: #EFEFEF;
padding: 5px;
z-index: 5;
}
