
.thumbnail img{
position: relative;
z-index: 0;
border-right: 1px solid gray;
border-bottom: 1px solid gray;
padding: 0px;
width: 133px;
height: 91px;
}

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

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 4px;
margin-right: 150px;
border: 1px solid gray;
visibility: hidden;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-right: 1px solid gray;
border-bottom: 1px solid gray;
padding: 0px;
width: 400px;
height: 260px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
position: fixed;
visibility: visible;
bottom: 100px;
left: 275px; /*position where enlarged image should offset horizontally */
visibility: visible;
}

