div#gallery div.content {
  /* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
  display: none;
  width: 615px !important;
  padding: 0 !important;
  margin: 0 auto;
  position: relative;
  min-height: 360px;
}
div.content a,
div.navigation a {
  text-decoration: none;
  color: #777;
}
div.content a:focus,
div.content a:hover,
div.content a:active {
  text-decoration: underline;
}
div.controls {
}
div.controls a {
  padding: 5px;
}
div.ss-controls {
  display: none;
}
div.nav-controls {
  z-index: 10;
}
.fa-custom-size {
  font-size: 40px;
  width: 50px;
  height: 49px;
  line-height: 49px;
  text-align: center;
  display: inline-block;
}
div.nav-controls a.prev,
div.nav-controls a.next {
  display: block;
  width: 50px;
  height: 49px;
  background-repeat: no-repeat;
  padding: 0 !important;
  position: absolute;
}

div.nav-controls a.prev {
  left: 0;
  top: 140px;
  background-position: 0 -49px;
}

div.nav-controls a.prev:hover {
  background-position: 0 0;
}

div.nav-controls a.next {
  left: 565px;
  top: 140px;
  background-position: -50px -49px;
}
div.nav-controls a.next:hover {
  background-position: -50px 0;
}

div.slideshow-container {
  margin: auto;
  width: 515px;
  height: 320px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.loader {
  margin: auto;
  background-image: url(../img/site/loader.gif);
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 320px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {
}
div.slideshow span.image-wrapper {
  display: block;
  position: absolute;
  top: 0;
  left: 50px;
  width: 515px;
}
div.slideshow a.advance-link {
  display: block;
  margin: auto;
  padding: 0;
  width: 515px;
  height: 320px; /* This should be set to be at least the height of the largest image in the slideshow */
  line-height: 320px; /* This should be set to be at least the height of the largest image in the slideshow */
  text-align: center;
}
div.slideshow a.advance-link:hover,
div.slideshow a.advance-link:active,
div.slideshow a.advance-link:visited {
  text-decoration: none;
}

div.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  left: 0;
  vertical-align: middle;
  border: none;
}
div.download {
  float: right;
}
div.caption-container {
}
span.image-caption {
  display: block;
  position: absolute;
}
div.caption {
  background-color: #000;
  padding: 12px;
  color: #ccc;
}
div.caption a {
  color: #fff;
}
div.image-title {
  font-weight: bold;
  font-size: 1.4em;
}

div.image-desc {
  line-height: 1.3em;
  padding-top: 12px;
}
div.navigation {
  /* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
  display: none;
  width: 615px !important;
  padding: 0 !important;
  margin: 0 auto;
  margin-top: 45px;
  position: relative;
}

ul.thumbs {
  clear: both;
  width: 575px;
  margin: auto;
  padding: 0;
}
ul.thumbs li {
  display: inline;
  float: left;
  padding: 0;
  margin: 0;
  list-style: none;
}
a.thumb {
  padding: 0;
  display: block;
  float: left;
  border: solid 1px #ffffff;
  margin: 0 19px;
}
ul.thumbs li.selected a.thumb {
  color: #000;
  font-weight: bold;
  border: solid 1px #a5d2f0;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
a.thumb:focus {
  outline: none;
}
ul.thumbs img {
  border: none;
  display: block;
}
div.pagination {
}
div.navigation div.top {
  margin-bottom: 12px;
  height: 11px;
}
div.navigation div.bottom {
  margin-top: 12px;
}
div.pagination a,
div.pagination span.current,
div.pagination span.ellipsis {
  display: none;
}
div.pagination a.prev,
div.pagination a.next {
  display: block;
  width: 18px;
  height: 19px;
  background-repeat: no-repeat;
  position: absolute;
}

div.pagination a.prev {
  top: 30px;
  left: 0;
  background-position: 0 -19px;
}
div.pagination a.prev:hover {
  background-position: 0 0;
}

div.pagination a.next {
  top: 30px;
  left: 597px;
  background-position: -18px -19px;
}
div.pagination a.next:hover {
  background-position: -18px 0;
}

div.pagination span.current {
}
div.pagination span.ellipsis {
}
#captionToggle a {
  float: right;
  display: block;
  background-image: url("caption.png");
  background-repeat: no-repeat;
  background-position: right;
  margin-top: 5px;
  padding: 5px 30px 5px 5px;
}
