/* styles suitable for all media, all browsers */
.thumbs li {
  list-style-type: none;
  margin-bottom: .5em;
}
.thumbs img {
  vertical-align: middle;
}

@media screen, projection {
/* exploit a parsing bug so rules will be visible to MacIE5 */
.BeNiceToMacIE5 {
  font-family: "\"}\"";
  font-family: inherit;
}
.IE5IsQuirky1 { /* WinIE 5.0 gets wierd without something after font-family hack */
}

.thumbs {             /* container for all thumbs */
  width: 100%;         /* an explicit width is required for WinIE, or it screws up badly */
  margin: 0px;       /* correctly center block element */
  padding: 0px;
  background-color: #fff;
  color: #000;
  /* border: thin solid #eef; */
  overflow: hidden;
  text-align: center;
}
.thumbs ul {
  margin: 0;
  padding: 0;
}
.thumbs li {        /* test these rules with various fonts, may need adjusting */
  height: 130px;    /* high enough for image plus 2-line caption */
  width: 130px;     /* 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 #eef;
  text-align: center;
  padding: 0px;
  margin: 0px;
  font-family: "\"}\""; /* hide correct dimensions from WinIE 5.x */
  font-family: inherit;
}
.IE5IsQuirky2 { /* WinIE 5.0 gets weird without something after font-family hack */
}
.thumbs img {          /* image resized in ems to maintain proportions */
  display: block;      /* prevent text from flowing on the side */
  height: 80px;       /* image resolution may suffer a little, but not much */
  text-align: center;  /* center for IE */
  /* margin: 0 auto 0 auto; /* center for non-IE */
  margin: 0 auto;
  padding: 0;
}

img.full {          /* image resized in ems to maintain proportions */
  display: block;      /* prevent text from flowing on the side */
  /* height: 80px;       /* image resolution may suffer a little, but not much */
  text-align: center;  /* center for IE */
  /* margin: 0 auto 0 auto; /* center for non-IE */
  margin: auto;
  padding: 0;
  max-width:490px;
  width: expression(this.width > 490 ? 490 : true);
/* width: document.body.galeria.clientWidth/2 > this.width? "50%": "auto"; */
}

hr.linha {                   /* see note about hr in HTML below */
  clear: both;
  height: 0;
  margin: 0;
  overflow: hidden;
  visibility: hidden;
}

} /* end media rules */
