#web-photo,
.thumbnail-photo {
  height: 0;
  background-repeat: no-repeat; 
  background-position: center; 
  background-size: contain; 
  overflow: hidden;
}

#web-photo {
  width: 100%;
  padding-top: 56.25%;
}

.previous-photo-button, .next-photo-button {
  background: #DDD;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  color: #787878;
  font-size: 30px;
  min-width: 30px;
  margin-top: 10px;
}

.quarter-opacity{
  opacity      : 0.25;
  filter       : alpha(opacity=25);
}

.half-opacity{
  opacity      : 0.50;
  filter       : alpha(opacity=50);
}

.half-and-quarter-opacity{
  opacity      : 0.75;
  filter       : alpha(opacity=75);
}

.previous-photo-button:hover,  .next-photo-button:hover {
  background: #000;
  color: #A3792C !important;
}

.caption {
  background-color: #EEE;
  border-bottom: 1px solid #DDD;
  border-top: 2px solid #EEE;
  box-shadow: inset 0px 6px 24px -5px rgba(0, 0, 0, 0.35);
  font-size: 1.35em !important;
  margin: 0;
  padding: 20px 10px;
  text-align: center;
}

.thumbnail-photo {
  float        : left;
  margin       : 2px;
  opacity      : 0.5;
  width: 10%;
  min-width: 100px;
  min-height: 100px;
  padding-top: 10%;
}

.thumbnail-photo:hover {
  cursor       : pointer;
}

.thumbnail-photo:hover, .thumbnail-photo-selected {
  opacity : 1.0;
  filter  : alpha(opacity=100);
}