.gallery li {
  list-style-type: none;
  margin-bottom: .5em;
}
.gallery 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 */
}

.gallery {             /* container for all thumbs */
  width: 95%;         /* an explicit width is required for WinIE, or it screws up badly */
  margin: auto;       /* correctly center block element */
  padding: .5em;
  /*background-color: #fffaf0;*/
  /*color: #000;
  border: thin solid #030;*/
  overflow: hidden;
  /*text-align: center;*/
}
.gallery li {        /* test these rules with various fonts, may need adjusting */
  height: 24ex;    /* high enough for image plus 2-line caption */
  width: 24em;     /* 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 #faebd7;*/
  text-align: center;
  padding: .3em;
  margin: .5em;
  font-family: "\"}\""; /* hide correct dimensions from WinIE 5.x */
  font-family: inherit;
  width: 24em;
  height: 24ex;
}
.IE5IsQuirky2 { /* WinIE 5.0 gets weird without something after font-family hack */
}
.gallery li span.caption {
  font-weight: bold;
}
.gallery li span.price {
  font-weight: bold;
  color: #DAA520;/*#EFA6B1;*/
}
.gallery img {          /* image resized in ems to maintain proportions */
  display: block;      /* prevent text from flowing on the side */
  height: 18ex;       /* 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;
}
.gallery ul {
  margin: 0;
  padding: 0;
}
.gallery a {
  text-decoration: none;
}

.gallery a:hover {
  text-decoration: underline;
}

hr {                   /* see note about hr in HTML below */
  clear: both;
  height: 0;
  margin: 0;
  overflow: hidden;
  visibility: hidden;
}

} /* end media rules */

