/* CSS Image Viewer from CSSplay (www.cssplay.co.uk) */

#gallery 
{ position: relative; 
  width: 656px;
  padding-top: 8px;
}

#thumbs 
{ width: 205px; 
  float: right;
}

#thumbs a 
{ display: block; 
  float: right; 
  margin: 1px 0px 3px 10px; 
  width: 50px; 
  height: 50px; 
  border: 2px solid #FFF;
}

#thumbs a img 
{ width: 50px; 
  height: 50px; 
  border: 0;
}

#thumbs a:hover {border-color: #8A8A8A;}

#thumbs a:hover img 
{ position: absolute; 
  width: auto; 
  height: auto; 
  right: 216px; 
  top: 8px; 
  padding: 2px;
  border: 2px solid #8A8A8A;
}
.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	background-color: lightyellow;
	padding: 16px;
	left: -1000px;
	border: 2px solid gray;
	visibility: hidden;
	color: black;
	text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
	border-width: 0;
	padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
	visibility: visible;
	top: -170px; /*position where enlarged image should offset horizontally */
	left: -450px;
}
#gallery2 {
	position: relative;
	width: 656px;
	padding-top: 8px;
}

#thumbs2 {
	width: 265px;
	float: right;
}
#thumbs2 a {
	display: block;
	float: right;
	margin: 1px 0px 3px 10px;
	width: 50px;
	height: 50px;
	border: 2px solid #FFF;
}
#thumbs2 a img {
	width: 50px;
	height: 50px;
	border: 0;
}
#thumbs2 a:hover {
	border-color: #8A8A8A;
}
#thumbs2 a:hover img {
	position: absolute;
	width: auto;
	height: auto;
	right: 300px;
	top: 50px;
	padding: 16px;
	border: 2px solid #8A8A8A;
	background-color: lightyellow;
}
