:root {
    --crgb: #BB3E03;
    --cdepth: #EE9B00;
    --csemseg: #0A9396;
}

body {
  /* font-family: 'Noto Sans', sans-serif; */
  /* background: linear-gradient(to right, #DFE7FD, #D3F8E2); */
}

ol > li::marker {
  font-weight: bold;
}

th {
  font-size: 14px;
}

td {
  font-size: 14px;
}

.navbar-item:hover {
  background-color: transparent !important;
}

.navbar-link:hover {
  background-color: transparent !important;
}

.glass-overlay {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); /* Adjust the blur value to your preference */
  /* background: linear-gradient(to right, #DFE7FDA0, #D3F8E2A0);  */
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
  .publication-links {
      display: flex;
      flex-direction: column; /* Stack buttons vertically */
      align-items: stretch; /* Stretch buttons to fill container */
  }

  .link-block-header {
      margin-bottom: 20px; /* Add space between buttons */
  }

  .external-link.button {
      padding: 10px; /* Adjust padding */
      font-size: 14px; /* Adjust font size */
  }
}

.banner blockquote {
  font-size: 1.4em; /* Make the subtitle a bit bigger */
}

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

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

.link-block-header a {
  margin-top: 10px;
  margin-bottom: -30px;
}

.align-items-center {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Aligns items to the right */
}

.logo {
  margin-right: 30px; /* Adjust this value to set the space between logos */
}

.apple-logo {
  position: relative;
  top: -6px; /* Adjust this value to set how much higher the second logo should be */
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center; 
}


.dmethod {
  font-family: 'American Typewriter', serif;
  font-size: 1.1em;
}

.dlink {
  color: hsl(204, 86%, 53%);
}

.teaser .hero-body {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

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

.headline {
  /* background: linear-gradient(to right, #DFE7FD, #D3F8E2); */
}

.headline-container {
  padding-top: 1.5rem;
}

@media screen and (max-width: 768px) {
  .title.is-1 {
      font-size: 1.5rem; /* Adjust this to your desired mobile size */
  }
}

.publication-title {
}

.subtitle {
  padding-top: 1.5rem;
}

.tok-subtitle {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

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

.intro-video-container video {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.publication-body img {
}

.play-controls {
  text-align: right; /* Aligns content to the right */
}

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

/* .tok-figure {
  margin-left: 22.5%; 
  margin-right: 22.5%;
  padding-bottom: 2rem;
} */

.rgb-image img {
  width: 95%;
  border-radius: 5px;
  border: 2px solid black;
}

.depth-image img {
  width: 95%;
  border-radius: 5px;
  border: 2px solid var(--cdepth);
}

.semseg-image img {
  width: 95%;
  border-radius: 5px;
  border: 2px solid var(--csemseg);
}

.has-text-centered {
  padding: 0;
}

.mmguidance-panel {
  background: #f5f5f5;
  border-radius: 10px;
  padding-top: 1.4em;
}

.mmguidance-panel .columns {
  width: 99%;
  margin-left: auto;
  margin-right: auto;
}

#mmguidance-slider {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

#semsegmanipulation-slider {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.bboxprobing-panel {
  background: #f5f5f5;
  border-radius: 10px;
  padding-top: 1.4rem;
}

.bboxprobing-panel .columns {
  width: 99%;
  margin-left: auto;
  margin-right: auto;
}

#bboxprobing-slider {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.sam-panel {
  background: #f5f5f5;
  border-radius: 10px;
  padding-top: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sam-panel .columns {
  width: 99%;
  margin-left: auto;
  margin-right: auto;
}



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

@media screen and (min-width: 1220px){
  .extended-container {
    margin-left: -5vw !important;
    margin-right: -5vw !important;
  }
}

.metadatadesigner-panel .columns {
  width: 99%;
  margin-left: auto;
  margin-right: auto;
}

.tok-panel {
  background: #f5f5f5;
  border-radius: 10px;
  padding-top: 1.4rem;
  margin-left: 15%;
  margin-right: 15%;
}

.tok-panel .columns {
  width: 99%;
  margin-left: auto;
  margin-right: auto;
}


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

.hue-panel .columns {
  width: 99%;
  margin-left: auto;
  margin-right: auto;
}

#hue-slider {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}


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

#progmask-slider {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}


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

#modratio-slider {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

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

.fm7-selected {
  background-color: #DFE7FD !important;
  color: #000 !important;
}

.fm21-selected {
  background-color: rgb(210, 249, 227) !important;
  color: #000 !important;
}

.pseudo-selected {
  background-color: rgb(245, 245, 245) !important;
  color: #000 !important;
}

.ablation {
  margin: 1.2rem;
}

.rotate {
  transform: rotate(-90deg);
  /* Safari */
  -webkit-transform: rotate(-90deg);
  /* Firefox */
  -moz-transform: rotate(-90deg);
  /* IE */
  -ms-transform: rotate(-90deg);
  /* Opera */
  -o-transform: rotate(-90deg);
  /* Internet Explorer */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}


.histtitle {
  font-family: 'Google Sans', sans-serif;
  font-weight: bold;
  font-size: 1.0rem;
}

.histtitle:after {
  margin-top: 3px !important ;
}

.text-center .histtitle:after {
  margin: 0px auto 0px;
}

.home-content > p {
  color: #444;
  opacity: 1.0;
}

#charts {
  padding: 10px 0;
}

.chart {
  display: inline-block;
  /* height: 151px; */
  min-height: 10px;
  margin-bottom: 5%;
  margin-left: 5%;
}

.reset {
  padding-left: 1.5em;
  /* font-size: smaller;
  color: #ccc; */
}

.background.bar {
  fill: #ccc;
}

.foreground.bar {
  fill: steelblue;
}

.axis path, .axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.axis text {
  font: 10px sans-serif;
}

.brush rect.extent {
  fill: steelblue;
  fill-opacity: .125;
}

.brush .resize path {
  fill: #eee;
  stroke: #666;
}

.task-header {
  margin-top: .5cm;
  margin-bottom: 0.1cm;
}

.task-header th {
  font-size: 10px;
  width: 10%;
  text-align: center;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #DFE7FD80, #D3F8E280);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 1;
}

#popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  width: 30vh;
  border-radius: 10px !important;
  z-index: 2;
}

#popup img {
  max-width: 100%;
  max-height: 100%;
}

.card-content {
  padding: 1rem;
}

.expandable-content {
  display: none;
}
.expanded .expandable-content {
  display: table-row;
}
.clickable-row {
  cursor: pointer;
}


/**
* Table styling 
*/

.shaded-red {
  background-color: #ffdddd;
  transition: background-color 0.3s ease;
}
.shaded-red.hovered {
  background-color: #ffcccc;
}
.shaded-red.individual-hover td:not([rowspan]) {
  background-color: #ffcccc;
}
.shaded-red.individual-hover td[rowspan] {
  background-color: #ffdddd;
}

.shaded-green {
  background-color: #ddffdd;
  transition: background-color 0.3s ease;
}
.shaded-green.hovered {
  background-color: #bbffbb;
}
.shaded-green.individual-hover td:not([rowspan]) {
  background-color: #bbffbb;
}
.shaded-green.individual-hover td[rowspan] {
  background-color: #ddffdd;
}

.shaded-blue {
  background-color: #eeeeff;
  transition: background-color 0.3s ease;
}
.shaded-blue.hovered {
  background-color: #ddddff;
}
.shaded-blue.individual-hover td:not([rowspan]) {
  background-color: #ddddff;
}
.shaded-blue.individual-hover td[rowspan] {
  background-color: #eeeeff;
}

.tables-wrapper {
  display: flex;
  justify-content: center;
  /* Center the tables horizontally */
  align-items: flex-start;
  /* Align tables at the top */
  gap: 40px;
  /* Space between the tables */
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
  padding: 20px;
}

@media (max-width: 768px) {
  .table-container {
    flex: 1 1 100%;
    /* Stack tables vertically on smaller screens */
  }
}
