

.gallerycontainer {
position: relative;
width:570px;
height:540px;
}

.thumbnail img {
border: 0;
margin: 0 0 3px 0;
}

.thumbnail:hover {
background-color: transparent;
}

.thumbnail:hover img {
border: 0;
}

.thumbnail span { 
position: absolute;
background-color: #e5e5e5;
padding: 5px;
border: 1px solid gray;                   
visibility: hidden;
color: black;
left: -1000px;
text-align:center;
font-size:0.8em;
text-decoration: none;
}

.thumbnail span img { 
border-width: 0;
padding: 1px;
}

.thumbnail:hover span { 
visibility: visible;
top: 150px;
left: 20px; 
z-index: 50;
}

