/* =========================================================
   PRINT-TERMINE.CSS
   Datei: print-termine.css
   Nur für Druck / PDF-Ausgabe – termine.html
========================================================= */

@media print{


/* =========================================================
   PRINT-FIX – Firefox / Edge
========================================================= */

          .tourdaten tbody td[data-label],
          .termine-tabelle tbody td[data-label]{
            display: table-cell !important;
            position: static !important;
            float: none !important;
            transform: none !important;
            overflow: visible !important;
            text-align: left !important;
            white-space: normal !important;
          }

          .tourdaten tbody td[data-label="Ort"]{
            display: table-cell !important;
          }

          .tourdaten tbody td[data-label="Ort"] .cell-main{
            display: block !important;
            width: auto !important;
            overflow: visible !important;
          }

          .tourdaten tbody td[data-label="Ort"] .tour-note{
            position: static !important;
            top: auto !important;
            right: auto !important;
            left: auto !important;

            display: inline-block !important;
            margin: 0.8mm 0 0 0 !important;
            vertical-align: top !important;
          }

          .tourdaten tbody td::before,
          .termine-tabelle tbody td::before,
          .tourdaten tbody tr::before,
          .tourdaten tbody tr::after{
            content: none !important;
            display: none !important;
          }

          .tourdaten tbody tr.heute-karte,
          .tourdaten tbody tr.vergangen,
          .tourdaten tbody tr.daten{
            display: table-row !important;
            position: static !important;
          }  

/* =========================================================
   UI / NAV AUSBLENDEN
========================================================= */

          .termine-sprungbox,
          .termine-placeholder{
            display: none !important;
          }


/* =========================================================
   SEKTIONEN
========================================================= */

          .termine-section{
            display: block !important;

            margin: 0 0 4mm 0 !important;
            padding: 3mm 3.5mm !important;

            background: #ffffff !important;
            border: 1px solid #ccd6e6 !important;
            border-radius: 2mm !important;
            box-shadow: none !important;

            break-inside: auto !important;
            page-break-inside: auto !important;
          }

          .termine-section:last-child{
            margin-bottom: 0 !important;
          }

          .termine-section__header{
            display: block !important;
            margin: 0 0 2mm 0 !important;
            padding: 0 !important;
            border: none !important;
          }

          .termine-section__header h2{
            margin: 0 !important;
            padding: 0 0 1mm 0 !important;

            font-size: 10.2pt !important;
            line-height: 1.2 !important;
            font-weight: 700 !important;
            color: #163d7a !important;

            border-bottom: 1px solid #dde5f1 !important;
          }

          .tourdaten-subtitle{
            margin: 1mm 0 0 0 !important;

            font-size: 8.2pt !important;
            line-height: 1.2 !important;
            font-weight: 700 !important;
            color: #555 !important;
          }

          .termine-section__body{
            display: block !important;
            margin: 0 !important;
            padding: 0 !important;
          }


/* =========================================================
   TABELLEN – HARTER PRINT-RESET
========================================================= */

          .termine-tabelle,
          .tourdaten{
            display: table !important;
            width: 100% !important;
            max-width: 100% !important;
            table-layout: fixed !important;
            border-collapse: collapse !important;
            border-spacing: 0 !important;

            margin: 0 !important;
            padding: 0 !important;

            background: #fff !important;
          }

          .termine-tabelle thead,
          .tourdaten thead{
            display: table-header-group !important;
          }

          .termine-tabelle tbody,
          .tourdaten tbody{
            display: table-row-group !important;
          }

          .termine-tabelle tr,
          .tourdaten tr{
            display: table-row !important;
            break-inside: auto !important;
            page-break-inside: auto !important;
          }

          .termine-tabelle th,
          .termine-tabelle td,
          .tourdaten th,
          .tourdaten td{
            display: table-cell !important;
            float: none !important;
            position: static !important;
            transform: none !important;
            writing-mode: horizontal-tb !important;
            text-orientation: mixed !important;
          }

          .termine-tabelle td::before,
          .tourdaten td::before,
          .tourdaten tbody tr.heute-karte::before{
            content: none !important;
            display: none !important;
          }


/* =========================================================
   TABELLEN – HEADER
========================================================= */

          .termine-tabelle th,
          .tourdaten th{
            padding: 1.7mm 1.5mm !important;

            font-size: 7.7pt !important;
            line-height: 1.15 !important;
            font-weight: 700 !important;
            text-align: left !important;
            vertical-align: top !important;

            color: #163d7a !important;
            background: #edf3fb !important;
            border: 1px solid #d6dfec !important;

            white-space: normal !important;
            word-break: normal !important;
            overflow-wrap: anywhere !important;
          }


/* =========================================================
   TABELLEN – ZELLEN
========================================================= */

          .termine-tabelle td,
          .tourdaten td{
            padding: 1.7mm 1.5mm !important;

            font-size: 7.8pt !important;
            line-height: 1.2 !important;
            text-align: left !important;
            vertical-align: top !important;

            color: #111 !important;
            background: #fff !important;
            border: 1px solid #e1e7f0 !important;

            white-space: normal !important;
            word-break: normal !important;
            overflow-wrap: anywhere !important;
          }

          .termine-tabelle tr:nth-child(even) td,
          .tourdaten tr:nth-child(even) td{
            background: #fafcff !important;
          }


/* =========================================================
   TOURDATEN – HINWEISE / LINKS
========================================================= */

          .cell-main{
            display: inline !important;
            width: auto !important;
          }

          .tour-note{
            display: inline-block !important;
            margin: 0.8mm 0 0 0 !important;
            padding: 0.5mm 1.5mm !important;

            font-size: 6.4pt !important;
            line-height: 1.1 !important;
            font-weight: 700 !important;
            letter-spacing: 0.01em !important;
            text-transform: uppercase !important;

            color: #334 !important;
            background: #eff3f8 !important;
            border: 1px solid #cfd8e4 !important;
            border-radius: 999px !important;

            white-space: nowrap !important;
          }

          .tour-note.is-extra{
            color: #284a7a !important;
            background: #edf4ff !important;
            border-color: #bfd0ec !important;
          }

          .tour-note.is-soldout{
            color: #7a2222 !important;
            background: #fff0f0 !important;
            border-color: #dfb3b3 !important;
          }

          .tour-link,
          .tour-link.is-tickets,
          .tour-link.is-info,
          .tour-link.is-shop,
          .tour-link.is-disabled{
            display: inline !important;
            min-width: 0 !important;
            min-height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;

            background: none !important;
            border: none !important;
            border-radius: 0 !important;
            box-shadow: none !important;

            font-size: 7.6pt !important;
            line-height: 1.2 !important;
            font-weight: 600 !important;

            color: #163d7a !important;
            text-decoration: underline !important;
            opacity: 1 !important;
            pointer-events: auto !important;
            white-space: normal !important;
          }

          .tour-link::before,
          .tour-link::after{
            content: none !important;
            display: none !important;
          }


/* =========================================================
   STATUSZEILEN
========================================================= */

          .tourdaten tbody tr.vergangen td{
            color: #666 !important;
          }

          .tourdaten tbody tr.heute-karte td{
            font-weight: 700 !important;
            color: #000 !important;
            background: #f3f7ff !important;
          }


/* =========================================================
   TABELLEN – SPALTENBREITEN
========================================================= */

          /* TV-Termine */
          .termine-tabelle[aria-label="TV-Termine"] th:nth-child(1),
          .termine-tabelle[aria-label="TV-Termine"] td:nth-child(1){
            width: 10% !important;
          }

          .termine-tabelle[aria-label="TV-Termine"] th:nth-child(2),
          .termine-tabelle[aria-label="TV-Termine"] td:nth-child(2){
            width: 15% !important;
            white-space: nowrap !important;
          }

          .termine-tabelle[aria-label="TV-Termine"] th:nth-child(3),
          .termine-tabelle[aria-label="TV-Termine"] td:nth-child(3){
            width: 27% !important;
          }

          .termine-tabelle[aria-label="TV-Termine"] th:nth-child(4),
          .termine-tabelle[aria-label="TV-Termine"] td:nth-child(4){
            width: 15% !important;
          }

          .termine-tabelle[aria-label="TV-Termine"] th:nth-child(5),
          .termine-tabelle[aria-label="TV-Termine"] td:nth-child(5){
            width: 13% !important;
            white-space: nowrap !important;
          }

          .termine-tabelle[aria-label="TV-Termine"] th:nth-child(6),
          .termine-tabelle[aria-label="TV-Termine"] td:nth-child(6){
            width: 20% !important;
          }

          /* Auftritte */
          .termine-tabelle[aria-label="Auftritte"] th:nth-child(1),
          .termine-tabelle[aria-label="Auftritte"] td:nth-child(1){
            width: 10% !important;
          }

          .termine-tabelle[aria-label="Auftritte"] th:nth-child(2),
          .termine-tabelle[aria-label="Auftritte"] td:nth-child(2){
            width: 15% !important;
            white-space: nowrap !important;
          }

          .termine-tabelle[aria-label="Auftritte"] th:nth-child(3),
          .termine-tabelle[aria-label="Auftritte"] td:nth-child(3){
            width: 28% !important;
          }

          .termine-tabelle[aria-label="Auftritte"] th:nth-child(4),
          .termine-tabelle[aria-label="Auftritte"] td:nth-child(4){
            width: 18% !important;
          }

          .termine-tabelle[aria-label="Auftritte"] th:nth-child(5),
          .termine-tabelle[aria-label="Auftritte"] td:nth-child(5){
            width: 29% !important;
          }

          /* Tourdaten */
          .tourdaten th:nth-child(1),
          .tourdaten td:nth-child(1){
            width: 8% !important;
          }

          .tourdaten th:nth-child(2),
          .tourdaten td:nth-child(2){
            width: 14% !important;
            white-space: nowrap !important;
          }

          .tourdaten th:nth-child(3),
          .tourdaten td:nth-child(3){
            width: 18% !important;
          }

          .tourdaten th:nth-child(4),
          .tourdaten td:nth-child(4){
            width: 8% !important;
          }

          .tourdaten th:nth-child(5),
          .tourdaten td:nth-child(5){
            width: 32% !important;
          }

          .tourdaten th:nth-child(6),
          .tourdaten td:nth-child(6){
            width: 20% !important;
          }


/* =========================================================
   LEERE TABELLEN
========================================================= */

          #tvBody:empty,
          #auftritteBody:empty,
          #tourBody:empty{
            display: none !important;
          }


/* =========================================================
   SEITENUMBRUECHE
========================================================= */

          .termine-section__header{
            break-inside: avoid !important;
            page-break-inside: avoid !important;
          }

          .termine-tabelle thead,
          .tourdaten thead{
            break-inside: avoid !important;
            page-break-inside: avoid !important;
          }

}