/*
Diaporama
Stu Nicholls - http://www.stunicholls.com/gallery/simple_noscript.html
*/

#gallery {
width:900px; 
height:420px; 
position:relative; 
margin:20px;
}

#gallery ul {
list-style:none; 
padding:0; 
margin:8px 0 0 0; 
width:180px; 
float:right;
}

#gallery ul li {
display:inline; 
width:60px; 
height:44px; 
float:left; 
margin:0 0 5px 5px; 
border:1px solid #fff; 
cursor:pointer;

}

/* Set up the thumbnail images as the background images */
#gallery ul li.tb1 {background:url(../images/diaporama/photo_001.jpg)}
#gallery ul li.tb2 {background:url(../images/diaporama/photo_003.jpg)}
#gallery ul li.tb3 {background:url(../images/diaporama/photo_004.jpg)}
#gallery ul li.tb4 {background:url(../images/diaporama/photo_005.jpg)}
#gallery ul li.tb5 {background:url(../images/diaporama/photo_006.jpg)}
#gallery ul li.tb6 {background:url(../images/diaporama/photo_007.jpg)}
#gallery ul li.tb7 {background:url(../images/diaporama/photo_009.jpg)}
#gallery ul li.tb8 {background:url(../images/diaporama/photo_013.jpg)}
#gallery ul li.tb9 {background:url(../images/diaporama/photo_014.jpg)}
#gallery ul li.tb10 {background:url(../images/diaporama/photo_015.jpg)}
#gallery ul li.tb11 {background:url(../images/diaporama/photo_016.jpg)}
#gallery ul li.tb12 {background:url(../images/diaporama/photo_017.jpg)}
#gallery ul li.tb13 {background:url(../images/diaporama/photo_018.jpg)}
#gallery ul li.tb14 {background:url(../images/diaporama/photo_020.jpg)}
#gallery ul li.tb15 {background:url(../images/diaporama/photo_021.jpg)}
#gallery ul li.tb16 {background:url(../images/diaporama/photo_022.jpg)}
#gallery ul li.tb17 {background:url(../images/diaporama/photo_023.jpg)}


#gallery ul li span i img {
display:none;
}

#gallery ul li.click {
border-color:#000; 
cursor:default;


}


#gallery ul li.click span {
position:absolute; 
left:0; 
top:0; 
width:600px;
height:400px;

}

#gallery ul li.click span i {
width:600px; 
height:400px; 
display:table-cell; 
vertical-align:middle; 
text-align:center;

} 
#gallery ul li span i img {
display:none;
}

#gallery ul li {
opacity:0.5;
filter:alpha(opacity=0.5);
}

#gallery ul li:hover {
opacity:1;
filter:alpha(opacity=1);
}

#gallery ul li.click {
border-color:#000; 
cursor:default;
opacity:1;
filter:alpha(opacity=1);
}

#gallery ul li.click span {
position:absolute; 
left:0; 
top:0; 
width:600px;
height:400px;
}
#gallery ul li.click span i img {
display:block; 
width:auto; 
height:auto; 
border:1px solid #fff; 
margin:0 auto;

}

#gallery ul li.default {
width:0; 
height:0; 
border:0;

}

#gallery ul li.default span {
position:absolute; 
left:0; 
top:-15px; 
width:600px; 
height:400px;
}

#gallery ul li.default span i {
width:600px; 
height:400px; 
display:table-cell; 
vertical-align:middle; 
text-align:center;
} 

/* specify the image width and height for IE6 */
#gallery ul li.default span i img {
display:block; 
width:600px; 
height:400px; 
border:1px solid #fff; 
margin:0 auto;

}

#gallery ul li.off {
display:none;
}