* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  list-style: none;
  box-shadow: none;
  text-shadow: none;
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit; }

html {
  font-family: sans-serif;
  background: #FFF;
  color: #111;
  overflow-y: scroll; }

h1 {
  font-size: 2em;
  font-weight: 500; }

h2 {
  font-size: 1.5em;
  font-weight: 500;
  margin: 2em 0 !important; }

#main {
  padding: 24px; }

#dynamicDataTable thead {
  font-weight: bold; }
  #dynamicDataTable thead td {
    background-color: #EEE; }

#dynamicDataTable tbody .new td {
  opacity: 0.15;
  border-color: #BBB; }

#dynamicDataTable tbody .new.focus td {
  opacity: 1;
  border-color: inherit; }

#dynamicDataTable tbody tr:hover td {
  background-color: #F5F5F5; }

#dynamicDataTable td {
  white-space: nowrap;
  padding: 5px 10px 3px; }
  #dynamicDataTable td:nth-of-type(2) {
    white-space: normal; }

#salesList {
  margin: 50px 0 0; }
  #salesList li {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border: 0 solid #E5E5E5;
    cursor: pointer; }
    #salesList li:nth-of-type(even) {
      background-color: #F0F0F0; }
    #salesList li:hover:not(.captions) {
      background-color: #c3d0dc; }
    #salesList li span {
      flex: 1 0 120px;
      overflow: hidden;
      user-select: none; }
      #salesList li span:first-of-type {
        flex-basis: 200px; }
      #salesList li span:nth-of-type(2) {
        flex-grow: 10; }
      #salesList li span:nth-of-type(3) {
        flex-basis: 150px; }
      #salesList li span:nth-of-type(4) {
        flex-basis: 150px; }
      #salesList li span:nth-of-type(5) {
        flex-basis: 150px; }
    #salesList li .details {
      flex-basis: 100%;
      background: #FFF;
      padding: 25px;
      margin: 0; }

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit; }

#searchbox {
  margin: 0 10px;
  padding: 13px 10px 10px;
  background: #DDD; }

#saldo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; }

#saldo li {
  display: block;
  flex-basis: 10%;
  flex-grow: 1;
  padding: 20px;
  cursor: pointer;
  background: #000;
  color: #FFF;
  text-align: center;
  min-width: 120px; }

#saldo li p:nth-of-type(2) {
  margin: 0.5em 0;
  font-size: 36px;
  font-weight: bold; }

.info {
  line-height: 2em; }

.buttons {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  align-items: flex-start; }

.approved .approval {
  display: none; }

.paymentinfo, .billing, .letter {
  display: none; }

.approved .paymentinfo {
  display: block; }

.filter.payed .completed {
  display: none; }

.payed .billing {
  display: block; }

.buttons span {
  flex-basis: auto;
  flex-grow: 0;
  background: #999;
  color: whitesmoke;
  border-radius: 9px;
  border: 1px solid #AAA; }

.buttons span:not(.disabled):hover {
  background: black;
  border-color: #111; }

.buttons .disabled {
  opacity: 0.333; }

html {
  height: 100%;
  background: white; }

body {
  height: html;
  font-family: sans-serif;
  font-size: 18px; }

.button {
  display: inline-block;
  background-color: #E5E5E5;
  cursor: pointer;
  padding: 10px;
  margin: 0 0 0 20px;
  border-radius: 5px; }
  .button:hover {
    background-color: #0B6DB4;
    color: #FFF; }

#cardsContainer {
  display: flex;
  gap: 10px; }
  #cardsContainer > div {
    flex-grow: 1;
    text-align: center;
    padding: 10px;
    background: #0B6DB4;
    color: #FFF; }
    #cardsContainer > div:hover {
      background: #E2C21C;
      color: #000; }
    #cardsContainer > div div {
      padding: 10px; }
      #cardsContainer > div div:nth-of-type(2) {
        font-size: 1.5em;
        font-weight: bold; }

.line-editor {
  display: flex;
  flex-wrap: nowrap;
  margin: 1em 0;
  border: 1px solid #0B6DB4; }
  .line-editor p {
    flex: 1 0 100px;
    padding: 12px 10px 8px 10px;
    white-space: nowrap; }
    .line-editor p:first-of-type {
      flex: 0 0 200px;
      text-align: right;
      color: #CCC; }
    .line-editor p.editable {
      background-color: #0b6eb42b; }
  .line-editor div {
    flex: 0 0 60px;
    padding: 10px; }
    .line-editor div:hover {
      background-color: #E5E5E5; }
    .line-editor div.error {
      animation-name: button-error-feedback;
      animation-duration: 1s;
      animation-timing-function: linear;
      animation-iteration-count: 1; }
    .line-editor div.success {
      animation-name: button-success-feedback;
      animation-duration: 1s;
      animation-timing-function: linear;
      animation-iteration-count: 1; }

@keyframes button-success-feedback {
  0% {
    background-color: inherit; }
  40% {
    background-color: #b0d874; }
  60% {
    background-color: #b0d874; }
  100% {
    background-color: inherit; } }

@keyframes button-error-feedback {
  0% {
    background-color: inherit; }
  40% {
    background-color: #e3a241; }
  60% {
    background-color: #e3a241; }
  100% {
    background-color: inherit; } }

.listing {
  list-style: none; }
  .listing li {
    display: flex;
    gap: 10px 0;
    background: whitesmoke;
    background: #F3F3F3;
    margin: 0 0 1px; }
    .listing li:first-of-type {
      font-weight: bold; }
    .listing li:hover {
      background: gainsboro;
      background: #EEE;
      cursor: pointer; }
    .listing li.completed {
      display: none !important; }
    .listing li span {
      padding: 0 10px;
      line-height: 24px;
      flex-grow: 1;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis; }

#uhli .filter li {
  display: none; }

#uhli .filter.new .new {
  display: flex; }

#uhli .filter.approved .approved {
  display: flex; }

#uhli .filter.approved .payed,
#uhli .filter.approved .paymentInfoSent,
#uhli .filter.approved .completed {
  display: none; }

#uhli .filter.paymentInfoSent .paymentInfoSent {
  display: flex; }

#uhli .filter.paymentInfoSent .payed {
  display: none; }

#uhli .filter.payed .payed {
  display: flex; }

#uhli .filter.payed .payed:not(.approved) {
  display: none; }

#uhli .filter.completed .completed {
  display: flex; }

#uhli span {
  display: inline-block;
  padding: 10px;
  flex-basis: 10%;
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-height: 18px; }

@media (max-width: 399px) {
  #uhli span.time {
    display: none; } }

#uhli span.email {
  flex-grow: 5;
  word-break: keep-all; }

#uhli span.total {
  text-align: right; }

#uhli .orderInfo {
  flex-basis: 100%;
  padding: 10px;
  background: whitesmoke;
  display: none; }

#uhli .expanded .orderInfo {
  display: block; }

#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 999;
  padding: 100px 50px; }
  #modal .menubar {
    display: flex;
    background: #DADADA; }
    #modal .menubar div {
      padding: 10px;
      position: relative;
      font-size: 16px;
      cursor: pointer; }
      #modal .menubar div:first-of-type {
        flex-grow: 1; }
        #modal .menubar div:first-of-type:hover {
          background: transparent;
          cursor: default; }
      #modal .menubar div:hover {
        background: rgba(0, 0, 0, 0.05); }
      #modal .menubar div ul {
        display: none;
        position: absolute;
        top: 38px;
        right: 0;
        width: auto;
        background: #E5E5E5; }
        #modal .menubar div ul li {
          padding: 1em;
          white-space: nowrap; }
          #modal .menubar div ul li:hover {
            background-color: rgba(0, 0, 0, 0.15); }
      #modal .menubar div.expanded ul {
        display: block; }
  #modal > div:not(.menubar) {
    background: #FFF;
    width: 100%;
    height: 100%;
    padding: 50px;
    border: 1px solid #E5E5E5;
    overflow-y: scroll;
    display: flex;
    gap: 50px;
    flex-wrap: wrap; }
    #modal > div:not(.menubar) div {
      flex: 1 0 70%; }
    #modal > div:not(.menubar) dl {
      display: flex;
      flex-wrap: wrap;
      border: 0 solid #E5E5E5;
      border-width: 1px 0 0 1px; }
      #modal > div:not(.menubar) dl dt {
        flex: 1 0 25%;
        padding: 10px;
        border: 0 solid #E5E5E5;
        border-width: 0 1px 1px 0; }
      #modal > div:not(.menubar) dl dd {
        flex: 1 0 70%;
        border: 0 solid #E5E5E5;
        border-width: 0 1px 1px 0; }
    #modal > div:not(.menubar) input {
      padding: 5px 10px;
      border: 1px solid #E5E5E5;
      height: 100%; }
    #modal > div:not(.menubar) button {
      margin: 20px 20px 0 0;
      padding: 10px 20px;
      border-radius: 7px;
      outline: 0;
      border: 1px solid rgba(0, 0, 0, 0.15);
      cursor: pointer; }
    #modal > div:not(.menubar) div div {
      margin: 50px 0 0; }
    #modal > div:not(.menubar) h2 {
      margin: 0 0 1em; }
    #modal > div:not(.menubar) p {
      margin: 0.5em 0; }
  #modal #dynamicDataContainer li {
    display: flex;
    gap: 10px; }
    #modal #dynamicDataContainer li span {
      line-height: 28px; }
  #modal #rackingDataContainer li {
    display: flex;
    gap: 10px; }
    #modal #rackingDataContainer li span {
      line-height: 28px; }

#schedule {
  display: grid; }
  #schedule * {
    overflow: hidden;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none; }
  #schedule > div {
    display: flex; }
    #schedule > div .caption {
      flex: 0 0 80px;
      font-size: 12px;
      font-weight: bold;
      line-height: 36px;
      background-color: #DDD;
      border: 0 solid #AAA;
      border-width: 0 1px 1px 1px;
      text-align: center; }
    #schedule > div div:nth-of-type(2) {
      flex: 1 0 0; }
  #schedule > div:nth-of-type(2) .caption {
    border-top-width: 1px; }
  #schedule .monthsCaption {
    display: grid;
    background-color: #0B6DB4; }
    #schedule .monthsCaption span {
      display: inline-block;
      line-height: 24px;
      padding: 0 12px;
      text-align: center;
      font-size: 12px;
      color: #FFF;
      white-space: nowrap;
      overflow: hidden; }
      #schedule .monthsCaption span:nth-of-type(even) {
        background-color: rgba(255, 255, 255, 0.15); }
  #schedule .weeksCaption {
    display: grid;
    background-color: #dff0ff;
    background-color: #EEE;
    color: #111; }
    #schedule .weeksCaption span {
      display: inline-block;
      line-height: 24px;
      padding: 0 12px;
      text-align: center;
      font-size: 12px;
      white-space: nowrap;
      overflow: hidden;
      border: 0 solid rgba(0, 0, 0, 0.075);
      border-width: 0 1px 0 0; }
      #schedule .weeksCaption span:nth-of-type(even) {
        background-color: rgba(255, 255, 255, 0.15); }
  #schedule .daysCaption {
    margin-top: 3px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    grid-auto-columns: minmax(12px, 1fr);
    background: #F7F7F7;
    line-height: 24px;
    font-size: 10px;
    font-weight: bold; }
    #schedule .daysCaption span {
      display: inline-block;
      text-align: center; }
      #schedule .daysCaption span:nth-of-type(even) {
        background-color: rgba(0, 0, 0, 0.05); }
      #schedule .daysCaption span.weekend {
        background-color: #C0C0C0;
        background-color: rgba(0, 0, 0, 0.15); }
      #schedule .daysCaption span.highlighted {
        background-color: #0B6DB4;
        color: #FFF;
        font-weight: bold; }
      #schedule .daysCaption span.today {
        background-color: #ffc400;
        background-color: #e42c2c;
        color: #FFF;
        z-index: 2; }
  #schedule .tank {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    grid-auto-columns: minmax(12px, 1fr);
    background-color: #FFF;
    border: 0 solid #FFF;
    border-width: 0 0 1px; }
    #schedule .tank span {
      font-size: 12px;
      text-align: center;
      overflow: visible;
      background-color: rgba(0, 0, 0, 0.015);
      min-height: 36px;
      line-height: 36px; }
      #schedule .tank span:nth-of-type(even) {
        background-color: rgba(0, 0, 0, 0.035); }
      #schedule .tank span.weekend {
        background-color: rgba(0, 0, 0, 0.095); }
      #schedule .tank span.highlighted {
        background-color: rgba(0, 0, 0, 0.05);
        z-index: 2; }
      #schedule .tank span.today {
        background-color: rgba(0, 0, 0, 0.1);
        background-color: rgba(255, 196, 0, 0.1);
        background-color: rgba(228, 44, 44, 0.15);
        z-index: 3; }
      #schedule .tank span.marked {
        background-color: aquamarine;
        opacity: 0.5; }
      #schedule .tank span .brew {
        text-align: left;
        background-color: #ddf39d;
        border-radius: 15px;
        padding: 0 12px;
        border: 0 solid rgba(0, 0, 0, 0.1);
        border-width: 1px;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        opacity: 0.9;
        display: flex;
        gap: 10px;
        transition: opacity 200ms ease-in-out; }
        #schedule .tank span .brew.cutLeft {
          border-top-left-radius: 0px;
          border-bottom-left-radius: 0px; }
        #schedule .tank span .brew.cutRight {
          border-top-right-radius: 0px;
          border-bottom-right-radius: 0px; }
        #schedule .tank span .brew.hell {
          background-color: #59caf3;
          color: #FFF; }
        #schedule .tank span .brew.olym {
          background-color: #bcb60b;
          color: #FFF; }
        #schedule .tank span .brew.sunn {
          background-color: #cdf08c; }
        #schedule .tank span .brew.dunk, #schedule .tank span .brew.anno {
          background-color: #663219;
          color: #FFF; }
        #schedule .tank span .brew.gold {
          background-color: gold; }
        #schedule .tank span .brew.ale {
          background-color: goldenrod; }
        #schedule .tank span .brew.blut, #schedule .tank span .brew.werd {
          background-color: #9f2323;
          color: #FFF; }
        #schedule .tank span .brew.kell {
          background-color: #7397b2;
          color: #FFF; }
        #schedule .tank span .brew.weis {
          background-color: #fce366;
          color: #111; }
        #schedule .tank span .brew.dimmed {
          opacity: 0.825; }
        #schedule .tank span .brew.extradimmed {
          opacity: 0.825;
          background-color: lightgrey !important;
          color: #111 !important; }
        #schedule .tank span .brew .bold {
          font-weight: 900; }
        #schedule .tank span .brew.dragging {
          opacity: 0.35; }
        #schedule .tank span .brew.highlighted {
          opacity: 1;
          z-index: 3; }
  #schedule .controls {
    margin: 0 0 10px;
    display: flex;
    gap: 10px; }
    #schedule .controls button {
      padding: 0.5em 1em;
      cursor: pointer; }

#signin-form {
  max-width: 400px;
  margin: 0 auto; }
  #signin-form .wrapper {
    max-width: 100%; }
  #signin-form label {
    display: block;
    margin: 25px 0 25px; }
    #signin-form label p {
      margin: 0.5em 0; }
    #signin-form label input {
      padding: 1em;
      width: 100%;
      background: #FAFAFA;
      border: 0 solid #E5E5E5;
      border-width: 0 0 3px 0; }
      #signin-form label input:focus {
        border-color: #0B6DB4; }

input[type=submit] {
  padding: 1em 2em;
  border-radius: 9px;
  cursor: pointer; }

#staticDataContainer .editable {
  display: flex; }
  #staticDataContainer .editable .value {
    display: block;
    flex-grow: 1;
    padding: 10px !important; }
  #staticDataContainer .editable .edit-icon {
    height: 36px;
    width: 36px;
    background-image: url("/images/edit.svg");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center; }
    #staticDataContainer .editable .edit-icon:hover {
      background-color: rgba(0, 0, 0, 0.1);
      cursor: pointer; }

table {
  width: 100%;
  border-collapse: collapse;
  padding: 0;
  border: 1px solid #000; }
  table thead {
    font-weight: bold; }
  table td {
    border: 1px solid #000;
    padding: 8px 10px 5px; }

#tasklist {
  margin: 50px 0 0;
  border: 1px solid #E5E5E5;
  padding: 25px; }
  #tasklist li {
    margin: 10px 0; }

#topbar {
  background: #0B6DB4;
  height: 48px;
  padding: 0 25px;
  display: flex; }
  #topbar img {
    display: block;
    padding: 16px 0;
    height: 48px; }
  #topbar .spacer {
    flex-grow: 1; }
  #topbar #userMenu {
    width: 48px;
    height: 48px;
    padding: 6px;
    position: relative;
    cursor: pointer; }
    #topbar #userMenu:hover {
      background-color: rgba(0, 0, 0, 0.1); }
    #topbar #userMenu div {
      background-color: #FFF;
      border-radius: 18px;
      line-height: 36px;
      text-align: center;
      font-weight: bolder; }
    #topbar #userMenu ul {
      position: absolute;
      top: 48px;
      right: 0;
      width: 200px;
      display: none;
      background-color: #E5E5E5; }
      #topbar #userMenu ul.visible {
        display: block; }
      #topbar #userMenu ul li {
        padding: 10px; }
