﻿/* Colors
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Fonts
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Layout
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Flex Mixins
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Links
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Animations
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Other Mixins
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Color Themes
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
body.no-scroll {
  overflow: hidden;
}

.lightbox .modal-holder {
  display: none;
}

.lightbox-modal {
  background-color: rgb(255, 255, 255);
  border: none;
  box-sizing: border-box;
  height: 100%;
  left: 0;
  overflow-y: auto;
  padding: 5.4rem 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 101;
}
.lightbox-modal .modal__content .image-canvas {
  animation: slideup 0.7s cubic-bezier(0, 0, 0.2, 1);
  animation-fill-mode: forwards;
}
.lightbox-modal .modal__content .header,
.lightbox-modal .modal__content .copy {
  animation: fadein 1s cubic-bezier(0, 0, 0.2, 1);
  animation-delay: 0.25s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes slideup {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.lightbox-modal .image-canvas {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: auto;
  max-width: calc(50% - (5.4rem/2 + 16px));
  pointer-events: none;
  position: fixed;
  right: calc(50% + 16px/2);
  width: auto;
}
.lightbox-modal .image-canvas img {
  height: auto;
  margin: auto;
  max-height: 640px;
  max-width: 100%;
  width: auto;
}
.lightbox-modal .content-wrap {
  margin-bottom: 5.4rem;
}
.lightbox-modal .title {
  margin-top: 1em;
}
.lightbox-modal .date, .lightbox-modal .meta p {
  color: #2d2d2d;
  line-height: 1.5;
}
.lightbox-modal .meta {
  margin-top: 0;
}
.lightbox-modal .meta + p {
  margin-top: 1.5em;
}
.lightbox-modal .modal-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: baseline;
  background: #fff;
  bottom: 0;
  box-sizing: border-box;
  justify-content: center;
  padding: 1em;
  position: fixed;
  right: 0;
  text-align: center;
  width: 100%;
  z-index: 102;
}
.lightbox-modal .modal-nav::after {
  transition: opacity 0.3s ease-in-out 0.4s;
  box-shadow: 0 0 32px 10px rgba(204, 204, 204, 0.4);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -2;
}
.lightbox-modal .modal-nav .nav-button {
  background: transparent;
  border: 0;
  font-family: "96 Sans", Arial, sans-serif;
}
.lightbox-modal .modal-nav .nav-button .arrow {
  line-height: 1;
}
.lightbox-modal .modal-nav .nav-button.prev {
  border-right: #ccc 1px solid;
  order: 1;
  padding: 0 0.75em 0.25em 1.1em;
  padding-left: 1.1em !important;
}
.lightbox-modal .modal-nav .nav-button.prev .arrow {
  bottom: 0.18em;
  left: 0;
  position: absolute;
  transform: scale(-1, 1);
}
.lightbox-modal .modal-nav .nav-button.next {
  border-left: #ccc 1px solid;
  order: 3;
  padding: 0 0 0.25em 0.75em;
  padding-left: 0.75em !important;
}
.lightbox-modal .modal-nav .nav-button:hover {
  text-decoration: underline;
}
.lightbox-modal .modal-nav .modal-count {
  order: 2;
  padding: 0 1em;
}
.lightbox-modal #js-modal-close {
  background: rgba(255, 255, 255, 0.7);
  border: 0;
  line-height: 0;
  padding: 0.5em;
  position: fixed;
  right: 2.7rem;
  top: 2.7rem;
  transform: translateY(-50%);
  z-index: 102;
}
.lightbox-modal #js-modal-close svg {
  transition: transform 0.2s ease-in-out;
}
.lightbox-modal #js-modal-close:hover svg {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (max-width: 970px) {
  .lightbox-modal .image-canvas {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 100%;
    position: relative;
    right: auto;
  }
  .lightbox-modal .content-wrap {
    margin-top: 24px;
    padding-top: 24px;
  }
}
@media only screen and (max-width: 970px) and (max-width: 970px) {
  .lightbox-modal .content-wrap {
    margin-top: 13px;
    padding-top: 13px;
  }
}
@media only screen and (max-width: 970px) and (max-width: 400px) {
  .lightbox-modal .content-wrap {
    margin-top: 11px;
    padding-top: 11px;
  }
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (max-width: 780px) {
  .lightbox-modal #js-modal-close {
    right: 40px;
  }
  .lightbox-modal #js-modal-close svg {
    width: 20px;
    height: 20px;
  }
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (max-width: 670px) {
  .lightbox-modal #js-modal-close {
    right: 30px;
  }
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (max-width: 400px) {
  .lightbox-modal #js-modal-close {
    right: 25px;
  }
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (max-width: 350px) {
  .lightbox-modal #js-modal-close {
    right: 20px;
  }
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media screen and (max-width: 970px) and (min-width: 500px) and (orientation: landscape) {
  .lightbox-modal {
    padding-top: 2.7rem;
  }
  .lightbox-modal #js-modal-close {
    top: 2.7rem;
    transform: none;
  }
}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* Targets displays using the Windows' "High Contrast Black" theme: */
@media screen and (-ms-high-contrast: white-on-black) {
  .lightbox-modal #js-modal-close {
    background: rgb(255, 255, 255);
  }
}
