#lightbox {
  background-color: #eee;
  padding: 10px;
  border-bottom: 2px solid #666;
  border-right: 2px solid #666;
  /* Remove fixed dimensions - let it size to content */
  display: inline-block;
}
#lightboxDetails {
  font-size: 0.8em;
  padding-top: 0.4em;
}
#lightboxCaption {
  float: left;
}
#keyboardMsg {
  float: right;
}
#closeButton {
  top: 5px;
  right: 5px;
}

#lightbox img {
  border: none;
  clear: both;
  max-width: 600px;
  max-height: 500px;
  width: auto;
  height: auto;
}
#overlay img {
  border: none;
}

#overlay {
  background-image: url(overlay.png);
}

* html #overlay {
  background-color: #333;
  back\ground-color: transparent;
  background-image: url(blank.gif);
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale");
}
