.select2-container--default .select2-selection--single .select2-selection__rendered,
.form-control {
    color: #000;
}

.pagination {



    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-end;
}

.alert-date-warning {
    background-color: sandybrown !important;
}

.expired-date-warning {
    background-color: red !important;
}


.certs {

    box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
}

.card-footer ul li {
    list-style: none;
}


body {
    font-family: 12px/1.5 Microsoft YaHei, Hiragino Sans GB, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #000
}

.invoice {
    padding: 20px;
}

.invoice .logo {
    width: 120px;
}

.invoice .warning {
    color: red;
    font-weight: 700;
}

.invoice table {
    text-align: center;
    margin-top: 20px;
}

.invoice table .total {
    background-color: #fff;
    font-weight: 700;
}


p.type_title {
    text-align: right;
    height: 40px;
    position: absolute;
    left: 20px;
    top: 190px;
    width: 140px;
    display: block;

}

p.type_title span {
    border: 3px solid #000;
    padding: 15px;
    font-weight: 700;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

.table-bordered .itemLine td,
.table-bordered .itemLine th {
    white-space: nowrap;
    height: auto;
    vertical-align: middle;
}


table.table-bordered.dataTable thead tr:first-child th,
table.table-bordered.dataTable thead tr:first-child td {
    white-space: nowrap;
}

table.table-bordered.table thead tr:first-child th,
table.table-bordered.table thead tr:first-child td {
    white-space: nowrap;
}

table.table-bordered.dataTable tbody tr:first-child th,
table.table-bordered.dataTable tbody tr:first-child td {
    white-space: nowrap;
}

table.table-bordered.table tbody tr:first-child th,
table.table-bordered.table tbody tr:first-child td {
    white-space: nowrap;

}

table th {
    white-space: nowrap;
}





.ag-theme-alpine {
    --ag-column-select-indent-size: 40px;

}

.ag-theme-alpine .ag-column-drop-cell {
    background-color: purple;
}

.ag-theme-alpine .ag-column-drop-cell .ag-icon {
    color: white;
}

.ag-theme-alpine .ag-column-drop-cell-text {
    color: white;
    font-weight: bold;
}

.ag-floating-filter-button {
    display: none;
}


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

.mt-10 {
    margin-top: 10px;
}

.ml-0 {
    margin-left: 0;
}

.mr-0 {
    margin-right: 0px
}

.inline-input {
    display: inline;
    max-width: 320px;
}

.inline-dateinput {
    display: inline;

}

.text-right {
    text-align: right;
}

table.dataTable>tbody>tr.selected>* {
    color: #000;
    box-shadow: inset 0 0 0 9999px rgba(127, 127, 127, 0.2);
}

.input-wide {
    width: 100px
}

.product-name-trim {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 500px;
    margin: 0
}

.order-name {
    width: 120px;
    margin: 0;
}

.customer-name {
    width: 320px;
    margin: 0;
}

.note-name {
    width: 300px;
    margin: 0;
}

.row {
    clear: both
}

@page {

    margin: 0;
    size: A4 landscape;
}

@media print {
    .noprint {
        visibility: hidden;
    }

    .invoice {
        padding: 0;
    }

    body {
        font-size: 20px;
    }


    .table thead th {
        border-bottom: 2px solid #ccc;
    }

    .table td,
    .table th {
        border-bottom: 2px solid #ccc;
    }

    @page {
        size: 241mm 279.4mm;
    }
}

@media only screen and (max-width: 479px) {
    .small-mt-10 {
        margin-top: 10px;
    }

    .small-hidden {
        display: none;
    }
}

@media only screen and (min-width: 480px) {
    .main-sidebar {
        display: none;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper,
    .sidebar-mini.sidebar-collapse .main-footer,
    .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 0 !important;
    }



    .jorigin-erpapi-stockout-print .main-sidebar {
        display: none;
    }

    .jorigin-erpapi-so-bulkprint .main-sidebar {
        display: none;
    }

    .jorigin-erpapi-stockout-bulkprint .main-sidebar {
        display: none;
    }
    .jorigin-erpapi-stockin-print .main-sidebar {
        display: none;
    }
    .jorigin-erpapi-poo-print .main-sidebar {
        display: none;
    }

}

@media only screen and (max-width: 770px) {
    .ag-status-bar-right {
        display: none !important;
    }

}

@media only screen and (max-width: 1600px) {


    .logo-icons {
        max-width: 40px;
        overflow-x: hidden;
        overflow-y: hidden;
        max-height: 40px;
    }
}