/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
.gallerycontainer{
/*Add a height attribute and set to largest image's height to prevent overlaying*/
  width: 700px;
}
.thumbnail {
	display: block!important;
	font-family: Tahoma, arial, helvetica, sans-serif;
	float: left;
	text-decoration: none;
}
.thumbnail:hover{
	background-color: transparent;
}

/*tiny thumbnail*/
.thumbnail img.thumbImage {
	width: 30px;
	height: 30px;
	background-color: #fff;
  border: 2px solid #fff;
}
.thumbnail img.thumbImage:hover {
	background-color: #000;
}


/*full size rollover*/
.thumbnail span { /*CSS for enlarged image*/
	position: absolute;
	visibility: hidden;
	color: black;
	text-decoration: none;
	display:block;
	width: 470px;
	height: 330px;
	margin: 10px 0 0 200px!important;
	padding-top: 20px;
	text-align: center;
	background-color: #ddd;
	z-index: 1000!important;

}
.thumbnail span img.largeImage{ /*CSS for enlarged image*/
	padding: 2px;
	border: 1px solid white;
	margin: 0 5px 0 0;
}

.thumbnail:hover span { /*CSS for enlarged image*/
	visibility: visible;
	top: 0;
	left: 1px; /*position where enlarged image should offset horizontally */
}
#first span {
	z-index: 50!important;
	visibility: visible;
	top: 0;
	left: 1px; /*position where enlarged image should offset horizontally */
}
.thumbnail p {
	padding: 5px;
	background-color: #C52E0BF;
	color: #ffffff;
	display: block;
	text-align: left;
	font-size: 14px;
}