/* choose a suitable font and center the #container div in Internet Explorer 
body {
   text-align:center; 
   font-family: tahoma; arial, sans-serif; 
   font-size:76%; 
   letter-spacing:0.05em;
}*/
   
/* The containing box for the gallery. */
#refgaleriecontainer {
    position:relative; 
    width: 480px;
    height:480px; 
    /*margin: 20px auto 10px auto;*/
    margin: 0px auto 0px 0px;
    /*border:1px solid #aaa; */
}

/* Removing the list bullets and indentation */
#refgaleriecontainer ul {
    padding:0; 
    margin:0; 
    list-style-type:none; 
} 

/* Remove the images and text from sight */
#refgaleriecontainer a.gallery span {
    position:absolute; 
    width:1px; 
    height:1px; 
    top:5px; 
    left:5px; 
    overflow:hidden; 
    background:#fff;
}  

/* Adding the thumbnail images */
#refgaleriecontainer a.gallery, #refgaleriecontainer a.gallery:visited {
    display:block; 
    color:#000; 
    text-decoration:none; 
    border:0px solid #666666; 
    margin:0px 0px 0px 0px; 
    text-align:left; 
    cursor:default;
    }
#refgaleriecontainer a.refslide1 {
    background:url(../images/refgallery1s.jpg); 
    height:60px; 
    width:80px;
    }
#refgaleriecontainer a.refslide2 {
    background:url(../images/refgallery2s.jpg); 
    height:60px; 
    width:80px;
    }
#refgaleriecontainer a.refslide3 {
    background:url(../images/refgallery3s.jpg); 
    height:60px; 
    width:80px;
    }
#refgaleriecontainer a.refslide4 {
    background:url(../images/refgallery4s.jpg); 
    height:60px; 
    width:80px;
    }
* html #refgaleriecontainer a.refslide4 {
    width:80px; 
    w\idth:80px;
    }
#refgaleriecontainer a.refslide5 {
    background:url(../images/refgallery5s.jpg); 
    height:60px; 
    width:80px;
    }
#refgaleriecontainer a.refslide6 {
    background:url(../images/refgallery6s.jpg); 
    height:60px; 
    width:80px;
    }
* html #refgaleriecontainer a.refslide6 {
    width:80px; 
    w\idth:80px;
    }
#refgaleriecontainer a.refslide7 {
    background:url(../images/refgallery7s.jpg); 
    height:60px; 
    width:80px;
    }
#refgaleriecontainer a.refslide8 {
    background:url(../images/refgallery8s.jpg); 
    height:60px; 
    width:80px;
    }
#refgaleriecontainer a.refslide9 {
    background:url(../images/refgallery9s.jpg); 
    height:60px; 
    width:80px;
    }
#refgaleriecontainer a.refslide10 {
    background:url(../images/refgallery10s.jpg); 
    height:60px; 
    width:80px;
    }
#refgaleriecontainer a.refslide11 {
    background:url(../images/refgallery11s.jpg); 
    height:60px; 
    width:80px;
    }
* html #refgaleriecontainer a.refslide11 {
    width:80px; 
    w\idth:80px;
    }
#refgaleriecontainer a.refslide12 {
    background:url(../images/refgallery12s.jpg); 
    height:60px; 
    width:80px;
    }
    
/* set the size of the unordered list to neatly house the thumbnails */
#refgaleriecontainer ul {
    width:480px; 
    height:120px;
    }
#refgaleriecontainer li {
    float:left;
    }
    
/* move the thumbnails into the correct position */
#refgaleriecontainer ul {
    margin-top:360px; 
    float:right;
}

/* change the thumbnail border color */
#refgaleriecontainer a.gallery:hover {
    border:0px solid #fff; 
}

/* styling the :hover span */
#refgaleriecontainer a.gallery:hover span {
    position:absolute; 
    width:480px; 
    height:360px; 
    top:0px; 
    left:0px; 
    color:#000; 
    background:#fff;
    }
    
#refgaleriecontainer a.gallery:hover img {
    border:0px solid #fff; 
    float:left; 
    margin-right:5px;
    }
    
#refgaleriecontainer a.slideb:hover img, #container a.slidei:hover img {
    float:right;
    }
    
#refgaleriecontainer {
    background:#fff url(../images/refgallery13b.jpg) 0px 0px no-repeat;
    }
