/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
	position: relative;
	height:50px;
	/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
	/*margin: 0 5px 5px 0;*/
	width: 50px;
	height:50px;
	border: 1px solid #fff;
}

.thumbnail:hover{
	background-color: transparent;
}

.thumbnail:hover img{
	border: 1px solid #fff;
}

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	left: -1000px;
	top:0px;
	visibility: hidden;
	color: black;
	text-decoration: none;
}

.imgDefault /*This is the default span*/
{
	position: absolute;
	text-decoration: none;
	visibility: visible;
	top: 75px;
	left: 0px; /*position where enlarged image should offset horizontally */
	border: 1px solid #fff;
}

.imgDefault img{ /*CSS for enlarged default image*/
	width: 150px;
	height:150px;
	z-index: 1;
}

.thumbnail span img{ /*CSS for enlarged image*/
	width: 150px;
	height:150px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
	visibility: visible;
	top: 75px;
	left: 0px; /*position where enlarged image should offset horizontally */
	z-index: 10;
}