:root {
  --under0: rgba(32, 32, 32, 0);
  --under1: rgba(32, 32, 32, 0.1);
}
html,
body {
  overflow: hidden;
  position: fixed;
  width: 100%;
  font-size: 0.8vw;
}
.login {
  padding-top: 45vh;
  text-align: center;
}
.head {
  background-color: #ffcccc;
}
.foot {
  background-color: #ffcccc;
}
.row1 {
  background-color: #ffffff;
}
.row2 {
  background-color: #f8f9f9;
}
.r {
  text-align: right;
}
.fr {
  float: right;
}
tr[data-fid]:hover {
  background-color: #f9e79f;
}
.spl1 {
  width: fit-content;
}
.spl2 {
  width: fit-content;
  vertical-align: top;
}
.spl3 {
  width: fit-content;
  vertical-align: top;
}
input {
  height: 48px;
  box-sizing: border-box;
}
.mov {
  color: #9f223e;
}
.mov h1 {
  color: black;
}
.rand {
  width: 100%;
  line-height: 2rem;
}
.rand.foot,
.rand.head {
  color: white;
  font-weight: bold;
  background-color: var(--color2);
}
.rand.edithead:hover,
.rand.edithead {
  color: white;
  font-weight: bold;
  background-color: var(--color5);
}
.rand.footfoot {
  background-color: var(--color1);
  color: white;
  font-weight: bold;
}
.zerogrid:not(.nohover) .rand:not(.head):not(.editzone):not(.edithead):not(.editrow):hover {
  background-color: #f9e79f;
}
comp {
  color: #9f223e;
  width: 100%;
  font-weight: bold;
  display: inline-block;
}
det {
  width: 50%;
}
det[label]:before {
  font-weight: bold;
  content: attr(label) ": ";
}
.zerogrid .rand:not(.head):not(.nobrd):not(.foot):not(.editrow) {
  border-bottom: 1px solid #aaa;
}
.zerogrid .rand .brdr {
  border-right: 1px solid #aaa;
}
.rand > div {
}
.zerogrid {
  background-color: white;
}
#dropmenu {
  display: none;
}
#dropmenu {
  width: fit-content;
}
#dropmenu li {
  width: 100%;
  white-space: nowrap;
  line-height: 1.5em;
}
.ui-menu {
  width: 200px;
  position: absolute;
  z-index: 12000;
  border: 1px solid black;
  white-space: nowrap;
}
.ui-menu.large {
  width: 900px;
}
.ui-menu-item {
  padding-left: 0;
}
.ui-widget-title {
  background-color: #5499c7;
  font-weight: bold;
  text-align: center;
  color: white;
  opacity: 1 !important;
}
.ui-widget-header {
  background-color: var(--color2);
  color: white;
}
.ui-widget-header a {
  color: white;
}
img.ui-datepicker-trigger {
  width: 1rem;
  display: inline-block;
}
.rand.head {
}
#modalop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.5);
  height: 100vh;
  overflow-y: hidden;
  overflow-x: hidden;
}
.inline_pdf:empty,
.invoice_pdf:empty {
  background: url("/images/wait.gif") center center no-repeat, #ffffff;
  max-width: 80vw;
  max-height: 80vh;
}
#pdfframe {
  width: 900px;
  min-height: 50vh;
  max-height: 85vh;
  height: 1200px;
  margin: 0 auto;
  margin-top: 2rem;
  display: block;
  border: 0px;
}
#pdfframeinv {
  width: 1200px;
  min-height: 700px;
  max-height: 100vh;
  height: 1200px;
  margin: 0 auto;
  display: block;
}
#pdfframe.inline_pdf {
  width: 1200px;
  height: 1600px;
  min-height: 50vh;
  max-height: 85vh;
}
main {
  overflow: scroll;
}
.scrollcontainer {
  max-height: 70vh;
  overflow: scroll;
}
.popup-bottom {
  display: block;
  position: absolute;
  bottom: 0;
  background-color: white;
  height: fit-content;
  -moz-transform: translateY(calc(100% - 2em));
  -webkit-transform: translateY(calc(100% - 2em));
  -ms-transform: translateY(calc(100% - 2em));
  transform: translateY(calc(100% - 2em));
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
  width: 100%;
  z-index: 10000;
}
.popup-bottom.show {
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}
.bottomtab {
  display: inline-block;
  border-radius: 1em 1em 0 0;
  height: 2em;
  padding: 0 1em 0 1em;
  width: fit-content;
}
invo {
  font-weight: bold;
}
.pclick {
  cursor: pointer;
}
det {
  display: none;
}
comp.act ~ det {
  display: inline-block;
}
editfield[label]:before {
  content: attr(label) ": ";
  font-style: italic;
  width: 100%;
  display: block;
  position: absolute;
  top: -1em;
  left: 0;
  color: #aaa;
  line-height: 1em;
  -webkit-text-security: none;
}
editfield[limit]:focus:after {
  display: block;
  position: absolute;
  right: -1em;
  top: 0;
  color: #aaa;
  content: attr(length);
}
edithead {
  width: 95%;
  display: inline-block;
  box-sizing: border-box;
  margin-right: 5%;
  color: white;
}
editfield[label] {
  margin-top: 1em;
}
editfield {
  box-sizing: border-box;
  overflow: visible;
  width: 95%;
  margin-right: 5%;
  min-width: 5em;
  display: inline-block;
  line-height: 1.9em;
  background-image: repeating-linear-gradient(to bottom, var(--under0) 0, var(--under0) 1.8em, var(--under1) 1.8em, var(--under1) calc(1.8em + 2px));
  position: relative;
  color: black;
  white-space: pre-wrap;
}
editfield:focus {
  outline: 0;
}
edithead.half,
editfield.half {
  width: 45%;
  min-width: 45%;
  max-width: 45%;
  margin-right: 5%;
}
edithead.third,
editfield.third {
  width: 30%;
  min-width: 30%;
  max-width: 30%;
  margin-right: 1.33%;
}
edithead.smalls,
editfield.smalls {
  width: 5em;
  min-width: 5em;
  max-width: 5em;
  margin-right: 1em;
}
editfield.smalls.datepicker {
  max-width: fit-content;
  width: fit-content;
}
editfield.aftersmalls {
  margin-left: 6em;
}
.nogap {
  font-size: 0 !important;
}
.nogap * {
  font-size: 1rem !important;
}
editaction {
  cursor: pointer;
  display: inline-block;
  min-width: 3em;
  width: 95%;
  max-width: 10em;
  text-align: center;
  color: white;
  font-weight: bold;
  background: linear-gradient(65deg, var(--color1) -25%, var(--color2) 100%);
}
editaction:hover {
  background: linear-gradient(65deg, var(--color2) -25%, var(--color1) 100%);
}
editfield.passfield {
  -webkit-text-security: square;
}
.resultbar {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  background: #fc0;
  display: none;
  font-weight: bold;
  color: black;
  background: linear-gradient(#b70, #fc0, #b70);
  z-index: 12001;
}
.resultbar.err {
  color: white;
  background: linear-gradient(#b10, #f50, #b10);
}
.rand.editzone {
  background-color: #f9ebea;
}
.blink {
  animation: blinkingBackground 1s 5;
}
@keyframes blinkingBackground {
  0% {
    color: #aff1b3;
  }
  25% {
    color: #9fc3f9;
  }
  50% {
    color: #fab7bb;
  }
  75% {
    color: #a6cbfc;
  }
  100% {
    color: #ace7fa;
  }
}
.red {
  color: red;
}
svg.headlogo {
  width: 8em;
  height: 8em;
}
svg.footlogo {
  width: 4em;
  height: 4em;
}
editaction[action="highpos"],
editaction[action="downpos"],
editaction[action="delpos"],
editaction[action="addpos"] {
  width: fit-content;
  margin-right: 0.5em;
}
editaction.hideaction {
  visibility: hidden;
}
.pan {
  display: block;
  position: absolute;
  background-color: #f9ebea;
  border: 1px solid #aaa;
  max-width: 50em;
  padding: 1em;
}
.pan editfield {
  margin-bottom: 0.5em;
}
.pan editfield:hover {
  outline: 1px solid #aaa;
}
editfield.multiline {
  white-space: pre-wrap;
}
.popup.container {
  background-color: white;
  display: block;
  width: 50em;
  min-width: 50em;
  position: static;
  padding: 1em;
}
.ui-datepicker {
  z-index: 12001 !important;
}
.ui-datepicker + input {
  display: none;
}
.shortable {
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.shortable[contenteditable="true"] {
  text-overflow: unset;
}
.infos {
  display: block;
  overflow-wrap: anywhere;
  background-color: var(--color2);
  color: white;
  z-index: 15000;
  max-width: 500px;
}
.green {
  color: green;
}
.noshow {
  visibility: hidden;
}
.factrec {
  color: #33a6f4;
}
.factsent {
  color: #138d75;
}
.facterr {
  color: #a93226;
}
.container.form {
  width: 30em;
  margin: 0 auto;
  line-height: 2rem;
}
.maybe {
  color: red;
}
#chapp {
  max-width: 15rem;
}
ul.editing {
  display: inline-flex;
  flex-direction: column;
  position: absolute;
  z-index: 5;
  min-width: fit-content;
  padding: 0;
  cursor: default;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
ul.editing li {
  text-transform: uppercase;
  color: white;
  font-weight: bold;
  min-width: fit-content;
  white-space: nowrap;
  background: linear-gradient(65deg, var(--color1) -25%, var(--color2) 100%);
  margin: 0;
  padding: 5px;
}
ul.editing li:hover {
  background: linear-gradient(65deg, var(--color2) -25%, var(--color1) 100%);
}
.hidden {
  display: none;
}
.filtrable[filter]:not([filter=""]),
.rangeable[filterfrom]:not([filterfrom=""]) {
  color: #f9e79f;
}
input#rangefrom,
input#rangeto {
  border: 0;
  outline: 0;
  width: fit-content;
}
.fixdown {
  bottom: 0;
}
#uploadform,
.uploadform {
  display: none;
}
.ui-widget-overlay.ui-front {
  z-index: 14000;
}
