body {
    padding-top: 56px;
}
.btn {
  border-radius: 0px;
}

.btn-primary {
  background-color: #fedb00;
  color: black;
  border: 1px solid #fedb00;
  border-radius: 0px;
}
.btn-primary:hover {
  background-color: #e2be00;
  color: black;
  border: 1px solid #e2be00;
}

.bg-primary {
  background-color: #fedb00 !important;
  color: black;
}
.btn-secondary {
  border-radius: 0px;
}

.btn-outline-primary {
  color: black;
  border: 1px solid #fedb00;
  border-radius: 0px;
}
.btn-outline-primary:hover {
  background-color: #fedb00;
  color: black;
  border: 1px solid #fedb00;
}
.btn-outline-secondary {
  border-radius:0;
}

.sidebar {
    height: 100vh;
    width: 200px;
    position: fixed;
    padding-top: 20px;
    background-color: #f8f9fa;
}

.sidebar a {
    padding: 10px 15px;
    display: block;
}


/* sidebar nav */
.sidebarnav li a {
    color: black;
}

.sidebarnav .active {
    color: #0d6efd;
    font-weight: 500;
}
.subnav {
  padding-left:20px; 
}
.subnav li {
  color:black;
}
.subsubnav {
  padding-left:20px; 
}


.hamburger {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 30px;
  cursor: pointer;
  z-index: 1031; /* Bootstrap navbar z-index is automatically set to 1030 */
  width: auto;
  /* transform: translateY(-50%); */
  background: #fedb00;
  border: 1px solid #fedb00;
  margin: 0;
  padding: 0;
  line-height:normal;
}
.hamburger p {
  margin: 0;
  padding: 0;
  line-height:normal;
  margin-top:-5px;
  padding: 0px 5px;
}
.sidebar-container {
  position: fixed;
  width: 200px;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background: #f8f9fa;
  transition: transform 0.3s ease;
  z-index: 10;
}

.sidebar.d-none {
  display: block;
}



.login-form {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

.login-form .form-floating:focus-within {
    z-index: 2;
}

.login-form input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.login-form input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

td.negative {
    background: #ff000014;
}


.small-fancy-table {
border: 0;
  border-collapse: collapse; /* Ensures there's no space between cells */
  min-width: 300px; /* Adjust the width as needed */
}

.small-fancy-table td {
  padding: 6px 2px; /* Adjust the padding as needed */
  text-align: left; /* Aligns the text to the left; modify as necessary */
}

.small-fancy-table tr:hover {
  background-color: #f2f2f2; /* Light grey background on hover */
}


.cards-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Spacing between device divs */
}

.card-flex-item {
    position: relative;
    background-color: #f2f2f2; /* Light grey background */
    padding: 20px;
    border-radius: 20px;
    width: calc(25% - 10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    min-height: 50px;
    text-decoration: none;
    color:black;
}

.pulsating-circle {
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    margin: 0 20px;
}

.pulsating-circle:before {
    content: '';
    position: absolute;
    display: block;
    width: 300%;
    height: 300%;
    margin-left: -100%;
    margin-top: -100%;
    border-radius: 45px;
    background-color: inherit; /* Use the background color of the parent for the ring */
    animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulsating-circle:after {
    content: '';
    position: absolute;
    left: 0; 
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 15px;
    animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -.4s infinite;
}
.alert {
  z-index: 11;
}

@keyframes pulse-ring {
  0% {
    transform: scale(.33);
  }
  80%, 100% {
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0% {
    transform: scale(.8);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(.8);
  }
}

.cards-flex-container > div {
  cursor: pointer;
}
.cards-flex-container > div:hover {
  background-color: #e8e8e8;
}

.form-control:focus {
  border-color: #fedb00;
  box-shadow: 0 0 0 .25rem #caae0033;
}
.debug-alert {
  position: fixed;
  bottom: 0;
  margin: 0;
  font-size: 12px;
  opacity: 80%;
}
.debug-alert:hover {
  opacity: 100%;
}
.monospace {
  font-family: monospace !important;
}



.mobileOnly {
  display: none;
}
.scrollTable {
  overflow-x:scroll;
}

/* hide scrollbar */
.scrollTable::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollTable {
  -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

main {
  overflow-x:hidden;
}

/* fancyTabld */
.fancySearchRow th {
  background: white;
  text-align:center;
}

.pagination_table tfoot {
  text-align: center;
  
}
.pagination_table tfoot tr td {
  background-color: white;
}


@media (max-width: 768px) {
  .desktopOnly {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .mobileOnly {
    display: block;
  }
  #navbarFluid {
    justify-content: center; /* Center align horizontally */
    align-items: center;    /* Center align vertically */
  }
  .sidebar, .sidebar-container {
    width: 300px;
  }

  .sidebar-container {
    transform: translateX(-100%);
  }
  .card-flex-item {
    width: 100%;
  }
}

@media(min-width: 768px) {
  .sidebar-container {
    transform: translateX(0) !important;
  }
}

/* 
input[type='range'] {
  width: 100%;
  background: #e9e9e9;
  height: 23px;
  border-radius: 25px;
}
 */

/* 
 input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 15rem;
}
 */

/***** Chrome, Safari, Opera, and Edge Chromium *****/
input[type="range"]::-webkit-slider-runnable-track {
  background: rgb(200, 200, 200);
  height: 0.5rem;
}

/******** Firefox ********/
input[type="range"]::-moz-range-track {
  background: rgb(200, 200, 200);
  height: 0.5rem;
}



.custom-tooltip {
  position: relative;
  cursor: pointer;
}

.custom-tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -40px; /* Adjust the vertical positioning as desired */
  left: 50%;
  /* transform: translateX(-50%); */
  background-color: #333;
  color: #fff;
  padding: 6px 8px;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none; /* Ensures hover state is not interrupted */
}



datalist { 
  display: flex; 
  justify-content: space-between; 
  width: 100%; 
}
input[type="range"] { 
  width: 100%; 
}

.range-marker-wrap {
    position: relative;
    height: 30px;
    margin: 0 8px;
}
.range-marker {
  position: absolute;
  border-radius: 100px;
  /* padding: 10px; */
  transform: translateX(-50%);
  background: #fedb00;
  padding: 0px 10px;
  transition: .2s ease;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.range-marker::after {
  content: '';
  position: absolute;
  bottom: -10px; /* Adjust the distance below the range marker */
  left: 50%;
  transform: translateX(-50%);
  width: 3px; /* Width of the vertical stripe */
  height: 10px; /* Height of the vertical stripe */
  background-color: #fedb00; /* Color of the vertical stripe */
}

