/* Photo Gallery CSS */
.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

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

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

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

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: transparent;
background-image:url(images/gallery_background.gif);
background-repeat:no-repeat;
padding: 5px;
top:8px;
width:520px;
height:535px;
visibility:hidden;
text-align:left;
color: white;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width:0;
margin-right:5px;
float:left;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 8px;
left: 30%; /*position where enlarged image should offset horizontally */
z-index: 50;
}
/*end photo gallery Css*/


