body {
    font-family: Lustria, Helvetica, Arial, sans-serif;
    font-size: 16px;
}

.footer {
    background-color: #000;
    padding: 25px 0;
    color: gold;
}

.popover {
    max-width: 600px;
}

.content-body {
    padding-top: 5px;
    min-height: 585px;
}

.panel-tools {
    margin-bottom: 5px;
}

.modal-dialog {
    font-family: Poppins;
}

.modal-title {
    font-family: Poppins;
    font-size: 16px;
}

.form-group {
    margin-bottom: 5px;
}

.control-label {
    font-size: 16px;
}

.form-control, .js-select {
    height: 40px;
    padding: 6px 12px;
    font-size: 16px;
}

    .form-control:focus, .js-select:focus {
        border-color: #dd1942;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(221, 25, 66, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(221, 25, 66, 0.6);
    }

/*.select2-container .select2-selection--single {
    height: 45px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 5px;
    top: 50%;
}

.select2-dropdown {
    z-index: 100;
}
*/
/*.btn {
    padding: 7px 11px;
    font-size: $baseFontSize;
    font-weight: normal;
    line-height: 1.42857143;
    border-radius: 4px;
}*/
.btn-sm {
    font-size: 12px;
    padding: 4px 8px;
}

.smart-card-body {
    background-color: white;
    margin-top: 5px;
    margin-bottom: 15px;
    /*    padding-top: 30px;*/
}


.tooltip-inner {
    font-size: 16px;
    max-width: none;
    white-space: nowrap;
    font-family: Poppins;
}

[data-toggle="collapse"] {
    cursor: pointer;
}

.nav-link:hover, .nav-link:focus {
    cursor: pointer;
}

#navbar-hr .dropdown .dropdown-menu {
    top: 47px;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background-color: #343a40;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#navbar-hr .dropdown-item {
    color: white;
}

    #navbar-hr .dropdown-item .desc {
        display: block;
        font-size: 14px;
        color: gray;
    }

    #navbar-hr .dropdown-item:hover {
        color: white;
        background-color: #d25026;
    }

    #navbar-hr .dropdown-item:focus {
        color: white;
        background-color: #d25026;
    }

    #navbar-hr .dropdown-item:hover.dropdown-item .desc {
        color: wheat;
    }

    #navbar-hr .dropdown-item .nav-link {
        padding-right: 25rem;
        padding-left: 0;
    }

.page-title {
    display: block;
}

.has-feedback {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #df382c;
}

    .has-feedback .fa {
        width: 15px;
        margin: -25px 10px;
        float: right;
    }

.required {
    font-weight: bold;
}

.required-indicator {
    font-weight: bold;
    color: #dd1942;
}

.flat {
    border-radius: 0;
}

    .flat .nav-link {
        border-radius: 0;
    }

.gj-timepicker-bootstrap [role="right-icon"] button {
    border: 1px solid #ced4da;
}

.card-0 {
    background-color: #4a8d22 !important;
    color: white;
}

.card-1 {
    background-color: #007bff !important;
    color: white;
}

.card-2 {
    background-color: #f5c65d !important;
}

.notes {
    /*background-color:yellow;*/
}

.selected {
    color: #ff6a00;
}

.duedate, .dispatchDate, .completeDate, .loadedDate {
    color: green !important;
    font-weight: bold;
}

.DTFC_LeftBodyLiner {
    overflow: hidden !important;
    width: 651px !important;
}

.custom-select {
    width: 80px !important;
}

.sub-title {
    background-color: black;
    color: white;
    padding: 5px;
    font-weight: bold;
}

label {
    font-weight: bold;
    margin-bottom: 0 !important;
}

.col-sm-4 {
    margin-bottom: 10px;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
}

.bg-green {
    background-color: green;
    color: white;
}

.bg-blue {
    background-color: blue;
    color: white;
}

.bg-red {
    background-color: red;
    color: white;
}

.bg-indianred {
    background-color: indianred;
    color: white;
}

.table-hover tbody tr:hover {
    background-color: rgba(192, 200, 194, 0.9);
}

.js-copy-note {
    cursor: pointer;
}

.notifications .badge {
    margin-top: -10px;
    position: absolute;
    margin-left: -10px;
}

.notifications .notifications-bell {
    position: relative;
}

.notifications .notifications-menu {
    min-width: 360px;
    max-width: 380px;
    padding: 0;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    margin-top: 12px;
}

.notifications .notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    background-color: #f8f9fb;
    border-bottom: 1px solid #eaecef;
}

.notifications .notifications-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2430;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .notifications .notifications-title i {
        color: #6c5ce7;
        margin-right: 0.35rem;
    }

.notifications .notifications-count {
    margin-left: 0.4rem;
    font-weight: 500;
    font-size: 0.75rem;
    color: #8a8f98;
}

.notifications .notifications-mark-all {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background-color: rgba(22, 160, 133, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .notifications .notifications-mark-all:hover,
    .notifications .notifications-mark-all:focus {
        background-color: rgba(22, 160, 133, 1);
        color: #1d4ed8;
        text-decoration: none;
    }

    .notifications .notifications-mark-all.disabled {
        background-color: #eef0f2;
        color: #b7bcc4;
        pointer-events: none;
    }

.notifications .notifications-body {
    max-height: 340px;
    overflow-y: auto;
}

.notifications .notifications-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid #f1f2f4;
    white-space: normal;
    color: #1f2430;
    transition: background-color 0.15s ease;
}

    .notifications .notifications-item:last-child {
        border-bottom: none;
    }

    .notifications .notifications-item:hover,
    .notifications .notifications-item:focus {
        background-color: #eef2ff;
        color: #1f2430;
    }

        .notifications .notifications-item:hover .notifications-item-icon,
        .notifications .notifications-item:focus .notifications-item-icon {
            background-color: rgba(37, 99, 235, 0.2);
            color: #1741b8;
        }

        .notifications .notifications-item:hover .notifications-item-time,
        .notifications .notifications-item:focus .notifications-item-time {
            color: white;
        }

.notifications .notifications-item-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.notifications .notifications-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.notifications .notifications-item-text {
    font-size: 0.85rem;
    line-height: 1.35;
}

.notifications .notifications-item-time {
    font-size: 0.72rem;
    color: #9098a3;
    transition: color 0.15s ease;
}

.notifications .notifications-item-time:hover {
    color: white !important;
}

.notifications .notifications-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2.25rem 1rem;
    color: #9098a3;
}

    .notifications .notifications-empty i {
        font-size: 1.6rem;
    }

    .notifications .notifications-empty span {
        font-size: 0.85rem;
    }



/*.js-copy-note:hover {
    background-color: gray;
    color: white;
}*/

#distanceModal .modal-content {
    width: 900px !important;
}

.megamenu-li {
    position: static;
}

.megamenu {
    position: absolute;
    width: 500px !important;
    left: 0;
    right: 0;
    padding: 15px;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: 1.8em !important;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }


#search-container {
    position: absolute;
    right: -315px;
    transition: 0.3s;
    padding: 0 5px 0 15px;
    width: 350px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    border-radius: 5px 0 0px 5px;
    z-index: 100;
    background-color: #545454;
    font-family: Lustria, Helvetica, Arial, sans-serif;
}

    #search-container .fa {
        color: white;
        position: relative;
        top: -17px;
    }

    #search-container:hover {
        right: 0;
    }

.input-group-append {
    margin-left: -5px !important;
}

.text-middle {
    vertical-align: middle !important;
}

.text-top {
    vertical-align: top !important;
}

.e-grid .e-grouptext {
    width: auto !important;
}


.e-grid .e-grouptext {
    /* width: 57px; Removed fixed width */
    max-width: 150px; /* Optional: adjust as needed */
}


.e-filtered-column {
    color: red !important;
}

.env {
    font-size: 50px !important;
}

.beta {
    background-color: red !important;
    color: white !important;
}

    .beta a {
        color: white !important;
    }

.stage {
    background-color: green !important;
    color: white !important;
}

    .stage a {
        color: white !important;
    }

.training {
    background-color: navy !important;
    color: white !important;
}

    .training a {
        color: white !important;
    }
