/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
	position: relative;
	border: 1px solid #515437;
	padding: 5px;	/*Add a height attribute and set to largest image's height to prevent overlaying*/
/*
width: 200;
height: 500;
overflow: scroll; 
border:1pt black solid;
*/
}

.thumbnail img{
border: 1px solid white;
width: 150px;
height: 112px;
margin: 0 1px 1px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid #515437;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px solid #515437;
visibility: hidden;
color: #515437;
text-decoration: none;
}

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

/*
.thumbnail:hover span{ 
*/
.thumbnail:active span{ /*CSS for enlarged image*/
visibility: visible;
top: 50px;
left: 100px; /*position where enlarged image should offset horizontally */
z-index:50;
}

.vthumbnail img{
border: 1px solid white;
width: 150px;
margin: 0 1px 1px 0;
}

.vthumbnail:hover{
background-color: transparent;
}

.vthumbnail:hover img{
border: 1px solid #515437;
}

.vthumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	background-color: lightyellow;
	padding: 5px;
	left: -1000px;
	border: 1px solid #515437;
	visibility: hidden;
	color: #515437;
	text-decoration: none;
}

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

/*
.vthumbnail:hover span{ 
*/
.vthumbnail:active span{ /*CSS for enlarged image*/
	visibility: visible;
	left: -450px; /*position where enlarged image should offset horizontally */
	z-index:50;
}
