html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  padding-bottom: 30px;
}

.nav-link.active {
    color: #fff !important;
    background-color: #808080 !important;
}

#nav-link {
    border: 1px;
    border-color: #808080;
    padding: 0.5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/*style for tabs'/*/
.nav-tabs .nav-link {
    color: #495057 !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}

    .nav-tabs .nav-link:hover {
        border-color: #e9ecef #e9ecef #dee2e6 !important;
    }

    .nav-tabs .nav-link.active {
        color: #1e7ad7 !important;
        background-color: #fff !important;
        border-color: #dee2e6 #dee2e6 #fff !important;
    }

/* Optional styles for the bottom navbar */
.navbar.fixed-bottom {
    background-color: #ffffff;
    border-top: 1px solid #ddd;
}

.navbar .navbar-brand {
    font-size: 14px; /* Adjust font size for mobile devices */
}

.navbar .nav-link {
    font-size: 12px; /* Adjust font size for links */
}

/* For the bottom navbar */
.navbar-bottom {
    display: flex;
    justify-content: space-between;
    padding: 15px 0; /* Add padding to increase height */
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

/* For each nav-item-bottom */
.nav-item-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1; /* Make the items take equal space */
}

    /* Style the icons */
    .nav-item-bottom i {
        font-size: 24px; /* Icon size */
        margin-bottom: 5px; /* Space between icon and text */
    }

    /* Style the text under the icons */
    .nav-item-bottom span {
        font-size: 14px; /* Text size */
        display: block;
    }

/* Ensure the navbar sticks to the bottom */
.navbar-bottom .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Adjust spacing between nav items */
.navbar-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

@media (min-width: 1201px) {
    header.navbar {
        display: block; /* Show the top navbar */
    }

    .navbar-bottom {
        display: none; /* Hide the bottom navbar */
    }
}

.table-condensed {
    font-size: 10px;
}

.readonly-checkbox {
    pointer-events: none; /* Ensures it's non-interactive */
    filter: none; /* Removes the default disabled greying */
    opacity: 1; /* Full opacity */
    
    accent-color: #0d6efd; /* Bootstrap primary blue, or choose another */
}

/* For tablets (screens between 768px and 1200px) */
@media (max-width: 1200px) and (min-width: 768px) {
    /* Hide the top navbar */
    header.navbar {
        display: none;
    }

    /* Show the bottom navbar */
    .navbar-bottom {
        display: block !important;
    }
}

/* For mobile screens (below 768px) */
@media (max-width: 767px) {
    /* Hide the top navbar */
    header.navbar {
        display: none;
    }

    /* Show the bottom navbar */
    .navbar-bottom {
        display: block !important;
    }
}

/*removes expand button for table rows that should not be e4xpandable*/
tr.no-expand .detail-icon {
    visibility: hidden;
}