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

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

.thumbnail img{
border: 1px solid blue;
margin: 2px;
}

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

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

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border:5px outset #ECA971;
width:607px;
box-shadow: 7px 7px 8px rgb(194, 186, 255);
-webkit-box-shadow: 7px 7px 8px rgb(194, 186, 255);
-moz-box-shadow: 7px 7px 8px rgb(194, 186, 255);
visibility: hidden;
color: black;
font-size:.8em;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
}

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

.thumbdirections
{
	position:relative;
	border:0;
	background-color: lightyellow;
	padding: 5px;
	float:right;
	left:-80px;
	top:140px;
	z-index:1;
}
