
.thumbnail img{
position: relative;
z-index: 0;
border: 1px solid gray;
padding: 0px;
width: 111px;
height: 82px;
}

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

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
padding: 0px;
margin-left: 50px;
visibility: hidden;
}

.thumbnail span img{ /*CSS for enlarged image*/
border: 3px solid gold;
padding: 0px;
width: 400px;
height: 300px;
}

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

.thumbnail:hover span{ /*CSS for background image on hover*/
background-image: url('https://www.amray.com/images/big-bg.gif');
background-repeat: no-repeat;
background-position: 22px 8px;
width:435px;height:325px;
}

.shadow {
	-moz-box-shadow: 4px 4px 6px #666;
	-webkit-box-shadow: 4px 4px 6px #666;
	box-shadow: 4px 4px 6px #666;
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=6, Direction=135, Color='#666666')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=6, Direction=135, Color='#666666');
}
