#tabla_principal table {
    width: 100%;
    border-collapse: collapse;
} 

/* Zebra striping */
#tabla_principal tr:nth-of-type(odd) {
    background: lightblue;
}

#tabla_principal th {
    background: #156690;
    color: white;
    font-weight: bold;
    font-size: 16px !important;
}

#tabla_principal th {
    padding: 6px;
    border: 1px solid #ccc;
    text-align: center;
}

#tabla_principal td{
    padding: 3px;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 13px !important;
}

#tabla_principal #select_all{
    display: none;
}

@media only screen and (max-width: 800px) {
    #tabla_principal #select_all {
        display: block;
    }

    /* Force table to not be like tables anymore */
    #tabla_principal table, #tabla_principal thead, #tabla_principal tbody, #tabla_principal th, #tabla_principal td, #tabla_principal tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #tabla_principal thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    #tabla_principal tr {
        border: 1px solid #ccc;
    }

    #tabla_principal td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left !important;        
    }

    #tabla_principal td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
    }

    /*
    Label the data
    */
    #tabla_principal td:before {
        content: attr(data-title);        
        font-weight: bold;
    }

   /* .scroll{
        overflow: hidden;
        height: 300px;
    }
    #tabla_principal{
        width: 100%;
        height: 100%;
        overflow: auto;
    }*/
}

table { width: 100%; }
td, th {text-align: left; 
    /*white-space: nowrap;*/
}