.thumbnail{ position: relative; z-index: 0; }

.thumbnail span{
	/*CSS for enlarged image*/
	position: absolute;
	background-color: #adc5d5;
	padding: .3em;
	left: -1000px;
	border: 2px dashed #5f7741;
	visibility: hidden;
	color: black;
	text-decoration: none;
}

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

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

.thumbnail:hover span{
	/*CSS for enlarged image on hover*/
	visibility: visible;
	top: -200px;
	padding: .4em;
	left: 60px; /*position where enlarged image should offset horizontally */
}