/* CSS Document */
/*thanks to http://www.webreference.com/programming/css_gallery/ for some of the fun css */

/* choose a suitable font and center the #container div in Internet Explorer */
body {
   text-align:center; 
   font-family: Georgia, "Times New Roman", Times, serif; 
   background-color:#00CCFF;
   color:#000000;
   }

/*ok, you might need to delete this if things get screwy */
  a:hover { color: #CC0033}
  a:link {  text-decoration: none; }
  a:visited { text-decoration: none}
  p {text-align:left; font-family: Georgia, "Times New Roman", Times, serif; font-size:15px;}
  h1 {text-align:left; font-size:16px; font-weight:bold; text-decoration:underline;}
  h2 {text-align:left; font-size:15px; font-weight:bold; margin-bottom:0px; padding-bottom:0px; }
  .quote {font-size:12px; font-style:oblique;}
  .up {margin-top: 2px;}
  .bg1 { background-image:url(../images/tempurpedic/slices/tempurpedic_r2_c1.gif);}
  .bg2 {background-image:url(../images/tempurpedic/slices/tempurpedic_r2_c3.gif);}
   
/* The containing box for the gallery. */
#container {
    position:relative; 
    width:560px; 
    height:396px; 
    margin:20px auto 0 auto; 
    border:1px solid #aaa; 
    }
	
/* Removing the list bullets and indentation */
#container ul {
    padding:0; 
    margin:0; 
    list-style-type:none; 
    }
	
/* Remove the images and text from sight */
#container a.gallery span {
    position:absolute; 
    width:1px; 
    height:1px; 
    top:5px; 
    left:5px; 
    overflow:hidden; 
    background:#fff;
    }
	
/* Adding the thumbnail images */
#container a.gallery, #container a.gallery:visited {
    display:block; 
    color:#000; 
    text-decoration:none; 
    border:1px solid #000; 
    margin:1px 2px 1px 2px; 
    text-align:left; 
    cursor:default;
    }
#container a.slidea {
    background:url(images/tempurpedic-001tn.jpg); 
    height:75px; 
    width:100px;
    }
#container a.slideb {
    background:url(images/tempurpedic-002tn.jpg); 
    height:75px; 
    width:100px;
    }
#container a.slidec {
    background:url(images/tempurpedic-003tn.jpg); 
    height:75px; 
    width:100px;
    }
#container a.slided {
    background:url(images/tempurpedic-004tn.jpg);  
    height:75px; 
    width:100px;
    }
* html #container a.slided {
    width:91px; 
    w\idth:100px;
    }
#container a.slidee {
    background:url(images/tempurpedic-006tn.jpg); 
    height:75px; 
    width:100px;
    }
#container a.slidef {
    background:url(images/tempurpedic-007tn.jpg); 
    height:75px; 
    width:100px;
    }
* html #container a.slidef {
    width:91px; 
    w\idth:100px;
    }
#container a.slideg {
    background:url(images/tempurpedic-009tn.jpg); 
    height:75px; 
    width:100px;
    }
#container a.slideh {
    background:url(images/tempurpedic-cattn.jpg);  
    height:75px; 
    width:100px;
    }
#container a.slidei {
    background:url(images/tempurpedic-alltn.jpg);  
    height:75px; 
    width:100px;
    }
#container a.slidej {
    background:url(images/tempurpedic-000tn.jpg);  
    height:75px; 
    width:100px;
    }
#container a.slidek {
    background:url(images/tempurpedic-002tn.jpg);  
    height:75px; 
    width:100px;
    }
* html #container a.slidek {
    width:91px; 
    w\idth:100px;
    }
#container a.slidel {
    background:url(images/tempurpedic-002tn.jpg);  
    height:75px; 
    width:100px;
    }
	
/* set the size of the unordered list to neatly house the thumbnails 
change the height if you add more pics! */

#container ul {
    width:212px; /*two times 100 plus 12 */ 
    height:316px; /*four times 75 plus four times 4 (the borders and margins for each row) */
    }
#container li {
    float:left;
    }
	
/* move the thumbnails into the correct position */
#container ul {
    margin:5px; 
    float:right;
    }
	
/* change the thumbnail border color */
#container a.gallery:hover {
    border:1px solid #fff; 
    }
	
/* styling the :hover span */
#container a.gallery:hover span {
    position:absolute; 
    width:200px; 
    height:215px; 
    top:10px; 
    left:75px; 
    color:#000; 
    background:#ffffcc;
    }

/*This one is likely not needed as all images are same dimensions */	
#container a.gallery:hover img {
    border:1px solid #fff; 
    float:left; 
    margin-right:5px;
    }