

/*///
OVERVIDE DATATABLE CSS
///////*/

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left;
}
table.dataTable>tbody>tr:nth-child(2n+1) {
    background: var(--bg-table-1);
}
div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover {

    background: var(--Main);
    color: #fff !important;
}
.table-style {
    border: 0;
    color: var(--Heading);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.table-style td {
    border: 0;
    padding: 20px 10px!important;
}

.table-style tr {
    border-collapse: separate;
}

table.dataTable>thead>tr>th{
    border:0;
}

div.dt-container .dt-paging .dt-paging-button:hover {
    background: var(--Main);
    border: 0;
}

table.dataTable>tbody>tr:hover {
    background: var(--hv-item);
    transition:.4s ease;
}

div.dt-container.dt-empty-footer tbody>tr:last-child>*{
    border:0
}



.dt-length > label {
    display: flex;
    align-items: center;
    width: 170px;
    gap: 10px;
}

div.dt-container .dt-search input {
    -moz-box-shadow: none;
    box-shadow: none;
    width: 100%;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    background-color: transparent;
    border: 1px solid var(--Input);
    border-radius: 12px;
    color: var(--Heading);
    overflow: hidden;
    margin-bottom: 0;
}

div.dt-container select.dt-input {
    border: none;
    outline: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 100%;
    padding: 14px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    background-color: transparent;
    border: 1px solid var(--Input);
    border-radius: 12px;
    color: var(--Heading);
    margin-bottom: 0px;
    position: relative;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -ms-appearance: none;
}

.dt-layout-row:last-child {
    border-top: 1px solid #EDF1F5;
}

.dt-paging.paging_full_numbers {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

div.dt-container .dt-paging .dt-paging-button {
    min-width: inherit;
    padding: inherit;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    gap: 10px;
    border-radius: 50%;
    text-align: center;
    color: var(--08091-b)!important;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}
/*///////////////////
ESTILO TABLA BORDER SPACING
//////////////////////////*/

.table_default {
    padding: 5px 10px;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    font-size: 12px;
}



table.table_default td, table.dataTable th{
    padding: 0.75rem;
    vertical-align: middle;
    line-height: 1.462;
    font-weight: 500;
}

table.dataTable th {
    font-weight: 600;
}

.table_default tr:nth-child(even) { 
    background: var(--table-th-bg);
    margin: 0px 0;
}

.table_default tr {
    border-radius: 6px;
    background: #F8F8F8;
    margin: 0px 0;
}
.table_default tr:hover {
    background: #e5e5e5;
}



/*////////
PAGINATION
///////////*/

ul.pagination {
    list-style: none;
    display: flex;
    gap: 10px;    
}

.page-item a {
    border: 1px  solid #e1e1e1;
    padding: 5px 15px;
    font-weight: 500;
    border-radius: 5px;
    font-size: 12px;
}

.page-item.active a {
    background: var(--main);
    color: white;
    border: 0;
}

.page-item.previous a, .page-item.next a {
  border: 0;
}

.dataTables_info {
    font-size: 11px;
}


/*===================/*
SALES TABLE CUSTOM             
=====================*/

.box_short {
  display: block;
  width: 120px;
  font-size: 12px;
}
   
.pagos_p span:last-child {
  font-size: 80%;
  color: #898989;
}

.pagos_p span {
    display: block;
}


/*///
BUSCADOR
////////*/

div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 20px;
    display: inline-block;
    width: auto;
    border-radius: 10px;
    padding: 12px 20px;
    border: 0;
    margin-bottom: 10px;
    width: 300px;
    border: 1px solid #e1e1e1c7;
}


/*///////////
BUTTONS FOR TABLES
/////////////////*/

.bt_icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-content: center;
    border-radius: 50%;
    margin: 0 5px;
}


/*////
BADGET FOR TABLES
/////*/
.badget {
    padding: 2px 6px;
    display: inline-block;
    border-radius: 12px;
}

.badget.negative {
    background: #ffccc8;
    color: red;
}

.badget.positive {
    background: #adffb0;
    color: green;
}
