
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.gallerycontainer{
	position: relative;
	text-align:center;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
	background: #eee;
	border-color: #aaa;
	border-style: inset;
	border-width: 1px;
	color: inherit;
	padding: 5px;
	margin: 2px;
    color: #FFCC33;
	font-size: 0.6em;
    text-decoration: none;
	text-align:center;
}

.thumbnail:hover{
	background: transparent;
}

.thumbnail:hover img{
	background: #eee;
	border-color: #bbb;
	border-style: solid;
	border-width: 1px;
	color: inherit;
	z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
    position: absolute;
	padding: 5px;
	background: #000066;
	border-color: #bbb;
	border-style: double;
	border-width: 1px;
	display: inline;
    visibility: hidden;
    color: #FFCC33;
	font-size: 0.9em;
    text-decoration: none;
	text-align:center;
}

.thumbnail span img{ /*CSS for enlarged image*/
	border-width: 1;
	padding: 2px;
}

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

