@media print {


  .hidden-print {
    display: none !important;
  }

  .row.header,
  #sugester_widget,
  a[onclick="$('#table1').fadeToggle();; return false;"],
  #content>#side_box+h2,
  .no_print,
  .cms_button,
  #jGrowl,
  .jGrowl,
  .root_fields,
  #pdf_link,
  #habla_panel_div,
  .round_box,
  .link_to_show,
  .invoice_bottom_links,
  #partial_div,
  #bottom,
  #sx_container,
  .buttons,
  .panel,
  #top-nav,
  #header {
    display: none !important;
  }

  .tr_options_placer,
  #container {
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
  }

  table.table,
  #table1 table,
  #list_table+table,
  #list_table table {
    margin: auto;
    clear: both;
    margin-top: 10px;
    border-collapse: collapse;
    border: 1px solid #bbbbbb;
    empty-cells: hide;
    background-color: white;
    margin: 5px auto 5px auto;
    width: 99%;
    font-family: arial;
  }

  table.table td,
  #table1 table td,
  #list_table+table td,
  #list_table table td {
    overflow-wrap: break-word;
  }



  table.table tr,
  #table1 table tr,
  #list_table+table tr,
  #list_table table tr {
    vertical-align: top;
  }

  table.table th,
  table.table td,
  #table1 table th,
  #table1 table td,
  #table1 table caption,

  #list_table+table th,
  #list_table+table td,
  #list_table+table caption,
  #list_table table th,
  #list_table table td,
  #list_table table caption {
    background-color: white;
    text-align: left;
    vertical-align: top;
    border-collapse: collapse;
    border: 1px solid #d8d7d7;
    padding: 3px;
  }

  #table1 table th,
  #list_table+table th,
  #list_table table th {
    font-weight: bold;
    background-color: #f1f1f1;
    font-weight: bold;
    border: 1px solid #bbbbbb;
  }

  .tabfoot {
    background-color: #f1f1f1;
  }

  table.table th p,
  #table1 table th p,
  #table1 table td a,
  #list_table+table th p,
  #list_table+table td a,

  #list_table table th p,
  #list_table table td a {
    text-align: left;
  }

  #table1 table caption,
  #list_table+table caption,
  #list_table table caption {
    background-color: #F8F3E6;
    padding: 3px;
    caption-side: top;
    margin-bottom: 5px;
  }

  /*    table.table { page-break-inside:auto }
     table.table tr    { page-break-inside:avoid; page-break-after:auto }
     table.table thead { display:table-header-group }
     table.table tfoot { display:table-footer-group }*/

  /*	 table.table tr
	 {
	     display: block;
	     page-break-inside: avoid;
	     -webkit-region-break-inside: avoid;
	 }
	*/
  @page {
    size: A4;
  }

  *,
  html body * {
    box-shadow: none !important;
  }

  html body {
    font-family: "helvetica nue", helvetica, arial;
    background: #fff;
  }



  #vat_sell {

    font-size: 0.7em;
  }

  #vosfactures table.font-size-0-57em {
    font-size: 0.57em !important;
  }

  th.number,
  td.number,
  table#vat_sell td.number {
    text-align: right;
    word-wrap: break-word;
  }

  td.number {
    white-space: nowrap;
  }

  th.text_right,
  td.text_right,
  .text_right th,
  .text_right td {
    text-align: right;
  }

  td a {
    text-decoration: none;
    color: inherit;
  }

  #custom_stamp,
  .custom_stamp,
  .invoice_outline {
    -webkit-print-color-adjust: exact;
  }

  .footer.visible-print {
    margin-top: 30px;
    font-size: 0.8em;
    text-align: right;
  }

  .footer.visible-print a {
    color: #333;
    text-decoration: none;
  }

  table {
    border-collapse: collapse;
  }

  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }

  td {
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group !important;
  }

  .profiler-results * {
    display: none !important;
  }


  /*	body > .content {size:A4;}

	.highcharts-container svg {width:auto !important;height:auto !important;}	*/
  /*	.highcharts-container {width:auto;max-width:none;min-width:1px;}*/
  .erp_production_order,
  .erp_packing_list {
    font-size: 8pt;
  }

  .erp_production_order .text-right,
  .erp_packing_list .text-right {
    text-align: right !important;
  }

  .erp_production_order .notes,
  .erp_packing_list .notes {
    min-width: 15%;
    width: 15%;
  }

  .erp_production_order .materials,
  .erp_packing_list .materials {
    line-height: 1.5em;
  }

  .erp_production_order h4,
  .erp_packing_list h4 {
    margin: 0px;
    padding: 0px;
  }

  .erp_production_order .order_name,
  .erp_packing_list .order_name {
    width: 45%;
    float: left;
    font-size: 2em;
    font-weight: bold;
  }

  .erp_production_order .order_deadline,
  .erp_packing_list .order_deadline {
    width: 45%;
    float: right;
    font-weight: bold;
    font-size: 1.5em;
  }

  .erp_production_order .order_warehouses,
  .erp_packing_list .order_warehouses {
    clear: both;
    width: 45%;
    float: left;
  }

  .erp_production_order .order_realisation,
  .erp_packing_list .order_realisation {
    width: 45%;
    float: right;
  }

  .erp_production_order .order_description,
  .erp_packing_list .order_description {
    width: 100%;
    float: none;
    clear: both;
  }

  .erp_production_order table,
  .erp_packing_list table {

    clear: both;
  }

  .erp_production_order table tr:nth-of-type(even) td,
  .erp_packing_list table tr:nth-of-type(even) td {
    background-color: #E9EAEE !important;
  }

  .nowrap {
    white-space: nowrap;
  }

  .ean_code {
    background-color: white !important;
  }

  ._invoice_body {
    color: #000;
  }

  .invoice .ean_code {
    margin-top: 2px;
    margin-right: 8px;
  }

  @-moz-document url-prefix() {

    /* min-height nie działa na firefoxie bez height */
    table.barby-barcode {
      height: 15px;
    }
  }

  table.barby-barcode {
    min-height: 15px;
    width: auto !important;
    background-color: white !important;
    margin: 0px;
    table-layout: fixed !important;
  }

  table.barby-barcode td.barby-cell {
    width: 1px !important;
    border: 0px !important;
    visibility: visible !important;
    padding: 0px !important;
    margin: 0px !important;
  }

  table.barby-barcode td.barby-cell.on {
    background-color: black !important;
  }

  table.barby-barcode td.barby-cell.off {
    background-color: white !important;
  }

}
