/* css styles */
@import url(https://fonts.googleapis.com/css?family=Inter);
/*
body{
   font-family: 'Inter',serif;
   font-weight: 400;
}
*/

/*
body{
   justify-content: stretch;
   font-family: 'Open Sans',sans-serif;
   font-weight: 400;
   text-justify: distribute;
   text-align: justify;
}
*/
/*
body{
   justify-content: stretch;
   font-family: "DejaVu Sans", sans-serif;
   text-justify: distribute;
   text-align: justify;
}
*/
/*
body{
   justify-content: stretch;
   text-justify: distribute;
   text-align: justify;
}
*/

/* Centering navbar items */
.navbar-collapse {
   justify-content: center;
}

.navbar-nav {
   display: flex;
   justify-content: center;
   flex-grow: 1; /* Allows the navbar-nav to take up available space */
}

/* Hide the search icon */
#quarto-search {
   display: none !important;
}

/* Hide the entire navbar */
/*
.navbar {
   display: none !important;
}
*/

.email-link {
   color: #000000; /* or any color you prefer */
   text-decoration: none;
}

.email-link:hover {
   text-decoration: underline;
}

.current {
   color: #8B0000; /* or any color you prefer */
   font-weight: bold;
   text-decoration: none;
}

.title {
   display: none;
 }

 table {
   border-collapse: collapse;
   width: 100%; /* Optional: Adjust based on your layout needs */
 }
 
 table, th, td {
   border: none;
   padding: 5px; /* Reduced padding */
   line-height: 1.0; /* Adjust line height for compactness */
 }
 
 th, td {
   text-align: left; /* Optional: Align text to the left */
 }

 tr {
   height: 2px; /* Adjust this value to control the space between entries */
 }

.teaching-table {
  table-layout: fixed;
}

.teaching-table .course-column {
  width: 56%;
}

.teaching-table .semester-column {
  width: 44%;
}

@media (min-width: 768px) {
  .teaching-table tr:not(.course-video-row) td:nth-child(2) {
    white-space: nowrap;
  }

  .course-title-nowrap {
    white-space: nowrap;
  }
}

.course-video-row {
  display: none;
  scroll-margin-top: 5rem;
}

.course-video-row:target {
  display: table-row;
}

.course-video-row > td {
  padding: 10px;
}

.course-video-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.course-video-close {
  flex: 0 0 auto;
  font-size: 0.9em;
}

.course-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.course-video-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.course-video-youtube-link {
  display: inline-block;
  margin-top: 0.75rem;
  line-height: 1.4;
}

.first-place-badge {
  display: inline-block;
  padding: 0.10em 0.55em;
  border: 1px solid #6c757d;
  color: #6c757d;
  font-size: 0.8em;
  font-weight: 800;
  border-radius: 10px;
  margin-right: 4px;
  white-space: nowrap;
}

.first-place-badge i {
  color: #8a8f93;
}

.award-badge {
  display: inline-block;
  padding: 0.10em 0.55em;
  border: 1px solid #6c757d;
  color: #6c757d;
  font-size: 0.8em;
  font-weight: 800;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.award-badge::after {
  content: "Click to view";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  margin-bottom: 5px;
}

.award-badge:hover {
  background-color: #f8f9fa;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(108, 117, 125, 0.2);
  color: #495057;
}

.award-badge:hover::after {
  visibility: visible;
  opacity: 1;
}

.award-badge i {
  color: #8a8f93;
}

.award-badge:hover i {
  color: #495057;
}

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 10px;
  max-width: 1200px;
  width: 90%;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
}

.modal-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  right: 25px;
  top: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.modal-close:hover {
  color: #ddd;
}

/* Preserve the hexadecimal-style casing used by the lab wordmark. */
.navbar .nav-link[href$="team.html"] .menu-text {
  text-transform: none;
}

.lab-identity {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.5rem;
}

.lab-identity-mark {
  flex: 0 0 auto;
  width: 4.5rem;
  height: auto;
  object-fit: contain;
}

.lab-identity-copy {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  color: #245a83;
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}

.lab-identity-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
}

.lab-identity-rule {
  width: 100%;
  margin: 0.15rem 0 0.25rem;
  border: 0;
  border-top: 1px solid #dee2e6;
  opacity: 1;
}

.lab-identity-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

@media (max-width: 575.98px) {
  .lab-identity {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr);
    width: 100%;
  }

  .lab-identity-mark {
    width: 4.625rem;
  }

  .lab-identity-copy {
    width: 100%;
  }

  .lab-identity-title {
    font-size: 1.15rem;
  }

  .lab-identity-tagline {
    font-size: 0.82rem;
    letter-spacing: 0;
    text-align: center;
  }
}
 
 
