.thumbnail{
position: relative;  
z-index: 1;
color: #0000FF
}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
color: #0000FF
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: Black;
padding: 10px;
left: 0px;
right: -1000px;
border: double #0099FF;
visibility: hidden;
color: black;
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: 1px;
right: 0px;  
left: 150px; /*position where enlarged image should offset horizontally */
width: 0px;
height: 0px;
}

