/******************************
  Author: Daniel Gruenig
  DCG fni.daniel.gruenig
  Last Updated: 10/13/2016
  Description: Stylesheet for
  First Net Impresssions image
  gallery. See gallery.phtml for
  documentation and usage.
*******************************/

/******************************
  Image Gallery Styles
*******************************/

div.image-gallery {
  position: relative;
  overflow: hidden;
  height: 786px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

div.image-gallery div.image-wrapper {
  width: 100%;
  height: 100%;
}

div.image-gallery img {
  opacity: 1;
  transition: opacity 0.8s;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  margin: 0 auto;
  text-indent: -9999px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

div.image-gallery[transition="short"] img {
  opacity: 1;
  transition: opacity 0.3s !important;
}

div.image-gallery[transition="normal"] img {
  opacity: 1;
  transition: opacity 0.8s !important;
}

div.image-gallery[transition="long"] img {
  opacity: 1;
  transition: opacity 1.5s !important;
}

div.image-gallery img[data-src] {
  opacity: 0;
  height:0;
}

div.image-gallery a.image-prev,
div.image-gallery a.image-next {
  border-radius: 50%;
  border: 3px solid #FFFBDD;
  color: #FFFBDD;
  font-size: 40px;
  padding: 0px 12px 8px 12px;
  line-height: 30px;
  position: absolute;  
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  text-decoration: none;
}

div.image-gallery a.image-prev {
  left: 10px;
}

div.image-gallery a.image-next {
  right: 10px;
}


div.image-gallery a:hover {
  background: #FFFBDD;
  color: #511C74;
}

div.image-gallery p.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(61, 19, 93, 0.8);
  z-index: 1000;
  color: #FFFFFF;
  text-align: center;
  margin: 0px;
  padding: 10px 0px;
}

div.image-gallery div.large-image {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  padding: 30px;
  transition: 1s opacity;
}

div.image-gallery div.large-image p {
  color: #FFFFFF;
  cursor: pointer;
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: inline;
  font-size: 30px;
  padding: 5px 12px;
}

div.image-gallery div.large-image img {
  z-index: -1;
}

td.other-albums > table {
  table-layout: fixed;
  width: 100%;
}

td.other-albums td {
  padding: 10px;
}

td.other-albums > table > tbody > tr > td:nth-child(1) {
  padding-left: 0px;
  padding-right: 20px;
}

td.other-albums > table > tbody > tr > td:nth-child(3) {
  padding-right: 0px;
  padding-left: 20px;
}

td.other-albums a {
  height: 200px;
  display: inline-block;
  background-size: cover;
  background-position: center center;
  width: 100%;
  text-align: center;
  padding-top: 155px;
  text-decoration:none;
}

td.other-albums a span {
  color: #FFFFFF;
  background: rgba(61, 19, 93, 0.8);
  display: block;
  padding:5px;
}