:root, [data-bs-theme="light"] {
    --orange-subtle: #FFE1CF;
    --purple-subtle: #E0CFFF;
}

[data-bs-theme="dark"] {
    --bs-primary-bg-subtle: #5E00C7 !important;
    --bs-success-bg-subtle: #50C700 !important;
    --bs-info-bg-subtle: #008EC7 !important;
    --bs-warning-bg-subtle: #C7A600 !important;
    --bs-danger-bg-subtle: #C70000 !important;
    --orange-subtle: #C76F00 !important;
    --purple-subtle: #8400C7 !important;
}

body {
    font-size: 10px !important;
}

.navbar .navbar-nav .nav-link {
    /*    color: #fff8f8;
*/ font-size: 0.7em;
    font-weight: 600;
    /*background-color: #0b1863;*/ /* #f44336;  #3f51b5; */
    /*    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
*/
}

    .navbar .navbar-nav .nav-link:hover {
        background-color: #eff177;
        /*        color: #312525;
*/
    }

.search_box_width {
    width: 300px;
}

.dim_labels_width {
    width: 90px;
}

.checbox_Label_width {
    width: 110px;
}

/*.table-wrapper {
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}*/

table.table {
    table-layout: fixed;
}

    table.table th {
        /*        background-color: #e7e8f1;
*/ font-size: 12px;
        font-weight: 400;
        /*        border-color: #ced4da;
*/
    }

    table.table tr th,
    table.table tr td {
        /*        border-color: #ced4da;
*/ font-size: 12px;
    }

/*table.table th i {
        font-size: 10px;
        margin: 0 5px;
        cursor: pointer;
    }

    table.table th:last-child {
        width: 100px;
    }

    table.table td a {
        cursor: pointer;
        display: inline-block;
        margin: 0 5px;
        min-width: 24px;
    }

        table.table td a.edit {
            color: #0082fa;
        }

        table.table td a.delete {
            color: #e34724;
        }

    table.table td i {
        font-size: 19px;
    }

    table.table td a.add i {
        font-size: 24px;
        margin-right: -1px;
        position: relative;
        top: 3px;
    }

    table.table .form-control {
        height: 20px;
        line-height: 20px;
        box-shadow: none;
        border-radius: 2px;
    }

        table.table .form-control.error {
            border-color: #f50000;
        }

    table.table td .add {
        display: none;
    }*/

.img-width {
    width: 100px;
}

.lbl-w-0 {
    width: 45px;
}

.lbl-w-1 {
    width: 90px;
}

.lbl-w-2 {
    width: 140px;
}

.lbl-w-3 {
    width: 180px;
}

.lbl-w-4 {
    width: 120px;
}

/* this can be called wherever you need to force a font size*/
.std-font-size {
    font-size: 0.7rem;
    /*    color: black;
*/
}


.input-group-bg-color {
    background-color: #0b1863;
}

.input-group-text {
    padding: 0.20rem 0.75rem !important;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -.5rem !important;
}

.footerPos {
    position: fixed;
    padding: 10px 10px 0px 10px;
    bottom: 0;
    width: 100%;
    /* Height of the footer*/
    height: 35px;
    background: rgb(204, 0, 0);
}

.transfer-Address-to-consignee {
    position: absolute;
    top: 0;
    right: 0;
}

.transfer-Address-to-consignee-icon {
    cursor: pointer;
    margin-top: 13px;
    margin-right: -12px;
    color: #e20829;
}


/*Hide up down arrow*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

    input[type=text]:focus, input[type=number]:focus, input[type=search]:focus, textarea:focus {
        border: 2px solid rgba(0, 0, 255, 1);
    }

input[type=text], input[type=number], input[type=search], textarea {
    border: 1px solid #DDDDDD;
}

/* Override Bootstrap CSS */

html {
    font-family: sans-serif;
    line-height: 1 !important;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.4em !important;
    font-weight: 400;
    line-height: 0.8 !important;
    /*    color: #212529;
*/ text-align: left;
    /*    background-color: #fff;
*/
}

.textarea-control {
    display: block;
    width: 100%;
    padding: 0.275rem 0.75rem !important;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1;
    /*color: #495057;
    background-color: #fff;*/
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control {
    display: block;
    width: 100%;
/*    height: calc(1em + 0.75rem + 2px) !important;
*/    padding: 0.275rem 0.75rem !important;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1;
    /*color: #495057;
    background-color: #fff;*/
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: menulist;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 0px solid transparent !important;
    padding: 0.375rem 0.75rem;
    font-size: 0.7rem;
    line-height: 1;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-control {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 1rem !important;
    padding-left: 1rem !important;
}

.form-check-input mt-0 {
    position: absolute;
    left: 0;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: -1;
    width: 0.8rem !important;
    height: 0.8rem !important;
    opacity: 0;
}

.input-group-text lbl-w-1 std-font-size::before {
    position: absolute;
    top: 0 !important;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    /*    background-color: #fff;
*/ /*    border: #adb5bd solid 1px;
*/
}

.input-group-text lbl-w-1 std-font-size::after {
    position: absolute;
    top: 0 !important;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(1em + 0.75rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1;
    /*    color: #495057;
*/ vertical-align: middle;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.table th,
.table td {
    padding: 0.5rem !important;
    vertical-align: top;
    /*    border-top: 1px solid #dee2e6;
*/
}

/* Custom CSS */

.dropdown-sections {
    /*display: flex;*/
    flex-direction: column;
    max-height: 100vh;
    width: 250px;
    overflow: hidden;
}

.dropdown-section {
    overflow: hidden;
}

.dropdown-scroll {
    overflow-y: auto;
}

.table-wrapper {
    max-height: 375px;
    min-height: 375px;
    overflow: auto;
    display: inline-block;
    width: 100%;
}

.bg-blue {
    /*    color: #fff;
*/ /*background-color: #0b1863;*/
}

.custom-header-label {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 1;
    width: 100%;
    border-radius: 0.25rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.scrollable-tbody {
    max-height: 60vh;
    overflow-y: auto;
    display: block;
    width: 100%;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    /*    background-color: #fff !important;
*/
}

.no-border-right {
    border-right: none !important;
}

.no-border-left {
    border-left: none !important;
}

.hidden-clear input[type=date]::-webkit-search-cancel-button {
    -webkit-appearance: none !important;
}

.tableFixHeadHelpdesk {
    overflow: auto;
    height: 76vh;
}

.tableFixHead1 {
    overflow: auto;
    height: 375px;
}

.tableFixHead2 {
    overflow: auto;
    height: 150px;
}

.tableFixHead3 {
    overflow: auto;
}

    .tableFixHeadHelpdesk thead th, .tableFixHead1 thead th, .tableFixHead2 thead th, .tableFixHead3 thead th {
        position: sticky;
        top: 0;
        z-index: 1;
    }

input[type="date"]::-webkit-date-and-time-value {
    text-align: left !important;
}

input[type="date"] {
    text-align: left !important;
}

.bg-purple-subtle {
    background-color: var(--purple-subtle) !important;
}

.bg-orange-subtle {
    background-color: var(--orange-subtle) !important;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Ensure it's above other content */
}