body a:not(.navbar-brand):not(.nav-link):not(.btn) {
  color: #03a5fc !important;
  text-decoration: none !important;
  background-color: transparent !important;
}

body a:not(.navbar-brand):not(.nav-link):not(.btn):hover {
  color: #0274b0 !important;
  text-decoration: underline !important;
}

.jumbotron {
  padding: 20px;
  padding-bottom: 7px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.navbar {
  margin-bottom: 20px;
  border-bottom: 4px solid var(--secondary);
}

/* Ensure only the active tab is highlighted */
.nav-tabs {
  border-bottom: 1px solid #444 !important; /* Ensure it doesn't inherit a different border */
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.nav-tabs .nav-link {
  background-color: transparent !important; /* Default background for inactive tabs */
  color: #000 !important;
  border: 0px solid transparent !important; /* Prevent unwanted borders */
  font-size: 20px !important;
  height: 28px !important;
}

/* Fix hover background for inactive tabs */
.nav-tabs .nav-link:not(.active):hover {
  background-color: var(--light) !important;
}

/* Fix: Ensure active tab has $primary background */
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background-color: #03a5fc !important;
  color: white !important;
  border-color: #03a5fc !important;
}

/* Ensure Bootstrap default styles aren't overriding it */
.nav-tabs .nav-link.active:hover {
  background-color: #0284ca !important;
  color: white !important;
  border-color: #0284ca !important;
}

.btn {
  margin-bottom: 5px !important;
  padding: 5px 15px !important; /* Adds vertical and horizontal padding */
  height: auto !important; /* Allows button height to adjust dynamically */
  line-height: normal !important; /* Ensures text aligns correctly */
  text-align: center !important; /* Centers text inside button */
  font-size: 14px !important; /* Adjusts font size for better readability */
  background-color: #03a5fc !important;
  border: 0 solid transparent !important;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active {
  background-color: #0274b0 !important;
}

.container-fluid {
  max-width: 95%;
}

.content-wrapper {
  display: flex; /* Ensures sidebar and content are side by side */
  align-items: flex-start; /* Aligns content at the top */
  flex-wrap: nowrap; /* Allows stacking on small screens */
}

.container-sidebar {
  width: 350px; /* Sidebar stays fixed at 300px */
  flex-shrink: 0; /* Prevents sidebar from shrinking */
}

.container-main {
  flex-grow: 1; /* Makes content take up the remaining space */
  padding-left: 20px; /* Adds space between sidebar and content */
}

/* When screen width is below 768px (typical mobile), stack sidebar and content */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column; /* Stacks sidebar above content */
  }
  .container-sidebar {
    margin: 0 auto; /* Center the entire div */
    display: block; /* Ensure it behaves like a block element */
  }
  .container-main {
    width: 100%;
    padding-left: 0; /* Remove left padding */
  }
}
/* On some pages, hide sidebar completely on small screens */
.hide-sidebar-on-mobile {
  display: block; /* Default visible */
}

/* Hide only on small screens */
@media (max-width: 768px) {
  .hide-sidebar-on-mobile {
    display: none; /* Sidebar disappears */
  }
}
.container-footer {
  margin-right: auto;
  margin-left: auto;
  max-width: 800px;
  padding-left: 20px;
  padding-right: 20px;
}

.well-collapse {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 12px;
  padding-bottom: 4px;
  border-radius: 7px;
  min-height: 1px;
  margin-top: 15px;
  color: black;
  background-color: var(--gray);
  border: 2px solid var(--gray-dark);
}
.well-collapse blockquote {
  border-color: var(--gray-dark);
  border-color: rgba(0, 0, 0, 0.15);
}

.embed-container-home {
  position: relative;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("https://ericmanley.github.io/images/thumbs/3dtrain.jpeg");
}

.embed-container {
  position: relative;
  padding: 0px;
  margin: 0px;
  width: 175px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.embed-container-spleen {
  height: 155px;
  background-image: url("https://ericmanley.github.io/images/thumbs/spleen.jpg");
}

.embed-container-leuk {
  height: 112px;
  background-image: url("https://ericmanley.github.io/images/thumbs/spleen.jpg");
}

.MathJax_ref {
  fill: #03a5fc !important;
}

/* On some pages, hide sidebar completely on small screens */
.hide-sidebar-on-mobile {
  display: block; /* Default visible */
}

/* Hide only on small screens */
@media (max-width: 768px) {
  .hide-sidebar-on-mobile {
    display: none; /* Sidebar disappears */
  }
}
/* Ensure all images have the same height & crop instead of stretching */
.fixed-image {
  width: 100%;
  height: 200px; /* Set a fixed height */
  object-fit: contain; /* Ensures the whole image is visible */
  object-position: center; /* Centers the image */
}

/* Ensures all cards have the same height */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Ensures the text area expands but the button stays at the bottom */
.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allows card-body to expand */
}

/* Makes sure description fills available space */
.card-text {
  flex-grow: 1;
}

/* Ensures the button is always at the bottom */
.mt-auto {
  margin-top: auto;
}

/* Hide numbering from bibliography */
ol.bibliography {
  list-style-type: none !important;
  padding-left: 0 !important;
}

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75em; /* Adjust as needed */
  height: 2.75em;
  background-color: #03a5fc; /* Adjust color */
  color: #FFF;
  border-radius: 5px; /* Optional: rounded corners */
}

.icon-square i {
  font-size: 2.25em;
  line-height: 1; /* Ensures consistent vertical alignment */
}

.icon-square .bi {
  font-size: 2.25em;
  width: auto;
  height: 1em;
  display: inline-block;
  vertical-align: middle; /* Aligns the Bootstrap icon */
}

.output-box {
  background-color: #1e1e1e; /* Darker background */
  color: #a9b7c6; /* Lighter text */
  font-family: monospace;
  border-left: 10px solid #03a5fc;
  padding: 10px;
  margin: 0; /* Remove margin */
  white-space: pre-wrap;
}

.output-box p {
  margin: 0; /* Remove extra space above/below */
  padding: 0; /* Remove any extra internal padding */
}

.list-group-item.active {
  background-color: #03a5fc !important;
}

/*# sourceMappingURL=main.css.map */