/*------------------------GALLERY-GALLERY-GALLERY-GALLERY-------------------------------------------------------------*//*GALLERY-GALLERY-GALLERY-GALLERY-*/


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

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

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

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

.thumbnail span{ 
position: absolute;
background-color: #0066CC;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*large image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*large image position */
visibility: visible;
top: 00;
left: 210px; 
z-index: 50;
}

#gallery {position:relative; width:100%;}
#thumbs {width:180px; float:right;}
#thumbs a {display:block; float:left; margin:0 0 5px 5px; width:50px; height:50px; border:1px solid #000;}
#thumbs a img {width:50px; height:50px; border:0;}
#thumbs a:hover {border-color:#ddd;}
#thumbs a:hover img {position:absolute; width:auto; height:auto; right:250px; top:0; border:1px solid #333;}