@media print {
 header {
   display: none;
 }

 div.banner {
   display:none;
 }

 footer {
   display: none;
 }

 .node__links {
   display: none;
 }



  /* General adjustments for accordion and tab content */
  .accordion-content, .tab-content {
    display: block !important;
  }

  /* Remove lines and indentation for tab-content */
  .nav-tabs,
  .nav-tabs .nav-link {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Remove lines and indentation for accordion */
  .accordion,
  .accordion-item,
  .accordion-button {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }

  .accordion-body {
    border-top: none !important;
  }

  /* Override Bootstrap accordion styles for print */
  .accordion-body {
    display: block !important; /* Always show accordion content in print */
    visibility: visible !important; /* Ensure content is visible */
    max-height: none !important; /* Allow content to expand fully in print */
  }

  /* Hide Bootstrap 5 tab navigation in print */
  .nav-tabs {
    display: none !important;
  }

  /* Adjust the appearance of tab content in print */
  .tab-content {
    border: none !important;
    padding: 0 !important;
  }

  /* Additional adjustments or print styles can be added here */

  /* Ensure collapsed content is visible in print */
  .collapse:not(.show) {
    display: block !important;
  }

  /* Override fade effect for tab-pane in print */
  .tab-pane .fade {
    display: block !important;
    opacity: 1 !important;
  }

  .accordion-body {
     padding: 1rem inherit;
   }
  



  /* Ensure each table fits on one page in print */
  table {
    page-break-inside: avoid !important;
  }

  .caption > figcaption {
    font-size: 11px!important;
    font-style: italic;
  }

/* Reset other styles to ensure the new font size takes effect */
.table td,
.table th {
  font-size: inherit;
}

/* Apply the specific font size */
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  font-size: 14px!important;
}

.table td p,
.table th p {
  font-size: inherit;
}

.table > tbody > tr > td p,
.table > tbody > tr > th p,
.table > tfoot > tr > td p,
.table > tfoot > tr > th p,
.table > thead > tr > td p,
.table > thead > tr > th p {
  font-size: 14px !important;
}


.footnote-back {
    color: black; /* Set the color to black */
    /* You can also add additional styles if needed, such as text-decoration, font-size, etc. */
}

aside.footnotes {
display: block;
  font-style: italic;
  font-size: 10px;
}

th {
  color: #ffffff !important;
  background-color: #4b409a !important;
}

img {
  page-break-inside: avoid;
}

 .page-break {
    page-break-after: always;
  }

.accordion-button::after {
    display: none;
  }

p, li._-Chpt-1–4-blau_SRIA-Body-Bullets-blau, li.ParaOverride-4, li._-Chpt-5-8-lila_SRIA-Body-Bullets-lila, li._-Chpt-9-14-grün_SRIA-Body-Bullets-grün, li._-Chpt-0-App-grau_SRIA-Body-Bullets-grau {
  padding-right: 0px;
}

 .img-print-full-portrait {
    transform: rotate(90deg); /* Rotate the image 90 degrees */
   width: 100%;
   height: 100%;

  }

 body {
    margin-bottom: 50px; /* Adjust the value to leave enough room for page numbers */
  }

  @page {
    margin-bottom: 50px; /* Adjust the value to leave enough room for the footer */
  }




.region-sidebar-first, .region-sidebar-second, .region-footer, .region-content {
  padding: 0;
}


article , main {
background-color: #fff;
}



/* Print-specific styles go here */
.cover-page {
  page-break-before: always; /* Force a page break before the cover page */
  text-align: center; /* Center the content on the printed page */
}

.cover-page img {
  width: 100%; /* Make sure the image covers the entire page width */
  height: auto; /* Maintain the aspect ratio of the image */
}


  .hidden-print {
    display: none !important; /* Make sure it takes precedence */
  }

}



/* Hide the cover page in the web version */
@media screen {
  .cover-page {
    display: none;
  }
}

@media print {
  .tab-content > .tab-pane,
  .nav-tabs .nav-item {
    display: block !important;
    opacity: 1 !important;
  }
 
  p, strong {
     font-size: 14px;
  }
}

/* If you want to specifically target print media */
@media print {
    .accordion-body .accordion-body {
        margin-left: 0;
        padding-left: 0; /* Adjust this as necessary for print */
    }
}
