@charset "UTF-8";

.photo-gallery { padding-bottom: 14px }
.photo-gallery img { display: block }
.gallert a { text-decoration: none }

.photo-gallery ul.thumbs {
  list-style-type: none;
  padding: 0;
  width: calc(100% + 8px);
  margin-bottom: 7px }
.photo-gallery ul.thumbs:after {
  content: ' ';
  display: block;
  clear: both
}
.photo-gallery ul.thumbs li {
  width: 20%;
  float: left;
  padding: 0 8px 8px 0;
  box-sizing: border-box;
}

.photo-gallery ul.thumbs li:nth-child(n+20) { display: none }

.photo-gallery ul.thumbs li a {
  overflow: hidden;
  width: 100%;
  height: 45px;
  background-size: 80px;
  background-position: center;
  border: 1px solid #999;
  position: relative;
  
  display: block }

.photo-gallery ul.thumbs img { display: none; }

.photo-gallery ul.inner-nav {
  padding: 0px 0 10px 0;
  border-top: 1px solid rgba(0, 0, 0, .5);
  height: 32px;
  width: 100%;
  display: block;
  text-align: right;
  clear: both
}

.photo-gallery .selection .inner-nav a {
  font-size: 14px;
  padding: 10px 0 10px 20px;
  display: inline-block
}

.photo-gallery .photo-info p {
 
}

.photo-info h5 {
  display: inline-block;
  width: 94%;
  margin: 3px 0 5px 0 }
.photo-info p {
  margin-bottom: 0;
  padding-bottom: 7px;

  font-size: 11px }
.photo-gallery .photo-info a.share-link {
  width: 20px;
  padding: 2px;
  float:right;
  text-transform: lowercase;
  font-weight: bold;
  display: inline-block;
  font-size: 9px }
.photo-gallery .photo-info a.share-link img { width: 100%; }

.photo-gallery p.show-more {
  height: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 480px) {
  /* .photo-gallery ul.thumbs li { width: 10% } */
}

@media (min-width: 540px) {
  .photo-gallery .selection .inner-nav { text-align: right }
  .photo-gallery .selection .inner-nav li { padding: 0 0 0 5px }
}

.photo-gallery figure.selected {
  margin: 0
} .photo-gallery .selected-wrapper { position: relative }
  .photo-gallery .selected-wrapper:before,
  .photo-gallery .selected-wrapper:after {
    content: ' ';
    position: absolute;
    z-index: 2
  }.photo-gallery .selected-wrapper[loading]:after {
    color: white;
    text-align: center;
    padding: 10px;
    width: 26px; height: 26px;
    top: 50%; right: 50%;
    margin: -13px -13px 0 0;
    z-index: 3;
    border: 3px solid rgba(50, 50, 50, .8);
    border-top-color: rgba(255, 255, 255, .8);
    border-radius: 100%;
    animation: spin .75s linear infinite
  }.photo-gallery .selected-wrapper[loading]:before {
    content: '...';
    top: 50%;
    width: 100%;
    margin-top: -13px;
    font: 16px arial;
    text-align: center;
    color: #555
  }
  .photo-gallery figure.selected .stepper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%; /* how much of each side is clickable */
    z-index: 1000;
    display: block;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .photo-gallery figure.selected .stepper.prev { left: 0 }
  .photo-gallery figure.selected .stepper.next { right: 0 }

  /* The visible button: a circle halfway down the image */
  .photo-gallery figure.selected .stepper:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 35px;
    height: 35px;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    color: #EEE;
    font-size: 16px;
    font-family: inherit;
    line-height: 1;
    padding-bottom: 3px;
    opacity: 0;
    transition: opacity .2s ease, background .2s ease }
  .photo-gallery figure.selected .stepper.prev:before {
    content: '◀';
    left: 12px; padding-right: 2px }
  .photo-gallery figure.selected .stepper.next:before {
    content: '▶';
    right: 12px; padding-left: 2px }
  /* Show circles when hovering the photo, emphasize the one under the cursor */
  .photo-gallery figure.selected:hover .stepper:before { opacity: .7 }
  .photo-gallery figure.selected .stepper:hover:before,
  .photo-gallery figure.selected .stepper:focus-visible:before {
    opacity: 1;
    background: rgba(0, 0, 0, .75) }
  .photo-gallery figure.selected img {
    position: relative;
    z-index: 400;
    opacity: 1;
    transition: opacity .2s;
    height:auto;
    width:auto
  } .photo-gallery figure.selected img.fadein {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0 }
  .photo-gallery figure.selected figcaption {
    font-weight: 500;
    color: #555;
  }

.photo-gallery .selected-wrapper[loading]:before,
.photo-gallery .selected-wrapper[loading]:after { z-index: 500 }


/* only needed if @keyframes spin isn't defined elsewhere in your site CSS */
@keyframes spin { to { transform: rotate(360deg) } }

@media (min-width: 540px) {
  .photo-gallery figure.selected .stepper.prev:before { left: 42px }
  .photo-gallery figure.selected .stepper.next:before { right: 42px }

  .photo-gallery .selected img.display,
  .photo-gallery .selected img.fadein {
    max-width: 100%;
    max-height: 740px;
    margin: auto;
    border-radius: 2px;
    border: 1px solid #333 }
  
  .photo-gallery .selected .selected-wrapper { 
    position: relative;
    left: -60px;
    top: -1px;
    max-width: 1000%;
    
    width: 540px }

  .photo-gallery.halfed .selection {
    width: 38%;
    float: left }
  .photo-gallery.halfed ul.thumbs li {
    width: 33.3333%;
    float: left;
    padding: 0 15px 15px 0 }
  .photo-gallery.halfed ul.inner-nav {
    width: calc(100% - 15px);
    text-align: right } 

  .photo-gallery.halfed .selected {
    width: 54%;
    float: right }
}


@media (min-width: 660px) {
  .photo-gallery .selected .selected-wrapper { 
    left: -120px;
    width: 660px }

}
@media (min-width: 880px) {
  .photo-gallery .selected .selected-wrapper { 
    left: -232px;
    width: 880px }
}

@media (min-width: 1000px) {
  .photo-gallery .selected .selected-wrapper { 
    left: -290px;
    width: 1000px }
}


@media (min-width: 540px) {
  .photo-gallery .selection .inner-nav { text-align: right }
  .photo-gallery .selection .inner-nav li { padding: 0 0 0 5px }
}


.photo-gallery ul.inner-nav {
  list-style-type: none;
  float: right;
  padding-left: 25px;
  margin: 0px 0 25px 0;
  border-top: 1px solid rgba(0, 0, 0, .2)
} .photo-gallery ul.inner-nav.inline {
  float: none;
  padding-left: 0;
  margin: 0;
  clear: both
} .photo-gallery ul.inner-nav li {
    display: inline;
    padding: 0 0 0 2px;
    letter-spacing: 1px
  }
  .photo-gallery ul.inner-nav li a.active,
  .photo-gallery ul.inner-nav li a[active] { text-decoration: underline }

.photo-gallery a.stepper { text-decoration: none }

.photo-gallery ul.inner-nav li a {
  color: #555;
  font-weight: 500;
  font-size: 90%;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px
} .photo-gallery a.block.dark { color: #212121 }
