html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
/*    .header-box {
        background-color: ghostwhite;
        border: 8px inset lightskyblue;
        padding: 10px;
        margin: 5px;
        width:95%;
    }*/
}

.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 {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body always takes at least the full viewport height */
    margin: 0; /* Remove default body margin */
}
main {
    flex-grow: 1; /* Allows the main content to take up all available space */
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.warning-text {
    color: black;
    background-color: gold;
}
.header-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0;
}
.large-text {
    font-family: Calibri;
    font-weight: bold;
    font-size: 35px;
    line-height: 1.25;
    letter-spacing: 0;
    color: #DE9D66
}
.info-header-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
}
.header-box {
    background-color: ghostwhite;
    border: 8px inset lightskyblue;
    padding: 10px;
    margin: 5px;
}
.center-header-box {
    background-color: ghostwhite;
    border: 8px inset lightskyblue;
    padding: 10px 25px;
    margin: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
    .center-header-box {
        position: static;
        transform: none;
        top: auto;
        left: auto;
        background-color: ghostwhite;
        border: 8px inset lightskyblue;
        padding: 10px;
        margin: 5px;
    }
}
.description-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0;
}
.basic-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
}
.small-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0;
}
.link-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0;
}
.email-label-text {
    font-family: Calibri;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0;
}
.survey-required-disclaimer {
    font-family: Calibri;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0;
    color: red;
}
.info-box {
    background-color: whitesmoke;
    border: 1px solid lightslategrey;
    padding: 10px;
    margin: 5px;
}
.scrollable-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ccc;
}
.scrollable-container-tall {
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ccc;
}
table, th, td {
    border: 1px solid black;
    border-collapse: collapse; /* Optional: collapses borders for a cleaner look */
}

th, td {
    padding: 8px; /* Optional: adds spacing inside cells */
    text-align: left; /* Optional: aligns text to the left */
}
.bscc-button-important {
    background-color:#FFBE87;
    border:solid;
    border-color:#3B4C32;
    color:#3B4C32;
    font-size:18px;
    font-weight:700;
    margin:4px;
    padding:2px 10px;
    width:fit-content;
}
    .bscc-button-important:hover {
        background-color: #faf216
    }
.bscc-button-important-right {
    background-color: #FFBE87;
    border: solid;
    border-color: #3B4C32;
    color: #3B4C32;
    font-size: 18px;
    font-weight: 700;
    margin: 4px;
    padding: 2px 10px;
    width: fit-content;
    float: right;
}
.bscc-button-important-right:hover {
    background-color: #faf216
}
@media (max-width: 768px) {
    .bscc-button-important-right {
        background-color: #FFBE87;
        border: solid;
        border-color: #3B4C32;
        color: #3B4C32;
        font-size: 18px;
        font-weight: 700;
        margin: 4px;
        padding: 2px 10px;
        width: fit-content;
        float: none;
    }

}
    .task-button {
        background-color: #3B4C32;
        border: solid;
        border-color: #60635d;
        color: #FFFFFF;
        font-size: 16px;
        font-weight: 600;
        margin: 4px;
        padding: 2px 10px;
        width: fit-content;
    }

        .task-button:hover {
            background-color: #60635d;
        }
        .task-button:disabled{
            background-color: grey;
            border: solid;
            border-color: darkgrey;
            color: #FFFFFF;
            cursor: not-allowed;
        }
        .center-content {
            display: flex;
            justify-content: center; /* Horizontally centers items */
            align-items: center; /* Vertically centers items */
        }

    .clickable-row {
        cursor: pointer;
        background: rgba(124,184,207,.4)
    }

        .clickable-row:hover {
            background-color: #FFBE87; /* Optional: Add a hover effect */
        }

    .clickable-li {
        cursor: pointer; /* Indicates clickable item */
        padding: 5px;
        margin-bottom: 5px;
        background: rgba(124,184,207,.4)
    }

    .pseudo-button {
        cursor: pointer; /* Indicates clickable item */
        padding: 5px;
        margin-bottom: 5px;
        background-color: #FFBE87;
        border: solid;
        border-color: #3B4C32;
        color: #3B4C32;
    }

        .pseudo-button:hover {
            background-color: #faf216;
        }
.pseudo-button-alarm {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: salmon;
    border: solid;
    border-color: #3B4C32;
    color: black;
    /* was in style of most uses (below)*/
    font-weight: bold; 
    padding-right: 25px;
    display: flex;
    width: auto;
    overflow-wrap: break-word
}

    .pseudo-button-alarm:hover {
        background-color: #faf216;
    }
.pseudo-button-blue {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background: rgba(124,184,207,.4);
    border: solid;
    border-color: #3B4C32;
    color: black;
}

    .pseudo-button-blue:hover {
        background-color: #faf216;
    }
.approve-button {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: #7FFF00;
    border: solid;
    border-color: #3B4C32;
    color: #3B4C32;
}

    .approve-button:hover {
        background-color: #faf216;
    }
.reject-button {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: #d40f1f;
    border: solid;
    border-color: #3B4C32;
    color: aliceblue;
}

    .reject-button:hover {
        background-color: #ffbe99;
    }
.warning-button {
    cursor: pointer; /* Indicates clickable item */
    padding: 5px;
    margin-bottom: 5px;
    background-color: #fffb99;
    border: solid;
    border-color: #3B4C32;
    color: #3B4C32;
}

    .warning-button:hover {
        background-color: #faf216;
    }
    .clickable-li:hover {
        background-color: #FFBE87;
    }

    .clickable {
        cursor: pointer; /* Indicates clickable item */
        padding: 5px;
        margin-bottom: 5px;
        background: rgba(124,184,207,.5)
    }

        .clickable:hover {
            background-color: #FFBE87; /* Optional: Add a hover effect */
        }

    table-wrapper {
        height: 400px; /* Or a specific height */
        overflow: auto;
    }

    .sticky-header th {
        position: sticky;
        top: 0;
        z-index: 5; /* Adjust as needed */
        background-color: white; /* Ensure background for visibility */
        box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4); /* Optional: for visual separation */
    }

    .sticky-header-table {
        width: 100%;
        position: sticky;
        top: 0;
        background-color: #f0f0f0; /* Optional: background for the sticky header */
        z-index: 1; /* Ensure header stays on top */
    }

    .hidden-div {
        display: none; /* Initially hidden */
        padding: 20px;
        border: 1px solid #ccc;
        margin-top: 10px;
        background-color: #f9f9f9;
    }

    .myCheckbox {
        position: relative;
        display: inline;
        width: 22px;
        height: 22px;
        border: 1px solid #808080;
        content: "";
        background: #FFF;
    }

    #loadingOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
        display: flex; /* For centering the spinner */
        justify-content: center;
        align-items: center;
        z-index: 9999; /* Ensure it's on top */
    }

    .spinner {
        /* Style your spinner here (e.g., CSS animation for a rotating circle) */
        border: 4px solid #f3f3f3;
        border-top: 4px solid #3498db;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }
@media print {
    body {
        visibility: hidden;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        /* Add other styling for your header, e.g., height, background, padding */
    }
    .printable {
        visibility: visible;
        position: absolute;
        left: 0;
        top: 0;
    }
}
.page-break-after {
    page-break-after: always;
}
.searchableTable thead th {
    background-color: darkgrey;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

    .searchableTable thead th:hover {
        background-color: grey;
        cursor: pointer;
    }

.searchInput {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%; /* Adjust as needed */
    max-width: 450px;
}

.searchButton {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 8px;
}

    .searchButton:hover {
        background-color: #45a049;
    }

.searchCheckbox {
    margin-right: 5px;
}

.searchCheckboxLabel {
    margin-right: 15px;
    font-weight: normal;
}