/*------------------------ grid css ---------------------------*/

table.dataTable {

    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

th.grid-secondry {
    background: #EFF1F4 !important;
}

.grid-secondry-td {
    background: #FBFBFB !important;
}

.widget-content-area {
    border: 1px solid #e0e6ed;
    box-shadow: 0 0 40px #5e5c9a0f;
    padding: 0;
    background-color: #fff
}

.no-content:before,
.no-content:after {
    display: none !important
}

.dataTables_wrapper {
    padding: 0
}

.dt--top-section {
    margin: 12px;
}

.dt--bottom-section {
    padding: 12px;
}

/* .dataTables_wrapper .dataTables_length select {
    white-space: normal !important;
    color: var(--text-color) !important;
    font-weight: 600 !important;
    border: 1px solid #e0e6ed !important;
    display: inline-block;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    margin-right: 10px;
} */

div.dataTables_wrapper div.dataTables_length select {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 16px;
    font-size: 0.765625rem;
    border-radius: 6px;
    margin-right: 10px;
}

.card {
    border-radius: 8px;
    box-shadow: 0 0 40px #5e5c9a0f;
}

.table-form {
    display: flex;
    margin: 17px 21px 25px;
    justify-content: space-between
}

.table-form .form-group {
    margin-bottom: 0
}

.table-form .form-group label {
    color: #888ea8;
    font-size: 14px;
    align-self: center
}

.table-form .form-group input {
    padding: 7px 18px 7px 14px;
    height: auto;
    font-size: 12px
}

table.dt-table-hover tbody tr:hover {
    background: #fafafa
}

table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:after {
    color: #0e1726
}

table.dataTable>thead>tr,
table.dataTable>tfoot>tr {
    border: none
}

table.dataTable>tbody>tr>td .t-dot {
    background-color: #000;
    height: 11px;
    width: 11px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 auto
}

.page-item .page-link:hover {
    background: #191e3a;
    color: #bfc9d4
}

table.dataTable {
    border-collapse: separate;
    border-spacing: 0 5px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-collapse: collapse !important;
    background: transparent
}

.table>tbody tr {
    border-radius: 4px;
    border-bottom: 1px solid #d1d1d1
}

.table.table-hover tbody tr {
    background-color: transparent
}

.table>thead>tr>th {
    text-transform: initial;
    border-top: none;
    background: #F4F6F9;
    border-right: none;
    border-left: none;
    padding: 10px 10px;
    color: #515365;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap
}

.table>tbody>tr>td .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu {
    display: none !important;
    inset: auto 0 auto auto !important;
    right: 0;
    left: auto
}

.table>tbody>tr>td .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu.show {
    display: block !important
}

.table>tbody>tr:last-child>td .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu,
.table>tbody>tr:nth-last-child(2)>td .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu,
.table>tbody>tr:nth-last-child(3)>td .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu {
    right: 0;
    left: auto
}

.table>tbody>tr:last-child>td .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu.show,
.table>tbody>tr:nth-last-child(2)>td .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu.show,
.table>tbody>tr:nth-last-child(3)>td .dropdown:not(.custom-dropdown-icon):not(.custom-dropdown) .dropdown-menu.show {
    top: -108px !important
}

.table>tbody>tr>td {
    font-size: 14px;
    border: none;
    padding: 6px 10px;
    color: #515365;
    letter-spacing: 1px;
    white-space: nowrap
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent !important
}

.dataTable.table-striped tbody tr:nth-of-type(odd) td {
    --bs-table-accent-bg: transparent;
    background-color: #fafafa !important;
    color: #515365
}

.dataTable.table-striped.table>thead>tr>th {
    background: transparent;
    border-top: 1px solid #e0e6ed !important;
    border-bottom: 1px solid #e0e6ed !important
}

.table>tfoot>tr>th {
    border: none;
    padding: 10px 21px;
    color: #515365
}

.table-hover:not(.table-dark) tbody tr:hover {
    background-color: transparent !important
}

.table-hover.non-hover:not(.table-dark) tbody tr:hover {
    transform: none
}

div.dataTables_wrapper div.dataTables_info {
    white-space: normal;
    color: #194588;
    font-weight: 600;
    border: 1px solid #e0e6ed;
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px
}

div.dataTables_wrapper div.dataTables_filter label {
    position: relative;
    margin-bottom: 0
}

div.dataTables_wrapper div.dataTables_filter svg {
    position: absolute;
    top: 11px;
    left: 13px;
    width: 18px;
    height: 18px;
    color: #bfc9d4
}

.dataTables_wrapper .form-control {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    border: 1px solid #e0e6ed !important;
    font-size: 14px !important;
    padding: 7px 10px 7px 35px !important;
    height: calc(1.3em + 1.3rem + 2px) !important;
    transition: none !important;
}

div.dataTables_wrapper button:hover {
    transform: none
}

div.dataTables_wrapper .table-responsive {
    overflow-x: auto;
    overflow-y: hidden
}

.table>thead>tr>th.dt-no-sorting:before,
.table>thead>tr>th.dt-no-sorting:after {
    display: none
}

.dataTable.table-hover>tbody>tr:hover td:first-child,
.dataTable.table-hover>tbody>tr:hover td:last-child {
    border-radius: 0
}

.dataTables_wrapper .form-control::-webkit-input-placeholder,
.dataTables_wrapper .form-control::-ms-input-placeholder,
.dataTables_wrapper .form-control::-moz-placeholder {
    color: #bfc9d4;
    font-size: 12px
}



div.dataTables_wrapper div.dataTables_length label {
    font-size: 14px;
    margin-bottom: 0
}

.dataTables_wrapper .dataTables_length select.form-control {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23d3d3d3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-down'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") 54px 12px no-repeat;
    padding: 7px 18px 7px 14px
}

div.dataTables_wrapper div.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right;
    display: inline-block
}

.page-link {
    margin-right: 5px;
    border-radius: 8px;
    background: #00173714;
    border: none;
    color: #888ea8;
    height: 33px;
    width: 33px;
    display: inline-flex;
    justify-content: center;
    align-items: center
}

.page-link:focus {
    box-shadow: none
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 3px 0;
    flex-wrap: wrap
}

.page-item.disabled .page-link {
    background: transparent
}

.page-item.disabled .page-link svg {
    color: #888ea8
}

.page-item:first-child .page-link {
    border-radius: 8px;
    padding: 0;
    height: 33px;
    width: 33px;
    display: inline-flex;
    justify-content: center;
    align-items: center
}

.page-item:first-child .page-link svg {
    width: 17px
}

.page-item:last-child .page-link {
    border-radius: 8px;
    padding: 0;
    height: 33px;
    width: 33px;
    display: inline-flex;
    justify-content: center;
    align-items: center
}

.page-item.next:not(.disabled) .page-link,
.page-item.previous:not(.disabled) .page-link {
    background: #1b2e4b
}

.page-item.next:not(.disabled) .page-link svg,
.page-item.previous:not(.disabled) .page-link svg {
    color: #fff
}

.page-item:last-child .page-link svg {
    width: 17px
}

.page-item.active .page-link {
    /* background-color: #194588 */
    background: linear-gradient(145deg, #606060, #1a1a1a) !important;
    padding: .5em 1em;

}

#alter_pagination_next a,
#alter_pagination_previous a {
    padding: 0
}

#alter_pagination_next a svg,
#alter_pagination_previous a svg {
    width: 17px
}

.table-cancel {
    color: #515365;
    margin-right: 6px;
    vertical-align: middle;
    fill: none;
    cursor: pointer
}

.table-hover:not(.table-dark) tbody tr:hover .table-cancel {
    color: var(--text-error)
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_desc:after,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:after,
table.dataTable thead>tr>td.sorting:before,
table.dataTable thead>tr>td.sorting:after,
table.dataTable thead>tr>td.sorting_asc:before,
table.dataTable thead>tr>td.sorting_asc:after,
table.dataTable thead>tr>td.sorting_desc:before,
table.dataTable thead>tr>td.sorting_desc:after,
table.dataTable thead>tr>td.sorting_asc_disabled:before,
table.dataTable thead>tr>td.sorting_asc_disabled:after,
table.dataTable thead>tr>td.sorting_desc_disabled:before,
table.dataTable thead>tr>td.sorting_desc_disabled:after {
    font-size: .6em !important;
}


.dataTables_wrapper .dataTables_paginate .paginate_button a {
    border-radius: 8px !important;
}

#pendingTabs .active {
    background: #3592df;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-color: #3592df;
}

#pendingTabs #product-wise-tab {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.order_details span {
    right: -14px;
    top: -10px !important;
    font-size: 10px;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .dataTables_wrapper .dataTables_length select.form-control {
        background: transparent;
        padding: 8px 10px 8px 14px
    }
}

/* end grid css */