.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1040 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Grid styles start */
.grid-table.table-responsive {
    overflow-y: initial;
    overflow-x: initial;
}

.swal-overlay.swal-overlay--show-modal {
    z-index: 999999999999999 !important;
}

.select2-selection--single:focus, .select2-selection--single:hover {
    box-shadow: 0px 0px 1px 1px #3e7fa9 !important;
}

//Already Define in site.css
/*.custom-grid .e-content {
    height: calc(100vh - 346px) !important;
}*/
.custom-grid .e-checkboxlist {
    height: auto;
    margin-top: 5px;
    min-height: 70px;
    max-height: 90px;
}

.e-virtualtable {
    width: 100% !important;
}

/* Child Grid CSS start */
.e-grid .e-detailcell [id^="child"] {
    background-color: #f7f7f7;
}

.e-grid [id^="child"] .e-headercell {
    background: #e6e6e6 !important;
}

.grid-header span {
    font-weight: bold;
    color: #3c3c3c;
}

.space-left-10 {
    display: inline-block;
    margin-left: 10px;
}

.custom-grid .e-content {
    /*height: calc(calc(100vh - 125px) - 220px) !important;*/
    height: calc(100vh - 302px) !important;
}

.custom-grid .e-content {
    height: 35vh !important;
    min-height: 340px;
}

.custom-grid [id^="child"] .e-content {
    height: auto !important;
    min-height: inherit !important;
}
/*Grid styes start*/
/*.grid-table.table-responsive {
    overflow-y: initial;
    overflow-x: initial;
}

#TreeGrid .e-checkboxlist,
#TreeGrid_Kitting .e-checkboxlist, 
#TreeGrid_Seller .e-checkboxlist,
#LineItems .e-checkboxlist {
    height: auto;
    margin-top: 5px;
    min-height: 70px;
    max-height: 90px;
}

.e-virtualtable {
    width: 100% !important;
}*/

/*Child Grid CSS start*/
/*.e-grid .e-detailcell [id^="child"] {
    background-color: #f7f7f7;
}

.e-grid [id^="child"] .e-headercell {
    background: #e6e6e6 !important;
}

.grid-header span {
    font-weight: bold;
    color: #3c3c3c;
}

.space-left-10 {
    display: inline-block;
    margin-left: 10px;
}

#TreeGrid .e-content {*/
/*height: calc(calc(100vh - 125px) - 220px) !important;*/
/*height: calc(100vh - 302px) !important;
}
#TreeGrid_Kitting .e-content {*/
/*height: calc(calc(100vh - 125px) - 220px) !important;*/
/*height: calc(100vh - 302px) !important;
}

#TreeGrid_Seller .e-content {*/
/*height: calc(calc(100vh - 125px) - 220px) !important;*/
/*height: calc(100vh - 302px) !important;
}

#LineItems .e-content {
    height: 35vh !important;
    min-height: 340px;
}

#TreeGrid [id^="child"] .e-content {
    height: auto !important;
}

#TreeGrid_Kitting [id^="child"] .e-content {
    height: auto !important;
}

#TreeGrid_Seller [id^="child"] .e-content {
    height: auto !important;
}*/




/*Child Grid CSS end*/

/*Barcode css*/

input#barcode {
    width: 100% !important;
    height: auto !important;
}

canvas#barcode_img {
    width: auto;
    max-width: 200px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin-top: 5px;
    margin-left: 50px;
}

/*Barcode css end*/




/* SyncFusion Dialog - start */
.e-dialog .e-dlg-header-content {
    border-bottom: none;
    padding: 18px;
    padding-bottom: 0px !important;
}

    .e-dialog .e-dlg-header-content + .e-dlg-content {
        padding-top: 18px !important;
    }

.form-group.col-md-6 {
    width: 250px;
}

:-ms-fullscreen,
.e-dialog {
    max-width: 552px;
}

@media only screen and (max-width: 991px) {
    .e-dialog.e-control.e-popup {
        min-width: 300px;
    }
}

@media only screen and (min-width: 992px) {
    .e-dialog.e-control.e-popup {
        min-width: auto;
        min-height: auto;
    }

    .e-bigger .e-dialog.e-control.e-popup,
    .e-bigger .e-dialog.e-control.e-popup {
        min-height: 300px;
    }
}

.e-dlg-header-content h1,
.e-dlg-header-content h2,
.e-dlg-header-content h3,
.e-dlg-header-content h4,
.e-dlg-header-content h5 {
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.e-dlg-header-content hr {
    margin-top: 0.5rem;
    margin-bottom: 0;
    border-color: #bfbfbf;
}

#TreeGridEditConfirm.e-dialog.e-control.e-popup {
    min-width: auto !important;
    min-height: auto !important;
}

.e-dlg-container {
    z-index: 99999 !important;
}

/* SyncFusion Dialog - end */

.skin-blue .sidebar-menu > li:hover > a {
    background: #3e7fa957 !important;
}

.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a,
.skin-blue .sidebar-menu > li.menu-open > a {
    color: #fff;
    background: #3e7fa9;
    border-top-right-radius: 22px;
    border-bottom-right-radius: 22px;
}

.skin-blue .sidebar-menu > li.active > a {
    border-left-color: rgb(236 240 245);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px
}

::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    min-height: 50px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border: none;
}

    ::-webkit-scrollbar-track:hover {
        background: #fff;
    }




dt::after {
    content: ":";
}

.dl-horizontal dt {
    text-align: left;
}

.dl-horizontal dd {
    text-align: left;
    overflow: hidden;
}

btn-download {
    float: right;
}


.e-custom-toolbal .e-tbar-btn.e-btn {
    background-color: #d5d5d5;
    font-weight: bold;
}

.modal-dialog-centered {
    /*justify-content: center;
    align-items: center;*/
    /* min-height: 100vh; */
    /* margin: 0; */
    /* display: flex; */
    /* width: 100%; */
}

.swal-modal .swal-text {
    text-align: center;
}


#customers {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    column-count: 4;
}

td:nth-child(4) {
    /*background-color: lightblue;*/
    max-width: calc(25vw - 100px) !important;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-word;
    /* max-height: 50px !important; */
}

#customers td,
#customers th {
    border: 1px solid #ddd;
    padding: 8px;
}

#customers tr:nth-child(even) {
    background-color: #f2f2f2;
}

#customers tr:hover {
    background-color: #ddd;
}

#customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}

#QrReaderWrapper {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    min-height: 100vh !important;
    z-index: 99999999;
    justify-content: center;
    align-items: center;
    background-color: black;
    display: none;
}

    #QrReaderWrapper > #QrReaderStopBtn {
        position: absolute;
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        z-index: 99;
    }

    #QrReaderWrapper > #QrReader {
        position: relative;
        width: 100vw !important;
        min-height: 100vh !important;
    }

#InboundApprovalModal tbody tr .ProductQuantity,
#ProductShelveBinBody tbody tr .ProductQuantity {
    width: 100px;
}

.dot-loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff3b;
    z-index: 9999999999;
    display: flex;
    display: none;
    justify-content: center;
    align-items: center;
}

.dot-loader-wrapper {
    display: none;
}

.loader {
    border: 16px solid #f3f3f3;
    /* Light grey */
    border-top: 16px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
/*last dialogTemp*/
/*min-height: calc(100vh - 150px);
    width: auto;
    max-width: 800px;
    min-width: 290px;
    width: calc(100vw - 58px);
*/

#dialogTemp {
    max-height: calc(100vh - 170px); /* Maximum height */
    max-width: 800px;
    min-width: 290px;
    width: calc(100vw - 58px);
    overflow-x: hidden;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
}


.required:after {
    content: " *";
    color: red;
}

.barcode-elem {
    /*padding-left: 0%;
    padding-top: 0%;*/
    width: 200px;
    height: 70px;
}

.generate-details {
    margin: 14px;
}

input.custom-form-file-picker::file-selector-button {
    background: none;
    border: none;
    color: #999;
    border-right: 1px solid #999;
    margin-right: 10px;
    cursor: pointer;
}

.hide-barcode-label > svg > text {
    display: none !important;
}

.e-toolbar .e-toolbar-items .custom-e-btn .e-toolbar-item {
    margin: 0 5px 0 5px;
}

    .e-toolbar .e-toolbar-items .custom-e-btn .e-toolbar-item .e-tbar-btn.e-btn {
        background-color: #78c94a !important;
        font-weight: 300;
        border: 1px solid #999;
    }

        .e-toolbar .e-toolbar-items .custom-e-btn .e-toolbar-item .e-tbar-btn.e-btn > span {
            color: #fff !important;
        }

div.e-dialog.e-popup {
    margin-left: 10px;
    margin-right: 10px;
}

/*
Service Request Child Grid*/
/*#ServiceRequestDetail table {
    width: 100%
}

#ServiceRequestDetail thead {
    width: calc(100%-1em);
}

#ServiceRequestDetail tbody {
    display: block;
    height: 130px;
    overflow-y: scroll;
    overflow-x: hidden;
}

#ServiceRequestDetail thead, ServiceRequestDetail tbody tr {
    display: table;
    width: 98%;
    table-layout: fixed;
}

#ServiceRequestDetail thead, ServiceRequestDetail tbody, ServiceRequestDetail td {
    border: none !important;
}*/

.iti {
    width: 100%;
    padding: 0;
    margin: 0;
}

button.bg-disabled-gray {
    background: #ccc;
    color: #000;
    border-color: #eee;
}

#QrReaderWrapper > .controls {
    display: block;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff90;
    padding: 10px 35px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px -2px #e9e9e9;
}

.e-checkbox-wrapper.e-css {
    position: relative !important;
}

.e-label.e-checkboxfiltertext {
    display: block !important;
    width: max-content !important;
    position: relative !important;
    margin-left: 25px !important;
    top: 0 !important;
    position: absolute !important;
}


.modal-dialog .alert-danger {
    border-color: #ffb9b0 !important;
    background-color: #ffdfdb !important;
    color: #242424 !important;
}

.chat-messages {
    height: 400px;
    overflow-y: scroll;
    background-color: #f6f6f6;
    padding: 10px;
    border-radius: 5px;
}

.chat-message {
    background-color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.last-message {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.chat-input {
    margin-top: 10px;
}

#content {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px 10px;
    width: 110%;
    height: auto;
}


#btnChatMessage {
    border-radius: 5px;
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    border-color: #007bff;
}

    #btnChatMessage:hover {
        background-color: #0069d9;
        border-color: #0062cc;
    }

.select2-container {
    display: block !important;
}

.position-relative {
    position: relative !important
}

.overflow-hidden {
    overflow: hidden !important
}



/*.swal-icon--info:before {
    width: 5px;
    height: 14px;
    bottom: -3px;
    border-radius: 2px;
    margin-left: -2px;
}

.swal-icon--info__decorator {
    width: 5px;
    height: 5px;*/ /* Keep it equal to width for a circle */
/*position: absolute;
    top: 50%;*/ /* Center vertically */
/*left: 50%;*/ /* Center horizontally */
/*transform: translate(-50%, -50%);*/ /* Adjust the position to truly center it */
/*background-color: #c9dae1;*/ /* This color should be the same as the info icon circle color */
/*border-radius: 50%;*/ /* Make it round */
/*}*/

/* Ensure the main icon container is larger than the decorator */
/*.swal-icon {
    width: 40px;*/ /* Larger size to contain the decorator */
/*height: 40px;*/ /* Keep it equal to width for a circle */
/*margin: 2px auto;
}*/

/* Adjust message font */
/*.swal-text {
    font-size: 18px;*/ /* Or any size you prefer */
/*font-family: Arial, sans-serif;*/ /* Or any font-family you prefer */
/*}*/

/* Customize buttons */
/*.swal-button {
    background-color: #3085d6;*/ /* Or any color you prefer */
/*color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
}

    .swal-button:hover {
        background-color: #2a7ab9;*/ /* A slightly darker hue for hover effect */
/*}*/
.custom-swal-style {
    /* Add combined styles of e-control, e-btn, e-lib, e-primary, and e-flat here */
}


.custom-swal-sm .swal-icon--info:before {
    /*content: "" !important;
    display: block !important;*/
    width: 4px !important;
    height: 40px !important;
    position: absolute !important;
    left: 51% !important;
    top: 25px !important;
    /*border-radius: 13px !important;
    margin-left: -2px !important;
    background-color: #c9dae1 !important;
    transform: translateX(-50%) !important;*/
}

.custom-swal-sm .swal-icon--info:after {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    margin-left: -3px !important;
    /*bottom: 4px !important;*/
    top: 12px !important
}

.swal-icon--info__decorator {
    width: 5px;
    height: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #c9dae1;
    border-radius: 50%;
}

.swal-icon {
    /*width: 45px;
    height: 45px;*/
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px auto;
}

/* Rest of your CSS */

.modal-dialog.modal-dialog-centered.modal-lg {
    min-width: 90vw;
}


/*#gridModal {
    height: auto;
    width: 80%;*/ /* or any other value */
/*}*/

#approveRequestGrid .e-content {
    height: auto;
    width: 100%; /* this will make the grid content fill the width of its container */
}

.modal-dialog.modal-dialog-centered.modal-lg {
    min-width: 90vw;
}


/* .btn-primary, .btn-danger {
        margin-left: auto;
    } */

.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
    left: 0;
}

.modal-header h5 {
    text-align: center;
}


.modal-dialog {
    position: fixed;
    top: 0;
    right: 5%;
    margin: 0;
    width: 85%;
    margin: 30px auto;
}
/*    .modal-dialog.modal-sm,
    .modal-dialog.modal-md,
    .modal-dialog.modal-lg {
        position: fixed;
        top: 0;
        right: 5%;
        margin: 0;
        width: inherit !important;
        margin: 30px auto;
    }*/
