/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
/* USED BY THE ARTICLEMEDIA KEYWORD */
/* CP modified, Aug 08 */

.gallerycontainer{
	position: relative;
	/*Add a height attribute and set to largest image's height to prevent overlaying*/
}
.firstimage {
	margin-bottom: 2px;
}
.thumbnail img.thumb {
	border: 1px solid white;
	margin: 0px 5px 5px 0px;
}

.thumbnail:hover{
	background-color: transparent;
}

.thumbnail:hover img.thumb {
	border: 1px solid blue;
}

.thumbnail span, .gallerycontainer .firstimage { /*CSS for enlarged image*/
	position: absolute;
	background-color: lightyellow;
	padding: 5px;
	left: -1000px;
	border: 1px dashed gray;
	visibility: hidden;
	color: black;
	text-decoration: none;
}

.gallerycontainer .firstimage { 
	position: static;
	visibility: visible;
}
.thumbnail span img, .gallerycontainer .firstimage img { /*CSS for enlarged image*/
	border-width: 0px;
	padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
	visibility: visible;
	top: 0px;
	left: 0px; /*position where enlarged image should offset horizontally */
	z-index: 50;
}
