/* The containing box for the gallery. */
#gallerycontainer {
    position:relative; 
    width:550px; 
    height:520px; 
    margin:20px auto 0 auto; 
    border:1px solid #aaa; 
    }
    
/* Removing the list bullets and indentation */
#gallerycontainer ul {
    padding:0; 
    margin:0; 
    list-style-type:none; 
    width: 190px;
    height: 130px;
    }
#gallerycontainer li {
    float:left;
    }
    
/* Remove the images and text from sight */
#gallerycontainer a.gallery span {
    position:absolute; 
    width:1px; 
    height:1px; 
    top:-1000px; 
    left:-1000px; 
    overflow:hidden; 
    background:#fff;
}
    
/* Adding the thumbnail images */
#gallerycontainer a.gallery, #gallerycontainer a.gallery:visited {
    display:block; 
    color:#000; 
    text-decoration:none; 
    border:1px solid #000; 
    margin:1px 2px 1px 2px; 
    text-align:left; 
    cursor:default;
}

#gallerycontainer a.slidelogin {
    background:url(img/ss-thumb-login.gif); 
    height:130px; 
    width:71px;
}

#gallerycontainer a.slidecontactlist {
    background:url(img/ss-thumb-contactlist.gif); 
    height:130px; 
    width:71px;
}

#gallerycontainer a.sliderequest {
    background:url(img/ss-thumb-request.gif); 
    height:130px; 
    width:71px;
}

#gallerycontainer a.slideoptions {
    background:url(img/ss-thumb-options.gif); 
    height:116px; 
    width:86px;
}

#gallerycontainer a.slidechat {
    background:url(img/ss-thumb-chat.gif); 
    height:74px; 
    width:153px;
}

/* move the thumbnails into the correct position */
#gallerycontainer ul {
    margin:5px; 
    float:right;
    }
    
/* change the thumbnail border color */
#gallerycontainer a.gallery:hover {
    border:1px solid #f00; 
    }
    
/* styling the :hover span */
#gallerycontainer a.gallery:hover span {
    position:absolute; 
    width:340px; 
    height:515px; 
    top:5px; 
    left:5px; 
    color:#000; 
    background:#fff;
    }
    
#gallerycontainer {
    background:#fff url(img/sitelogo.gif) 70px 140px no-repeat;
    }
    
#gallerycontainer a.gallery:hover img {
    border:1px solid #fff; 
}