/* CSS Document */

.gallerycontainer{
position: relative; z-index:0; width:500px
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
border: none;
margin: 0 5px 5px 0; 
}

.thumbnail:hover{
background-color: transparent;
}

.thumbnail:hover img{
border: none
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
top:-410px;~top:-410px;
width:969px;
padding: 5px;
left: -7px;
text-align:center;
visibility: hidden;
text-decoration: none; 
}

.thumbnail span .text{
	position:absolute; color:#000; background:url(images/overlay.png); height:30px;top:360px; width:560px; left:7px; text-align:right; padding-right:30px; padding-top:10px
}

.thumbnail span .textBlack{
	position:absolute; color:#FFF; background:url(images/overlay-black.png); height:30px;top:360px; width:560px; left:7px; text-align:right; padding-right:30px; padding-top:10px
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px; border:none
}

.hover span{ /*CSS for enlarged image*/
visibility: visible;
right: 188px; /*position where enlarged image should offset horizontally */
z-index: 0;
}

.floatRight{
	float:right
}

.floatLeft{
	float:left
}