img.navbar-brand-icon {
  width: 40px;
  margin-top: -10px;
}

span.orange {
  color: orange;
}

li.current a {
  background-color: orange;
}

li.current2 a {
  color: orange;
}

canvas {
  width: 100%;
  height: auto;
}

figure {

  text-align: center;
  font-style: italic;
  font-size: smaller;
  text-indent: 0;
  margin: 0.5em;
  padding: 0.5em;
}

/* Had a problem with icon going above menu bar. This seems to fix. */
.navbar-collapse {
  width: 900px;
}

.navbar {
  margin-bottom: 0px;
}

.container p {
  line-height: 1.7;
  margin-bottom: 30px;
}

.container .dense p {
  line-height: 1.7;
  margin-bottom: 0px;
  margin-top: 0px;
}

.container .alert p {
  line-height: 1.3;
  margin-bottom: 0px;
}

.container ul li {
  line-height: 1.7;
}

/* Try to make columns with figures have equal heights */



@media (min-width: 500px) {
  .img.side {
    max-width: 250px;
  }
}

.section-nav {
  text-decoration: none;
}

.section-nav a {
  text-decoration: none;
  color: inherit
}

.rxtable p {
  margin-bottom: 0
}

.ifcontainer {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 46%;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#newsCarousel .carousel-control-prev,
#newsCarousel .carousel-control-next {
  /* Move controls outside the carousel edges */
  width: 10%; /* Increase clickable area */
  left: -5%;  /* Push prev left of content */
  right: -5%; /* Push next right of content (applied to next only below) */
  z-index: 10; /* Ensure they’re above cards */
  opacity: 0.7; /* Full opacity when visible */
}

#newsCarousel .carousel-control-next {
  right: -5%; /* Override default right positioning */
  left: auto; /* Reset left for next button */
}

/* Enhance icon visibility */
#newsCarousel .carousel-control-prev-icon,
#newsCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.7); /* Darker background */
  border-radius: 50%; /* Circular shape */
  width: 40px; /* Larger size */
  height: 40px;
  filter: none; /* Remove grayscale filter */
}

/* Hover effect for better UX */
#newsCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#newsCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.95); /* darker black on hover */
}

/* for fitting images*/
.img-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overflow-hidden {
  overflow: hidden; /* Ensures excess image parts are clipped */
}

.hit-counter {
  font-size: 1.2rem; /* Adjust for desired digit size */
  letter-spacing: 2px; /* Space out digits */
  text-shadow: 0 0 5px rgba(40, 167, 69, 0.7); /* Glow effect for green LED */
  border: 1px solid #333; /* Subtle border to mimic hardware */
  color: #39ff14; /* Bright neon green */
}

/* For Reactor Nutrition Facts */
.facts-box {
  width: 300px;
  border: 8px solid black;
  padding: 10px;
  font-family: Arial, sans-serif;
  background: white;
}

.facts-title {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 4px solid black;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.section-title {
  font-weight: bold;
  font-size: 16px;
  border-top: 1px solid black;
  margin-top: 10px;
  padding-top: 6px;
}

.fact-line {
  display: flex;
  justify-content: space-between;
  border-top: 1px dotted #333;
  padding: 4px 0;
  font-size: 14px;
}

.fact-line:first-of-type {
  border-top: none;
}