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;
}

thead th a {
    color: black;
}

div.pagination-container
{

}

ul.pagination li {
    width: 40px;
    height: 29px;
    margin: 1px;
    border: 1px solid black;
    font-size: 16px;
    font-weight: bolder;
    text-align: center;
}

ul.pagination li.active {
    background-color: #323d95;
    color: white;
}

ul.pagination li.PagedList-skipToPrevious {
    border: none;
    color: #323d95;
}

ul.pagination li.PagedList-skipToNext {
    border: none;
    color: #323d95;
}

ul.pagination li a {
    color: #323d95;
    text-decoration: none;
}

.btn-fives {
    background-color: #323d95;
    color: white;
}

.hot {
    background-color: white;
    color: #323d95;
}

.bg-fives {
    background-color: #323d95;
}

.bg-fives-header {
    background-color: rgba(50, 61, 149, 0.2);
    border: 2px solid #323d95;
    background-image: url("../images/bridge.jpg");
    background-size: cover;
    background-position-y: center;
    background-blend-mode: overlay;
    color: white;
}

.bg-fives-danger {
    background-color: white;
}

    .bg-fives-danger:hover {
        background-color: #dc3545;
    }

.bg-fives-primary {
    background-color: white;
}

    .bg-fives-primary:hover {
        background-color: #0d6efd;
    }

h1 {
    font-size: 3.0rem;
    color: #323d95;
    font-weight: bold;
    -webkit-text-stroke: 2px white;
}

@media only screen and (max-width: 600px) {
    .bg-fives-header {
        background-color: #323d95;
        background-image: none;
    }
    h1 {
        color: white;
        -webkit-text-stroke: 0px white;
    }
}

#customConfirmOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#customConfirmDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

#meetingDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

#customNotesDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

div.groupBox {
    border: 1px solid navy;
    border-radius: 5px;
    padding-top: 15px;
    padding-bottom: 0px;
    margin-top: 4px;
    margin-bottom: 16px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

#selectLocationsDialog {
    width: 350px;
    height: 300px;
}

#selectLocationsDialog > div {
    border: 1px solid black;
    height: 230px;
    margin-bottom: 10px;
    overflow-y: scroll;
}

#selectLocationsDialog > div > table {
    width: 100%;
}

#selectLocationsDialog > div > table > tbody > tr:nth-child(even) {
    background-color: lightgray;
}

#selectLocationsDialog > div > table > tbody > tr > td:nth-child(1) {
    width: 30px;
}

#selectLocationsDialog > div > table > tbody > tr > td:nth-child(2) {
    text-align: left;
}

#selectFormsDialog {
    width: 350px;
    height: 300px;
}

    #selectFormsDialog > div {
        border: 1px solid black;
        height: 230px;
        margin-bottom: 10px;
        overflow-y: scroll;
    }

        #selectFormsDialog > div > table {
            width: 100%;
        }

            #selectFormsDialog > div > table > tbody > tr:nth-child(even) {
                background-color: lightgray;
            }

            #selectFormsDialog > div > table > tbody > tr > td:nth-child(1) {
                width: 30px;
            }

            #selectFormsDialog > div > table > tbody > tr > td:nth-child(2) {
                text-align: left;
            }

#selectInspectionsDialog {
    width: 350px;
    height: 300px;
}

    #selectInspectionsDialog > div {
        border: 1px solid black;
        height: 230px;
        margin-bottom: 10px;
        overflow-y: scroll;
    }

        #selectInspectionsDialog > div > table {
            width: 100%;
        }

            #selectInspectionsDialog > div > table > tbody > tr:nth-child(even) {
                background-color: lightgray;
            }

            #selectInspectionsDialog > div > table > tbody > tr > td:nth-child(1) {
                width: 30px;
            }

            #selectInspectionsDialog > div > table > tbody > tr > td:nth-child(2) {
                text-align: left;
            }

.error_block {
    border: 1px solid darkred;
    color: darkred;
    background-color: MistyRose;
    text-align: center;
    padding: 5px;
}

.invalid-custom {
    margin-top: .25rem;
    font-size: .875em;
    color: #dc3545;
}

#customInputDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

#customInput2Dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    width: 450px;
}

#customWarningDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

#customFileDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

#customStepDetailDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

#customToolDialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

#customPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

.fsmodal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

.inspection_header {
    background-color: #323d95;
    color: white;
}

div.question_group {
    border: 1px solid navy;
    background-color: aliceblue;
    background-image: url("../images/drag.svg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 20px 40px;
    padding-bottom: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
}

div.question_group h4 {
    margin-top: 5px;
    margin-left: 20px;
}

div.question_detail {
    border: 1px solid lightgray;
    width: 98%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2px;
    background-color: white;
    background-image: url("../images/drag.svg");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 20px 64px;
}

div.question_detail span {
    vertical-align: top;
    display: inline-block;
}

span.question_question {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 20px;
}

div.question_detail textarea.question_question {
    
    width: 380px;
    height: 50px;
    font-size: 14px;
}

span.question_leading {
    margin-top: 14px;
    margin-right: 9px;
}

div.question_detail .question_leading {
    margin-left: 10px;
    font-size: 14px;
    width: 200px;
}

span.question_instructions {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 20px;
}

div.question_detail .question_instructions {
    width: 380px;
    height: 50px;
    font-size: 14px;
    margin-right: 9px;
}

span.question_notes {
    margin-top: 19px;
    margin-left: 64px;
}

span.question_header {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    height: 20px;
}

.bar {
    display: inline-block;
    height: 100%;
}

.yes-bar {
    background-color: #33cc33;
}

.no-bar {
    background-color: #dd3333;
}

.na-bar {
    background-color: #ffcc00;
}

.employee-bar {
    background-color: lightgreen;
}

.visitor-bar {
    background-color: #FFA566;
}

.absent-bar {
    background-color: gray;
}

.date-widget {
    border: 1px solid black;
    padding: 0px;
    width: 132px;
    text-align: center;
}

    .date-widget .month {
        background-color: #323d95;
        color: white;
        font-size: large;
        font-weight: bold;
    }

    .date-widget .day {
        color: black;
        font-size: x-large;
        font-weight: bold;
    }

    .date-widget .day-of-week {
        color: #323d95;
        font-weight: bold;
        margin-bottom: 4px;
    }

div.meeting-attendees {
    border: 1px solid navy;
    background-color: aliceblue;
    width: 100%;
    height: 227px;
    overflow-y: auto;
}

div.attendee_block {
    border-bottom: 1px solid lightgray;
    height: 45px;
}

div.attendee_code {
    float: left;
    font-size: x-large;
    padding-left: 8px;
    padding-right: 8px;
}

.employee_block {
    background-color: honeydew;
}

.employee {
    color: green;
}

.visitor_block {
    background-color: antiquewhite;
}

.visitor {
    color: darkorange;    
}

div.attendee_name {
    font-size: larger;
    font-weight: bold;
}

div.attendee_note {
    font-size: smaller;
    color: gray;
    margin-top: -9px;
}

.onsite {
    position: relative;
    left: 385px;
    top: -28px;
}

.attended {
    position: relative;
    left: 405px;
    top: -28px;
}

.emp-selected {
    background-color: palegreen;
    background-image: url("../images/check.svg");
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
    background-size: 20px 20px;
}

.flexxer {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
}

.collapsable {
    width: 650px;
    background-color: honeydew;
    display: inline-block;
    vertical-align: top;
    border: 1px solid darkgreen;
    padding: 5px;
    margin-top: 10px;
}

.collapsed {
    height: 36px;
    overflow: hidden;
}

.collapsed2 {
    height: 42px;
    overflow: hidden;
}

.uncollapsed {
    height: 180px;
}

.uncollapsed2 {
    height: unset;
}

.collapsed i.collapse-toggle {
    height: 24px;
    width: 24px;
    background-size: cover;
    display: inline-block;
    background-image: url("../images/bsicons/arrow-down-square.svg");
}

.collapsed2 i.collapse-toggle {
    height: 24px;
    width: 24px;
    background-size: cover;
    display: inline-block;
    background-image: url("../images/bsicons/arrow-down-square.svg");
    margin-top: 2px;
}

.uncollapsed i.collapse-toggle {
    height: 24px;
    width: 24px;
    background-size: cover;
    display: inline-block;
    background-image: url("../images/bsicons/arrow-up-square.svg");
}

.uncollapsed2 i.collapse-toggle {
    height: 24px;
    width: 24px;
    background-size: cover;
    display: inline-block;
    background-image: url("../images/bsicons/arrow-up-square.svg");
    margin-top: 2px;
}

.signature-attendee {
    text-align: left;
    border-bottom: 1px solid lightgray;
    padding: 5px;
}

.signature_image {
    height: 20px;
    float: right;
}

.time-input {
    width: 30px;
    font-size: 20px;
    border: 1px solid #323d95;
    text-align: right;
}

select.time {
    /* Remove default browser styling */
    appearance: none;
    -webkit-appearance: none; /* For Webkit browsers */
    -moz-appearance: none; /* For Firefox */
    /* Apply custom styles */
    background-color: white;
    border: 1px solid #323d95;
    padding-left: 6px;
    padding-right: 26px;
    border-radius: 4px;
    font-size: 20px;
    color: #323d95;

    background-image: url("../images/bsicons/chevron-double-down.svg");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.content-box {
    width: calc(100% + 24px); /* This is to make up for the 24px gutter bootstrap adds to the left side. */
    border: 1px solid gray;
    background-color: #eeeeee;
    margin-top: 24px;
    padding-top: 18px;
}

    .content-box h1 {
        font-size: 1.5rem;
        font-weight: bold;
        -webkit-text-stroke: unset;
        margin-top: -12px;
    }

.content-subbox {
    width: 100%;
    max-height: 350px;
    overflow-y: scroll;
}

.content-listbox {
    max-width: 320px;
    border: 1px solid gray;
}

.subselect-item {
    float: left;
    border: 1px solid gray;
    background-color: lightyellow;
    margin: 1px;
    padding-left: 4px;
    padding-right: 8px;
}

    .subselect-item textarea {
        margin-left: 26px;
        padding: 2px;
        width: 250px;
        margin-bottom: 8px;
    }

    .subselect-item .form-check-label {
        margin-left: 5px;
        vertical-align: top;
        margin-top: -1px;
    }

.subselect-row {
    border: 1px solid gray;
    background-color: white;
    width: 100%;
    margin-bottom: 6px;    
    padding: 2px;
}

.hazard {
    border: 1px solid gray;
    display: inline-block;
    margin: 2px;
    padding: 2px;
    width: 340px;
    vertical-align: top;
    background-color: white;
    font-size: small;
    min-height: 25px;
}

.control {
    border: 1px solid gray;
    display: inline-block;
    margin: 2px;
    padding: 2px;
    width: 340px;
    vertical-align: top;
    background-color: white;
    font-size: small;
    min-height: 25px;
}

.rac {
    display: inline-block;
    font-size: larger;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    font-weight: bold;
    width: 32px;
}

.rac2 {
    display: inline-block;
    font-size: larger;
    text-align: center;
    font-weight: bold;
    width: 25px;
    vertical-align: top;
    margin-top: -1px;
}

.tools-div {
    background-color: white;
    border: 1px solid black;
    padding: 5px;
    margin-bottom: 8px;
}

.tool-div {
    background-color: white;
    border: 1px solid black;
    display: inline-block;
    width: 29%;
    font-size: small;
    padding: 2px;
    height: 45px;
}

.notes-div {
    background-color: white;
    border: 1px solid black;
    padding: 5px;
    margin-bottom: 8px;
    min-height: 100px;
}

.jha_activity_select {
    border: 1px solid gray;
    margin-left: 20px;
    border-radius: 5px;
    padding: 3px;
    margin-bottom: 2px;
}

.jha_activity_select:hover {
    background-color: powderblue;
}

.collapsable-box {
    background-color: #323d95;
    border: 1px solid black;
    padding: 5px;
    margin-top: 20px;
}

    .collapsable-box h4 {
        color: white;     
        margin-bottom: 2px;
    }

    .collapsable-box .content-box {
        width: 100%;
        margin-left: 0px;
        margin-top: 5px;
        padding-top: 4px;
    }

.hover-hilight:hover {
    background-color: lightyellow;
}

.sig_image {
    width: 300px;
    height: 84px;
    background-color: white;
    border: 1px solid darkgray;
    padding: 20px;
}