/* The containing box for the gallery. */
#container {
	position:relative;
	width:400px;
	height:450px;
	border:0.3em solid #eda;
	left: 0px;
	top: 0em;
	background-color: #FAF5E7;
	background-image: url(nybackmain1.gif);
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0;
	float: right;
    }
	
	/* Remove the images and text from sight */
#container a.gallery span {
    position:absolute; 
    width:1px; 
    height:1px; 
    top:45px; 
    left:5px; 
    overflow:hidden; 
	background-image: url(nybackmain1.gif);
    }
	
	/* Adding the thumbnail images */
#container a.gallery, #container a.gallery:visited {
	display:block;
	color:#000;
	text-decoration:none;
	border:0px none #FFFFCC;
	text-align:left;
	margin:0px;
	cursor:default;
	padding: 0em;
	background-repeat: no-repeat;
    }
	
	/* set the size of the unordered list to neatly house the thumbnails */
#container ul {
	width:370px;
	height:65px;
	top: 22em;
	margin:0px 0px 0px 2.5em;
	padding:0px;
	list-style-type:none;
	border: 0px none #FFFFCC;
	position: relative;
    }

#container li {
	float: left;
	margin: 0px;
	padding: 0px;
	border: 0em none #FFFFCC;
      }
	
	/* change the thumbnail border color */
#container a.gallery:hover {
	margin: 0px;
	padding: 0px;
    }

/* The photo displayed as intro photo */
.startpic {
	display:block;
	position:absolute;
	top:45px;
	padding:0;
	border:1px none #000;
	margin: 0px;
	visibility: visible;
	background-position: center;
	left: 23px;
}

	/* styling the :hover span */
#container a.gallery:hover span {
	position:absolute;
	width:380px;
	height:255px;
	top:-22.1em;
	left:-10px;
	color:#000;
    }
	
#container a.gallery:hover img {
    border:1px solid #fff; 
    float:left; 
    margin-right:0px;
    }	
	
/* Thumbnails for the gallery. */
#container a.slidea {
    background:url(http://www.sim1.se/bilder/index03_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }

#container a.slideb {
    background:url(http://www.sim1.se/bilder/index04_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }

#container a.slidec {
    background:url(http://www.sim1.se/bilder/index05_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }

#container a.slided {
    background:url(http://www.sim1.se/bilder/index06_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
	}

#container a.slidee {
    background:url(http://www.sim1.se/bilder/index07_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }

#container a.slidef {
    background:url(http://www.sim1.se/bilder/index08_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }

#container a.slideg {
    background:url(http://www.sim1.se/bilder/index09_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }

#container a.slideh {
    background:url(http://www.sim1.se/bilder/index10_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }

#container a.slidei {
    background:url(http://www.sim1.se/bilder/index11_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }

#container a.slidej {
    background:url(http://www.sim1.se/bilder/index12_t.jpg) no-repeat; 
    height:67px; 
    width:67px;
    }
