@page normal { size: portrait; margin: 1in; }
@page rotate { size: landscape; margin: 0.5in; }
body { page: rotate; }

*{color:#000;}

.sidebar, .printer-hide, .dataTables_empty, .dataTables_filter, .dataTables_info, .dataTables_length, .dataTables_paginate{display:none !important;}
html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, code, sup,del, dfn, em, img, q, dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {font-weight: inherit;font-style: inherit;font-family: inherit;padding: 0;margin: 0;border: 0;vertical-align: baseline}
body{ font: 13px/2.2em Tahoma, sans-serif; background: #ffffff;}
h1,h2,h3,h4,h5,h6 { font-weight: bold; margin-bottom: .75em; }
h1 { font-size: 30px; font-weight: normal; line-height: 1em; margin-bottom: 1em; }
h2 { font-size: 24px; font-weight: normal; margin-bottom: 1em }
h3 { font-size: 16px; line-height: 1; margin-bottom: 1.25em }
h4 { font-size: 14px; line-height: 1.25; margin-bottom: 1.25em }
h5 { font-size: 12px; font-weight: bold; margin-bottom: .1em }
h6 { font-size: 11px; font-weight: bold }

.preview table{border-collapse: collapse;clear: both;margin:0 0 25px;}
.preview table tbody td{padding: 2px;line-height: 15px;vertical-align: top;text-align:left;}
.preview table tbody td img{vertical-align: -3px;}
.preview table thead th, .preview table tfoot th{line-height: 15px;padding: 2px;border:none;text-align: left;font-weight:bold;}
.preview table .label, .result table .label{border:1px solid #000;background:#FFF;font-weight:bold;}
.preview table .value, .result table .value{border:1px solid #000;background:#FFF;}
.preview table .break{background: #FFFFFF;}
.preview table .text-right{text-align:right;}

.preview table .invoice_1 .value, .result table .invoice_1 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .order_1 .value, .result table .order_1 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .invoice_3 .value, .result table .invoice_3 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .order_3 .value, .result table .order_3 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .invoice_4 .value, .result table .invoice_4 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .order_4 .value, .result table .order_4 .value{border-color:#FFCB01;background-color: #FFFFCD;}
table .invoice_terminated_1 .to_pay *, table .invoice_terminated_1 .payment_time *, table .invoice_terminated_1 .to_pay, table .invoice_terminated_1 .payment_time{color:#C00;}
table .order_terminated_1 .to_pay *, table .order_terminated_1 .payment_time *, table .order_terminated_1 .to_pay, table order_terminated_1 .payment_time{color:#C00;}
.preview table .delivery_0 .value, .result table .delivery_0 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .delivery_3 .value, .result table .delivery_3 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.payment-terminated .termin-platnosci, .payment-terminated .kwota {color:#C00;}

.preview table .order_1 .value, .result table .order_1 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .order_3 .value, .result table .order_3 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .order_4 .value, .result table .order_4 .value{border-color:#FFCB01;background-color: #FFFFCD;}
table .order_terminated_1 .to_pay *, table .order_terminated_1 .payment_time *, table .order_terminated_1 .to_pay, table .order_terminated_1 .payment_time{color:#C00;}
.preview table .delivery_0 .value, .result table .delivery_0 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.preview table .delivery_3 .value, .result table .delivery_3 .value{border-color:#FFCB01;background-color: #FFFFCD;}
.payment-terminated .termin-platnosci, .payment-terminated .kwota {color:#C00;}

a{text-decoration: none;color:#000;}

.grid-tabs-pane{display:block !important;}

img{display:none;}