body.lightbox-active {
  overflow: hidden;
  width: 100vw;
  height: 100vh; }

.slideshow-gallery video::-webkit-media-controls {
  display: none; }

.slideshow-gallery .gallery-slides {
  box-sizing: content-box;
  overflow: hidden; }
  .slideshow-gallery .gallery-slides .gallery-slides-scroll {
    white-space: nowrap;
    font-size: 0px;
    position: relative; }
    .slideshow-gallery .gallery-slides .gallery-slides-scroll > * {
      display: inline-block;
      height: 100%; }
    .slideshow-gallery .gallery-slides .gallery-slides-scroll .gallery-slide {
      width: 100%;
      position: absolute;
      background-repeat: no-repeat;
      background-size: contain; }
      .slideshow-gallery .gallery-slides .gallery-slides-scroll .gallery-slide img, .slideshow-gallery .gallery-slides .gallery-slides-scroll .gallery-slide video {
        width: 100%;
        height: 100%;
        position: absolute;
        vertical-align: middle; }
      .slideshow-gallery .gallery-slides .gallery-slides-scroll .gallery-slide iframe {
        width: 100%;
        height: 100%;
        position: absolute; }
      .slideshow-gallery .gallery-slides .gallery-slides-scroll .gallery-slide div.fluid-width-video-wrapper {
        height: 100%; }
    .no-js .slideshow-gallery .gallery-slides .gallery-slides-scroll {
      overflow-x: auto; }
      .no-js .slideshow-gallery .gallery-slides .gallery-slides-scroll .gallery-slide {
        position: relative; }

.slideshow-gallery .gallery-slides-block {
  position: relative; }

.slideshow-gallery .gallery-arrows {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: none; }
  .js-ready .slideshow-gallery .gallery-arrows {
    display: block; }

.slideshow-gallery .gallery-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  z-index: 500; }
  .slideshow-gallery .gallery-arrow.arrow-left {
    left: 0; }
  .slideshow-gallery .gallery-arrow.arrow-right {
    right: 0; }

.lightbox-overlay {
  display: none; }
  body.lightbox-active .lightbox-overlay {
    display: flex;
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999999; }
  .lightbox-overlay .lightbox-content {
    flex: 1 1 auto;
    max-width: 100vw;
    max-height: 100vh; }

.blog-lightbox-gallery {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column; }
  .blog-lightbox-gallery .gallery-close {
    width: 30px;
    height: 30px;
    background: url("/includes/templates/adafruit2013/images/lightbox-gallery-close.png") center center no-repeat transparent;
    position: absolute;
    right: -30px;
    cursor: pointer;
    transition: background-color 0.3s ease; }
    .blog-lightbox-gallery .gallery-close:hover {
      background-color: #282828; }
  .blog-lightbox-gallery .gallery-slides {
    display: inline-block;
    position: relative;
    overflow: visible;
    margin: auto; }
  .blog-lightbox-gallery .gallery-slide img, .blog-lightbox-gallery .gallery-slide video, .blog-lightbox-gallery .gallery-slide iframe {
    margin: auto;
    max-width: 80vw;
    max-height: 80vh; }
  .blog-lightbox-gallery .gallery-slide iframe {
    width: 100%;
    height: 100%; }
  .blog-lightbox-gallery .gallery-slides-container {
    width: 100%; }
  .blog-lightbox-gallery .gallery-slides-block {
    display: flex;
    padding: 40px 80px;
    margin: auto; }
  .blog-lightbox-gallery .gallery-thumbnails {
    margin: 0;
    flex: 0 1 auto;
    display: flex;
    flex-flow: row;
    justify-content: center; }
    .blog-lightbox-gallery .gallery-thumbnails > .gallery-thumbnail {
      padding: 10px 10px 10px 10px; }
      .blog-lightbox-gallery .gallery-thumbnails > .gallery-thumbnail img, .blog-lightbox-gallery .gallery-thumbnails > .gallery-thumbnail video {
        width: 145px; }
  .blog-lightbox-gallery .gallery-arrow {
    width: 33%;
    height: 80%;
    margin-top: 10%;
    opacity: 0;
    transition: opacity 0.2s ease; }
    .blog-lightbox-gallery .gallery-arrow::after {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      margin: 0 20px; }
    .blog-lightbox-gallery .gallery-arrow:hover {
      opacity: 1; }
  .blog-lightbox-gallery .arrow-left::after {
    background: url("/includes/templates/adafruit2013/images/lightbox-gallery-left.png") no-repeat center left transparent; }
  .blog-lightbox-gallery .arrow-right::after {
    background: url("/includes/templates/adafruit2013/images/lightbox-gallery-right.png") no-repeat center right transparent; }
