nav {
	position: fixed;
	top: 0em;
	right: 1em;
	width:100%;
	height:100px;
	background-color:#1c1c1c;
  border: 0px solid #585858; 
	z-index: 100;
}
  main {
    position: absolute;
    top: 150px; /* Höhe des nav */
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto; /* vertikales und horizontales Scrollen */
 /*   padding: 1rem;
/*    background: #f0f0f0;*/
  }
info {
	position: fixed;
	top: 50px;
	left: 0em;
	background-color:#1c1c1c;
	width:100%;
	height:30px;

}
        body {
            text-align: center; /* Ersetzt <center> */
            color: #d8d8d8; /* Ersetzt <font color> */
            background-color: #1c1c1c; /* Optional: dunkler Hintergrund */
        }
body a:link, body a:visited, body a:active {
 color: #bdbdbd;
 text-decoration: none;
 
}
body a:hover {
 color: #848484;
 text-decoration: none;
}
.td-baum {
	    font-size: clamp(1rem, 5vw, 1.5rem); /* Passt sich zwischen 10px und 16px an */
/*	font-size:1.5rem; */
	color:#d8d8d8;
	text-align:center;
	background:#585858b5;
}
/* Desktop Ansicht des Menü */
.dropdown {
  display: inline-block;
  position: relative;
  border-radius:1.0em; 
  z-index: 1;


}
.dropdown-content {
  display: none;
  position: absolute;
  width: 100%;
  overflow: auto;
  border: thin solid #585858; 
  border-radius:1.0em; 
  background-color:#1c1c1c;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  color: #000000;
  padding: 5px;
  text-decoration: none;


}
.dropdown-content a:hover {
  color: #000000;
  border: 0em;thin solid #585858; 
  border-radius:10em; 
}	
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .tooltiptext {
  position: fixed; /* Fixiert im Viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Zentriert exakt */
  
  border: thin solid #d8d8d8;
  width: 90%;
  max-width: 500px;

  background-color: #1c1c1c;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 20px;
  font-size: 1em;
  z-index: 9999;

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Optional: Tooltip sichtbar machen (z. B. über Klasse "show") */
.tooltip .tooltiptext.show {
  visibility: visible;
  opacity: 1;
}


.tooltip2 {
  position: fixed;
  display: inline-block;
  border-bottom: 1px dotted black;
 top: 70px;  /* Abstand vom oberen Rand */
  right: 20px; /* Abstand vom rechten Rand */
}
.tooltip2 .tooltiptext2 {
	visibility: hidden;
	width: 250px;
	background-color: #1c1c1c;
	color: #fff;
	text-align: left;
	border-radius: 6px;
	padding: 5px 10px;
	font-size:1em;
  /* Position the tooltip */
	position: fixed; 
	z-index: 1000;
 top: 100px;  /* Abstand vom oberen Rand */
  right: 20px; /* Abstand vom rechten Rand */
 /* top: -5px; */
    /* Standardmäßig ausblenden */
	opacity: 0;
	transition: opacity 0.3s ease-in-out;

}

.tooltip2:hover .tooltiptext2 {
  visibility: visible;
  opacity: 1;
}
.tooltip2_mobil {
  position: fixed;
  display: inline-block;
  border-bottom: 1px dotted black;
 top: 50px;  /* Abstand vom oberen Rand */
  right: 50px; /* Abstand vom rechten Rand */
}
.tooltip2_mobil .tooltiptext2_mobil {
  position: fixed; /* Fixiert im Viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Zentriert exakt */
  
  border: thin solid #d8d8d8;
  width: 90%;
  max-width: 500px;

  background-color: #1c1c1c;
  color: #fff;
  text-align: left;
  border-radius: 10px;
  padding: 20px;
  font-size: 2em;
  z-index: 9999;

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tooltip2_mobil:hover .tooltiptext2_mobil {
  visibility: visible;
  opacity: 1;
}

.button-head {
	font-size:1.5rem;
	color:#d8d8d8;
	border-style:solid;
	border-radius:10px;
}
.button-field {
	font-size:1.5rem;
	color:#d8d8d8;
	border-style:solid;
	border-radius:7px;
	background:#1c1c1c;
}
.td-text {
	font-size:1.5em;
	color:#d8d8d8;

}
.td-text2 {
	font-size:1.5rem;
	color:#d8d8d8;

}
.td-text3 {
	font-size:1.5rem;
	color:#d8d8d8;
	text-align:center;

}
header {

	position: fixed;
	top: 0em;
	width:96.5%;
	background: #1C1C1C;
	border:thin solid #d8d8d8;
	border-radius:0em 0em 0.5em 0.5em;
	padding: 1em;
	color:#d8d8d8;
	font-size:1.5rem;
}
.div-main {

	background: #1C1C1C;
#	border:thin solid #d8d8d8;
	border-radius:0.5em;
	padding: 0.5em;
	color:#d8d8d8;
	font-size:2.5em;
}
footer {

	position: fixed;
#	position: sticky;
	bottom: 0em;
	width:99.05%;
	background: #1C1C1C;
	border:thin solid #d8d8d8;
	border-radius:0.5em 0.5em 0em 0em;
	padding: 0em;
	color:#d8d8d8;
	font-size:1.5rem;
	text-align:center;
}
/*main {
	display: block;
	top:10em;
	background: #1c1c1c;
	min-width: 16em;
	/* Mindestbreite (der Überschrift) verhindert Anzeigefehler in modernen Browsern 
}*/

.kal_vormonat_tag {
	font-size:2rem;
	text-align: center;
	background-color:Transparent;
	color:#585858;
	width:50px;
	height:50px;
	border: thin solid #585858;
	border-radius: 0.5em;
}
.kal_standard_tag_turnier {
	font-size:2rem;
	text-align: center;
	background-color:Transparent;
	color:#2E9AFE;
	width:50px;
	height:50px;
	border: solid #2E9AFE;
	border-radius: 0.5em;
}
.kal_standard_tag_turnier_tooltip {
	font-size:1rem;
	text-align: center;
	background-color:Transparent;
	color:#2E9AFE;
	width:30px;
	height:30px;
	border: solid #2E9AFE;
	border-radius: 0.5em;
}
.kal_standard_tag_turnier_tooltip_mobil {
	font-size:2rem;
	text-align: center;
	background-color:Transparent;
	color:#2E9AFE;
	width:50px;
	height:50px;
	border: solid #2E9AFE;
	border-radius: 0.5em;
}
.kal_standard_tag_turnier:focus,
.kal_standard_tag_turnier:hover
{
	box-shadow: rgb(46 154 254 / 0.9) 0px .25em 1em, inset rgb(46 154 254 / 0.15) 0px -.5em 1em;
}
.kal_vormonat_tag_turnier {
	font-size:2rem;
	text-align: center;
	background-color:Transparent;
	color:#2E9AFE;
	width:50px;
	height:50px;
	border: thin solid #585858;
	border-radius: 0.5em;
}
.kal_vormonat_tag_turnier:focus,
.kal_vormonat_tag_turnier:hover
{
	box-shadow: rgb(46 154 254 / 0.9) 0px .25em 1em, inset rgb(46 154 254 / 0.15) 0px -.5em 1em;
}
.kal_standard_tag {
	font-size:2rem;
	text-align: center;
	background-color:Transparent;
	color:#d8d8d8;
	width:50px;
	height:50px;
	border: solid #d8d8d8;
	border-radius: 0.5em;
}
.kal_monat_tag {
	font-size:2rem;
	text-align: center;
	color:#d8d8d8;
}
.kal_sonntag_tag {
	font-size:2rem;
	text-align: center;
	color:#cd3700;
	width:50px;
	height:50px;
}
.kal_weekday_tag {
	font-size:2rem;
	text-align: center;
	color:#d8d8d8;
	width:50px;
	height:50px;
}
.kal_aktueller_tag {
	font-size:2rem;
	text-align: center;
	background-color:Transparent;
	color:#d8d8d8;
	width:50px;
	height:50px;
	border: solid #cd3700;
	border-radius: 0.5em;
}
.kal_aktueller_tag_tooltip {
	font-size:1rem;
	text-align: center;
	background-color:Transparent;
	color:#d8d8d8;
	width:30px;
	height:30px;
	border: solid #cd3700;
	border-radius: 0.5em;
}
.kal_aktueller_tag_tooltip_mobil {
	font-size:2rem;
	text-align: center;
	background-color:Transparent;
	color:#d8d8d8;
	width:50px;
	height:50px;
	border: solid #cd3700;
	border-radius: 0.5em;
}
.kal_aktueller_tag_turnier {
	font-size:2rem;
	text-align: center;
	background-color:Transparent;
	color:#2E9AFE;
	width:50px;
	height:50px;
	border: solid #cd3700;
	border-radius: 0.5em;
}
.kal_aktueller_tag_turnier:focus,
.kal_aktueller_tag_turnier:hover
{
	box-shadow: rgb(46 154 254 / 0.9) 0px .25em 1em, inset rgb(46 154 254 / 0.15) 0px -.5em 1em;
}
.kal_next_back_button {
	font-size:2rem;
	text-align: center;
	valign: middle;
	background-color:Transparent;
	color:#2E9AFE;
	width:50px;
	height:60px;
	border: solid #2E9AFE;
	border-radius: 0.5em;
}
.kal_next_back_button:focus,
.kal_next_back_button:hover
{
	box-shadow: rgb(46 154 254 / 0.9) 0px .25em 1em, inset rgb(46 154 254 / 0.15) 0px -.5em 1em;
}
    .today {
        background-color: #ffcc00; /* Farbe für den aktuellen Tag */
        font-weight: bold;
    }

    .selected_date {
        background-color: #ff6600; /* Farbe für den ausgewählten Tag */
        font-weight: bold;
    }       .container {
            max-width: 800px;
            margin:  auto;
            padding: 20px;
        /*    background: #f4f4f4; */
            border-radius: 8px; 
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        }
        h1 {
            text-align: center;
            color: #d8d8d8;
        }
        p {
            font-size: 2rem;
            color: #d8d8d8;
        }
        .highlight {
			display: inline-block; /* Stellt sicher, dass es sich eigenständig verhält */
            font-weight: bold;
            color: #d9534f;
            font-size: 1.5rem;
       }
#chat {
    display: flex;
    flex-wrap: wrap; /* Flex-Elemente brechen um */
    gap: 20px; /* Abstand zwischen den Tabellen */
    height: auto; /*650px;*/
    overflow-y: auto;
    border: 0px solid #ccc;
    padding: 10px;
    align-items: center; /* Zentriert die Tabellen vertikal im Container */
    justify-content: center; /* Zentriert die Tabellen horizontal im Container */
    position: relative;
    top: 50%;
    transform: translateY(0%); /* Korrigiert die vertikale Position */
	z-index: -1;
}
/* checkbox Style Desktop*/
.checkbox-wrapper {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
  padding-left: 2rem;
  user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
}

.checkbox-wrapper .custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.5rem;
  width: 1.5rem;
  border: 2px solid #d8d8d8;
  border-radius: 3px;
}

.checkbox-wrapper input[type="checkbox"]:checked ~ .custom-checkbox {
  background-color: #1c1c1c;
  border-color: #0f0;
}

/* Rote Umrandung bei Fehler */
.checkbox-wrapper.error .custom-checkbox {
  border-color: #610B0B;
}
/* Schalter checkbox
/* Der Container für den Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 38px;
  margin-right: 10px;
}

/* Verstecke das Standard-Checkbox-Input */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Der Schieberegler */
.slider {
  position: absolute;
  cursor: pointer;
  background-color: #303030;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
  border: 2px solid grey;
}

.slider::before {
  content: "";
  position: absolute;
  height: 30px;
  width: 30px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

/* Wenn aktiviert */
.switch input:checked + .slider {
  background-color: #303030;
  border: 2px solid #228b22;
}

/* Schieber nach rechts schieben */
.switch input:checked + .slider::before {
  transform: translateX(33px);
  background-color: #228b22;
/*  border-color: 2px solid #228b22; */
}

/* Fehlerklasse */
.switch input.error + .slider {
  border-color: red;
}
/* checkbox Style Mobil*/
.checkbox-wrapper {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
  padding-left: 2rem;
  user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  cursor: pointer;
}

.checkbox-wrapper .custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.5rem;
  width: 1.5rem;
  border: 2px solid #d8d8d8;
  border-radius: 3px;
}

.checkbox-wrapper input[type="checkbox"]:checked ~ .custom-checkbox {
  background-color: #1c1c1c;
  border-color: #0f0;
}

/* Rote Umrandung bei Fehler */
.checkbox-wrapper.error .custom-checkbox {
  border-color: #610B0B;
}
/* Schalter checkbox
/* Der Container für den Switch */
.switch_mobil {
  position: relative;
  display: inline-block;
  width: 110px;
  height: 58px;
  margin-right: 10px;
}

/* Verstecke das Standard-Checkbox-Input */
.switch_mobil input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Der Schieberegler */
.slider_mobil {
  position: absolute;
  cursor: pointer;
  background-color: #303030;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
  border: 2px solid grey;
}

.slider_mobil::before {
  content: "";
  position: absolute;
  height: 50px;
  width: 50px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

/* Wenn aktiviert */
.switch_mobil input:checked + .slider_mobil {
  background-color: #303030;
  border: 2px solid #228b22;
}

/* Schieber nach rechts schieben */
.switch_mobil input:checked + .slider_mobil::before {
  transform: translateX(53px);
  background-color: #228b22;
/*  border-color: 2px solid #228b22; */
}

/* Fehlerklasse */
.switch_mobil input.error + .slider_mobil {
  border-color: red;
}
/* Mobiles Menü*/
details {
  width: 100%;
/*max-width: 600px;*/
height: 100vh;
  border: 1px solid #000;
  background: #1c1c1c;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

details:not([open]) {
  width: 100px;
  height: 100px;
}
/* Beide Icons anfangs */
.icon-close {
  display: none;
}

/* Wenn Details geöffnet ist, zeige X statt ☰ */
details[open] .icon-open {
  display: none;
}
details[open] .icon-close {
  display: inline;
}

summary {
  background: #1c1c1c;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 60px;
    justify-content: space-between;
    font-size: 5rem;
    padding: 1rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  font-size: 0;
  color: transparent;
}

.menu-label {
  display: none;
}

details[open] .menu-label {
  display: inline;
}

ul {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: inherit;   /* Erbt 9999 von <details> */
  background: #1c1c1c;
}

la {

  border-top: 0px solid #ccc;
    font-size: 2rem;
    padding: 2rem;
/*    background: #f9f9f9;*/
}
  la:hover {
    background: #1c1c1c;
  }
  
/* Mobile Styles 
@media (max-width: 600px) {
  details {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  summary {
    justify-content: space-between;
    font-size: 1.2rem;
    padding: 1rem;
  }

  li {
    font-size: 1.2rem;
    padding: 1rem;
    background: #f9f9f9;
  }

  li:hover {
    background: #e0e0e0;
  }
}
*/

.playertip-content {
    display: none; /* Start versteckt */
 /*   position: absolute; */
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    white-space: nowrap;
    font-size: 3rem;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}

.playertip-trigger {
    position: relative;
    cursor: pointer;
}
.playertip-content2 {
    display: none; /* Start versteckt */
 /*   position: absolute; */
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    white-space: nowrap;
    font-size: 1.5rem;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}

.playertip-trigger2 {
    position: relative;
    cursor: pointer;
}

