html {

  font-family: Arial, Helvetica, sans-serif;

}

table {
  border-collapse: collapse;
  width: 100%;
}

/* round corners for tables */
table tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

table tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

#table-container {
  margin-top: 20px;
  margin-right: 50px;
  float: right;
  position: absolute;
  top: 0;
  right: 0; 
}
.maincontent div {

  display: flex;
  align-items: center;
  justify-content: center;

}

.maincontent table {
  border-spacing: 0;
  border: var(--border);
  width: 80%;

}

.maincontent caption {
  text-align: left;
  margin: 5px;
  font-size: xx-large;
  font-weight: bold;
}

.maincontent th {
  border-bottom: 2px solid #ddd;
  text-align: left;
  padding: 10px;
  background: lightgray;
}

.maincontent td{

  border-bottom: 2px solid #ddd;
  text-align: left;
  padding: 10px;

}

.maincontent td:nth-child(1) {

  background-color: #f2f2f29f;

}

.sortable th{

  cursor: pointer;
}

h1 a{
  color: black;
  text-decoration: none;
}
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: -50px; /* Positioniert das Tooltip unter dem Text */
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
