﻿html, body {
    max-width: 100%;
    overflow-x: hidden;
    height: 100%;
    padding-bottom:25px;
}

#app-navbar {
    background-color: var(--bs-gray-900) !important;
}

.spinner-wrapper {
    position: relative;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 250000;
    font-size: 2rem;
    color: #555;
}

.icon-image {
    max-width: 20px;
    height: auto;
}

    .icon-image:hover {
        cursor: pointer;
    }

.stickyHeader {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1010;
}

.stickyTable {
    border-collapse: collapse;
    background: white;
}

    .stickyTable thead {
        position: sticky;
        top: 90px;
        background: white;
        z-index: 990;
    }

        .stickyTable thead th {
            border: 1px solid #dee2e6;
            box-shadow: inset -1px 0 0 #dee2e6, inset 1px 0 0 #dee2e6, inset 0 -1px 0 #dee2e6, inset 0 1px 0 #dee2e6;
            background: white;
            z-index: 1000;
        }

        .stickyTable tbody td {
            border: 1px solid #dee2e6;
            box-shadow: inset -1px 0 0 #dee2e6, inset 1px 0 0 #dee2e6, inset 0 -1px 0 #dee2e6, inset 0 1px 0 #dee2e6;
            background: white;
            z-index: 1000;
        }

.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .clickable-row:hover td {
        background-color: #d9edf7;
    }

.clickable-td {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .clickable-td:hover {
        background-color: #d9edf7;
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    }

/*These two classes override the default bootstrap functionality that prevents more than one modal stacked */
.modal-backdrop {
    display: none;
}
.modal {
    background: rgba(0, 0, 0, 0.5);
}
/*////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* Ensure the modal body is scrollable and doesn't overlap with header or footer */
.modal-body {
    max-height: calc(100vh - 200px); /* Adjust based on the height of the header and footer */
    overflow-y: auto; /* Enable vertical scrolling */
}

.modal-content {
    padding: 10px;
}

.modal-navbar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    list-style: none;
    padding-left: 0;
}

.modal-tab {
    flex: 1 1 0;
    text-align: center;
}

    .modal-tab .nav-link {
        width: 100%;
        font-size: clamp(0.75rem, 2vw, 1rem);
        padding: 0.5rem;
        border: none;
        background: none;
    }

.tox-tinymce-aux,
.tox-dialog {
    z-index: 200000 !important;
}

.modal-body iframe {
    pointer-events: auto !important;
    z-index: 1051 !important; /* Ensure it's above the backdrop */
}

.nav-footer-label {
    font-size: 12px;
}

.divideBefore {
    border-top: 1px solid lightgray !important;
}

.progressbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 35px 100px
}

    .progressbar::before {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        height: 4px;
        width: 100%;
        background-color: #dcdcdc;
    }

.progress {
    background-color: var(--primary-color);
    width: 0%;
    transition: 0.3s;
}

.progress-step {
    width: 2.1875rem;
    height: 2.1875rem;
    background-color: #dcdcdc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

    .progress-step::after {
        position: absolute;
        top: calc(100% + 0.5rem);
        font-size: 0.85rem;
        color: #666;
    }

.navbar-brand.active {
    color: var(--bs-primary);
    border-top: 4px solid var(--bs-primary);
}

.progress-step-active {
    background-color: #0777a3;
    color: #f3f3f3;
}

.weekdayCircleButton {
    border-radius: 10px;
    height: 30px;
    width: 30px;
    line-height:30px;
    text-align: center;
    border: 1px solid #ced4da;
    cursor: pointer;
    position:relative;
}

.weekdayCircleButton:hover {
    background-color: #0777a3;
    color:white;
}

.statusPill {
    border-radius: 10px;
    height: 20px;
    background-color: orange;
    color: blue;
    font-size: 11px;
    line-height: 20px;
    position: absolute;
    top: 30px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;
}

.lineAbove {
    border-top: 2px solid blue !important;
}

.form-control {
    margin-bottom: 12px;
}

.modal-scrollBody {
    padding-right: 15px;
}

.dropdown-item {
    cursor: pointer;
}

.inactiveInventoryLocation {
    position: absolute;
    margin: -5px;
    height: 98%;
    width: 98%;
    z-index: 1;
    transition: 0.5s ease;
    background-color: #555C;
    overflow: hidden;
}

.fa-buttonSuccess {
    background-color: transparent;
    border: none;
    color: #449d44;
}

    .fa-buttonSuccess:hover {
        color: #286090;
        background-color: transparent;
    }

.modal-scrollBody {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
}

.calendarSquare {
    text-align: center;
    border-color: #080808;
    border-width: 1px;
    border-style: solid;
    overflow-y: auto;
    overflow-x: hidden;
    flex:1;
    flex-direction: column;
    padding:0;
}

.calendarEntry {
    text-align: left;
    max-height: 31px;
    overflow-x: clip;
    white-space: nowrap;
}

.calendarToday {
    background-color: lightblue !important;
}

.calendarOtherMonth {
    background-color: silver !important;
}

.tripEntry {
    border-radius: 0;
    max-height: 17px;
    margin-left: 0px !important;
    margin-right: -2px !important;
    padding: 0px 0px 0px 5px;
    font-size: 11px;
    overflow-x: visible;
    text-align: left;
}

.tripBegin {
    margin-left: 15px !important;
    border-bottom-left-radius: .2rem;
    border-top-left-radius: .2rem;
}

.tripEnd {
    margin-right: 15px !important;
    border-bottom-right-radius: .2rem;
    border-top-right-radius: .2rem;
}

.bottomBanner {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

.timeTab {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 6px;
    text-align: center;
    color: black;
}

    .timeTab:hover {
        color: gray;
    }

.tab {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 6px;
    text-align: center;
    color: black;
    background-color: lightblue;
    height: 30px;
    line-height: 30px;
}

    .tab:hover {
        background-color: gray;
        cursor: pointer;
    }

.tabSelected {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 6px;
    text-align: center;
    color: black;
    background-color: darkGray;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
}

.link {
    color: #0777a3;
    text-decoration: none;
}

    .link:hover {
        text-decoration: underline;
        cursor: pointer;
    }

.timeTabSelected {
    background-color: lightgray;
    border-color: black;
    color: black;
}

.overdueTab {
    background-color: red;
}

.dueTodayTab {
    background-color: orange;
}

.dueSoonTab {
    background-color: lightgoldenrodyellow;
}


.addRecord {
    overflow: hidden;
    white-space: nowrap;
    display: inline;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.navbar-container {
    padding: 0px;
}

.tableSubheading {
    background-color: gray;
}

.tableSubheading2 {
    background-color: black;
    color: white;
}


.btn {
    margin: 2px;
}

.error {
    padding: 10px;
    background-color: #F75676;
    color: black;
    border-radius: 4px;
}

.deferred {
    padding: 10px;
    background-color: #f0ad4e;
    color: black;
    border-radius: 4px;
}

.greenHighlight {
    background-color: green;
    color: black;
    border-radius: 4px;
}

.yellowHighlight {
    background-color: yellow;
    color: black;
    border-radius: 4px;
}

.infoButton {
    background: url(../Content/Images/Info.jpg) no-repeat top left;
    display: block;
    width: 25px;
    height: 25px;
    float: right;
}

    .infoButton:hover {
        background: url(../Content/Images/InfoRollover.jpg) no-repeat top left;
    }

.downArrow {
    background: url(../Content/Images/downArrow.png) no-repeat repeat top left;
    color: transparent;
    display: block;
    width: 28px;
    height: 45px;
    float: right;
}

    .downArrow:hover {
        background: url(../Content/Images/downArrowPressed.png) no-repeat repeat top left;
    }

.upArrow {
    background: url(../Content/Images/upArrow.png) no-repeat repeat top left;
    border: none;
    font-size: 0px;
    color: transparent;
    width: 28px;
    height: 45px;
    float: left;
}

    .upArrow:hover {
        background: url(../Content/Images/upArrowPressed.png) no-repeat repeat top left;
    }

.medBottomBorder {
    border-bottom-style: solid;
    border-bottom-width: medium;
    border-bottom-color: black;
}

.thickBottomBorder {
    border-bottom-style: solid;
    border-bottom-width: thick;
    border-bottom-color: black;
}

.blueBackground {
    background-color: lightblue;
}

.question {
    background: url(../Content/Images/question.jpg) no-repeat repeat top left;
    color: white;
    display: block;
    width: 20px;
    height: 22px;
    float: left;
}

    .question:hover {
        background: url(../Content/Images/questionRO.jpg) no-repeat repeat top left;
        color: white;
    }

.body-content {
    margin-top: 50px;
}

.navbar-container {
    padding-left: 15px;
    padding-right: 15px;
}

.dashboardButton {
    width: 175px;
}

.mrgnBtm10 {
    margin-bottom: 10px;
}

.homeNav {
    background-color: black;
    color: white;
    border: none;
    font-size: 15px;
}

@media all and (max-width: 767px) {
    .hideXS {
        display: none;
    }
}

@media all and (max-width: 988px) {
    .hideSM {
        display: none;
    }
}

@media all and (max-width: 1200px) {
    .hideMD {
        display: none;
    }
}

.box {
    border-style: solid;
    border-color: black;
    border-width: 3px;
    height: 150px;
}

.homeButton {
    margin: 50px auto;
    background-color: #5D468E;
    box-shadow: 10px 10px 4px black;
    color: white;
    font-weight: bolder;
    height: 80px;
    line-height: 80px;
    border-radius: 40px;
    display: block;
    width: 90%;
    text-align: center;
    text-shadow: 5px 2px 1px black;
    font-size: 25px;
    border-bottom-color: #333;
    border-bottom-style: solid;
    border-bottom-width: 5px;
    border-right-color: #333;
    border-right-style: solid;
    border-right-width: 5px;
}

    .homeButton:hover {
        background-color: black;
        box-shadow: none;
        text-decoration: none;
        font-size: 26px;
        color: white;
        text-shadow: 5px 2px 1px #333;
    }

.homeText {
    font-size: 15px;
}

.homeHeading {
    font-weight: bold;
}

img.responsive {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    height: auto;
    margin-top: 5px;
    box-shadow: 5px 5px 5px #888888;
}

.orderNow {
    margin: 5px auto 25px auto;
    background-color: #5D468E;
    box-shadow: 5px 5px 2px black;
    color: white;
    font-weight: bolder;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    display: block;
    width: 150px;
    text-align: center;
    text-shadow: 3px 1px 1px black;
    font-size: 12px;
    border-bottom-color: #333;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-right-color: #333;
    border-right-style: solid;
    border-right-width: 3px;
}

    .orderNow:hover {
        background-color: black;
        box-shadow: none;
        text-decoration: none;
        font-size: 13px;
        color: white;
        text-shadow: 3px 1px 1px #333;
    }

.subMenu {
    width: 100px;
    float: left;
    margin-right: 10px;
}

.noBullets {
    list-style-type: none;
}

.navbar-container {
    background-color: transparent;
}

.max260 {
    max-width: 260px;
}

.lightContentBlock {
    margin: 25px;
    background-color: lightblue;
    border-radius: 40px;
    text-shadow: 3px 1px 1px gray;
    font-size: 12px;
    border-bottom-color: #333;
    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-right-color: #333;
    border-right-style: solid;
    border-right-width: 3px;
    box-shadow: 5px 5px 2px black;
}

.blackBorder {
    border-style: solid;
    border-width: 1px;
    border-color: black;
}

.bulletList {
    font-size: 22px;
}

.logo {
    background: url(../Content/Images/logo.png)no-repeat repeat top left;
    height: 40px;
    width: 154px;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
}

.minWidth80 {
    min-width: 294px;
}

.link {
    position: relative;
}

    .link:hover {
        color: blue;
        text-decoration: underline;
        cursor: pointer;
    }

.greenLink {
    position: relative;
}

    .greenLink:hover {
        color: green;
        text-decoration: underline;
        cursor: pointer;
    }

.leftIndent {
    padding-left: 30px;
}

.editContainer {
    z-index: 1;
    padding: 5px;
    border: 1px solid #4cae4c;
    border-radius: 10px;
    background-color: #337ab7;
    border-color: #2e6da4;
    position: absolute;
    top: -35px;
    left: 100px;
}

.editTitle {
    width: 90%;
    z-index: 2;
    margin: 40px;
    padding: 10px;
    border: 1px solid #4cae4c;
    border-radius: 10px;
    background-color: #337ab7;
    border-color: #2e6da4;
    position: absolute;
    top: -50px;
    left: -30px;
}

.error {
    border-radius: 5px;
    background-color: red;
    display: block;
    max-width: 280px;
    color: black;
}

.UIControl {
    box-shadow: 5px 5px 2px #5D468E;
    padding-left: 15px;
    color: #5D468E;
    font-weight: bolder;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    display: block;
    width: 90%;
    text-align: left;
    text-shadow: 1px 1px 1px black;
    font-size: 15px;
    border-bottom-color: #333;
    border-bottom-style: solid;
    border-bottom-width: 5px;
    border-right-color: #333;
    border-right-style: solid;
    border-right-width: 5px;
    margin-bottom: 25px;
}

    .UIControl:focus {
        box-shadow: 6px 6px 3px black;
    }

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.width200 {
    width: 200px;
    /*max-width:200px;
    min-width:150px;*/
}

.width150 {
    width: 150px;
    /*max-width:200px;
    min-width:150px;*/
}

.divSeparation {
    margin-top: 2px;
    border-top-color: black;
    border-top-style: solid;
    border-top-width: 1px;
    padding-bottom: 2px;
}

.orderControl {
    background-color: lightblue;
    border-radius: 5px;
    width: 100%;
    vertical-align: bottom;
    padding: 5px;
}

.bottomLine {
    border-bottom-color: black;
    border-bottom-style: solid;
    border-bottom-width: medium;
}

.topLine {
    border-top-color: black;
    border-top-style: solid;
    border-top-width: medium;
}

.fullwidth {
    width: 100%;
    margin-bottom: 10px;
}

.tOC h1 {
    text-align: center;
}

.tOC h2 {
    text-decoration: underline;
}

.tOC h3 {
    margin-left: 25px;
}

    .tOC h3 .btn {
        margin-left: 15px;
    }

.tOC h4 {
    margin-left: 75px;
    line-height: 30px;
}

    .tOC h4 .btn {
        margin-left: 20px;
    }

.tOC .upArrow {
    background: url(../Content/Images/upArrowSm.png) no-repeat repeat top left;
    text-align: center;
    color: #3F48CC;
    display: block;
    width: 19px;
    height: 30px;
}

    .tOC .upArrow:hover {
        background: url(../Content/Images/upArrowPressedSm.png) no-repeat repeat top left;
        color: black;
        text-decoration: none;
    }

.tOC .downArrow {
    background: url(../Content/Images/downArrowSm.png) no-repeat repeat top left;
    border: none;
    text-align: center;
    color: transparent;
    font-size: 0px;
    display: block;
    width: 19px;
    height: 30px;
    float: left;
}

    .tOC .downArrow:hover {
        background: url(../Content/Images/downArrowPressedSm.png) no-repeat repeat top left;
        text-decoration: none;
    }

.rightArrow {
    background: url(../Content/Images/rightArrowSm.png) no-repeat repeat top left;
    text-align: center;
    color: transparent;
    border: none;
    display: block;
    font-size: 0px;
    width: 30px;
    height: 19px;
    float: left;
}

    .rightArrow:hover {
        background: url(../Content/Images/rightArrowPressedSm.png) no-repeat repeat top left;
        text-decoration: none;
    }

.leftArrow {
    background: url(../Content/Images/leftArrowSm.png) no-repeat repeat top left;
    text-align: center;
    color: transparent;
    border: none;
    display: block;
    font-size: 0px;
    width: 30px;
    height: 19px;
    float: left;
}

    .leftArrow:hover {
        background: url(../Content/Images/leftArrowPressedSm.png) no-repeat repeat top left;
        text-decoration: none;
    }

.controlHeight400 {
    max-height: 400px;
    min-height: 400px;
    overflow-y: auto;
}

.trashcan {
    color: red;
}

.poStage {
    background-color: lightblue;
    padding: 5px;
    border-radius: 2px;
    margin-bottom: 2px;
}

.poStageSelected {
    background-color: cornflowerblue;
    padding: 5px;
    border-radius: 2px;
    border-color: darkblue;
    margin-bottom: 2px;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    overflow-x: hidden;
    overflow-y: auto;
}

.darkBackground {
    background-color: var(--bs-gray-900)
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

/*
 * Navbar
 */

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.dropdown-toggle {
    outline: 0;
}