@page {
  size: A4;
  margin: 10mm 0 10mm 0; 
}
@media print {
  html {
		margin: 20px 16px; 
  }
  .page-footer {
      display: block;
      position: fixed;
      bottom: 16px;
      right: 32px;
  }

  .layout-container {
    display: block !important;
    page-break-after: always;
  }

  img, picture, table, .box-icon-outside-wrapper
  .accordion-item ,
  p {
    page-break-inside: avoid !important;
  }

  .paragraph-steps__content .card-list {
    display: block !important;
  }

  .paragraph-steps__content .card__wrapper  {
    page-break-inside: auto !important;
  }

  #block-guidelineswticherblock,
  #block-msfmg-book-navigation,
  #block-footer,
  #block-msfmg-main-menu,
  .region-footer,
  .book-navigation-pager,
  .pager__items,
  .search-wrapper,
  .hamburger-menu__wrapper,
  .sticky-nav__wrapper,
  .breadcrumbs__wrapper {
    display: none !important;
  }

  .accordion-item .accordion-def {
    display: block !important;
  }

  .header-main {
    box-shadow: none !important;
    margin-bottom: 16px !important;
  }

  .footer-top {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }

  .table-wrap {
    overflow: visible !important;
  }

  .table-grand-wrap::before, .table-grand-wrap::after {
    display: none;
  }

  table {
    max-width: 100% !important;
    width: 100% !important;
  }

  .footer-bottom {
    background: transparent !important;
  }

  .site-logo__wrapper .site-name {
    display: none !important;
  }

  table th *{
    color: #000 !important;
    background: none !important;
  }

  table th, table tr, table td, table td *{
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    background: none !important;
  }
  
  table * {
    border-color: #d8d8d8 !important;
    color: #000 !important;
  }
  
  table td {
    min-width: 20px!important;
    max-width: initial !important;
    padding-right: 4px!important;
    max-height: 100% !important;
  }

  thead {
    break-after: avoid;
    page-break-inside: auto !important;
  }
  
  table tr {
    break-after: avoid;
    page-break-inside: auto !important;
  }

  .more-details__wrapper.references__wrapper, table.relative-table  {
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 0 !important;
  }

  #block-msfmg-page-title::before {
    display: none;
  }

  h1 {
    page-break-before: always;
  }

  .pdf-generation-wrapper>h1.book-heading {
    page-break-before: auto;
  }

  ul li::before, .cke-template {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }


  .field-on-this-page__content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 0 !important;
    margin: 0 !important;
  }
}
