/* Estilo para tabla con paginación */
.bootgrid-table {
    margin-bottom: 10px !important;
}

.bootgrid-footer {
    margin-top: 0px !important;
}

.bootgrid-footer ul.pagination a {
    padding: 4px 10px;
}

.bootgrid-footer ul.pagination li:hover {
    cursor: pointer;
}

.bootgrid-footer .infos {
    font-size: 14px;
}

.bootgrid-footer .infoBar, .bootgrid-header .actionBar {
    text-align: right;
}

.bootgrid-footer .pagination {
    margin: 0;
}

.bootgrid-footer .pagination li {
    display: inline!important;
}

.bootgrid-table tbody tr {
    background-color: white !important;
}

.bootgrid-table tbody tr:hover {
    background-image: none !important;
    background-color: #fafafa !important;
}

.bootgrid-table tbody td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.bootgrid-table.tabla-botones-inline .contenedor-botones-acciones {
    max-width: none!important;
}

.bootgrid-table .contenedor-botones-acciones {
    max-width: 180px;
    text-align: right;
}

table .contenedor-botones-acciones button {
    background-image: none;
    background-color: #fceef0 !important;
    color: #dd3e54 !important;
    width: 100%;
    max-width: 160px;
    min-width: 60px!important;
    white-space: normal;
    font-size: 11px!important;
    border: 0px;
    padding-top: 6px;
    padding-bottom: 6px;
    text-transform: uppercase;
    border-radius: 5px;
}

table .contenedor-botones-acciones button span {
    vertical-align: middle;
    line-height: 21px;
}

table .contenedor-botones-acciones button i {
    position: relative;
    float: right;
    font-size: 14px;
    right: 2px;
}

table .contenedor-botones-acciones button:hover {
    background-color: #d8213b !important;
    color: white !important;
    animation-name: none !important;
}

.bootgrid-table .contenedor-botones-acciones button[data-id-accion="reprogramar-prioritario"] {
    background: #FCFCFC;
    animation-name: titilar-boton;
    animation-duration: .6s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    color: #555555;
}

@keyframes titilar-boton {
    from {
        background-color: #fcfcfc;
    }
    to {
        background-color: #cccccc;
    }
}

.bootgrid-table.acciones-sin-texto .contenedor-botones-acciones a span {
    display: none;
}

.bootgrid-table .contenedor-botones-acciones button:not(:first-child) {
    margin-top: 7px;
}

.bootgrid-table.tabla-botones-inline .contenedor-botones-acciones button:first-child {
    margin-top: 7px;
}

.bootgrid-table thead tr th span {
    white-space: normal !important;
    display: block !important;
    overflow: visible !important;
    margin: 0 !important;
    color: #535754;
}

.bootgrid-table .clave-con-subclave-bootgrid{
    color: #4e524f;
    font-size: 16px;
}

.bootgrid-table .subclave-bootgrid{
    color: #8d8d8d;
    font-size: 16px;
}

.bootgrid-table tbody tr td {
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    word-break: break-word;
    font-size: 16px;
}

.bootgrid-table tbody tr td a {
    word-break: break-word;
}

.bootgrid-table .contenedor-botones-acciones .ion-ios-telephone, .btn-cortar .ion-ios-telephone,
.btn-finalizar-turno .ion-ios-telephone {
    transform: rotate(135deg);
    display: inline-block;
    margin-right: 2px;
}

@media (max-width: 576px) {
    .tabla-responsive .no-results {
        padding-left: 0px!important;
    }
    .tabla-responsive .no-results:before {
        display: none;
    }

    .tabla-responsive .bootgrid-footer {
        display: none;
    }

    .tabla-responsive table {
        position: absolute;
        width: 300px;
        display: contents;
    }

    .tabla-responsive table thead, .tabla-responsive table tbody,
    .tabla-responsive table th, .tabla-responsive table td, .tabla-responsive table tr {
        display: block;
    }

    .tabla-responsive table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .tabla-responsive table tbody td {
        border: none;
        position: relative;
        padding-left: 52%;
        border: 0px !important;
        padding-top: 7px!important;
        padding-bottom: 7px!important;
    }

    .tabla-responsive table tbody td:before {
        position: absolute;
        top: 0;
        left: 6px;
        width: 48%;
        padding-right: 10px;
        white-space: nowrap;
        padding-top: 7px;
        padding-bottom: 7px!important;
    }

    .tabla-responsive table tbody tr td, .tabla-responsive table tbody tr td span {
        font-size: 13px!important;
        word-break: break-word;
    }

    .tabla-responsive table tbody tr {
        padding-top: 4px;
        border-bottom: 1px solid lightgray!important;
    }

    .tabla-responsive .bootgrid-footer {
        padding-left: 0px;
        margin-top: 10px!important;
    }

    .tabla-responsive .contenedor-botones-acciones {
        margin-left: -100%!important;
        max-width: 400px;
    }

    .tabla-responsive .contenedor-botones-acciones button {
        min-width: 100%!important;
        margin: auto;
    }

    .bootgrid-table .contenedor-botones-acciones button {
        padding-left: 8px;
        padding-right: 9px;

        min-width: 30px;
        text-align: center;
        margin-right: 2px;
    }

    .bootgrid-table .contenedor-botones-acciones button i {
        position: static;
    }

    /* Este selector es un parche para que el footer de las grillas se vea bien en las
    pantallas responsivas. El problema lo tiene la librería bootgrid.*/
    .bootgrid-footer div.col-sm-6:nth-child(1) {
        float: left !important;
    }

    #tabla-mensajes-nuevos tr th:nth-child(1) {
        display: none;
    }

    #tabla-mensajes-nuevos tr th:nth-child(1) {
        display: none;
    }

    .bootgrid-table thead tr th span {
        font-size: 13px;
    }

    .bootgrid-table tbody tr td {
        font-size: 13px;
        word-break: keep-all;
    }
}

.contenedor-tabla-informacion {
    background-color: white;
}

@media screen and (max-width: 424px) {
    .bootgrid-table .contenedor-botones-acciones button span {
        font-size: 11px!important;
    }
}

@media (min-width: 576px) {
    .contenedor-tabla-informacion {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 50px;
        padding-bottom: 30px;
        margin-bottom: 30px;
        margin-top: 30px;
    }
}

@media screen and (max-width: 767px) {
    .bootgrid-footer .infoBar {
        display: inline-block!important;
        float: right!important;
    }
}