.thumbnail{
position: relative;
z-index: 0;
text-decoration:none;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
text-decoration:none;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color:#d4e9f8;
padding: 10px 15px;
left: -1000px;
/* border: 1px dashed #019cdf; */
visibility: hidden;
color: black;
text-decoration: none;
text-align:left;
color:#8888ba;
font-family: Gotham-Book, Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
text-decoration:none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
text-decoration:none;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -30;
left: -410px; /*position where enlarged image should offset horizontally */
text-decoration:none;
}