body {
  background-color: #afca0d;
  color: #222;
  padding: 10px;
}

#hauptinhalt {
  width: 100%;
  margin-left: 0;
}

table {
  background-color: #fff;
  width: 100%;
}

#hauptinhalt article table {
  margin-bottom: 1em;
}

.form_table {
  background-color: transparent;
}

table:hover {
  /*box-shadow: 0px 0px 100px 10px rgba(255, 255, 255, 0.1);*/
  /*opacity: 0.5;*/
}

td,
th {
  width: 12.5%;
  text-align: center;
  padding: 5px;
}

.ersteSpalte {
  text-align: left;
}

th {
  font-weight: 700;
  border-bottom: 2px solid #afca0d;
  color: #afca0d;
}

td {
  color: #000;
  font-weight: 800;
}

#hauptinhalt article td {
  vertical-align: middle;
}

.kinder th,
.kinder td {
  font-weight: 300;
}

.kinder th:nth-child(2),
.kinder th:nth-child(3),
.kinder td:nth-child(2),
.kinder td:nth-child(3) {
  background-color: #eafdc8;
  color: #222;
  font-weight: 700;
}

.leiter th:nth-last-child(3),
.leiter td:nth-last-child(3),
.leiter th:nth-last-child(4),
.leiter td:nth-last-child(4),
.leiter th:nth-last-child(5),
.leiter td:nth-last-child(5),
.leiter th:nth-last-child(6),
.leiter td:nth-last-child(6),
.leiter th:nth-last-child(7),
.leiter td:nth-last-child(7) {
  background-color: #eafdc8;
  color: #222;
  font-weight: 700;
}

.leiter th:first-child,
.leiter td:first-child {
  background-color: transparent;
  font-weight: normal;
}

.leiter th:last-child,
.leiter th:nth-last-child(2) {
  font-weight: normal;
}

.ersteSpalte {
  font-weight: normal;
}

.schichtlos .ersteSpalte {
  color: #afca0d;
}

h2 {
  padding-top: 0;
  position: relative;
  left: auto;
}

.leiter .kind,
.kinder .koch,
.kinder .moschti,
.kinder .kassier,
.kinder .helfer {
  background-color: #d9d9d9;
}

.koch,
.moschti,
.kassier,
.helfer,
.kind {
  opacity: 0.6;
}
.koch div,
.moschti div,
.kassier div,
.helfer div,
.kind div {
  overflow: hidden;
}

.leiter .koch:hover,
.leiter .moschti:hover,
.leiter .kassier:hover,
.leiter .helfer:hover,
.kind:hover {
  opacity: 1;
}

.leiter .koch:hover div,
.leiter .moschti:hover div,
.leiter .kassier:hover div,
.leiter .helfer:hover div,
.kind:hover div {
  background-color: rgba(255, 255, 255, 0.9);
}

.schicht {
  color: #000;
  /*font-weight: 700;*/
}

.helfer .schicht {
  color: black;
}

#tn-version .helfer {
  color: white;
}

.kinder td.kind,
.leiter td.koch,
.leiter td.moschti,
.leiter td.kassier,
.leiter td.helfer {
  background-color: #9ab94d;
}

div.schicht {
  padding: 2px;
  margin: 3px;
  background-color: #fff;
  background-color: white;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

div.schicht,
.kind td {
  overflow: hidden;
  height: 1.5em;
  font-weight: normal;
}

#backgroundPopup {
  display: none;
  position: fixed;
  _position: absolute;
  /* hack for internet explorer 6*/
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #000000;
  /* border:1px solid #cecece; */
  z-index: 1;
}

#popupContact {
  display: none;
  position: fixed;
  _position: absolute;
  /* hack for internet explorer 6*/
  height: auto;
  width: 314px;
  background: #fff;
  border: 10px solid #afca0d;
  z-index: 2;
  padding: 1em;
  font-size: 13px;
}

#popupContact table,
#popupContact td {
  border: 0px none transparent;
}

#popupContact .form_table td {
  font-weight: 300;
  text-align: left;
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
  width: 50%;
}

#popupContact a {
  cursor: pointer;
}

#popupContactClose {
  font-size: 28px;
  line-height: 28px;
  right: 7px;
  top: 4px;
  position: absolute;
  font-weight: 700;
  display: block;
}

#button {
  text-align: center;
  margin: 100px;
}

.buttonzeile input {
  margin-right: 1em;
  height: 2em;
}

#speichern {
  background-color: #afca0d;
}

#abbrechen {
  background-color: #e12938;
  color: #fff;
}

#meldung {
  display: none;
  background-color: yellow;
}

@media only screen and (min-width: 641px) {
  .ersteSpalte {
    min-width: 8em;
  }
}
@media print {
  * {
    /* background: transparent !important; */
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
    /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
    size: landscape;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  /* Authors Print Styles */
  body {
    background-color: white;
  }

  header,
  p {
    display: none;
  }

  table {
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
    page-break-after: always;
  }

  td,
  th {
    border: 0 none transparent;
    width: 12.5%;
    background-color: #ddd !important;
    padding: 0;
  }

  td,
  td div {
    font-weight: bold !important;
  }

  th,
  td.ersteSpalte {
    font-weight: normal !important;
  }

  #hauptinhalt article td {
    border: 1px solid black;
  }

  h2 {
    padding-top: 20px;
  }

  #hauptinhalt article h3,
  #hauptinhalt article h4 {
    padding-bottom: 20px;
    padding-left: 0;
  }

  .koch,
  .moschti,
  .kassier,
  .helfer,
  .kind {
    background-color: transparent !important;
    opacity: 1 !important;
  }

  div.schicht {
    padding: 2px;
    margin: 3px;
    background-color: #fff;
    background-color: white;
    background-color: rgba(255, 255, 255, 0.8);
  }

  article::after {
    border-bottom: 0 none transparent;
    border-top: 0 none transparent;
    content: none;
    height: 0;
    width: 0;
    display: none;
  }
}

/*# sourceMappingURL=main.css.map */

@media only screen and (min-width: 890px) {
  .rahmen {
    width: 960px;
  }
}
