body {
  padding-top: 5rem;
}

footer {
  border-top: 0.05rem solid #e5e5e5;
  background-color: #f9f9f9;
  color: #999;
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

.form-login {
  width: 100%;
  max-width: 420px;
  padding: 15px;
  margin: 2rem auto;
}

.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
  height: 3.125rem;
  padding: 0.75rem;
}

.form-label-group > label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  margin-bottom: 0; /* Override default `<label>` margin */
  line-height: 1.5;
  color: #495057;
  pointer-events: none;
  cursor: text; /* Match the input under the label */
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: all 0.1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
  color: transparent;
}

.form-label-group input:-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-ms-input-placeholder {
  color: transparent;
}

.form-label-group input::-moz-placeholder {
  color: transparent;
}

.form-label-group input::placeholder {
  color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

.form-label-group input:not(:placeholder-shown) ~ label {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 12px;
  color: #777;
}


.timeslot-row button {
  display: none;
}
.timeslot-status-booked .timeslot-button-booked,
.timeslot-status-training .timeslot-button-training,
.timeslot-status-closed .timeslot-button-closed,
.timeslot-status-key .timeslot-button-key,
.timeslot-status-bookable .timeslot-button-bookable,
.timeslot-status-reopened .timeslot-button-bookable,
.timeslot-status-reopened .timeslot-button-waiting,
.timeslot-status-waiting .timeslot-button-waiting,
.timeslot-status-archived .timeslot-button-archived {
  display: inline-block;
}

.timeslot-bookings, .timeslot-bookings li,
.timeslot-waiting, .timeslot-waiting li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeslot-has-waiting .timeslot-waiting {
  margin-top: .5rem;
  border-top: 1px solid #818182;
  display: block;
}
.timeslot-has-waiting .timeslot-waiting:before {
  content: "Warteliste:";
  font-style: italic;
}
.timeslot-waiting-number:before {
  content: "Warteliste: "
}

.rules h4 {
  font-size: 1rem;
  font-weight: bold;
  text-decoration: underline;
}

.user-activated button.user-activate {
  display: none;
}

.user-deactivated button.user-deactivate {
  display: none;
}

/* display 2 timeslots as block */
ul.timeslots > li.list-group-item:nth-child(2n+2):not(:last-child) {
  border-bottom-width: 2px;
  border-bottom-color: #000000;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
  .form-label-group > label {
    display: none;
  }
  .form-label-group input::-ms-input-placeholder {
    color: #777;
  }
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .form-label-group > label {
    display: none;
  }
  .form-label-group input:-ms-input-placeholder {
    color: #777;
  }
}


table.diff tbody tr td:nth-child(2) {
  width: 4%
}
table.diff {
  border-collapse: separate;
  border-spacing: 2px;
  table-layout: fixed;
  width: 100%;
  white-space: pre-wrap;
}
table.diff col.content {
  width: auto;
}
table.diff col.ltype {
  width: 30px;
}
table.diff tr {
  background-color: transparent;
}
table.diff td, table.diff th {
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  line-height: 1.618;
  padding: .5em;
  vertical-align: top;
  word-wrap: break-word;
}
table.diff td h1, table.diff td h2, table.diff td h3, table.diff td h4, table.diff td h5, table.diff td h6 {
  margin: 0;
}
table.diff .diff-addedline ins, table.diff .diff-deletedline del {
  text-decoration: none;
}
table.diff .diff-deletedline {
  background-color: #ffe9e9;
}
table.diff .diff-deletedline del {
  background-color: #faa;
}
table.diff .diff-addedline {
  background-color: #e9ffe9;
}
table.diff .diff-addedline ins {
  background-color: #afa;
}
