/* CSS Styles for home page gallery popups */

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

.thumbnail img{
border: 1px solid white;
margin: 0 3px 0 0;
}

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

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

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	/*background-color: lightyellow;*/
padding: 0;
	left: -500px;
	color: black;
	text-decoration: none;
	visibility: hidden;
}

.thumbnail span img{ /*CSS for enlarged image*/
border: 1px solid black;
padding: 0;
}

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