.cell {
  margin-bottom: 1rem;
}

.cell > .sourceCode {
  margin-bottom: 0;
}

.cell-output > pre {
  margin-bottom: 0;
}

.cell-output > pre, .cell-output > .sourceCode > pre, .cell-output-stdout > pre {
  margin-left: 0.8rem;
  margin-top: 0;
  background: none;
  border-left: 2px solid lightsalmon;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.cell-output > .sourceCode {
  border: none;
}

.cell-output > .sourceCode {
  background: none;
  margin-top: 0;
}

div.description {
  padding-left: 2px;
  padding-top: 5px;
  font-style: italic;
  font-size: 135%;
  opacity: 70%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  background-color: #232946;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 2px, transparent 2px, transparent 40px);
  transition: background 0.3s ease;
}

body.quarto-light {
  background-color: #e0ecff !important;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.3) 0px, rgba(255,255,255,0.3) 2px, transparent 2px, transparent 40px) !important;
}

body.quarto-dark {
  background-color: #232946 !important;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 2px, transparent 2px, transparent 40px) !important;
}

.navbar {
  display: flex;
  width: 100%;
  padding: 0.5rem 1rem;
  height: 60px; /* Fixed height */
  min-height: 60px; /* Ensure minimum height */
}

/* Override Bootstrap navbar styles */
body.quarto-light .navbar.navbar-expand-lg {
  background-color: #ffffff !important;
}

body.quarto-dark .navbar.navbar-expand-lg {
  background-color: #333333 !important;
}

.navbar-container {
  display: flex;
  width: 100%;
  align-items: center;
  position: relative;
  height: 100%;
}

.navbar-brand-container {
  flex: 0 0 auto;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-collapse {
  flex-grow: 1;
  display: flex;
  /* justify-content: center; */
  height: 100%;
}

.navbar-nav {
  display: flex;
  /* margin: 0 auto; */
  padding: 0;
  list-style: none;
  /* gap: 2rem; */
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link:hover {
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .navbar {
    height: auto !important;
    min-height: unset !important;
    align-items: flex-start;
  }
  .navbar-collapse {
    max-height: none;
    overflow-y: visible;
    background-color: #ffffff; /* Or your theme */
    padding: 1rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
  }
  .navbar-nav {
    display: block;
    height: auto;
  }
  .nav-item {
    display: block;
    padding: 0.5rem 0;
    height: auto;
  }
  .nav-link {
    height: auto;
    color: #333 !important;
  }
}

/* Search button styling */
#quarto-search {
  margin-left: auto;
  flex: 0 0 auto;
}


.member {
  text-align: center;
  margin-bottom: 20px;
}

.member-image {
  width: 250px; /* Adjust size as needed */
  height: 250px;
  border-radius: 50%; /* Makes the image circular */
  border: solid 1px black;
  object-fit: cover; /* Ensures the image fits without distortion */
  display: block; /* Ensures the image takes up its own line */
  margin: 0 auto 10px; /* Centers the image and adds space below */
}

.member a {
  display: block; /* Ensures the name appears below the image */
  font-size: 16px; /* Adjust font size */
  font-weight: bold; /* Make names bold */
  text-decoration: none; /* Removes underline */
  color: #333; /* Adjust color */
}

.member a:hover {
  color: #007bff; /* Changes color on hover */
  text-decoration: underline; /* Adds underline on hover */
}

.member-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.member-grid li {
  width: 250px;
  text-align: center;
}

.member-grid h3 {
  margin: 0.5rem 0;
  justify-content: center;
}

.profile-image {
  margin: 0 auto 10px; /* Centers the image and adds space below */
  text-align: center;
}

.img-fluid {
  width: 250px; /* Adjust size as needed */
  height: 250px;
  border: solid 1px black;
  object-fit: cover; /* Ensures the image fits without distortion */
  display: block; /* Ensures the image takes up its own line */
  margin: 0 auto 10px; /* Centers the image and adds space below */
  text-align: center;
}

@media (min-width: 1020px) {
.navbar-brand-container {
  margin-right: 1em;
}
}

@media (max-width: 1060px) and (min-width: 991.98px) {
#navbarCollapse ul:last-of-type a.nav-link {
  padding-left: .25em;
  padding-right: .25em;
}

.navbar #quarto-search {
  margin-left: .1em;
}

.navbar .bi-twitter,
.navbar .bi-github,
.navbar .bi-rss
 {
  font-size: .8em;
}
}

@media (min-width: 991.98px) {
#quarto-header {
  border-bottom: 1px solid #dee2e6;
}
}

.navbar-brand > img {
  max-height: 36px;
}

.platform-table td {
  vertical-align: middle;
}

.platform-table td > div.sourceCode {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.document-example {
  opacity: 0.9;
  padding: 6px; 
  font-weight: 500;
  margin-bottom: 1rem;
}

.document-example div {
  padding: 5px;
}

.document-example .citation {
  color: blue;
}

.trademark {
  font-size: 0.6rem;
  display: inline-block;
  margin-left: -3px;
}

.search-attribution {
  margin-top: 20px;
  padding-bottom: 20px;
  height: 40px;
}

.download-button {
  margin-top: 1em;
}

.download-table {
  margin-bottom: 2em;  
}

.download-table p {
  margin-bottom: 0;
}

.download-table .checksum {
  color: var(--bs-primary);
  font-size: .775em;
  cursor: pointer;
  padding-top: 4px;
}

.download-button {
  display:flex;
  padding-bottom: 10px;
  padding-top: 10px;
}

.download-button .secondary {
  font-size: .775em;
  margin-bottom: 0;
}

.download-button .container {
  display: flex;
  padding-left: 10px;
  padding-right: 40px;
}

.download-button .icon-container {
  fill: white;
  width: 30px;
  margin-right: 15px;
}

iframe.reveal-demo {
  width: 100%;
  height: 350px;
  outline: none;
}

.slide-deck {
  border: 3px solid #dee2e6;
  width: 100%;
  height: 475px;
}

@media only screen and (max-width: 600px) {
 .slide-deck {
    height: 400px;
  }
}

@media (max-width: 575px) {
.link-cards .card {
  margin-bottom: 20px;
  margin-right: 35px;
}
}

@media (min-width: 576px) { 
.link-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.link-cards .card {
  width: 190px;
  margin: 0 20px 12px 0;
}
}

.link-cards .card {
  border: none;
}

.link-cards .card-subtitle {
  margin-bottom: 0.7rem;
}

.link-cards .card-body {
  padding: 0.5rem;
  padding-left: 0.1rem;
}

.link-cards .card-body ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}

.link-cards .card-body ul a {
  text-decoration: none;
}

.link-cards .card-body ul li {
  padding-bottom: 0.2rem;
}

.card .source-code {
  margin-top: 3px;
}

.carousel.card {
  font-size: 16px;
  padding-top: 2em;
}

.carousel.card a {
  text-decoration: none;
}

.carousel img {
  width: 70%;
  margin-bottom: 110px;
}

.carousel .carousel-control-prev-icon, 
.carousel .carousel-control-next-icon {
  margin-bottom: 110px;
}

.gallery-category {
  column-gap: 10px;
}

.btn-action-primary {
  color: white;
  background-color: #447099 !important;
}

.btn-action-primary:hover {
  color: white;
}

.btn-action {
  min-width: 165px;
  border-radius: 30px;
  border: none;
}

.panel-tabset[data-group="tools-tabset"] .choose-your-tool {
  max-width: 90px;
  margin-right: 25px;
  margin-top: 30px;
  font-weight: 300;
  font-size: 1.3rem;
  text-align: left;
  vertical-align: center;
}

.panel-tabset[data-group="tools-tabset"] .tab-content {
  border: none;
  padding-left: 5px;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs {
  border-bottom: none;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link {
  text-align: center;
  margin-right: 10px;
  margin-top: 10px;
  color: inherit;
  width: 102px;
  font-size: 0.8em;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link.active, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-item.show .nav-link {
  border: 1px solid  rgb(222, 226, 230);
  border-radius: 10px;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link:hover {
   border-color: rgb(80,146,221);
   border-width: 1px;
} 

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link.active, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-item.show .nav-link {
  border-color: rgb(80,146,221);
  border-width: 2px;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link img {
  width: 65px;
  height: 65px;
  display: block;
  margin-bottom: 2px;
}

.download-text {
  font-size: 1.1em;
  font-weight: 500;  
}

.preview-image-grid {
  gap: .75em;
}

.preview-image-grid p {
  margin-bottom: 0;
}

.preview-image-label {
  text-align: center;
  font-size: .75em;
  font-weight: 600;
}

.illustration {
  border: 1px solid #dee2e6;
}

span.color-box-container {
  display: inline-flex;
  align-items: center; /* Align vertically */
}

span.color-box {
  display: inline-block;
  width: 1em; /* Width of the color box */
  height: 1em; /* Height of the color box */
  margin-right: 0.2em; /* Space between box and text */
  border: 1px solid #000; /* Border color */
}

.group-photo {
  max-width: 60%;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.group-photo .img-fluid {
  width: 25vw; /* Adjust size as needed */
  height: 24vw;
  border: solid 1px black;
  object-fit: cover; /* Ensures the image fits without distortion */
  display: block; /* Ensures the image takes up its own line */
  margin: 0 auto 10px; /* Centers the image and adds space below */
  text-align: center;
}

.custom-bullets li {
  list-style: none;
  position: relative;
  padding-left: 1.5em;
}

.custom-bullets li::before {
  content: "➤"; /* Or use Unicode for an arrow, emoji, etc. */
  position: absolute;
  left: 0;
  color: #007ACC; /* Optional: change color */
}

@media only screen and (max-width: 600px) {
  .group-photo .img-fluid {
    width: 90vw;
    height: auto;
    max-width: 350px;
    max-height: 350px;
  }
}
