The simple answer is to add a z-index
value that is greater than the .thumbnail:hover
value to the hover state of the span
.
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -140px; /*position where enlarged image should offset horizontally */
left: -500px;
z-index: 51;
}