#controls {
  font-size: 0.75em;
  float: right;
  width: 430px;
}
.ss-controls {
  display: none;
}
.nav-controls {
  width: 100%;
  float: right;
  text-align: center;
  margin: 0 0 5px 0;
}
.nav-controls a {
  margin: 10px;
  color: #666;
  text-decoration: none;
}
.nav-controls a:hover {
  color: #669900;
}
#slideshow {
  float: right;
  width: 430px;
  height: 430px;
  /* This should be set to be at least the height of the largest image in the slideshow */
  text-align: center;
  padding: 0;
}
#slideshow img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border: none;
  display: block;
  margin: auto;
}
#slideshow a {
  text-decoration: none;
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
}
#slideshow span {
  display: block;
  margin: 0;
  padding: 0;
  text-align: center;
}
.pagination {
  font-size: 0.7em;
  height: 31px;
  color: #666;
}
.pagination a,
.pagination .current {
  text-decoration: none;
  border: 1px solid #999;
  color: #666;
  padding: 3px 6px;
  margin: 0 1px;
}
.pagination a:hover,
.pagination .current:hover {
  color: #669900;
}
.pagination .current {
  border-color: #669900;
  font-weight: bold;
  background: #669900;
  color: #fff;
}
.pagination .current:hover {
  color: #fff;
}
#thumbs {
  width: 210px;
}
.thumbs li {
  display: inline;
}
.thumbs li img {
  padding: 1px;
  border: 1px solid #999;
  opacity: 0.6;
}
.thumbs li.selected img {
  padding: 0;
  border: 2px solid #669900;
  opacity: 1;
}
.thumbs li a {
  text-decoration: none;
}
#caption {
  float: right;
  width: 380px;
}
