@media print {
  /*
    .d-print-inline {display: inline !important;}
    .d-print-inline-block {display: inline-block !important;}
    .d-print-block {display: block !important;}
    .d-print-grid {display: grid !important;}
    .d-print-table {display: table !important;}
    .d-print-table-row {display: table-row !important;}
    .d-print-table-cell {display: table-cell !important;}
    .d-print-flex {display: flex !important;}
    .d-print-inline-flex {display: inline-flex !important;}
    .d-print-none {display: none !important;}
*/

  @page {
    /*size: landscape;*/
    margin: 5mm 5mm 3mm 3mm;
  }

  html,
  body {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .print + .print {
    page-break-before: always;
  }

  body {
    font-size: 10px !important;
    margin: 0px !important;
    padding: 0px !important;
    background-color: #fff;
  }

  body,
  .content-wrapper {
    width: 1150px !important;
  }

  .py-3 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  h3 {
    font-size: 14px !important;
    margin-bottom: -10px;
  }

  h5 {
    font-size: 12px !important;
    margin-bottom: 0px !important;
  }

  .row > * {
    padding: 5px;
  }

  .col-print-1 {
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
    float: left;
  }

  .col-print-2 {
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
    float: left;
  }

  .col-print-3 {
    flex: 0 0 25%;
    max-width: 25%;
    float: left;
  }

  .col-print-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
    float: left;
  }

  .col-print-5 {
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
    float: left;
  }

  .col-print-6 {
    flex: 0 0 50%;
    max-width: 50%;
    float: left;
  }

  .col-print-7 {
    flex: 0 0 58.33333%;
    max-width: 58.33333%;
    float: left;
  }

  .col-print-8 {
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
    float: left;
  }

  .col-print-9 {
    flex: 0 0 75%;
    max-width: 75%;
    float: left;
  }

  .col-print-10 {
    flex: 0 0 83.33333%;
    max-width: 83.33333%;
    float: left;
  }

  .col-print-11 {
    flex: 0 0 91.66667%;
    max-width: 91.66667%;
    float: left;
  }

  .col-print-12 {
    flex: 0 0 100%;
    max-width: 100%;
    float: left;
  }

  .col-auto-print {
    flex: 0 0 auto;
    width: auto;
    float: left;
  }

  table.trend > tbody > tr > td {
    line-height: 11px;
    height: 10px;
  }

  .table-sm > :not(caption) > * > * {
    padding: 0.15rem 0.25rem !important;
  }

  table.trend > tbody > tr > td.column-description {
    font-size: 8px !important;
  }

  th.total-table-header {
    font-size: 8px !important;
  }

  table.trend {
    table-layout: fixed;
    width: 100% !important;
  }

  #trend-tables {
    padding: 0;
  }

  table.kc-gruppen {
    table-layout: fixed;
    width: 30px !important;
  }

  .print-float-right {
    float: right;
  }

  #laufender-monat-chart-container > .chartjs-render-monitor,
  #kommender-monat-chart-container > .chartjs-render-monitor,
  #hofbestand-chart-container > .chartjs-render-monitor {
    max-width: 300px;
  }

  #hofbestand-chart-container > .chartjs-render-monitor {
    height: 268px;
  }

  #ist-nach-tagen-chart.chartjs-render-monitor {
    max-width: 1150px;
  }

  #print-part-one {
    min-height: 1035px !important;
  }
  /* #trend-tables {
    min-height: 805px !important;
  }
  #chart-ist-nach-tagen {
    min-height: 230px !important;
  } */
  .summarization-reports {
    height: 230px !important;
    border: solid 1px green;
  }
  .summarization-diagrams {
    height: 230px !important;
    border: solid 1px blue;
  }
  p.calculation-descriptions {
    margin-bottom: 0 !important;
    font-size: 6px !important;
  }
  #footer {
    position: absolute;
    bottom: 0px;
    right: 0px;
  }

  #trend-tables > div:not(:first-child) {
    margin-top: -15px !important;
  }

  #trend-tables .row {
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
  }

  #summarization-tables table {
    margin-bottom: 0.5rem;
    width: 100%;
  }

  #summarization-tables .col-6.d-print-table-cell {
    width: 600px;
  }
}
