body {
  height: 100vh;
}

.container {
  position: absolute;
  left: 270px;
}

table {
  width: 100%;
}

th {
  text-align: left;
}

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

div[contenteditable=plaintext-only], th[contenteditable=plaintext-only] {
  border: 1px solid black;
  padding-left: 5px;
}

.mannschaft:empty:before {
  content: attr(placeholder);
  pointer-events: none;
  display: block;
  color: lightgray;
  /* For Firefox */
}

[contenteditable=plaintext-only]:empty:before {
  content: attr(placeholder);
  pointer-events: none;
  display: block;
  color: lightgray;
  /* For Firefox */
}

input {
  max-width: 75px;
}

h2 input {
  max-width: none;
  width: 500px;
}

h4 input {
  max-width: none;
  width: 500px;
}

td.ringe {
  text-align: right;
}

td.teiler {
  text-align: right;
}

tfoot tr td {
  font-weight: bold;
}

.links {
  text-align: right;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px; /* Breite der Menüleiste */
  background-color: #333; /* Farbe des Hintergrunds */
  color: #fff; /* Farbe der Texte */
  padding: 10px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  margin-bottom: 10px;
}

.nav li img {
  max-width: 100%;
}

.nav a {
  text-decoration: none;
  color: #fff;
}

.nav a.dropdown-item {
  color: black;
}

.nav a:hover {
  background-color: #555; /* Farbe des Hintergrunds auf Hover */
  color: #fff;
}

.nav span {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

#tunierplan, #einzelergebnisse, #rundenkonfiguration {
  position: absolute;
  left: 270px;
  width: 80%;
  margin: 40px auto;
}

.popup td {
  padding: 0;
  padding-left: 10px;
  font-family: 'Courier New', Courier, monospace″;
}

.popup td:last-of-type {
  text-align: right;
}

.popup tr:last-of-type td {
  border-bottom: 0;
}

#pdf-export-base {
  margin-top: 20px;
}


.scrollable-menu {
  height: auto;
  max-height: 200px;
  overflow-x: hidden;
}

/* second level nav indent */
li ul li {
  padding-left: 10px;
}
