:root{
    --dt-row-selected-fap :  220, 232, 244, 1;
    --dt-row-selected-text-fap : 9, 10, 11;
}

table.dataTable > tbody > tr.selected > * {        
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected-fap));
    color: rgba(var(--dt-row-selected-link));
  }
  table.dataTable > tbody > tr.selected a {    
    color: rgba(var(--dt-row-selected-link));
  }
  table.dataTable.table-striped > tbody > tr.odd > * {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.03);    
  }
  table.dataTable.table-striped > tbody > tr.odd.selected > * {    
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected-fap));
  }
  table.dataTable.table-hover > tbody > tr:hover > * {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.075);
  }
  table.dataTable.table-hover > tbody > tr.selected:hover > * {
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected-fap));
  }

.table td.tabla-moneda {
    text-align: right;
}

.table th.tabla-encabezado {
    text-align: center;
}

/* Override datatables and datatables on different places */
table {
    caption-side: top;
}

table.dataTable {
    width: 100%;
    margin-bottom: 18px;
}

table.dataTable caption {
    border-bottom: 1px solid #bfbfbf;
    caption-side: top;
    color: #004766;
    margin-bottom: 10px;
    padding: 10px 0 10px 5px;
    font-weight: bold;
    text-align: left;
    text-shadow: 0 1px 0 #fff;
    width: 103%;
}



/* Table checkbox */
table.dataTable > thead > tr > th.select-checkbox {
    position: relative;
}
table.dataTable > thead >tr > th {
    color:#004766;
}


table.dataTable > thead > tr > th.select-checkbox:before,
table.dataTable > thead > tr > th.select-checkbox:after {
    display: block;
    position: absolute;
    top: 1.2em;
    left: 50%;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
}

table.dataTable > thead > tr > th.select-checkbox:before {
    content: " ";
    margin-top: -8px;
    margin-left: -6px;
    border: 1px solid black;
    border-radius: 3px;
}

table.dataTable > thead > tr.selected > th.select-checkbox:before {
    border: 1px solid white;
}

table.dataTable > thead > tr.selected > th.select-checkbox:after {
    content: "✓";
    font-size: 20px;
    margin-top: -19px;
    margin-left: -6px;
    text-align: center;
    text-shadow: 1px 1px #B0BED9, -1px -1px #B0BED9, 1px -1px #B0BED9, -1px 1px #B0BED9;
}

table.dataTable.compact > thead > tr > th.select-checkbox:before {
    margin-top: -12px;
}

table.dataTable.compact > thead > tr.selected > th.select-checkbox:after {
    margin-top: -16px;
}

table.dataTable tr th.select-checkbox.selected::after {
    content: "✔";
    font-size: 15px;
    margin-top: -15px;
    margin-left: -4px;
    text-align: center;
    text-shadow: 1px 1px #B0BED9, -1px -1px #B0BED9, 1px -1px #B0BED9, -1px 1px #B0BED9;
}

table.dataTable > tbody > tr.selected > td.select-checkbox:after,
table.dataTable > tbody > tr.selected > th.select-checkbox:after {
    font-size: 15px;
    margin-top: -14px;
}
/* Table checkbox */

.dataTables_wrapper {
    margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_scroll {
    margin-bottom: 1em;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
    background-color: white;
    scrollbar-width: thin;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #CDCDCD;
}

table.dataTable thead > tr > th,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
    font-size: 11px;
    vertical-align: middle;
}

table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
    padding-right: 0;
}

table.dataTable > thead > tr > th.dt-right {
    padding-right: 20px !important;
}

table.dataTable td.dt-right {
    padding-right: 10px;
}

table.dataTable thead > tr > th.sorting:before,
table.dataTable thead > tr > th.sorting:after {
    right: 8px;
}

table.dataTable tbody > tr {
    height: 22px;
}

table.dataTable > tbody > tr.not-editable-row,
table.dataTable > tbody > tr.not-editable-row:hover {
    background-color: #E3E1E2;
    border-bottom-color: white;
}

.dataTables_wrapper .dataTables_filter {
    float: left;
    padding-left: 8px;
}

.dataTables_wrapper .dataTables_filter label {
    align-items: center;
    display: flex;
    font-size: 11px;
}

.dataTables_wrapper .dataTables_filter input {
    background-color: white;
    font-size: 11px;
    height: 15px;
    margin: 5px;
    max-height: 15px;
    min-height: 15px;
}

.dataTables_wrapper .dataTables_paginate .page-link,
.dataTables_wrapper .dataTables_paginate .page-link:hover {
     font-size: 11px;
}

.dataTables_wrapper div.dt-buttons .btn{
    font-size: 11px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 0;
}

.dataTables_wrapper div.dt-buttons button.dt-button,
.dataTables_wrapper div.dt-buttons div.dt-button,
.dataTables_wrapper div.dt-buttons a.dt-button,
.dataTables_wrapper div.dt-buttons input.dt-button {
    padding: 2px 5px;
}

/* Override disabled button with styles as btn-outline-secondary */
.dataTables_wrapper div.dt-buttons button.btn.btn-secondary.disabled {
    --bs-btn-color: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6c757d;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-focus-shadow-rgb: 108,117,125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6c757d;
    --bs-btn-active-border-color: #6c757d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6c757d;
    --bs-gradient: none
}

/* Item details info for datatables */

.dataTables_wrapper .pagination-plus-info .dataTables_info {
    display: block;
    flex: 65%;
    float: right;
    text-align: right;
}
.dataTables_wrapper .dataTables_paginate {
    float: left;
}
.dataTables_wrapper div.dt-buttons {
    float: right;
}
.dataTables_wrapper .dataTables_info {
    text-align: right;
  }

.dataTables-tooltip-cell .tooltip-inner {
    background-image: none;
    background-color: #e9f2ff;
    border-color: #8eaace;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -o-border-radius: 3px;
    -ms-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    color: #444;
    font-size: 11px;
    font-weight: normal;
    overflow: hidden;
    padding: 3px;
    position: relative;
}

.dataTables-tooltip-cell.tooltip.in {
    opacity: 1;
}

.datatable_date_filters {
    align-items: baseline;
    display: flex;
    float: right;
    position: relative;
    top: -84px;
}

.datatable_date_filters .input-group {
    width: 100px;
    margin: 0 0.5em !important;
}

.datatable_date_filters label {
    font-size: 11px;
    margin-bottom: 0;
}

.datatable_date_filters .input-group input {
    font-size: 11px;
    height: 25px;
    min-height: 25px;
}

.datatable_date_filters .input-group .btn {
    font-size: 10px;
    line-height: 10px;
}

.datatable_date_filters .input-group .btn.dp-clear-btn {
    color: #4A5155;
    height: 25px;
    min-height: 25px;
}

/* Classes for logsBusqueda.html */
/* Item details info for datatables */
.item-table-details-wrapper {
    display: none;
    color: black;
    position: relative;
    width: 100%;
}

.item-table-details-wrapper a.close {
    position: absolute;
    right: 8px;
    top: auto;
}

.item-table-details-wrapper .long-text {
    word-break: break-word;
}

