/**
 * Print Stylesheet for CarePaths
* @version         1.0
* @lastmodified    05.14.2019
*/

@media print {

  @page {
    size: A4;
    /* DIN A4 standard, Europe */
    margin: 3mm;
  }

  html,
  body {
    width: 210mm;
    height: auto;
    overflow: visible;
  }

  .print:last-child {
    page-break-after: auto;
  }

  body {
    padding-top: 15mm;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-size: 14pt;
    line-height: 1.1;
    letter-spacing: normal;
    background: #fff !important;
    color: #000;
    position: relative;
  }

  #content, #page {
    width: 100%;
    margin: 0;
    float: none;
  }

  .cp-nav_header,
  .footer,
  #patient-header,
  .xprint {
    display: none;
  }

  .xprint {
    display: none;
  }

  .cp-chat-sidebar-collapsed {
    display: none;
  }

  label {
    font-weight: 600;
  }

  h1 {
    font-size: 24pt;
  }

  h2, h3, h4 {
    font-size: 16px;
    margin-top: 6px;
    font-weight: bold;
    white-space: nowrap;
  }

  a {
    page-break-inside:auto
  }
  blockquote {
    page-break-inside: auto;
  }
  h1, h2, h3, h4, h5, h6 { page-break-after:auto;
    page-break-inside:auto }
  img { page-break-inside:auto;
       page-break-after:auto; }
  table, pre { page-break-inside:auto }
  ul, ol, dl  { page-break-before:auto }
  tr { page-break-inside: auto; }

  .tab-panel {
    page-break-inside: avoid;
  }

  table {
    page-break-inside: auto
  }

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

  thead {
    display: table-header-group;
  }

  tfoot {
    display: table-footer-group;
  }

  .table {
    page-break-inside: auto;
    width: 100%;
    overflow: hidden;
  }

  .cp-signatures {
    page-break-inside: auto;
    width: 100%;
  }

  /* Linkfarbe und Linkverhalten darstellen */
  a:link, a:visited, a {
    background: transparent;
    color: #520;
    font-weight: bold;
    text-decoration: underline;
    text-align: left;
  }

  a {
    page-break-inside:avoid
  }

  a[href^=http]:after {
    content:" <" attr(href) "> ";
  }

  $a:after > img {
    content: "";
  }

  article a[href^="#"]:after {
    content: "";
  }

  a:not(:local-link):after {
    content:" <" attr(href) "> ";
  }

  .entry iframe, ins {
    display: none;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    line-height: 0pt !important;
    white-space: nowrap;
  }
  .embed-youtube, .embed-responsive {
    position: absolute;
    height: 0;
    overflow: hidden;
  }

  #header-widgets, nav, aside.mashsb-container,
  .sidebar, .mashshare-top, .mashshare-bottom,
  .content-ads, .make-comment, .author-bio,
  .heading, .related-posts, #decomments-form-add-comment,
  #breadcrumbs, #footer, .post-byline, .meta-single,
  .site-title img, .post-tags, .readability
  {
    display: none;
  }

  p, address, li, dt, dd, blockquote {
    font-size: 100%
  }

  code, pre { font-family: "Courier New", Courier, mono}

  ul, ol {
    list-style: square;
    margin-bottom: 20pt;
  }

  li {
    line-height: 1.6em;
  }

  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
      float: left;
   }
   .col-sm-12 {
      width: 100%;
   }
   .col-sm-11 {
      width: 91.66666667%;
   }
   .col-sm-10 {
      width: 83.33333333%;
   }
   .col-sm-9 {
      width: 75%;
   }
   .col-sm-8 {
      width: 66.66666667%;
   }
   .col-sm-7 {
      width: 58.33333333%;
   }
   .col-sm-6 {
      width: 50%;
   }
   .col-sm-5 {
      width: 41.66666667%;
   }
   .col-sm-4 {
      width: 33.33333333%;
   }
   .col-sm-3 {
      width: 25%;
   }
   .col-sm-2 {
      width: 16.66666667%;
   }
   .col-sm-1 {
      width: 8.33333333%;
   }

  .print-footer {
    page-break-after: auto;
    display: block;
    height: auto;
    width:100%;
  }

}
