/*
Generic Styling, for Desktops/Laptops
*/
#tab_logic table,#tab_logic2 table {
    width: 100%;
    border-collapse: collapse;
}
/* Zebra striping */
#tab_logic tr:nth-of-type(odd) , #tab_logic2 tr:nth-of-type(odd){
    background: #eee;
}
#tab_logic th,#tab_logic2 th {
    background: #333;
    color: white;
    font-weight: bold;
}
#tab_logic td, #tab_logic th ,#tab_logic2 td, #tab_logic2 th {
    padding: 6px;
    border: 1px solid #ccc;
    text-align: left;
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

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

    #tab_logic2 table, #tab_logic2 thead, #tab_logic2 tbody, #tab_logic2 th, #tab_logic2 td, #tab_logic2 tr {
        display: block;
    }

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

    #tab_logic2 thead tr{
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

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

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

    #tab_logic td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    #tab_logic2 td{
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    #tab_logic 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;
    }

    #tab_logic2 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;
    }

    /*
    Label the data
    */
    /*#tab_logic td:nth-of-type(1):before { content: "NUMERO DE FACTURA O NOTA"; }
    #tab_logic td:nth-of-type(2):before { content: "NUMERO NOTA DE CREDITO"; }
    #tab_logic td:nth-of-type(3):before { content: "MONTO SIN IVA"; }
    #tab_logic td:nth-of-type(4):before { content: "IVA"; }
    #tab_logic td:nth-of-type(5):before { content: "MONTO RETENCION"; }
    #tab_logic td:nth-of-type(6):before { content: "MONTO CON IVA"; }

    #tab_logic2 td:nth-of-type(1):before { content: "FECHA"; }
    #tab_logic2 td:nth-of-type(2):before { content: "# REFERENCIA"; }
    #tab_logic2 td:nth-of-type(3):before { content: "TRANSFERIDO POR"; }
    #tab_logic2 td:nth-of-type(4):before { content: "BANCO"; }
    #tab_logic2 td:nth-of-type(5):before { content: "MONTO"; }
    #tab_logic2 td:nth-of-type(6):before { content: "EFECTIVO"; }*/

}