/*GALLERY CSS */

.gallerycontainer{
position: relative;
height: 700px;
width: 566px;
overflow: hidden;
}

.thumbnail img{
border: 1px solid white;
margin: 0 1px 1px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid black;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #222222;
padding: 1px;
left: -1000px;
border: 0px dashed gray;
visibility: hidden;
color: silver;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 1px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 112px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

/*END OF GALLERY */