.Grilla table {
    font-size: 0.8em;
    border-collapse: collapse;
    width: 100%;
    border: none;
}

.Grilla tbody {
}

.Grilla th, .Grilla td {
    padding: 0.5em;
    border: 1px solid #c7c7c7 !important;
    display: table-cell;
    font-size: 0.9rem !important;
}

.Grilla th {
    background-color: #eeeeee;
    font-weight: bold;
    color: #353535;
    padding: 7px 3px 7px 3px;
    font-size: 0.9rem;
    display: table-cell;
}

    .Grilla th a {
        color: #353535 !important;
        /*text-decoration: none !important;*/
    }

.Grilla .fila {
    background-color: #ffffff;
}

    .Grilla .fila:hover {
        background-color: #d9e7ec !important;
    }

.filaImpar {
    background-color: #f7f7f7;
}

    .filaImpar:hover {
        background-color: #d9e7ec;
    }

.btnSeleccionarTodo {
    background-color: transparent;
    background-image: url('../../Iconos/checkall.png');
    width: 20px;
    height: 20px;
    margin: 0px;
    border: none;
    background-repeat: no-repeat;
    margin-left: -2px;
    background-size: cover;
    cursor: pointer;
}

.btnDescargarTodo {
    float: right;
    margin: 2px;
    display: inline-block;
    border: none;
    background-image: url('../../Iconos/DescargarTodo.png');
    background-size: contain;
    cursor: pointer;
    margin-left: 10px;
    width: 70px;
    height: 28px;
    background-repeat: no-repeat;
    background-color: #eeeeee;
    background-position: center;
    border: 1px solid #c7c7c7;
    margin: 2px;
}


/*Botones del grid*/

.btnImageButton {
    background-color: transparent;
    border: none;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}


.btnGrid {
    background-color: transparent;
    width: 25px;
    height: 25px;
    margin: 0px;
    border: none;
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: contain;
}

.GridEliminar {
    background-image: url(../../Iconos/eliminar.png);
}

.GridImprimir {
    background-image: url(../../Iconos/printer.png);
}

.GridVer {
    background-image: url(../../Iconos/ver.png);
}

.GridEditar {
    background-image: url(../../Iconos/editar.png);
}

.GridPdf {
    background-image: url(../../Iconos/pdf.png);
}

.GridSeleccionar {
    background-image: url(../../Iconos/touchscreen.png);
}

.PaginadoGrid {
    background-color: #ffffff;
}

    .PaginadoGrid:hover {
        background-color: #ffffff;
    }

    .PaginadoGrid table {
        width: auto !important;
    }

        .PaginadoGrid table tr:hover {
            background-color: #ffffff;
        }

        .PaginadoGrid table tr td {
            padding: 7px 10px;
            font-size: 0.8rem;
        }

            .PaginadoGrid table tr td:hover {
                background-color: #ffffcc;
            }


/*Mostrar titulos de columnas*/

th[titulo="VerTitulo"] {
    content: "";
}

.MostrarCabecera {
    background-color: #eeeeee !important;
    color: #353535;
}

    .MostrarCabecera td:after {
        font-weight: bold;
        content: attr(titulo);
        display: inline-block;
        width: 100%;
        text-align: center;
        min-height: 15px;
    }

    .MostrarCabecera td[titulo="Seleccionar"]:after {
        content: "";
        display: none;
    }

    .MostrarCabecera td[titulo="VerTitulo"]:after {
        content: "";
        display: none;
    }

    .MostrarCabecera a {
        display: none;
    }

    .MostrarCabecera span {
        display: none;
    }

    .MostrarCabecera div {
        display: none;
    }

    .MostrarCabecera input[type="image"] {
        display: none;
    }

    .MostrarCabecera input[type="checkbox"] {
        display: none;
    }

    .MostrarCabecera input[type="button"] {
        display: none;
    }

    .MostrarCabecera .btnVerTitulo {
        width: 15px;
        height: 15px;
        background-image: url(../../Iconos/Anular.png);
        background-repeat: no-repeat;
        cursor: pointer;
        display: block;
        background-size: contain;
    }

.btnVerTitulo {
    width: 15px;
    height: 15px;
    background-image: url(../../Iconos/btnInfo.png);
    background-repeat: no-repeat;
    cursor: pointer;
    display: block;
    background-size: contain;
}

@media only screen and (max-width : 670px) {

    .Grilla th {
        display: none;
    }


    .Grilla td:before {
        font-weight: bold;
        content: attr(titulo);
        float: left;
    }

    .Grilla td {
        display: none;
        text-align: right;
        border: 0;
    }

        .Grilla td[class="titulo"] {
            display: inline-block;
            width: 100%;
            border: 1px solid #c7c7c7 !important;
            display: inline-block;
            width: 100%;
            color: #403f3f;
            background-color: #eeeeee !important;
            text-align: right;
        }

    .Grilla tr[class="fila bloques"] td {
        display: inline-block;
        width: 100%;
        /*background-color: #ffffff;*/
        background-color: transparent;
        border: solid 1px #a0a0a0;
        border-top: none;
    }

    .Grilla tr[class="filaImpar bloques"] td {
        display: inline-block;
        width: 100%;
        /*background-color: #ffffff;*/
        background-color: transparent;
        border: solid 1px #a0a0a0;
        border-top: none;
    }


    .Grilla tr[class="fila"] td[class="bloques"] {
        display: inline-block;
        width: 100%;
        /*background-color: #ffffff;*/
        background-color: transparent;
        border: solid 1px #a0a0a0;
        border-top: none;
    }

    .Grilla tr[class="filaImpar"] td[class="bloques"] {
        display: inline-block;
        width: 100%;
        /*background-color: #ffffff;*/
        background-color: transparent;
        border: solid 1px #a0a0a0;
        border-top: none;
    }

    .btnVerTitulo {
        display: none;
    }
}
