body {
  font-family: 'Noto Sans', sans-serif;
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Override container max-width for teaser section to allow larger videos */
.teaser .container.is-fullhd {
  max-width: 80%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

/* for recon list */
li { 
  cursor: pointer;
}

/* Style the buttons that are used to open the tab content */
.nav-item {
  overflow: hidden;
  text-align: center;
  width: 100%;
  background-color: inherit;
  float: left;
  border: 1px solid #ddd;
  outline: none;
  cursor: pointer;
  transition: 0.0s;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

/* Change background color of buttons on hover */
.nav-item:hover {
  background-color: #ffd4a3;
}

/* Create an active/current tablink class */
.nav-tabs .nav-link.active {
  background-color: #ff8c42;
  color:white;
  font-weight: 500;
}

.nav a {
  color: #000;
  text-decoration: none;
}
.nav a:hover {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.b-dics__slider {
  color: #ff8c42;
}
.b-dics__slider:after {
  width: 2px;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.content-row {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
}

.demo-scene-panel {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  color: #111111;
  border-radius: 7px;
  border: #bbbbbb 1px solid;
  background-color: #f1f1f1;
  width: 220px;
  margin-left: 8px;
  margin-right: 8px;
}

/* Video comparison canvas frame styling */
.videoMerge {
  display: block;
  max-width: 100%;
  height: auto !important;
  border-radius: 12px;
  /* Canvas rendering fix for border-radius */
  overflow: hidden;
  /* Safari-specific fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* Force hardware acceleration */
  will-change: transform;
}

/* Triple comparison container */
.triple-comparison-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 95vw;
  margin-left: auto;
  margin-right: auto;
}

/* Wrapper for each video comparison */
.video-comparison-wrapper {
  flex: 1;
  max-width: calc(33.33% - 7px);
  min-width: 0; /* Allow shrinking */
}

/* Wrapper around canvas - transparent, no background */
.video-comparison-container {
  margin-bottom: 10px;
  display: inline-block;
  width: 100%;
}

/* Gray frame directly around canvas */
.video-comparison-container canvas {
  border: 4px solid #c0c0c0;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
              0 2px 4px rgba(0, 0, 0, 0.1);
  background: #000;
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
  cursor: ew-resize; /* Show that it's draggable */
}

/* Responsive design for smaller screens */
@media (max-width: 1024px) {
  .triple-comparison-container {
    flex-direction: column;
    gap: 20px;
  }

  .video-comparison-wrapper {
    max-width: 100%;
  }
}

/* Teaser thumbnail gallery styling */
.teaser-thumbnail-gallery {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.teaser-thumbnail {
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  border: 3px solid transparent;
  background-color: #f5f5f5;
  transition: all 0.3s ease;
  width: 110px;
  text-align: center;
}

.teaser-thumbnail:hover {
  border-color: #ffd4a3;
  background-color: #fafafa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.teaser-thumbnail.active {
  border-color: #ff8c42;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.teaser-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ============================================ */
/* Bootstrap Carousel Custom Styling - Circular Buttons */
/* ============================================ */

/* Position the carousel controls inside the video frame */
.carousel-control-prev,
.carousel-control-next {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  outline: none;
  transition: none;
}

/* Position on the sides inside the video */
.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

/* Remove hover effect on the control container */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: transparent;
}

/* Custom arrow icons - circular buttons */
.carousel-control-custom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 40px;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.2);
  text-shadow: none;
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
  line-height: 1;
  border: 2px solid rgba(255, 255, 255, 0.3);
  vertical-align: middle;
}

/* Hover effect on circular buttons only - solid */
.carousel-control-prev:hover .carousel-control-custom-icon,
.carousel-control-next:hover .carousel-control-custom-icon {
  color: rgba(255, 255, 255, 1.0);
  background-color: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
}

/* Hide default Bootstrap icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none;
}

/* Style the carousel indicators (buttons) */
.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 4px;
  cursor: pointer;
}

/* Highlight the indicator button on hover */
.carousel-indicators li:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

/* Active indicator (the one that corresponds to the current slide) */
.carousel-indicators .active {
  background-color: rgba(255, 140, 66, 0.9);
  border-color: rgba(255, 140, 66, 0.9);
}

/* Adjust position of the carousel indicators */
.carousel-indicators {
  bottom: 15px;
  margin-bottom: 0;
}

/* Shadow for carousel container */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
