
.thumbnail {
	position: relative;
	z-index: 0;
}

.thumbnail:hover {
	background-color: transparent;
	z-index: 50;
	cursor:pointer;
}

.thumbnail span {/*CSS for enlarged image*/
	position: absolute;
	background-color: White;
	padding-right:15px;
	padding-top: 15px;
	padding-left: 15px;
	padding-bottom: 10px;
	left: -1000px;
	border: 1px solid gray;
	visibility: hidden;
	color: black;
	text-decoration: none;	z-index:600;
}

.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;
	left: 380px; /*position where enlarged image should offset horizontally */
}
 @-moz-document url-prefix() {
.thumbnail:hover span {
	top: -200px;
}
}
