.gallerycontainer{
position: absolute;
top: 0px;
left: 5px;
/*width: 500px;*/
/*height: 280px;*/
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

#images>.gallerycontainer {
position: relative;
top: 0px;
left: 0px;
}

.thumbnail img{
border: 1px solid white;
margin: 0 5px 5px 0;
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: 1px solid #fff;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #fff;
padding: 5px;
left: -1000px;
border: 1px solid #E7D9CA;
visibility: hidden;
color: #333;
text-decoration: none;
font-size: 0.9em;
/*font-weight: bold;*/
height: 410px;
width: 320px;
}

.thumbnail span p {
border: 1px solid #E7D9CA;
background-color: #fff;
width: 300px;
padding: 5px;
margin-left: 5px;
margin-top: -3px;
font-size: 0.9em;
font-weight: bold;
text-align: left;
}


.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
/*padding: 2px;*/
border-color: #fff;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: -15px;
left: 400px; /*position where enlarged image should offset horizontally */

z-index: 50;
}


.sites {
width: 125px;
font-size: 0.8em;
/*border: 1px solid #fff;*/
float: left;
text-align: center;
line-height: 0.9em;
font-weight: bold;
}

.imagebox {
/*width: 125px;
text-align: center;
float: left;*/
}


