/*  Classi per gestire le gallerie immagini
----------------------------------------------*/

/* div galleria immagini */
#gallery {
  width:auto;
  margin-bottom:20px;
}
/* Titolo */
#gallery h1 {
  width:auto;
  padding:4px 0 4px 4px;
  margin:0;
  border-bottom:1px solid #ccc;
  color:#fff;
  font-size:14px;
}
/* div immagine */
#gall_image {
  text-align:center;
  margin:0 auto;
  padding:0;
  background:#666666;
  border-bottom:1px solid #666666;
}
#gallery_text {
  width:100%;
  font-size:10px;
  border-bottom:1px solid #ccc;
}
#gall_text {
  line-height:16px;
  font-size:11px;
}
#gall_text em {
  font-weight:bold;
}
#link_back a {
  text-decoration:underline;
  color:#ff0000;
}
#gallery #pagination {
  margin-bottom:0;
  padding-bottom:0;
}

/* Style miniature */
#thumbs {
  float:left;
  width:100%;
  margin:0;
  padding:0;
  overflow:hidden;
}
#thumbs h1 {
  float:left;
  text-align:left;
  width:100%;
  padding:4px 0 4px 4px;
  margin:0;
  color:#5896D3;
  font-size:16px;
}
#thumbs ul {
  float:left;
  margin:0;
  padding:0;
  display:inline
}
#thumbs ul li,
#thumbs ul li a {
  margin:0;
  padding:0;
}
#thumbs ul li {
  margin:0 0 0 5px;
  background:#efefef;
}
#thumbs li {
  height:11.5em;    /* high enough for image plus 2-line caption */
  width:12.5em;     /* wide enough for widest image with a bit of padding */
  float:left;      /* as many as can fit in window width */
  overflow:hidden; /* do not let IE stretch the container */
  border:1px solid #ccc;
  text-align:center;
  padding:.3em;
  margin:.5em;
  font-family:"\"}\"";
  font-family:inherit;
  width:12em;
  height:12.5em;
  color:#669900;
}
#thumbs li:hover {
  border-color:#669900;
}
.IE5IsQuirky2 {
}
#thumbs img {
  display:block;      /* prevent text from flowing on the side */
  height:8.5em;       /* image resolution may suffer a little, but not much */
  text-align:center;  /* center for IE */
  margin:0 auto .3em auto; /* center for non-IE */
  padding:0;
}
