﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.bg-primary {
    background-color: dodgerblue; 
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
.center-div {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -150px;
}

.spinner {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
}

.loader {
    margin: auto;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #15a0ec;
    border-bottom: 16px solid #15a0ec;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.inner-div {
    background-color: white;
    border-radius: 15px;
    margin: auto;
    padding: 2%;
    width: 150px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
/* Extras added for StaffFlu
   To enable scrolling in the table
-------------------------------------------------- */
.tableFixHead {
    overflow-y: auto;
    max-height: 450px;
}

    .tableFixHead thead th {
        position: sticky;
        top: -1px;
        background-color: dodgerblue; /* adjust the background color as needed */
        color: #fff;
        z-index: 1;
    }
    .tableFixHead thead th a {
        position: sticky;
        top: -1px;
        background-color: dodgerblue; /* adjust the background color as needed */
        color: #fff;
        z-index: 1;
    }
 /*Just common table stuff. Really.*/ 
table {
    border-collapse: collapse;
    width: 100%;
}
/*
th {
    background: white;
}*/

input[type='checkbox'] {
    width: 20px;
    height: 20px;
}
body.wait, body.wait * {
    cursor: wait !important;
}
.break {
    flex-basis: 100%;
    height: 0;
}
.required::after {
    content: ' *';
    margin-right: 4px;
    color: red;
}
/* button container is used on the front page index screen */
.button-container {
    display: flex;
    justify-content: center; /* Center the buttons horizontally on large screens */
}
    .button-container button {
        margin: 5px; /* Add spacing between buttons on large screens */
    }
/* Media query for mobile screens */
@media (max-width: 1000px) {
    .button-container {
        display: block; /* Stacks the buttons on top of each other */
        text-align: center; /* Center the buttons on mobile screens */
    }
    /* Optional: Add some space between the stacked buttons */
    .btn {
        margin-bottom: 10px;
    }
}