/* Dv254: arrows aligned to the image panel itself. */
html body.project-page .modal-pan {
  position: relative !important;
  overflow: visible !important;
}
html body.project-page .modal-pan > .modal-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 56px !important;
  height: 72px !important;
  z-index: 8 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.22) !important;
}
html body.project-page .modal-pan > .modal-arrow.prev {
  left: -84px !important;
}
html body.project-page .modal-pan > .modal-arrow.next {
  right: -84px !important;
}

/* Neutralize previous stage-based placement. */
html body.project-page .modal-stage > .modal-arrow.prev,
html body.project-page .modal-stage > .modal-arrow.next {
  left: auto !important;
  right: auto !important;
}

@media (max-width: 900px) {
  html body.project-page .modal-pan > .modal-arrow {
    width: 42px !important;
    height: 54px !important;
  }
  html body.project-page .modal-pan > .modal-arrow.prev {
    left: -48px !important;
  }
  html body.project-page .modal-pan > .modal-arrow.next {
    right: -48px !important;
  }
}
