/* Grundlegendes Reset, um Konsistenz über verschiedene Browser hinweg zu gewährleisten */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, button {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', sans-serif;
}

/* Die Navigation Bar am oberen Rand */
.navbar {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar button {
    background-color: #0062cc;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

/* Hover-Effekt für Buttons */
.navbar button:hover {
    background-color: #0056b3;
}

/* Klassenverwaltungssektion */
h2 {
	margin-top: 15px;
}
#className {
	font-size: 25px;
	width: 120px;
	color: white;
	background: #182c3e;
	display: inline-block;
	border: none;
	margin-bottom: 20px;
}

.class-management {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.class-management label, .class-management select, .class-management button {
    display: block;
    margin-bottom: 10px;
}

.class-management select, .class-management button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.class-management button {
    background-color: #28a745;
    color: white;
    border: none;
}

.class-management button:hover {
    background-color: #218838;
}

/* Aktivitätsmonitor */
.activity-monitor {
    background-image: linear-gradient(to bottom, #56ccf2, #2e7fec);
  border-radius: 15px;
  border-bottom: 5px #00309d solid;
  padding: 30px;
  position: relative;
}

.activity-monitor table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.activity-monitor th, .activity-monitor td {
    text-align: left;
    padding: 10px;
    /*border: 1px solid #978f6f;*/
}

/* Interaktive Zellen mit Hover-Effekt */
.activity-monitor td {
    cursor: pointer;
    position: relative; /* Für Pseudo-Elemente wie Status-Icons */
}

/* Farbkodierte Status-Icons */
.activity-monitor .status-complete::after {
    background-color: #28a745; /* Grün für 'Fertig' */
}

.activity-monitor .status-question::after {
    background-color: #17a2b8; /* Blau für 'Frage' */
}

.activity-monitor .status-inprogress::after {
    background-color: #ffc107; /* Gelb für 'Bearbeitung' */
}




  /* Fügen Sie hier Ihren CSS-Code hinzu */
  .container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
  }
  .classroom {
    display: flex;
    justify-content: space-between;
  }

  /* Weitere Stile nach Bedarf */
  
table.table {
  color: #666;
  background-color: #fff;
  border: solid 1px;
  border-collapse: separate;
  padding: 5px;
  border-spacing: 0px;
  position: relative; /* Damit das Pseudo-Element relativ zu dieser Zelle positioniert wird */
}
table.table td {
  cursor: pointer;
  border-right: 1px #555 solid;
  border-bottom: 1px #555 solid;
  border-left: unset;
  border-top: unset;
}


table.table td.Bearbeitung {
  position: relative;
}

table.table td.Bearbeitung::after,
table.table td.Partnersuche::after,
table.table td.Gruppenarbeit::after,
table.table td.Abschlussgesuch::after,
table.table td.Experiment::after,
table.table td.Frage::after  {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: blue; /*Die Farbe des Dreiecks*/
  clip-path: polygon(0 0, 100% 0, 0 100%); /* Schneidet ein Dreieck aus, das die obere linke, obere rechte und untere linke Ecke der Zelle füllt */
  z-index:1;
}

.klein_grau {
  font-size: 13px;
  padding-left: 5px !important;
  border-right: 1px #555 solid;
}


.select-hidden {
  -webkit-appearance: none; /* Entfernt die Standard-Select-Styles für WebKit */
  -moz-appearance: none; /* Entfernt die Standard-Select-Styles für Mozilla */
  appearance: none; /* Entfernt die Standard-Select-Styles */
  background-color: transparent; /* Macht den Hintergrund des Selects transparent */
  border: none; /* Entfernt die Ränder */
  font-size: 10px; /* Passt die Schriftgröße an */
  cursor: pointer; /* Zeigt den Cursor als Hand, um Interaktivität anzudeuten */
}

.select-hidden:focus {
  outline: none; /* Entfernt den Fokus-Rand, der beim Klicken erscheint */
}

/* Stil für das Icon, das das Dropdown andeutet */
.select-arrow-down {
  display: inline-block;
  margin-left: 5px;
  width: 0; 
  height: 0; 
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000; /* Erstellt ein nach unten zeigendes Dreieck */
}

/* Verstecken des Pfeils, bis man über das Select fährt oder es fokussiert */
.select-hidden:hover .select-arrow-down,
.select-hidden:focus .select-arrow-down {
  display: inline-block;
}

.select-container {
  position: relative; /* Container für das Select und das Icon */
  font-size: 15px; /* Setzt die Schriftgröße für den Text über dem Select */
}

/* Vergrößert das Select-Feld beim Fokussieren für bessere Sichtbarkeit */
.select-hidden:focus {
  font-size: 10px; /* Größere Schrift */
  border: 1px solid #cccccc; /* Fügt einen Rand hinzu, um das Element hervorzuheben */
  background-color: #f9f9f9; /* Leichter Hintergrund */
}




.statusIcons {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 1px;
  align-items: center; /* Zentriert die Icons vertikal */
  justify-items: center; /* Zentriert die Icons horizontal */
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 4;
  padding: 4px;
  background-color: #333333F9;
  width: 106px;
  height: 75px;
  border-radius: 6px;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 5px; /* Für größere Klickfläche */
  background-color: #f0f0f0; /* Leichter Hintergrund für bessere Sichtbarkeit */
  border-radius: 4px; /* Leicht abgerundete Ecken */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
  transition: background-color 0.2s, transform 0.2s; /* Sanfter Übergang für Hover-Effekte */
  cursor: pointer; /* Ändert den Cursor zum Klick-Symbol */
  font-weight: bold; /* Macht die Buchstaben fett */
  width: 30px;
  height: 30px;
}

/* Farbkodierung für die verschiedenen Icons */
.icon.P { background-color: #ffecb3; } /* Helles Gelb für P */
.icon.G { background-color: #b3e5fc; } /* Helles Blau für G */
.icon['?'] { background-color: #c8e6c9; } /* Helles Grün für ? */
.icon['!'] { background-color: #ffcdd2; } /* Helles Rot für ! */

/* Hover-Effekt für die Icons */
.icon:hover {
  background-color: #e0e0e0; /* Dunklerer Hintergrund beim Drüberfahren */
  transform: translateY(-2px); /* Hebt das Icon leicht an */
}


/* Sorgt dafür, dass die Icons nur angezeigt werden, wenn die Zelle den Status 'Bearbeitung' hat */
.Bearbeitung .status-icons {
  //display: none;
}

.show-icons .statusIcons {
  display: grid; /* Zeigt die Icons an, wenn auf die Zelle geklickt wurde */
}

.statusDisplay {
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  z-index: 3;
  position: absolute;
  background-color: #000;
width: 38px;
  height: 38px;
  top: 2px;
  left: -2px;
  line-height: 35px;
  color: white;
  opacity: 0.8;
  font-size: 32px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  border-radius: 60%;
}

#pin-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  background: #333;
    background-image: none;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index: 12;
  background-image: linear-gradient(to bottom, #333, #111);

}

.hidden {
    display: none;
}

.pin-input {
    margin-bottom: 10px;
}

.pin-buttons button {
    margin: 5px;
}

  .hidden {
    display: none;
  }
  
#pin-dialog.hidden {
	display: none;
	
}



/* Grundlegende Stildefinitionen */
body {
  font-family: 'Arial', sans-serif;
  background-color: #285d74;
  background-image: linear-gradient(to bottom, #86ebc4, #0abede);
  margin: 0;
  padding: 0;
  height: 100vw;
  color: white;
}

/* Stil der Kopfzeile und Navigation */
.header {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: -30px;
  margin-top: 20px;
  width: 120vw;
  height: 60px;
}

.nav-item {
  text-decoration: none;
  color: #333333;
  margin-left: 20px;
  font-weight: bold;
  border-bottom: 3px solid transparent; /* Für den Hover-Effekt */
}

.nav-item:hover {
  border-bottom: 3px solid #0056b3;
}

/* Hauptinhalt und Container */
.main {
  display: flex;
  justify-content: center;
  padding: 20px;
  }

.container {
  max-width: 1800px;
  margin: auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background-image: linear-gradient(to bottom, #285d74, #182c3e);
  overflow-x: hidden;
}

/* Tabelle */
/* Stil der Tabelle */
.table-container {
  overflow-x: auto; /* Ermöglicht das Scrollen auf kleinen Bildschirmen */
}

table {
  width: 100%;
  border-collapse: separate; /* Trennt die Zellen für abgerundete Ecken */
  border-spacing: 0; /* Entfernt den Abstand zwischen den Zellen */
  margin-top: 1em;	
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten für die Tiefe */
}

/* Stil der Tabellenkopfzeile */
th {
  /* background-image: ;  Blauer Farbverlauf */
color: #978f6f;
  font-weight: bold;
  padding: 10px;
  text-align: left;
  font-size: 14px;
  max-width: 38px !important;
  overflow: hidden;
  font-size: 14px;
  max-width: 38px !important;
  border: unset;
}

th.schraeg {
	overflow: visible;
	transform: rotate(-45deg);
	text-align: center;
	white-space: nowrap;
	padding: 5px 10px;
	height: 70px;
	vertical-align: bottom;
	border: 0px !important;
	line-height: -69px;
	left: -10px;
	position: relative;
}


/* Stil der Tabellenzellen */
td {
  text-align: center;
  padding: 10px;
  /* border-bottom: 1px solid #e0e0e0; /* Trennlinie zwischen den Zellen */
  position: relative; /* Für Pseudo-Elemente */
}

/* Abgerundete Ecken für die erste und letzte Zelle jeder Reihe */
xxtd:first-child {
  border-left: 1px solid #e0e0e0;
}

xxtd:last-child {
  border-right: 1px solid #e0e0e0;
}





/* Stil der Statusindikatoren */
.status-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

.status-indicator.p {
  background-color: #ffc107; /* Gelb für 'Frage' */
}

.status-indicator.g {
  background-color: #28a745; /* Grün für 'Fertig' */
}

.status-indicator.q {
  background-color: #dc3545; /* Rot für 'Frage' */
}

/* Stil für den Fußbereich */
.footer {
  background: #343a40;
  color: #ffffff;
  text-align: center;
  padding: 10px 20px;
}

/* Media Query für Responsive Design */
@media (max-width: 768px) {
  .header, .main, .footer {
    padding: 10px;
  }
  
  .nav-item {
    margin-left: 10px;
  }

  table {
    font-size: 0.8rem;
  }
}


button.button {
  padding: 10px 20px;
  border: none;
  background-image: linear-gradient(to right, #ff7e5f, #feb47b); /* Farbverlauf */
  color: white;
  font-weight: bold;
  border-radius: 30px; /* Abgerundete Ecken */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Schatten für 3D-Effekt */
  cursor: pointer;
  display: inline-block;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease; /* Animation beim Hover */
  margin-right: 20px;
}

button.button:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Icon-Stil */
button .icon {
  display: inline-block;
  margin-right: 10px;
}







button {
  padding: 8px 16px;
}


/* Formulare und Buttons innerhalb der Klassenverwaltung */
.form-group {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 5px 0;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
  flex: 1;
  margin-right: 8px;
  padding: 8px;
  border: 1px solid #5CACEE;
  border-radius: 4px;
  width: 260px;
}

#schuelerdetails select {
  flex: 1;
  margin-right: 8px;
  padding: 8px;
  border: 1px solid #5CACEE;
  border-radius: 4px;
  width: 260px;
}

select.weltanschaulichesFach,
select.parallelFach {
  padding: 8px 16px;
  background-color: #234c62;
  border: solid 1px #888;
  color: #ddd;
  margin-right: 5px;
  border-radius: 4px;
}

td.room {
	font-size: 9px;
  padding: 0px !important;
  text-indent: 2px;
  max-width: 38px !important;
  border-top: 1px #555 solid !important;
}

#setRoom {
	width: 35px;
	margin:0px;
}
.menu_button {
  background-image: linear-gradient(to right, #56ccf2, #2f80ed);
  border: none;
  border-radius: 20px;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu_button:hover {
  background-image: linear-gradient(to right, #4facfe, #00f2fe);
}


.kachel-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.kachel {
  background-color: #007bff;
  color: white;
  padding: 20px;
  border-radius: 10px;
  flex-basis: calc(50% - 10px); /* Berechnet die Breite für 2 Kacheln pro Zeile unter Berücksichtigung des Abstands */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
  font-size: 30px;
  font-weight: bold;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

.kachel:hover {
  /*transform: translateY(-5px);*/
  background-color: #0056b3;
}

.kachel.selected {
  background-color: #ffc107;
  color: #333;
}

#classesActions {
  display: inline-block;
  margin-left: 40px;
}

h1 {
	font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	position: absolute;
	font-size: 20px;
	color: #ffffff70;
	top: 10px;
}

.pin-buttons button,
#pin-dialog #pin-ruecknahme,
#pin-dialog #failedGN {
	width: 30px;
	height: 30px;
	font-size: 15px;
	background-color: #333;
	color: #dfdfdf;
	border: solid 1px #444;
	text-indent: -3px;
	line-height: 10px;
	padding-top: 5px;
	cursor: pointer;
}

#pin-dialog #pin-ruecknahme {
	width: 200px;
	margin: 10px;
}

/* Sicherstellen, dass das Element relative Position hat */
.fortschrittsklotz {
  position: relative; /* Für das absolute Positionieren des Tooltips */
  background-color: inherit; /* Nimmt die Hintergrundfarbe des übergeordneten Elements */
}

.fortschrittsklotz.strongBeam::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  pointer-events: none; /* Stellt sicher, dass das Pseudoelement nicht mit der Maus interagieren kann */
}

/* Tooltip-Container für den Fortschrittsklotz */
.fortschrittsklotz[data-tooltip]::after {
  content: attr(data-tooltip); /* Zeigt den Tooltip-Text an */
  position: absolute;
  padding: 4px 8px;
  background-color: #333;
  color: white;
  font-size: 0.8rem;
  white-space: nowrap;
  bottom: 100%; /* Positioniert den Tooltip oberhalb des Klotzes */
  left: 50%;
  transform: translateX(-50%) translateY(-4px); /* Zentriert den Tooltip */
  border-radius: 4px; /* Abgerundete Ecken für den Tooltip */
  z-index: 1000; /* Stellt sicher, dass der Tooltip über anderen Elementen liegt */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s; /* Sanfte Übergänge für die Sichtbarkeit */
}

.fortschrittsklotz[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
}




/* Weitere Fächer mit ihren Farben... */
table.table  .fach,
table.table  .lernjob 
{
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
}



/* Stil für abgeschlossene Lernjobs */
td.Abgeschlossen, td.Abgebrochen {
  background: green;
  color: white;
  text-align: center;
}

/* Stil für das Häkchen-Icon */
td.Abgeschlossen::after {
	content: '✓';
	font-size: 28px;
	line-height: 28px;
	font-weight: bold;
}
td.Abgebrochen::after {
	content: 'x';
	font-size: 28px;
	line-height: 30px;
	font-weight: bold;
}

.lernjob_td {
	width: 38px !important;
	height: 38px !important;
	max-width: 38px !important;
	max-height: 38px !important;
	min-height: 38px !important;
	min-width: 38px !important;
}



#waiting {
  position: fixed; /* Fixiert das Element auf dem gesamten Bildschirm */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* Leicht transparenter weißer Hintergrund */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; /* Stellt sicher, dass das Overlay über anderen Elementen liegt */
}

.spinner {
  border: 5px solid #f3f3f3; /* Hellgrauer Rand */
  border-top: 5px solid #3498db; /* Blauer Rand für den oberen Teil */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fieldsetStudent{
  border: solid 1px lightblue;
  border-radius: 6px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  /*overflow: hidden;*/
}

.lernjob[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: black;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1002;
}

#xxxtoggleCompleted {
	right: 30px;
  position: absolute;
  display: block;
  top: 30px;
}

#admin_checkbox_wrapper {
	margin-right: 5px;
}

#admin_checkbox_wrapper input,
#admin_checkbox_wrapper label {
	display: inline-block;
}
.password {
  margin-left: 10px; /* Abstand nach links */
  font-weight: bold; /* Fett gedruckt */
  font-family: courier;
  color: #476e84;
}
.details-button {
  border: none; /* Keine Grenze */
  background-color: #3498db; /* Blaue Hintergrundfarbe */
  color: white; /* Weiße Textfarbe */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px; /* Abgerundete Ecken */
  transition: background-color 0.3s; /* Animation für das Hover */
}

.details-button:hover {
  background-color: #21618C; /* Dunklerer Blauton beim Hover */
}

.details-button:hover i {
	color: #a4bdce;
}

.details-button i {
  margin-right: 5px;
  font-size: 26px;
  line-height: 18px;
  vertical-align: bottom;
  max-width: 20px;
}

.thick-border {
  border-right: 2.5px solid #555 !important; /* Oder die gewünschte Dicke und Farbe */
}

#raum_tr .thick-border::after {
	position: absolute;
	border-bottom: 2.5px solid #555;
	width: 70px;
	top: -26px;
	display: block;
	right: -61px;
	content: '';
	transform: rotate(135deg);
}

#raum_tr {
	border-top: 2.5px solid #555;
}

th.schraeg {
	left: 0px;
}

.Schüler #toggleCompleted {
	left: 110% !important;
}

#pin-abbruch {
  color: #b3b3b3;
  border: 1px solid grey;
  border-radius: 3px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-size: 17px;
  display: inline;
  position: absolute;
  top: 5px;
  right: 5px;
  text-align: center;
  background-color: #484848;
}
#pin-abbruch:hover {
	background-color: #222;
}

#pin-header {
  width: 308px;
  height: 35px;
  background-color: #777;
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 5px 5px 0px 0px;
}

#pin-dialog h4{
	margin-top: 30px;
	max-width: 220px;
}

#pin-dialog #pin {
  width: 200px;
  margin: 5px
}

#pin-dialog {
  width: 308px;
  padding: 30px 0px;
  top: 200px;
  left: 300px;

}

.Abschlussgesuch .statusDisplay {
	background-color: #00000060;
}










/* 28.04.20024 */


	
	.activity-monitor td.td_thema_ringe {
		padding: 1px;
	}
	
.niveaus {
    display: flex;
    flex-direction: column;
    align-items: start;
	z-index: 2;
	position: relative;
}

.niveau-ringe {
    display: flex;
    justify-content: center;
}

.ring {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin: 0.5px;
}

.ring-macher {
    background-color: green;
}

.ring-experte {
    background-color: blue;
}

.ring-profi {
    background-color: red;
}

/* Geschlossener Ring (Lernjob abgeschlossen) */
.ring-closed {
    background-color: currentColor; /* Nutzt die Textfarbe (currentColor) für die Füllung */
}

/* Offener Ring (Lernjob nicht abgeschlossen) */
.ring-open {
    background-color: transparent; /* Keine Füllung */
    border: 2px solid currentColor; /* Zeichnet den Rand des Rings */
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
	color: black
}

.overlay-content {
    background-color: #f0f0f0;
    padding: 30px 50px;
    border-radius: 5px;
    text-align: center;
	
}

.lernjob-item {
    /* Ihr Stil für die Lernjob-Elemente */
}

.overlay table {
	color: black;
	border: none;
	background: none !important;
	box-shadow: none !important;
}

.overlay tr {
	background: white;
}

.overlay td {
	border: 0.5px solid #9F9F9F;
}

.ring-half {
  position: relative;
}

.ring-half::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Halbe Breite für halbe Füllung */
  height: 100%;
  background-color: currentColor; /* Nutzt die Textfarbe (currentColor) für die Füllung */
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

.ring-half {
  background-image: linear-gradient(to right, currentColor 50%, transparent 50%);
  background-clip: content-box; /* Damit nur der Inhalt (nicht der Rand) den Hintergrund zeigt */
  border: 2px solid currentColor; /* Stellen Sie die Randbreite entsprechend ein */
}


.fortschrittsbalken {
  width: 500px; /* Setzt die Breite des Fortschrittsbalkens */
  height: 25px; /* Setzt die Höhe des Fortschrittsbalkens */
  background: gray; /* Hintergrundfarbe des Fortschrittsbalkens */
  display: flex; /* Erlaubt die horizontale Anordnung der Fortschrittsklotze */
  position: relative; /* Für die Positionierung des Tooltips */
  background: #365f73;
  border-radius: 6px;
  z-index:1;
  clip-path: inset(-40px 0px 0 0px); /* Macht Balken sichtbar, die über den Rand hinausragen */

}

.fortschrittsbalken div.fortschrittsklotz:first-child {
	border-radius: 6px 0px 0px 6px;
}

.fortschrittsklotz {
  height: 100%; /* Die Klotze füllen den Balken vertikal vollständig aus */
  background-color: #dcc0f2; /* Hintergrundfarbe der Klotze */
  /* Die Breite wird dynamisch über die Inline-Styles im Vue-Template gesetzt */
  display: flex; /* Ermöglicht die zentrale Ausrichtung des Textes */
  align-items: center; /* Zentriert den Text vertikal */
  justify-content: center; /* Zentriert den Text horizontal */
  color: white; /* Textfarbe */
  font-size: 0.8rem; /* Textgröße */
  /*overflow: hidden; /* Verhindert das Überlaufen des Textes */
  border-right: 1px solid #245167;
  flex-grow: 0; /* Verhindert, dass die Balken gleichmäßig wachsen */
  flex-shrink: 0; /* Verhindert, dass die Balken schrumpfen */
}


.fortschrittsklotz:hover::after {
  content: attr(data-tooltip); /* Zeigt den Tooltip-Text an */
  position: absolute;
  padding: 4px 8px;
  background-color: #333;
  color: white;
  font-size: 0.8rem;
  white-space: nowrap;
  bottom: 100%; /* Positioniert den Tooltip oberhalb des Klotzes */
  left: 50%;
  transform: translateX(-50%) translateY(-4px); /* Zentriert den Tooltip */
  border-radius: 4px; /* Abgerundete Ecken für den Tooltip */
}


.thema-started::after {

	    content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #dcc0f2;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}

.thema-complete {
    background-color: #5cb85c; /* Beispiel für eine "abgeschlossen"-Farbe */
}

.thema-complete::after {
    /*content: '✓';*/
    color: white;
    position: absolute;
    top: 2px;
    right: 5px;
    font-size: 20px;
}

.fortschritt_fach {
	font-size: 20px;
	color: #ffffff66;
}


.tooltip-container {
    position: relative; /* This is essential for absolute positioning of children */
}

.tooltip-text {
    visibility: hidden;
    /*width: 120px;*/
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 20px;
    position: absolute;
    z-index: 3;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%); /* Center the tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

h4.fortschritt_fach {
	font-size: 16px;
	z-index:1;
	position: relative;
}
h4.fortschritt_fach span.textelement {
	font-size: 22px;
	margin-right: 10px;
}


.fortschrittsklotz.niveau-m.highlight.abgeschlossen {
  background-color: yellow;
}

.fortschrittsklotz.niveau-e.highlight.abgeschlossen {
  background-color: blue;
}

.fortschrittsklotz.niveau-p.highlight.abgeschlossen {
  background-color: red;
}
.fortschrittsklotz.niveau-m.highlight.bearbeitung,
.fortschrittsklotz.niveau-m.highlight.ausstehend {
  background-color: #ffff0055;
}

.fortschrittsklotz.niveau-e.highlight.bearbeitung,
.fortschrittsklotz.niveau-e.highlight.ausstehend {
  background-color: #0000ff55;
}
.fortschrittsklotz.niveau-p.highlight.bearbeitung,
.fortschrittsklotz.niveau-p.highlight.ausstehend {
  background-color: #ff000055;
}


#Notenlinien {
  position: absolute;
  height: 100%;
  z-index: 0;
  margin-top: -36px;
  padding-bottom: 30px;
  width: 500px;
}

#Notenlinien div {
font-size: 22px;
  font-weight: bold;
  color: rgba(255,255,255,0.08);
  padding-top: 7px;
  text-indent: 3px;
  top: 0;
  height: 100%;
  font-family: Times;
}