/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: black;
z-index: 0;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 2px;
left: -800px;
border: 1px solid #EBD37C;
visibility: hidden;
color: white;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 60px;
left: 5px; /*position where enlarged image should offset horizontally */

}
/* end thumb on left */

/* thumb on right */

.thumbnail-right{
position: relative;
z-index: 80;
}

.thumbnail-right:hover{
background-color: white;
z-index: 120;
}

.thumbnail-right span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 1px;
left: -600px;
border: 1px solid blue;
visibility: hidden;
color: white;
text-decoration: none;
}

.thumbnail-right span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
}

.thumbnail-right:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -80px;
left: -250px; /*position where enlarged image should offset horizontally */

}
/* end thumb on right */