


/*NUEVA TABLA*/



body {
    font-family:Verdana, Geneva, Tahoma, sans-serif
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.table {
    width: 100%;
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    table-layout:auto 
}

.table caption {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 8px 0px;
}

.table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
}

.table th, .table td {
    font-size: 12px;
    padding: 8px;
    text-align: left;
}

/*Los 3 siguientes los modifique yo*/


.table th, .table th .comuna{
    text-align: center;
}

.table td, .table td .comuna{
    text-align: center;
}



/*ESTOS 3 PARA MODIFICAR LOS COLORES DE FONDO*/
.table thead th{ 
    text-transform: uppercase;
    background-color: #64b5f6;
}

.table tbody tr:hover {
    background-color: #b3e5fc;
}

.table tbody td:hover {
    background-color: #81d4fa;
}

@media screen and (max-width: 600px) {
    .table {
        border: 0px;
    }
    .table caption {
        font-size: 22px;
    }
    .table thead {
        display: none;
    }
    .table tr {
        margin-bottom: 8px;
        border-bottom: 4px solid #ddd;
        display: block;
    }
    .table th, .table td {
        font-size: 12px;
    }
    .table td {
        display: block;
        border-bottom: 1px solid #ddd;
        text-align: right;
    }
    .table  td:last-child {
        border-bottom: 0px;
    }
    .table td::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        float: left;
    }
}






