/**
 * Record Thumbnails Component Styles
 */
/**
 * Define standard colors
 */
.recordThumbnailContainer .recordThumbnail {
  position: relative;
}
.recordThumbnailContainer .recordThumbnail.fillContainer:not(.fixedSize) {
  width: 100%;
  height: 100%;
}
.recordThumbnailContainer .recordThumbnail.fillContainer .photoContainer {
  position: relative;
}
.recordThumbnailContainer .recordThumbnail.fillContainer .photoContainer .badge {
  z-index: 2;
}
.recordThumbnailContainer .recordThumbnail.fillContainer .photoContainer:not(.fixedSize) {
  width: 100%;
  height: 100%;
}
.recordThumbnailContainer .recordThumbnail.fillContainer .photoContainer .highlightBackgroundImg {
  width: 100%;
  height: 100%;
}
.recordThumbnailContainer .recordThumbnail.genericDefaultView .photoContainer,
.recordThumbnailContainer .recordThumbnail.webcrawledView .photoContainer {
  line-height: 1.2;
}
.recordThumbnailContainer .recordThumbnail.genericDefaultView .photoContainer.photoSize5 .explanationText,
.recordThumbnailContainer .recordThumbnail.webcrawledView .photoContainer.photoSize5 .explanationText {
  font-size: 13px;
  width: auto;
}
.recordThumbnailContainer .recordThumbnail.genericView:not(.fillContainer) .photo {
  background-size: contain;
}
.recordThumbnailContainer .recordThumbnail.genericView .photoContainer .highlight {
  z-index: 1;
  position: absolute;
  background-position: center;
  box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.45);
}
.recordThumbnailContainer .recordThumbnail.genericView .photoContainer .highlightBackgroundImg {
  filter: blur(3px);
}
.recordThumbnailContainer .recordThumbnail.externalView .photoContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #474d54;
}
.recordThumbnailContainer .recordThumbnail.externalView .photoContainer.photoSize4 .webLink,
.recordThumbnailContainer .recordThumbnail.externalView .photoContainer.photoSize5 .webLink {
  display: none;
}
.recordThumbnailContainer .recordThumbnail.externalView .photoContainer:hover .webLink {
  text-decoration: underline;
}
.recordThumbnailContainer .recordThumbnail.externalView .photoContainer .imageWrapper {
  line-height: 1;
  padding: 10px 0;
}
.recordThumbnailContainer .recordThumbnail.externalView .photoContainer .imageWrapper .webLink {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 3px 5px;
}
.recordThumbnailContainer .recordThumbnail .photoContainer .badgePositionedTopRight {
  position: absolute;
  top: 3px;
  right: 3px;
  margin: 0;
}
.recordThumbnailContainer .recordThumbnail .photoContainer.background:before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(255, 255, 255, 0.75);
}
.recordThumbnailContainer .recordThumbnail .clickable .onboard.hand {
  position: absolute;
  width: 50px;
  z-index: 2;
  transform: scale(1);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 1;
  top: 20%;
  left: calc(50% - 50px);
}
@media (prefers-reduced-motion: reduce) {
  .recordThumbnailContainer .recordThumbnail .clickable .onboard.hand {
    animation: fadeOut 12s ease-in-out forwards;
  }
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
    80% {
      opacity: 0.75;
    }
    100% {
      opacity: 0;
    }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .recordThumbnailContainer .recordThumbnail .clickable .onboard.hand {
    animation: trianglePath 12s ease-in-out forwards;
  }
  @keyframes trianglePath {
    6.67%,
    11% {
      top: 20%;
      left: calc(50% - 50px);
      opacity: 1;
    }
    17.67%,
    22% {
      top: 40%;
      left: calc(85% - 50px);
      opacity: 1;
    }
    0%,
    28.67% {
      top: 60%;
      left: 15%;
      opacity: 1;
    }
    40%,
    44.33% {
      top: 20%;
      left: calc(50% - 50px);
      opacity: 1;
    }
    51%,
    55.33% {
      top: 40%;
      left: calc(85% - 50px);
      opacity: 1;
    }
    33.33%,
    62% {
      top: 60%;
      left: 15%;
      opacity: 1;
    }
    73.33%,
    77.67% {
      top: 20%;
      left: calc(50% - 50px);
      opacity: 1;
    }
    84.33%,
    88.67% {
      top: 40%;
      left: calc(85% - 50px);
      opacity: 1;
    }
    66.67%,
    95.33% {
      top: 60%;
      left: 15%;
      opacity: 1;
    }
    100% {
      top: 60%;
      left: 15%;
      opacity: 0;
    }
  }
}
.recordThumbnailContainer .recordThumbnail .clickable:hover .recordThumbnailOverlay {
  opacity: 1;
}
.recordThumbnailContainer .recordThumbnail .clickable .recordThumbnailOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* 50% opacity black */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.recordThumbnailContainer .recordThumbnail .zoomedImageHoverBox {
  position: absolute;
  background-color: rgba(8, 99, 131, 0.1);
  border: 2px solid #086383;
}
.recordThumbnailContainer .recordThumbnail .zoomedImageLoadingBox {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
}
.recordThumbnailContainer .recordThumbnail .zoomedImageLoadingBox.loading:before {
  animation-delay: 0s, 0s !important;
}
.recordThumbnailContainer .explanationText {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 0 5px #fff;
  position: absolute;
  padding: 0 10px;
  width: 100%;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.recordThumbnailContainer .banner {
  display: block;
  padding: 8px 0;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
}
.recordThumbnailContainer .banner span.iconWebLink,
.recordThumbnailContainer .banner span.iconSearch,
.recordThumbnailContainer .banner span.iconImage {
  font-size: 16px;
}
.recordThumbnailContainer .banner span.iconWebLink:before,
.recordThumbnailContainer .banner span.iconSearch:before,
.recordThumbnailContainer .banner span.iconImage:before {
  color: #f5f5f5;
}
.recordThumbnail.externalSiteModal footer {
  margin-top: 20px;
}
.recordThumbnail.imageViewerModal {
  display: flex !important;
  flex-direction: column;
  height: 95vh;
  height: 95dvh;
}
.recordThumbnail.imageViewerModal .iframeContainer {
  flex: 1;
}
.recordThumbnail.imageViewerModal .iframeContainer iframe {
  border: 0;
  border-radius: 0px 0px 5px 5px;
}
.recordThumbnail.zoomedImagePreviewBox {
  position: fixed;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 9999;
}
.recordThumbnail.zoomedImagePreviewBox.visible {
  opacity: 1;
}
.recordThumbnail.zoomedImagePreviewBox .zoomedImage {
  position: absolute;
  background-repeat: no-repeat;
}
.recordThumbnail.zoomedImagePreviewBox .attribution {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 5px;
}
.recordThumbnail.zoomedImagePreviewBox .attribution .title {
  opacity: 1;
  background-color: #e2e0dd;
  font-size: 13px;
  padding: 0 5px;
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
