/* Landeslisten: Fach / Klassenstufen / Inhaltsbereich / Kompetenzschwerpunkte (Bundle + Einzeltabellen) */

.landesliste-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.landesliste-table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #000;
  font-size: 16px;
  line-height: 1.45;
  background: #fff;
}

.landesliste-table caption {
  caption-side: top;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0 0 0.5em;
  margin: 0;
}

.landesliste-table th,
.landesliste-table td {
  border-right: 1px solid #000;
  border-bottom: 0;
  padding: 16px 18px;
  vertical-align: top;
  text-align: left;
  box-sizing: border-box;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.landesliste-table th:last-child,
.landesliste-table td:last-child {
  border-right: 0;
}

.landesliste-table thead th {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 1px solid #000;
  vertical-align: bottom;
}

.landesliste-table tbody td {
  font-weight: 300;
}

.landesliste-table tbody tr:nth-child(even) td {
  background: #f4f4f4;
}

.landesliste-table tbody tr:nth-child(odd) td {
  background: #fff;
}

.landesliste-table td.stufe {
  text-align: center;
  white-space: nowrap;
}

.landesliste-table td.stufe:has(br) {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  line-height: 1.35;
}

.landesliste-table th:nth-child(2),
.landesliste-table td:nth-child(2) {
  white-space: nowrap;
}

.landesliste-table col.col-fach {
  width: 16%;
}

.landesliste-table col.col-stufe {
  width: 10%;
}

.landesliste-table col.col-kompetenz {
  width: 32%;
}

.landesliste-table col.col-inhalt {
  width: 13%;
}

.landesliste-table col.col-schwerpunkt {
  width: 21%;
}

.landesliste-table col.col-seite {
  width: 4.75rem;
}

.landesliste-table--sort-fach td.fach {
  font-weight: 600;
}

.landesliste-table--sort-stufe td.fach {
  font-weight: 300;
}

.landesliste-table--sort-stufe td.stufe {
  font-weight: 600;
}

.landesliste-table--sort-inhalt td.fach {
  font-weight: 300;
}

.landesliste-table--sort-inhalt td.inhaltsbereich {
  font-weight: 600;
}

.landesliste-table--sort-schwerpunkt td.fach,
.landesliste-table--sort-schwerpunkt td.stufe,
.landesliste-table--sort-schwerpunkt td.kompetenz,
.landesliste-table--sort-schwerpunkt td.inhaltsbereich,
.landesliste-table--sort-schwerpunkt td.seite {
  font-weight: 300;
}

.landesliste-table--sort-schwerpunkt td.schwerpunkt {
  font-weight: 600;
}

.landesliste-table--sort-fach td.schwerpunkt,
.landesliste-table--sort-stufe td.schwerpunkt,
.landesliste-table--sort-inhalt td.schwerpunkt {
  font-weight: 300;
}

.landesliste-table th:nth-child(4),
.landesliste-table td.inhaltsbereich {
  padding-left: 12px;
  padding-right: 12px;
}

.landesliste-table thead th:last-child,
.landesliste-table td.seite {
  text-align: center;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
  width: 4.75rem;
  max-width: 4.75rem;
}

/* Curriculumare Bezüge */

.currbez-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 28px 0;
}

.currbez-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-collapse: collapse;
  border-left: none;
  border-right: none;
  table-layout: fixed;
  font-family: "Fira Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: #000;
  background: #fff;
}

.currbez-table th,
.currbez-table td {
  border-right: 1px solid #000;
  border-left: 0;
  border-top: 0;
  border-bottom: 0;
  padding: 10px 8px;
  min-width: 0;
  max-width: none;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  font-size: 16px;
}

.currbez-table td {
  vertical-align: top;
}

.currbez-table col.currbez-col-a {
  width: 8%;
}
.currbez-table col.currbez-col-b {
  width: 8%;
}
.currbez-table col.currbez-col-c {
  width: 7%;
}
.currbez-table col.currbez-col-lang {
  width: 13%;
}
.currbez-table col.currbez-col-rel {
  width: 8%;
}
.currbez-table col.currbez-col-sport {
  width: 12%;
}
.currbez-table col.currbez-col-engl {
  width: 11%;
}
.currbez-table col.currbez-col-fr {
  width: 8%;
}
.currbez-table col.currbez-col-mu {
  width: 7%;
}
.currbez-table col.currbez-col-med {
  width: 18%;
}

.currbez-table th:last-child,
.currbez-table td:last-child {
  border-right: 0;
}

.currbez-table thead th {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: #fff;
  border-bottom: 1px solid #000;
  vertical-align: bottom;
  min-height: 3.75em;
}

.currbez-table tbody td {
  font-weight: 300;
  min-height: 72px;
}

.currbez-table th:nth-child(even),
.currbez-table td:nth-child(even) {
  background: #f4f4f4;
}

.currbez-table .currbez-vorjahr {
  display: block;
  font: inherit;
  line-height: inherit;
  margin-bottom: 3px;
}

.currbez-table sup {
  font-size: calc(1em - 2px);
  line-height: 0;
  vertical-align: super;
  position: relative;
  top: 0;
  margin-left: 1px;
}

/* Abstand im Master-Bundle (ohne section-Wrapper) */
.imj-bundesland-tabellen-bundle > .landesliste-wrap,
.imj-bundesland-tabellen-bundle > .currbez-wrap,
.imj-bundesland-tabellen-bundle > .fachchart-wrap,
.imj-bundesland-tabellen-bundle > .fussball-chart,
.imj-bundesland-tabellen-bundle > .bubble-chart.inhaltsbereiche-chart,
.imj-bundesland-tabellen-bundle > .bubble-chart {
  margin-bottom: 2rem;
}

.imj-bundesland-tabellen-bundle > :last-child {
  margin-bottom: 0;
}

.imj-bundesland-tabellen-bundle .currbez-wrap {
  margin-bottom: 0;
}

/* Curriculare Bezüge (landesliste-table Variante) */

.landesliste-table--curriculaere-bezuege col.col-fach {
  width: 9rem;
}

.landesliste-table--curriculaere-bezuege col.col-bezeichnung {
  width: 10.5rem;
}

.landesliste-table--curriculaere-bezuege col.col-quelle {
  width: 3.25rem;
}

.landesliste-table--curriculaere-bezuege col.col-anmerkung {
  width: 250px;
}

.landesliste-table--curriculaere-bezuege thead th {
  border-right: 0;
  border-bottom: 1px solid #000;
}

.landesliste-table--curriculaere-bezuege td.fach {
  font-weight: 600;
  max-width: 9rem;
  width: 9rem;
}

.landesliste-table--curriculaere-bezuege td.bezeichnung {
  max-width: 10.5rem;
  width: 10.5rem;
}

.landesliste-table--curriculaere-bezuege td.anmerkung {
  max-width: 250px;
  width: 250px;
}

.landesliste-table--curriculaere-bezuege td.fach,
.landesliste-table--curriculaere-bezuege td.bezeichnung,
.landesliste-table--curriculaere-bezuege td.anmerkung {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}

.landesliste-table--curriculaere-bezuege .currbez-token {
  white-space: nowrap;
}

.landesliste-table--curriculaere-bezuege th:nth-child(2),
.landesliste-table--curriculaere-bezuege td.bezeichnung {
  white-space: normal;
  text-align: left;
  font-weight: 300;
}

.landesliste-table--curriculaere-bezuege td.quelle {
  text-align: center;
  white-space: nowrap;
  vertical-align: top;
  padding-left: 6px;
  padding-right: 6px;
  width: 3.25rem;
  max-width: 3.25rem;
}

.landesliste-table--curriculaere-bezuege td.anmerkung:empty {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Curriculare Bezüge: statischer Tab-Titel (BY, BW ohne volle Tab-Navigation) */

.imj-curriculaere-bezuege-tabs .nav-tabs .nav-item .nav-link {
  cursor: default;
  pointer-events: none;
}

.imj-curriculaere-bezuege-tabs .landesliste-wrap {
  margin-top: 0;
}
