body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

html {
  height: -webkit-fill-available;
}

main {
  height: 100vh;
  height: -webkit-fill-available;
  max-height: 100vh;
  overflow-x: auto;
  overflow-y: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: center; /* Center the entire table */
}

th, td {
  padding: 10px;
  border: 1px solid #ddd;
}

th:last-child, td:last-child {
  text-align: left; /* Or any desired alignment */
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between elements */
}

/*.collapse, */
.collapsing {
  transition: none !important
}

.tab-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nav-tabs {
  display: flex;
  flex-grow: 1;
  list-style: none;
  margin: 0;
  margin-top: 20px; /* Adjust the margin as needed */
  padding: 0;
  overflow-x: auto;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
    border: 1px solid #E8E8E8; /* Adjust border color as needed */
    overflow: visible !important;
}

.nav-item {
  flex-grow: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  background-color: #F5F5F5;
  color: #404040;
  /* border: 1px solid black; /* Adjust border color as needed */
 }

.nav-item.active {
  /* TODO: match color here */
  background-color: #4169E1;
  color: white;
}

.tab-content {
  padding: 20px;
  border: 1px solid #E8E8E8; /* Adjust border color as needed */
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}


.narrow-column {
  width: 8%; /* Adjust width as needed */
}

.medium-column {
  width: 15%; /* Adjust width as needed */
}

.column25 {
  width: 25%; /* Adjust width as needed */
}

.column40 {
  width: 40%; /* Adjust width as needed */
}

.wide-column {
  width: 60%; /* Adjust width as needed */
}

.larger-checkbox {
    transform: scale(1.5); /* Adjust the number to change the size */
    margin: 10px; /* Optional: Adjusts spacing around the checkbox */
}

.add-margin {
    margin-bottom: 10px;
}

.add-small-vert {
    margin-bottom: 5px;
}

.side-title {
    padding-left: 1.75rem; /* Match this to the left padding of the button text */
}

.side-text {
    margin-bottom:.25rem!important;
    display: block;
    padding-left: 1.75rem; /* Match this to the left padding of the button text */
}

.custom-select {
  width: 200px;
}

.container-fluid {
  height: 100vh; /* Adjust height as needed */
}

.sidebar, .main-content {
  position: relative;
  height: 100vh;
  overflow-y: auto;
}

.inner-sidebar, .inner-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-y: auto;
  margin-bottom: 30px;
}

.image-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center images horizontally */
}

img {
  margin-top: 10px;
  max-width: 100%; /* Ensure images don't exceed container width */
  margin-bottom: 10px;
}

::-webkit-scrollbar {
  width: 14px;
  background-color: transparent; /* Transparent background */
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2); /* Semi-transparent thumb */
  border-radius: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1); /* Subtle track background */
}

.dropdown-toggle { outline: 0; }

.btn-toggle {
  padding: .25rem .5rem;
  font-weight: 600;
  color: var(--bs-emphasis-color);
  background-color: transparent;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(var(--bs-emphasis-color-rgb), .85);
  background-color: var(--bs-tertiary-bg);
}
.btn.btn-primary {
    margin-bottom: 2px; /* Adds spacing below each button */
}
.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

[data-bs-theme="dark"] .btn-toggle::before {
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(var(--bs-emphasis-color-rgb), .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: var(--bs-tertiary-bg);
}

.scrollarea {
  overflow-y: auto;
}

.indented{
margin-left:50px;
}

        .info-icon {
            position: relative;
            display: inline-block;
            width: 24px;
            height: 24px;
            background-color: black; /* Black background */
            border: 2px solid white; /* White circle border */
            border-radius: 50%; /* Make it circular */
            text-align: center;
            font-family: Arial, sans-serif;
            font-size: 16px;
            font-weight: bold;
            line-height: 24px; /* Center the "i" */
            color: white; /* White "i" */
            cursor: pointer;
            margin-left: 4px; /* Add space to the left */
        }

        .info-icon:hover .tooltip {
            visibility: visible;
            opacity: 1;
        }

        .tooltip {
            visibility: hidden;
            opacity: 0;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 5px;
            padding: 5px;
            position: absolute;
            bottom: 150%; /* Position tooltip above the icon */
            left: 50%;
            transform: translateX(-50%);
            z-index: 1;
            width: 200px;
            transition: opacity 0.3s;
        }

        .tooltip::after {
            content: '';
            position: absolute;
            top: 100%; /* Arrow below the tooltip */
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

@media (min-width: 768px) {
.bd-placeholder-img-lg {
  font-size: 3.5rem;
}
}

.b-example-divider {
width: 100%;
height: 3rem;
background-color: rgba(0, 0, 0, .1);
border: solid rgba(0, 0, 0, .15);
border-width: 1px 0;
box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
flex-shrink: 0;
width: 0.5rem;
height: 100vh;
}

.bi {
vertical-align: -.125em;
fill: currentColor;
}

.nav-scroller {
position: relative;
z-index: 2;
height: 2.75rem;
overflow-y: hidden;
}

.nav-scroller .nav {
display: flex;
flex-wrap: nowrap;
padding-bottom: 1rem;
margin-top: -1px;
overflow-x: auto;
text-align: center;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
--bd-violet-bg: #712cf9;
--bd-violet-rgb: 112.520718, 44.062154, 249.437846;

--bs-btn-font-weight: 600;
--bs-btn-color: var(--bs-white);
--bs-btn-bg: var(--bd-violet-bg);
--bs-btn-border-color: var(--bd-violet-bg);
--bs-btn-hover-color: var(--bs-white);
--bs-btn-hover-bg: #6528e0;
--bs-btn-hover-border-color: #6528e0;
--bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
--bs-btn-active-color: var(--bs-btn-hover-color);
--bs-btn-active-bg: #5a23c8;
--bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
display: block !important;
}