
@media print {
  * {
    background: none !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }
  body, html {
    margin: 0;
    padding: 0;
    font-size: 0.7rem !important;
    background: white !important;
  }
  body {
    overflow: visible;
  }
  .my-page-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1rem !important;
  }
  h1, h2 {
    font-size: 1rem !important;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
  }
  p, td, th, li, span, div {
    font-size: 1rem !important;
    line-height: 1.4;
  }
  .my-btns,
  nav,
  hr,
  footer,
  .my-footer,
  .footer-left,
  .footer-right,
  .my-text-container::before,
  .partner-logo,
  figcaption,
  img,
  [class*="background"],
  [class*="bg"],
  [class*="header"],
  [class*="footer"],
  [class*="nav"],
  #no-link-t,
  #no-link-b {
    display: none !important;
  }
  .my-text-container {
    margin-top: -70px !important;
    max-height: 200px !important;
  }
  .my-mid-text {
    margin: 0;
    border: 1px solid #000 !important;
  }
  .my-mid-text strong {
    font-size: 1rem !important;
  }
  .inner-box-v,
  .inner-box-g,
  .inner-box-f {
    background: none;
    border: none;
    margin: 0 !important;
    padding: 0 !important;
    height: 100px !important;
    margin-bottom: -80px !important;
  }
  .my-service-block {
    background: none;
    border: none;
    margin: 0 !important;
    padding: 0 !important;
    height: 50px !important;
  }
  .my-contact-container {
    background: none !important;
  }
  table {
    width: 100%;
    table-layout: auto !important;
    border-collapse: collapse;
    font-size: 0.8rem;
  }
  thead th,
  tbody td {
    border: 1px solid #444 !important;
    padding: 2px 4px !important;
    height: auto !important;
    vertical-align: top !important;
    background: none !important;
  }
  .my-equal-height-table th,
  .my-equal-height-table td {
    height: auto !important;
  }
  .my-caption {
    font-size: 0.7rem;
    color: #333 !important;
  }
  .my-table-wrapper {
    display: block !important;
    margin: 0 !important;
  }
  .my-mid-text,
  .my-highlight-box,
  .my-quote {
    border: none !important;
    background: none !important;
    padding: 0 !important;
  }
  body.page-img img {
    display: inline-block !important;
    width: 3.5cm !important;
    height: auto !important;
    margin: 2mm;
    page-break-inside: avoid;
  }
  body.page-img .video-thumb-wrapper {
    display: none;
  }
  body.page-img .container,
  body.page-img .row,
  body.page-img .col-6,
  body.page-img .col-md-4,
  body.page-img .col-lg-3 {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
  }
  body.page-img .img-thumb {
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
  }
  body.page-img .row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  body.page-img .col-6 {
    width: 25% !important;
  }
  .custom-link,
  a {
    color: black !important;
    text-decoration: none;
  }
  a::after {
    content: " (" attr(href) ")";
  }

  .p-1, .p-2, .p-3, .p-4, .p-5 {
    padding: 0 !important;
  }
  .py-1, .py-2, .py-3, .py-4 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .py-5 {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }
  .mb-1, .mb-2, .mb-3, .mb-4, .mb-5 {
    margin-bottom: 0 !important;
  }
  .mt-1, .mt-2, .mt-3, .mt-4, .mt-5 {
    margin-top: 0 !important;
  }
  .gx-5 {
    --bs-gutter-x: 0 !important;
  }

  .h-100 {
    height: auto !important;
  }

}
