
.thumbnail{
position: relative;
z-index: 1;
margin:0px;
}
.thumbnail img{
	border: 2px solid #b9d7dd;
	margin:1px 4px 3px 0;
}

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

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 15px;
width:420px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-align:left;
font-weight:normal;
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: -80px;
left: 60px; /*position where enlarged image should offset horizontally */

}
