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

.grid-video-dull {
  border-radius: 10px;
  width: 100%;
  filter: brightness(100%);
}

ol {
    list-style-position: inside;
}


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

.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-1 {
  width: 100%;
}
#interpolation-image-wrapper-1 img {
  border-radius: 5px;
}

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

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

/* center the videos inside of this. */
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.training {
  /* border: 3px solid #7d8ac8; */
}

.validation {
  /* border: 3px solid #dc787a; */
}

.grid-video {
  border-radius: 10px;
  width: 100%;
}

/* flex container */
.video_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  align-items: left;
  margin-top: 3px;
  margin-bottom: 3px;
}

/* set the width of the grid item to be 1/8 of the parent */
.video_grid_item {
  /* padding on the sides */
  margin-left: 3px;
  margin-right: 3px;
  width: calc((100% - 44px) / 1);
}

.video_grid_item_left {
  /* padding on the sides */
  margin-right: 3px;
  width: calc((100% - 44px) / 1);
}

.video_grid_item_right {
  /* padding on the sides */
  margin-left: 3px;
  width: calc((100% - 44px) / 1);
}

.carousel {
  /* overflow: hidden; */
}

.carousel .item {
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top:20px;
  margin-bottom:25px;
  padding-left:65px;
  padding-right:65px;
  position: relative;
}

.carousel .item::before,
.carousel .item::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20%; /* Adjust the width to control the fade effect */
  height: 100%;
  /* background: rgba(255, 255, 255, 0); [> Initial transparent background <] */
  /* z-index: 1; [> Ensure the overlay is above the content <] */
  /* transition: background 0.5s ease; [> Add transition effect <] */
}

.carousel .item::before {
  left: 0;
}

.carousel .item::after {
  right: 0;
}

.carousel .item.active::before,
.carousel .item.active::after {
  background: rgba(255, 255, 255, 1); /* Fully opaque white background on active item */
}

.video-carousel {
  width: 90%;
  height: 200px;
  overflow-x: auto;         /* 允许横向滚动 */
  overflow-y: hidden;
  white-space: nowrap;      /* 保证横向一行排列 */
  position: relative;
  margin-left: 5%;
  font-size: 0;
  /* 让滚动条显眼 */
  scrollbar-width: thin;
  scrollbar-color: #888 #e0e0e0;
}

.video-slide {
  display: inline-block;    /* 保证不是 flex 或 block */
  width: 210px;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000;         /* 可选，保证可见 */
}


/* .carousel-container { */
/*   overflow: hidden; */
/* } */
/*  */
/* .carousel { */
/*   display: flex; */
/*   transition: transform 0.5s ease; */
/* } */
/*  */
/* .carousel-item { */
/*   flex: 0 0 33.33%; [> Each item takes up one-third of the container <] */
/*   max-width: 33.33%; [> Ensure items don't exceed one-third of the container <] */
/* } */
/*  */
/* .carousel-button { */
/*   cursor: pointer; */
/* } */


.item-container {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin-bottom: 10px;
}

.item-container img {
  width: calc((100% - 24px) / 4);
  height: auto;
  border-radius: 2px;
}

.item-container .training {
  margin-right: 10px;
}

.item-label {
  width: calc((100% - 24px) / 4);
  /* center the contents */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.affordance-viz {
  background-color:#f5f5f5;
  padding: 10px;
  border-radius: 10px;
  width:80%
}

.custom_footer {
  padding-top:50px;
  background-color:#f5f5f5;
}
