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;
}

.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;
}

/* ------------------------------------------------------------------
   Additions to the Nerfies stylesheet: figures, captions, result
   tables, math and BibTeX.
   ------------------------------------------------------------------ */
.table-figure {
  margin: 1.5rem auto 2.5rem;
  text-align: center;
}

.fig-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.figure-caption {
  margin-top: 0.75rem;
  font-size: 0.9em;
  color: #4a4a4a;
  text-align: justify;
}

.table-caption {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.subfigure-caption {
  margin-top: 0.4rem;
  font-size: 0.85em;
  color: #4a4a4a;
  text-align: center;
}

.tldr {
  margin-top: 1.5rem;
  line-height: 1.5;
}

.publication-note {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.results-table {
  font-size: 0.9em;
  margin-left: auto;
  margin-right: auto;
}

.results-table th,
.results-table td {
  text-align: center !important;
  vertical-align: middle;
  white-space: nowrap;
}

.results-table td:first-child,
.results-table th:first-child {
  text-align: left !important;
}

.results-table tr.group-row td {
  font-style: italic;
  background: #fafafa;
  text-align: center !important;
}

.results-table tbody + tbody tr:first-child td {
  border-top-width: 2px;
}

/* Our method's rows: light blue, as in the paper's tables. */
.results-table tr.ours td {
  background: #e2f1f6;
}

/* Standard deviation printed as a small grey subscript after the mean. */
.results-table .std {
  font-size: 0.72em;
  color: #666;
  margin-left: 0.1em;
}

/* Wide display equations scroll instead of overflowing on narrow screens. */
mjx-container[jax="SVG"][display="true"] {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding: 0.1em 0;
}

#BibTeX pre {
  white-space: pre;
  overflow-x: auto;
  font-size: 0.8em;
}

/* Smaller title on phones so long words do not overflow. */
@media screen and (max-width: 768px) {
  .publication-title.title.is-1 {
    font-size: 2rem;
  }
}

/* Headings inside justified text blocks stay left-aligned. */
.content.has-text-justified h2,
.content.has-text-justified h3 {
  text-align: left !important;
}

@media screen and (max-width: 768px) {
  /* Justified text leaves wide gaps on narrow screens. */
  .content.has-text-justified p,
  .figure-caption {
    text-align: left !important;
  }
  /* Model-name rows start at the left edge so they stay visible
     while the table scrolls horizontally. */
  .results-table tr.group-row td {
    text-align: left !important;
  }
  /* Right-edge shadow hints that a table scrolls horizontally. */
  .table-container {
    background:
      linear-gradient(to right, #fff, #fff) left / 20px 100% no-repeat local,
      linear-gradient(to left, #fff, #fff) right / 20px 100% no-repeat local,
      linear-gradient(to right, rgba(0,0,0,0.25), rgba(0,0,0,0)) left / 16px 100% no-repeat scroll,
      linear-gradient(to left, rgba(0,0,0,0.25), rgba(0,0,0,0)) right / 16px 100% no-repeat scroll;
  }
  .table-container .results-table {
    background-color: transparent;
  }
}

/* Mobile-only hint under Figure 1 (the image links to the full-size PNG). */
.fig-hint {
  font-size: 0.8rem;
  color: #7a7a7a;
  text-align: center;
  margin: 0.25rem 0 0.5rem;
}

/* Keep the code URL in the abstract on one line on wider screens. */
@media screen and (min-width: 769px) {
  .nowrap-desktop {
    white-space: nowrap;
  }
}

/* A button whose link is not live yet, e.g. "Code (coming soon)". */
.button.is-coming-soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
