* {
    margin:0px;
    padding:2px;
    font:10px Helvetica,Arial,sans-serif;
}
@media all {
    div.saltopagina{
       display: inline;
    }
 }
@media print {
    div.saltopagina{ 
        display:block; 
        page-break-before:always;
    }
}
@media print {
  table { page-break-after:auto }
  tr    { page-break-inside:avoid; page-break-after:auto }
  td    { page-break-inside:avoid; page-break-after:auto }
  thead { display:table-header-group }
  tfoot { display:table-footer-group }
}
@media print {
    #cabecera{ 
        visibility:hidden; 
        display: none; 
    } 
}
@media screen{
    #logo{ 
        visibility:hidden; 
        display: none; 
    }
}
a {text-decoration:none}
h5 {font-size:14px;font-weight:bold}
table {width: 100%}
.grid {border-collapse: collapse;margin-left:10px}
.grid td:nth-child(n+6){text-align:right;padding-right: 2px}
.grid_head {width: 100%;}
.grid_head td {border:1px solid #000000;background-color: #E5E5E5;height:25px;}
.grid_body {width: 100%;border-collapse: collapse;}
.grid_body td {border:1px solid #000000;height:25px;}
.grid_foot {width:100%;border-collapse: collapse;}
.grid_foot td {border:1px solid #000000;}
.firma {width:150px;text-align:center}
#header {width: 1500px}
#firmas {
    width:80%;
    border-collapse: collapse;
    margin-left:10px;
    font-size:14px;
    font-weight:bolder
}
#firmas td {
    
}