﻿/******************* datatable fijar tamaño **********************************/
.scrollFijo {
    max-height: 42em !important;
}

/******************* datatable details tr **********************************/
td.dt-control {
    background: url('https://www.datatables.net/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.dt-control {
    background: url('https://www.datatables.net/examples/resources/details_close.png') no-repeat center center;
}

/******************* datatable toolbar **********************************/
.toolbar {
    width: 100% !important;
    float: right !important;
    text-align: right !important;
}

.footerTool {
    width: 100% !important;
    float: right !important;
    text-align: right !important;
}

/******************* datatable search builder - filtros de los datatable **********************************/
.dtsb-button {
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
    box-shadow: none !important;
}

div.dtsb-title {
    display: none !important;
}

.dt-button.spToggle.showPanes {
    color: #fff !important;
    background-color: #becada !important;
    border-color: #becada !important;
    box-shadow: none !important;
}


/******************* datatable searchpanes- filtros de busqueda de los datatable **********************************/
div.dtsp-topRow {
        background-color: #becada !important;
        color: green !important;
    }

    div.dtsp-topRow input {
        background-color: #becada !important;
        color: red !important;
        font-size: 1.1em !important;
        font-weight: bolder !important;
    }

    div.dtsp-topRow input::placeholder {
        color: grey !important;
        opacity: 1;
    }

    div.dtsp-panesContainer:after {
      content: '';
      display: table;
      clear: both;
    }
    div.dtsp-title {
      display: none;
    }

    div.dtsp-searchPanes {
      display: none;
    }


/******************* datatable buttons - botones de los datatable **********************************/
.dt-button {
    display: inline-block !important;
    font-weight: 400 !important;
    color: #212529 !important;
    text-align: center !important;
    vertical-align: middle !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border-radius: 0.25rem !important;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
    
    border-color: #ddd !important;
}

    .dt-button:hover {
        background-color: #e9ecef !important;
        color: #2b2b2b !important;
        opacity: .65 !important;
    }

    div.dt-button-collection.fixed {
         width: 35em !important;
    }

    div.dt-button-collection button.dt-button:active:not(.disabled), div.dt-button-collection button.dt-button.active:not(.disabled), div.dt-button-collection div.dt-button:active:not(.disabled), 
    div.dt-button-collection div.dt-button.active:not(.disabled), div.dt-button-collection a.dt-button:active:not(.disabled), div.dt-button-collection a.dt-button.active:not(.disabled) {
        background: #fffadf !important;
    }

     .dt-button.buttons-collection.buttons-colvis {
        color: whitesmoke  !important;
        background-color: #ff6b01  !important;
    }

    .dt-button.buttons-colvisRestore {
        color: whitesmoke  !important;
        background-color: #707785  !important;
    }

    div.dt-button-collection.fixed .dt-button:first-child {
        margin-top: 0.3em !important;
    }

    .dt-button.buttons-collection {
        color: whitesmoke  !important;
        background-color: #28a745  !important;
    }

    .dt-button.buttons-copy {
        color: whitesmoke  !important;
        background-color: #17a2b8  !important;
    }

    .dt-button.buttons-csv {
        color: #2b2b2b !important;
        background-color: #ffc107 !important;
    }

    .dt-button.buttons-excel {
        color: whitesmoke !important;
        background-color: #28a745 !important;
    }

    .dt-button.buttons-pdf {
        color: whitesmoke !important;
        background-color: #dc3545 !important;
    }

    .dt-button.buttons-print {
        color: whitesmoke !important;
        background-color: #adb5bd !important;
    }