/*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: 0px none;
/* margin: 0 5px 5px 0; */
margin: 0 0 0 0;
}
.thumbnail:hover{
background-color: transparent;
}
.thumbnail:hover img{
border: 0px none;
}

.thumbnail .span1 { /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px solid gray;
visibility: hidden;
color: black;
font-family: Tahoma,sans-serif;
font-style: normal;
font-size: 12px;
font-weight: normal;
text-decoration: none;
color: gray;
}
.thumbnail .span1 img { /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
}
.thumbnail:hover .span1 { /*CSS for enlarged image*/
visibility: visible;
top: 80px;
left: 0px; /*position where enlarged image should offset horizontally */
z-index: 50;
}
.thumbnail .span2 { /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px solid gray;
visibility: hidden;
color: black;
font-family: Tahoma,sans-serif;
font-style: normal;
font-size: 12px;
font-weight: normal;
text-decoration: none;
color: gray;
}
.thumbnail .span2 img { /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
}
.thumbnail:hover .span2 { /*CSS for enlarged image*/
visibility: visible;
top: 150px;
left: 0px; /*position where enlarged image should offset horizontally */
z-index: 50;
}

.thumbnail .span_up { /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px solid gray;
visibility: hidden;
color: black;
font-family: Tahoma,sans-serif;
font-style: normal;
font-size: 12px;
font-weight: normal;
text-decoration: none;
color: gray;
}
.thumbnail .span_up img { /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
}
.thumbnail:hover .span_up { /*CSS for enlarged image*/
visibility: visible;
bottom: 80px;
left: 0px; /*position where enlarged image should offset horizontally */
z-index: 50;
}


.thumbnail2{
position: relative;
z-index: 0;
}

.thumbnail2:hover{
background-color: transparent;
z-index: 50;
}

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

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

.thumbnail2:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */
}
