.gallerycontainer{
	position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{

}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{

}

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	background-color: #FFFFFF;
	border: 1px solid gray;
	visibility: hidden;
	color: black;
	text-decoration: none;
	padding: 2px;
}

.thumbnail span img{ /*CSS for enlarged image*/
	border-width: 0;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
	visibility: visible;
	top: 0;
	left: 150px; /*position where enlarged image should offset horizontally */
	z-index: 50;
}

</style>
