:root {
  --footer: #0c0c0c;
  --footer_link: #ddd;
  --even-row: lightcyan;
  --odd-row: lemonchiffon;
}
footer {
  display: flex !important;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5em;
  background-color: var(--footer);
  color: white;
  justify-content: center;
  z-index: 3;
}

nav {
  display: flex !important;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 2.5em;
  background-color: var(--footer);
  color: white;
  justify-content: center;
  z-index: 3;
}

nav ul {
  display: flex;
  justify-content: space-evenly;
}
nav li {
  margin-left: 5%;
  text-align: center;
}

table,
tr,
td,
th {
  border: 2px solid black !important;
}

table {
  border-collapse: collapse;
}

table {
  margin: auto !important;
}

th {
  text-align: left;
  font-weight: bolder !important;
}

td,
th,
tr {
  text-align: center;
  width: min-content;
  height: fit-content;
}

nav a,
footer a {
  color: var(--footer_link);
}

a:hover {
  filter: brightness(1.375);
}

body > div:first-of-type {
  padding-top: 3em;
}

body > div:last-of-type {
  padding-bottom: 2.5em;
}

input {
  text-align: center;
  outline: none;
}

form input {
  text-align: left;
}

dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  background-color: yellow;
  transform: translate(-50%, -50%);
  margin: 0;
}

fieldset {
  border: 2px solid black !important;
  padding: 10px !important;
}

a {
  text-decoration: none;
}

input[type="number"] {
  width: 5ch;
}

.copyleft {
  display: inline-block;
  transform: rotate(180deg);
}

.error {
  color: red;
  font-weight: bolder;
  font-size: 3em;
}

.more-padding * {
  padding: 10px;
}

.no-border td,
.no-border tr,
.no-border th,
.no-border table {
  border: none !important;
}

@media screen {
  tr:nth-of-type(2n) {
    background-color: var(--even-row);
  }

  tr:nth-of-type(2n) * {
    background-color: var(--even-row);
  }

  tr:nth-of-type(2n + 1) {
    background-color: var(--odd-row);
  }

  tr:nth-of-type(2n + 1) * {
    background-color: var(--odd-row);
  }
}

#plan {
  margin: auto;
  clear: both;
}

#info {
  display: flex;
  justify-content: center;
}

#info * {
  float: left;
}

#main {
  width: fit-content;
  margin: auto;
  text-align: center;
}

#queues {
  display: flex;
  justify-content: center;
}

#edit {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

@media print {
  nav,
  footer,
  button {
    display: none !important;
  }
}
