.page-break {page-break-inside: avoid!important;}

.clear { clear:both; display:block; overflow:hidden; visibility:hidden; height:0px;}

.invoice-box {
    max-width: 2000px;
    /*margin: auto;*/
    padding: 50px;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, .15);*/
    font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;
    color: #555;
}

.invoice-box table.table_head {
    width: 100%;
    text-align: center;
    font-size: 12px;
    border: 1px;
    margin-bottom: 10px;
    
}

.invoice-box table.table_head_ride {
    width: 100%;
    text-align: center;
    font-size: 12px;
    border: none;
    line-height: 4px;
    margin-bottom: 0px;
}

.div_head_ride {
    border: 1px solid #000;
    border-radius: 0px;
    width: 100%;
    height: 100%;
    text-align: left;
    
}

.div_body_ride {
    border: 1px solid #000;
    width: 100%;
    height: 100%;
    text-align: left;
    
}

.div_body_ride table.table_head_ride_segmento td  {
    line-height: 20px;
}

.table_head_ride_segmento{
    margin: 5px;
    font-size: 12px;
    width: 100%;
    text-align: left;
    vertical-align: top;
}

.table_body_ride {
    font-size: 12px;
    width: 100%;
    text-align: left;
    vertical-align: top;
    border-collapse: collapse;
    border: 1px solid #000;
    margin-left: 1px;
    margin-top: 10px;
}


.table_body_ride td {
    border: 1px solid #000 ;
}

.table_body_ride thead td {
    background: #eee;
    font-weight: bold;
    text-align: center;
    
}

.td_totales{
    background: #eee;
    font-weight: bold;
    text-align: left;
}

.table_foot_ride {
    font-size: 12px;
    width: 100%;
    height: 100%;
    border: none;
    margin-left: -3px; 
    margin-right: 5px;
    margin-bottom: -15px; 
}

.table_foot_ride td {
    border: none;
}

.table_info_ride {
    font-size: 12px;
    width: 100%;
    height: 100%;
    text-align: left;
    vertical-align: top;
    border: 1px solid #000;
    margin: 0px;
    margin-bottom: 5px;
}

.table_info_ride td {
    font-size: 12px;
    text-align: left;
    vertical-align: top;
    border: none;
}

.table_pago_ride {
    font-size: 12px;
    width: 100%;
    height: 100%;
    text-align: left;
    vertical-align: top;
    border-collapse: collapse;
    border: 1px solid #000;
    margin: 0px;
    margin-top: 5px;
}

.table_pago_ride td {
    vertical-align: top;
    border: 1px solid #000;
}

.table_head_ride_segmento td{
    text-align: left;
    vertical-align: top;
}

.invoice-box table.table_data {
    width: 100%;
    line-height: inherit;
    text-align: left;
    font-size: 11px;
}

.invoice-box table.table_data td {
    padding: 3px;
    margin: 5px;
    vertical-align: center;
    border-right: 1px solid rgb(201, 199, 199);
    border-bottom: 1px solid rgb(201, 199, 199);
    
}

.invoice-box table.table_data tr.heading td {
    background: #eee;
    font-weight: bold;
    text-align: center;
    font-size: 11px;
    border-bottom: 2px solid #555;
}

.invoice-box table.table_data tr.heading td:nth-child(1) {
    border-left: 0.5px solid rgb(201, 199, 199);
}

.invoice-box table.table_data tr.item td:nth-child(1) {
    border-left: 0.5px solid rgb(201, 199, 199);
}

.invoice-box table.table_data tr.item td {
    font-size: 11px;
}

.invoice-box table.table_data tr.final td {
    font-weight: bold;
    background: #eee;
    font-size: 12px;
}

.invoice-box table.table_data tr.final td:nth-child(1) {
    border-left: 0.5px solid rgb(201, 199, 199);
}

@media only screen and (max-width: 600px) {
    .invoice-box table.table_data td {
        width: 100%;
        display: block;
        text-align: center;
    }
}

.fecha_pie {
    text-align: right;
    font-size: 12px;
    font-style: italic;
}

.notas {
    text-align: left;
    font-size: 10px;
    font-style: italic;
    font-weight: bold;
    color: rgb(122, 33, 33);
}

.text {
    font-size: 12px;
    color: #000;
}


.invoice-box table.table_foot {
    margin-bottom: 10px;
    width: 70%;
    line-height: inherit;
    font-size: 10px;
}

.invoice-box table.table_foot td {
    padding: 5px;
    margin: 5px;
    vertical-align: center;
    border: 0.5px solid #555;
}

.invoice-box table.table_firmas {
    margin-top: 20px;
    width: 100%;
    line-height: inherit;
    font-size: 11px;
}

.invoice-box table.table_firmas td {
    padding-top: 60px;
    vertical-align: bottom;
}


.invoice-box table.table_encabezado {
    width: 100%;
    line-height: inherit;
    font-size: 11px;
}

.invoice-box table.table_encabezado td {
    vertical-align: top;
    font-size: 11px;
}


.invoice-box table.table_encabezado_interno td {
    padding: 3px;
    margin: 5px;
    border-right: 1px solid rgb(201, 199, 199);
    border-bottom: 1px solid rgb(201, 199, 199);
    line-height: inherit;
}


.invoice-box table.table_encabezado_interno td.table_encabezado_head {
    background: #eee;
    font-weight: bold;
    font-size: 11px;
}

.invoice-box table.table_encabezado_interno td.table_encabezado_data {
    background: rgb(251, 251, 251);
    font-size: 11px;
}


.invoice-box table.table_title {
    width: 100%;
    line-height: inherit;
    padding-left: 2px;
    padding-right: 2px;
}

.invoice-box table.table_title tr.table_title_head td {
    padding: 5px;
    margin: 5px;
    vertical-align: center;
    background:rgb(255, 248, 220);
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid rgb(201, 199, 199);
}


.invoice-box table.table_derecho_venta {
    width: 100%;
    /* line-height: inherit; */
    text-align: left;
    font-size: 12px;
}