@media print {
  body{
    color: #000;
    background: none !important;
  }
  *,
  *::before,
  *::after {
    text-shadow: none !important;
    box-shadow: none !important;
  }

  a:not(.btn) {
    text-decoration: underline;
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #adb5bd;
    page-break-inside: avoid;
  }

  tr,
  img,
  table {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  @page {
    size: landscape;
  }



  .container,
  .container-festivalpro {
    min-width: 992px !important;
  }

  .badge {
    border: 1px solid #000;
  }


  #shows_calendar_wrapper {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #logo_screen {
    max-height: 5rem;
  }

  .ec-arrow,
  .ec-button-group,
  .my_schedule_btn {
    display: none;
  }

  .ec {
    max-height: 100%;
  }

  [data-tippy-root] {
    display: none !important;
  }

  a.ec-event-title{
    color: #000 !important;
  }

  .ec-event:not(.ec-pointer) {
    border: 1px solid rgba(0, 0, 0, 1);
    border-left: 3px solid rgba(0, 0, 0, 1);
  }

  .modal-backdrop {
    display: none !important;
  }

  .new-page ~ .new-page{
    /* Modern standard */
    break-before: page;

    /* Legacy fallback for older browsers */
    page-break-before: always;
  }



  @media print {
  /* 1. Force paper to landscape to naturally accommodate a 7-column layout */
  @page {
    size: landscape;
    margin: 0.5in;
  }

  /* 2. Unlock global containers restricting fluid width matching */
  html, body, #root, #ec {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    position: static !important;
  }

  /* 3. Strip the toolbar out to save horizontal and vertical space */
  .ec-toolbar {
    display: none !important;
  }

  /* 4. Target the core vkurko layout classes to force scaling */
  .ec {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important; /* Optional clean look for paper */
  }

  /* 5. Fix header/body day cells forcing hard widths */
  .ec-header, .ec-body, .ec-days {
    width: 100% !important;
    flex-grow: 1 !important;
  }

  .ec-day {
    min-width: 0 !important; /* Cancels out flex cell rigidness */
    overflow: hidden !important;
  }

  /* 6. Ensure event text wraps rather than extending cell boundaries */
  .ec-event {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 8pt !important; /* Keeps text snug inside small boxes */
  }
}


 /** HORIZONTAL OVERFLOW */

/*
   @page {
     size: landscape;
     margin: 0.5in;
   }

   html,
   body,
   #root,
   #ec {
     width: 100% !important;
     max-width: 100% !important;
     min-width: 0 !important;
     overflow: visible !important;
     position: static !important;
   }

   .ec-toolbar {
     display: none !important;
   }

   .ec {
     width: 100% !important;
     max-width: 100% !important;
     border: none !important;
   }

   .ec-header,
   .ec-body,
   .ec-days {
     width: 100% !important;
     flex-grow: 1 !important;
   }

   .ec-day {
     min-width: 0 !important;
     overflow: hidden !important;
   }

   .ec-event {
     white-space: normal !important;
     word-break: break-word !important;
     font-size: 8pt !important;
   } */

 /** ./ END HORIZONTAL OVERFLOW */

}


@media print and (monochrome) {

}

@media print and (not(monochrome)) {
  .ec-event:not(.ec-pointer) {
      border-width: 0;
      border-color: currentColor;
      border-left: 3px solid rgba(0, 0, 0, 1);
    }
}
