body {
  overflow-x: hidden;
}
#logo > a.nobg {
  background-color: inherit;
}
.logoimg {
  width: 100%;
}
#titleBar .title > a > img {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 auto;
}
#content input.editfield,
#content textarea.editfield,
#content select.editfield,
#modalop select.editfield,
#content div.editfield,
#modalop div.editfield {
  position: relative;
  width: calc(100% - 16px);
  background: 0 0;
  padding: 4px 0 2px;
  line-height: 1.1;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.78);
  border-width: 0 0 1px;
  box-shadow: none;
  margin-left: 0.5em;
  min-width: 200px;
  min-height: 1em;
  overflow: hidden;
  white-space: normal;
  outline: normal;
  border-radius: 0;
}
#content {
  margin-left: 0;
}
#auth_user {
  width: 200px !important;
}
#auth_pass {
  width: 200px !important;
}
#content input[type="checkbox"] {
  min-width: 0;
  width: 0;
}
button.grey {
  background-color: #5c5c5c;
}
#content button.cancel {
  background-color: #5c5c5c;
  float: left;
}
#content button.save2 {
  float: left;
}
#content button.inactive {
  background-color: #5c5c5c;
}
#content button.direction {
  background-color: #3c8c3c;
}
button.blue {
  background-color: #3c3cac;
}
#content button.renderdocs {
  float: right;
  background-color: #3c3cac;
}
#content button.renderpdfs {
  float: right;
}
#saveident {
  background-color: #3cac3c;
}
button.green {
  background-color: #3cac3c;
}
.spvgreen {
  background-color: #3cac3c;
  color: white;
}
.spvred {
  background-color: red;
  color: white;
}
#content button.exportxlsx {
  float: right;
  background-color: #3cac3c;
}
#content button.exportxlsx.left {
  float: left;
}
#content img.checkbox {
  width: 32px;
  height: 32px;
  display: block;
  float: left;
}
#content textarea {
  resize: none;
}
#content select {
  background-color: white;
  border-radius: 0;
}
#content button {
  font-size: 100%;
}
#content button.realsmall {
  width: auto;
  padding-left: 11px;
  padding-right: 11px;
  display: inline;
}
#content input[type="file"] {
  display: none;
}
.al_panel {
  width: 340px;
  box-shadow: 0 0 0.25em 0em rgba(0, 0, 0, 0.25);
  padding: 1em;
  margin-left: auto;
  margin-right: auto;
  background-color: #e8e8e8;
}
.al_panel button {
  font-size: 100%;
}
.al_destra {
  text-align: right;
}
.al_centro {
  text-align: center;
}
.al_tutto {
  width: 100%;
}
.al_panel input {
  border-radius: 0.4em;
  font-size: 12pt;
}
.grid td,
.grid th,
.grid caption {
  white-space: nowrap;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.grid th {
  background-color: #a8a8a8;
}
.ident div.rand {
  width: 100%;
  margin-bottom: 5px;
}
.ident div {
  display: inline-block;
}
.ident .label {
  width: 10rem;
  padding: 0.5em;
  text-align: right;
  font-weight: bold;
}
.ident input {
  border: 0px;
  border-bottom: 1px solid black;
}
.ident input:focus {
  outline: none;
}
.reqmod {
  margin-left: 10rem;
  color: #edbb99;
}
.ident .editabledrop,
.ident .editable {
  width: 30rem;
  border-bottom: 1px solid #a8a8a8;
}
.ident .reqmod {
  width: 100%;
}
.grid.sortable th::after {
  content: " \f0dc";
  font-family: FontAwesome;
}
.grid.sortable th.sortdown::after {
  content: " \f0dd";
  font-family: FontAwesome;
  color: red;
}
.grid.sortable th.sortup::after {
  content: " \f0de";
  font-family: FontAwesome;
  color: green;
}

.grid tr:hover {
  background-color: #e8a8a8;
}
.grid tr.linked td {
  background-color: #78e878;
}
.grid tr.linkeded td {
  background-color: #5dade2;
}
.grid tr.haser > td.canmark::before {
  content: "\f071";
  font-family: FontAwesome;
}
.grid caption {
  text-align: left;
}
.map {
  width: 350px;
  height: 350px;
}
.hidecol {
  display: none;
}
.modal {
  z-index: 12000;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.modalw {
  z-index: 12000;
  background: rgba(0, 0, 0, 0);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.nowr {
  white-space: nowrap;
}
.wrw {
  white-space: break-spaces;
}
.formt {
  width: 100%;
  margin-bottom: 0;
}
.formt tr:nth-child(odd) {
  background-color: #f4f4f4;
}
.formt td {
  padding: 2px;
  vertical-align: middle;
}
.formt td:first-child {
  text-align: right;
  white-space: nowrap;
}
.formt td:last-child {
  text-align: left;
}
.al_form {
  box-shadow: 0 0 0.25em 0em rgba(0, 0, 0, 0.25);
  background-color: #e8e8e8;
  padding: 0.5em;
}
button:focus {
  outline: 0;
}
.editfield {
  width: 90%;
}
#task-container {
  display: none;
}
.uploadscan {
  float: right;
  background-color: #ff851b;
}
.uploadscan:hover {
  background-color: #ff982b;
}
.delitem:hover {
  color: white;
}

.progress {
  position: absolute;
  z-index: 100;
  width: 50%;
  height: 10%;
  left: 25%;
  top: 45%;
  background-color: white;
  border: 1px solid black;
}
.progressbar {
  position: relative;
  background-color: black;
  color: black;
  width: 0%;
  height: 100%;
  color: white;
  text-align: center;
  vertical-align: middle;
}
.infos {
  width: fit-content;
  max-width: 500px;
  z-index: 20001;
}
canvas.ocr {
  position: absolute;
  background-color: black;
  border: 1px solid black;
  z-index: 1000;
}

.resultbar {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  background: #fc0;
  display: none;
  background-image: linear-gradient(#b70, #fc0, #b70);
  z-index: 100;
}

.tarif td,
.tarif th {
  border: 1px solid black;
}
.editable {
  min-height: 28px;
  display: inline-block;
  min-width: 30px;
}
#content input.editing {
  min-width: 0;
  padding: 0;
  margin: 0;
}
.toright {
  float: right !important;
}
#dropselect {
  height: 200px;
  overflow-y: scroll;
  overflow-x: hidden;
  width: fit-content;
}
#dropmenu {
  display: none;
  width: fit-content;
}
pre {
  height: 300px;
  overflow-y: scroll;
}
#modalop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12000;
  text-align: center;
}
#modalopi {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12001;
  text-align: center;
}

.mp_float {
  position: absolute;
  z-index: 20000;
  border: 1px solid black;
}
.mp_table {
  max-width: 100px;
  cursor: pointer;
  line-height: 1.5 !important;
}
.mp_table th {
  background-color: #acacac;
  text-align: center;
  padding: 0.2em 0.4em 0.2em 0.4em;
}
.mp_table th:hover {
  outline: 1px solid #8c8c8c;
  outline-offset: -1px;
}
.mp_table td {
  background-color: #ececec;
  text-align: center;
  padding: 0.2em 0.4em 0.2em 0.4em;
}
.mp_table td[data-day]:hover,
.mp_table td[data-month]:hover {
  outline: 1px solid #8c8c8c;
  outline-offset: -1px;
}
.mp_table td .tomonth {
  background-color: #fcecec;
}
.mp_table td.selected {
  background-color: #9c9c9c;
  color: white;
}

@keyframes blink {
  0% {
    border: 0px solid black;
  }
  50% {
    border: 1px solid red;
  }
  100% {
    border: 0px solid black;
  }
}
.blinkred {
  border: 1px solid red;
  animation: blink 0.1s step-end 5;
  animation-play-state: running;
}
.excelonly,
.noshow {
  display: none;
}
#content input.getvals {
  position: relative;
  width: 5em;
  background: 0 0;
  padding: 0.1em 0 0.1em;
  line-height: 1.1;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.78);
  border-width: 0 0 1px;
  box-sizing: border-box;
  box-shadow: none;
}

#content th.getvalscol {
  min-width: 6em;
}
#content td.getset {
  min-width: 6em;
}
#content .ui-datepicker-inline {
}
#content .ui-datepicker-week-end > a:not(.ui-state-active) {
  background-color: #e8daef;
}
.tspec:not(.activ) {
  display: none;
}
#sett tbody > tr:hover {
  background-color: #aeb6bf;
}
error {
  display: none;
}
.itsaboutme {
  background-color: #a3e4d7 !important;
}
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#invoiceissuelist > .classic {
  display: none;
}
.invocontainer {
  display: inline-block;
  background-color: white;
  border-radius: 10px;
  overflow-y: hidden;
  box-shadow: 0 0 0.25em 0em rgba(0, 0, 0, 0.25);
}
.invocontainer > table > tbody > tr {
  background-color: inherit;
}
.editrec {
  width: auto;
  margin: 0 auto;
  background-color: inherit;
}
.editrec th {
  vertical-align: top;
}
.editrec tr:nth-child(even) {
  background-color: #ececec;
}
.editrows {
  width: auto;
  margin: 0 auto;
  background-color: inherit;
}
.invocontainer table th {
  padding: 1px 5px 1px 5px;
}
.invocontainer table td {
  padding: 1px 5px 1px 5px;
}
.editrec > tbody > tr > td:nth-child(1) {
  text-align: right;
}
.editrec > tbody > tr > td:nth-child(2) {
  text-align: left;
}
.editrows > tbody > tr > td {
  text-align: right;
}
.editrows > tbody > tr > th {
  text-align: right;
}
.editrows > tbody > tr > td:nth-child(1) {
  text-align: left;
}
.editrows > tbody > tr > th:nth-child(1) {
  text-align: left;
}
div[contenteditable] {
  display: inline-block;
  white-space: pre-line;
  min-width: 30px;
}
[contenteditable]:focus {
  outline: none;
  text-decoration: underline;
}
.rowmodify {
  color: red;
}
.editrows > tbody > tr:nth-child(2) > td > .rowup {
  display: none;
}
.editrows > tbody > tr:last-child .rowdown {
  display: none;
}
.r {
  text-align: right;
}
.l {
  text-align: left;
}
.c {
  text-align: center;
}
#invoicelist th {
  background-color: #a8a8a8;
}
#invoicelist tr:hover {
  background-color: #f2d7d5;
}
.classic > tbody > tr > td {
  white-space: nowrap;
}
.classic > tbody > tr:first-child {
  background-color: #a8a8a8;
  font-weight: bold;
}
.classicv > tbody > tr:first-child,
.classicv > tbody > tr > td:first-child {
  background-color: #a8a8a8;
  font-weight: bold;
}
.drop-hover {
  background-color: #239b56;
}
.sett {
  min-width: 450px;
}
.sett th {
  width: 150px;
}
table > tbody > tr.match > td[data-q="quant"] {
  background-color: #d5f5e3;
}
table > tbody > tr.match:hover > td[data-q="quant"] {
  background-color: #b1c9bb;
}
table > tbody > tr.notmatch > td[data-q="quant"] {
  background-color: #e6b0aa;
}
table > tbody > tr.notmatch:hover > td[data-q="quant"] {
  background-color: #b5908c;
}
.masmatch {
  background-color: #d5f5e3;
}
.masmatchpart {
  background-color: #fcf3cf;
}
.masmismatch {
  background-color: #e6b0aa;
}
.fh,
.fho,
.fhh,
.fhf {
  box-sizing: border-box;
  margin-bottom: 0;
  visibility: hidden;
}
.fho > thead > tr {
  background-color: #a8a8a8;
}
.fhd {
  display: block;
  overflow-y: scroll;
  transition: height 0.5s linear;
}
.fhh {
  width: 100%;
  white-space: nowrap;
}
#content {
  overflow-x: hidden;
  overflow-y: hidden;
}
#content.scroll {
  overflow-y: scroll;
}
.subnote {
  background-color: #a8a8a8;
  font-weight: bold;
}
tr.dragover {
  background-color: #5dade2 !important;
}
.verscont {
  display: inline-block;
  clear: none;
  padding: 0;
}
.verscont > button.pagechoice {
  position: absolute;
  display: inline;
  float: left;
  clear: both;
}
.verscont > .versin {
  position: absolute;
  margin-top: 0px;
}
.verscont > .versin > button.ver {
  background-color: #eee;
  color: black;
  width: auto;
  padding-left: 11px;
  padding-right: 11px;
  display: inline;
  float: left;
}
.verscont > .versin > button.ver::first-child {
  clear: left;
}
.verscont > .versin > button.ver.versel {
  background-color: #30cc73;
}
button.realsmall {
  width: auto;
  padding-left: 11px;
  padding-right: 11px;
  display: inline;
}
#pagechoose {
  background-color: white;
  width: 60%;
  margin: 0 auto;
}
.page {
  width: 100px;
  height: 180px;
  padding: 5px;
  border: 5px groove #f0f3f4;
  border-radius: 10px;
}
.page.selected {
  border: 5px groove #1c6ea4;
  border-radius: 10px;
}

.viewpage {
  width: 500px;
  height: 900px;
  clear: left;
}
div.ibd {
  background-color: white;
  border-radius: 5px;
  width: 1000px;
  margin: 0 auto;
  margin-top: 20px;
  white-space: nowrap;
  font-size: 1em;
  overflow-y: scroll;
}

div.ibd .fh td {
  padding: 0.1em;
}

div.ibd .fh tr:first-child,
.ibd .fh tr > td:first-child,
.ibd .fh tr > td.total {
  background-color: #a8a8a8;
  font-weight: bold;
}
div.ibd .ibdday:hover::after {
  content: "\f0ea";
  font-family: "FontAwesome";
  display: block;
  position: absolute;
  margin-top: -35px;
}
div.ibd .ibdall:hover::after {
  content: "\f0ea";
  font-family: "FontAwesome";
  display: block;
  position: absolute;
  margin-top: -35px;
}
.floating {
  display: inline-block;
  position: absolute;
  background-color: white;
  border-radius: 5px;
  left: 20px;
  top: 20px;
  z-index: 100;
  padding: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  overflow-y: scroll;
  max-height: 90%;
}
.floating > header {
  background-color: #a8a8a8;
  width: 100%;
}
#locs {
  left: 540px;
  height: 640px;
  overflow: hidden;
}
#inpre {
  left: 390px;
  overflow: hidden;
}
span.dirc {
  float: right;
  margin-right: 20px;
}
.dfoot {
  position: absolute;
  bottom: 10px;
  width: 100%;
}
.dragging {
  background-image: linear-gradient(90deg, silver 50%, transparent 50%), linear-gradient(90deg, silver 50%, transparent 50%), linear-gradient(0deg, silver 50%, transparent 50%), linear-gradient(0deg, silver 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 15px 2px, 15px 2px, 2px 15px, 2px 15px;
  background-position: left top, right bottom, left bottom, right top;
  animation: border-dance 1s infinite linear;
}
@keyframes border-dance {
  0% {
    background-position: left top, right bottom, left bottom, right top;
  }
  100% {
    background-position: left 15px top, right 15px bottom, left bottom 15px, right top 15px;
  }
}
.smallfloating {
  position: absolute;
  display: inline-block;
  background-color: white;
  border-radius: 5px;
  min-width: 100px;
  min-height: 100px;
  display: none;
}
#addprice {
}
#addprice:hover {
  color: #5dade2;
  cursor: pointer;
}
td.colhover {
  background-color: #5dade2;
}
.issued {
  display: inline-block;
  margin-right: 5px;
}

.issued:hover {
  background-color: #5dade2;
}
.flying {
  background-color: #5dade2;
}
.pricehistory {
  padding-left: 20px;
}
button.off {
  background-color: #777;
}
button.on {
  background-color: #239b56;
}
.new_confirm:hover,
.pv_confirm:hover,
.make_mas:hover,
.mas_topv:hover {
  color: green;
}
.indexok {
  background-color: #d5f5e3;
}
.indexnew {
  background-color: #d4e6f1;
}
.indexerr {
  background-color: #f2d7d5;
}
.payment {
  margin: 0 auto;
  margin-top: 100px;
  background-color: white;
  border-radius: 5px;
  width: 350px;
}
tr.expired {
  text-decoration: line-through;
}
tr.expiring {
  color: #c0392b !important;
}
tr.expiringsoon {
  color: #2980b9 !important;
}
.settdet {
  display: none;
}
.settdet > th {
  background-color: #aeb6bf;
}
.pvcontainer {
  width: 1150px;
  max-height: 90%;
  height: fit-content;
  overflow: scroll;
  background-color: white;
  margin: 0 auto;
  text-align: left;
}
.indecs,
.mas,
.pv {
  margin: 0 auto;
  white-space: nowrap;
}
table.mas,
table.indecs,
table.pv {
  border: 1px solid black;
}
.forchart {
  background-color: #fff;
  display: block;
  max-width: 1000px;
}
.chartcontainer {
  vertical-align: top;
  display: inline-block;
}
#consumcontainer .grid {
  display: inline-block;
}
.scr {
  height: 630px;
  overflow-y: scroll;
}
.scr::-webkit-scrollbar {
  display: none;
}
.tblfix {
  table-layout: fixed;
}
.dirs {
  float: right;
}
.invoice_pdf {
  background: url("/images/wait.gif") center center no-repeat;
  max-width: 50%;
  max-height: 80%;
}
.einvoice_pdf {
  background: url("/images/wait.gif") center center no-repeat;
  max-width: 80%;
  max-height: 80%;
}
div.notifside {
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
  -moz-transform: translateX(300px);
  -webkit-transform: translateX(300px);
  -ms-transform: translateX(300px);
  transform: translateX(300px);
}
div.notifications {
  position: absolute;
  z-index: 10003;
  right: 300px;
  top: 50px;
  width: 35px;
  height: 35px;
  font-weight: bold;
  color: #fff;
  font-size: 25px;
  padding: 5px;
  background: #c94663 url("/assets/css/images/bg01.png");
  box-shadow: inset -0.1em 0em 0.35em 0em rgba(0, 0, 0, 0.15);
  border-bottom-left-radius: 9px;
  border-top-left-radius: 9px;
}
div.notificationscontent {
  padding-left: 10px;
  background: #364050 url("/assets/css/images/bg01.png");
  text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5);
  box-shadow: inset -0.1em 0em 0.35em 0em rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.55);
  position: absolute;
  z-index: 10003;
  width: 300px;
  right: 0px;
  height: 100%;
  overflow-y: scroll;
}
div.notifvisible {
  -moz-transform: translateX(0);
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}
div.inotif {
  background-color: rgba(255, 255, 255, 0.05);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  font-size: inherit;
  margin-top: 10px;
  margin-bottom: 10px;
}
div.inotif:hover {
  background-color: rgba(244, 208, 63, 0.15);
}
span.msg1 {
  color: #cd6155;
  font-weight: bold;
}
span.msg2 {
  color: #239b56;
  font-weight: bold;
}
span.msg3 {
  color: #eeeeee;
  font-weight: bold;
}
div.btnact {
  text-align: center;
}
#script {
  display: none;
}
.delprice {
  color: red;
}
.mailsent:hover {
  background-color: #34ac67;
}
.mailsent {
  background-color: #239b56;
}
ul.editing {
  position: absolute;
  list-style-type: none;
  padding: 0;
  background: #ddd;
  min-width: 250px;
  max-height: 300px;
  overflow-y: scroll;
  z-index: 10;
}
ul.editing > li {
  padding-right: 8px;
  text-align: center;
  height: 2em;
}
ul.editing > li[contenteditable]:focus {
  outline: none;
  text-decoration: underline;
}
ul.editing > li:hover {
  background-color: #fc0;
}
ul.editing > li.selected {
  background-color: #0cf;
}
#pickclient {
  background-color: #bbb;
  display: inline-block;
  padding: 5px;
}
#forecontainer {
  overflow-x: visible;
  overflow-y: scroll;
}

.hidefirst {
  display: none;
}
.subclient {
  position: relative;
  display: inline-block;
  width: 30em;
  height: 3em;
  background-color: #d5d8dc;
  margin-bottom: 1em;
}
.subclient:hover {
  background-color: #fad7a0;
}
.subclient.issuefor {
  background-color: #cd6155;
  color: white;
}
#newbill {
  overflow-y: scroll;
  display: inline-block;
  width: 64em;
  vertical-align: top;
  margin-top: 1em;
}
#newbill .rand > div {
  display: inline-block;
}
#newbill .rand {
  display: inline-block;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
#newbill .bfield {
  width: 10em;
}
#newbill .beditfield {
  width: 25em;
  background-color: #eaecee;
}
.issuer {
  position: relative;
  display: inline-block;
  width: 30em;
  height: 3em;
  background-color: #d5d8dc;
  margin-right: 1em;
}
.issuer:hover {
  background-color: #fad7a0;
}
.issuer.issuewith {
  background-color: #5dade2;
}
.subclient:hover > div,
.issuer:hover > div {
  visibility: visible;
}
.editsubcl,
.editcl {
  position: absolute;
  display: inline-block;
  visibility: hidden;
  right: 0;
  top: 0;
}
.editsubcl:hover,
.editcl:hover {
  color: #a93226;
}
#editclform {
  display: inline-block;
  width: 30em;
}
#editsubclform .rand > div,
#editclform .rand > div {
  display: inline-block;
  vertical-align: top;
}
#editsubclform .rand,
#editclform .rand {
  width: 35em;
  display: inline-block;
  padding-top: 1em;
  padding-bottom: 1em;
}
#newbill .rand:not(.multi):not(:last-child),
#editsubclform .rand:not(:last-child),
#editclform .rand:not(:last-child) {
  border-bottom: 1px solid black;
}
#editsubclform .clfield,
#editclform .clfield {
  width: 10em;
}
#editsubclform .cleditfield,
#editclform .cleditfield {
  width: 25em;
  background-color: #eaecee;
  white-space: pre-line;
}
#subclients {
  margin-top: 1em;
  width: 32em;
  display: inline-block;
  vertical-align: top;
}
#editsubclform {
  display: inline-block;
  width: 32em;
  margin-top: 1em;
}
div[data-type="title"] {
  width: 32em;
}
div[data-type="um"] {
  width: 3em;
}
div[data-type="price"] {
  width: 6em;
}
div[data-type="quantity"] {
  width: 6em;
}
div[data-type="value"] {
  width: 6em;
}
div[data-type="vat"] {
  width: 6em;
}

#newbill .rand {
  width: 64em;
  display: inline-block;
  padding-top: 1em;
  padding-bottom: 1em;
}
#newbill .rand.head,
#newbill .rand.multi {
  width: 64em;
}
.rand.head .head,
.rand.multi .invval {
  margin-right: 2px;
}
#newbill .invval {
  background-color: #eaecee;
  white-space: pre-line;
}
.rand.multi:before {
  content: attr(data-pos) ".";
  position: relative;
  display: inline-block;
  left: -1.5em;
  text-align: right;
  width: 0px;
}
#listsubbills {
  padding-top: 1em;
  display: inline-block;
  width: 60em;
}
.rand {
  line-height: 2em;
  vertical-align: middle;
}
#listsubbills .rand {
  width: 60em;
}
#listsubbills .rand:hover {
  background-color: #fcf3cf;
}

#listsubbills .rand > div {
  display: inline-block;
}
#listsubbills .rand > div {
  width: 8em;
}
#listsubbills .rand > div.bclname {
  width: 28em;
}
#newbill .rand div.head,
#newbill div[contenteditable] {
  text-align: left;
}
#newbill .rand > div {
  vertical-align: top;
}
.addsubclient:hover {
  color: #d35400;
}
#gridcontainer {
  overflow-y: scroll;
  display: inline-block;
  width: fit-content;
  box-sizing: content-box;
  padding-right: 1em;
}
.pleasewait {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: url("/images/wait.gif") center center no-repeat #ffffff;
  z-index: 20000;
  animation: show-up 0.4s ease;
}
.pleasewait > .counter {
  font-size: 10vw;
  display: block;
  text-align: center;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  color: rgba(32, 32, 32, 0.05);
}
#content span {
  font-size: inherit;
  white-space: nowrap;
  width: fit-content;
}
.rot {
  margin-left: 0;
}
.ibdcontainer {
  overflow-x: scroll;
}
#content .form.histparams input.editfield,
#content .form.histparams textarea.editfield,
#content .form.histparams select.editfield,
#modalop .form.histparams select.editfield,
#content .form.histparams div.editfield,
#modalop .form.histparams div.editfield {
  min-width: unset;
}
.form.histparams td,
.form.histparams th {
  text-align: center;
}
.newprehide {
  display: none;
}
td.likebutton {
  cursor: pointer;
  background-color: #c94663;
  background-image: url(/assets/css/images/bg01.png);
  border-radius: 0.4em;
  text-align: center;
  box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  text-decoration: none;
  -moz-transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
  -webkit-transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
  -ms-transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
  text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.5);
}
#cart,
#barright {
  padding-left: 1em;
  background: #364050 url("/assets/css/images/bg01.png");
  position: absolute;
  z-index: 10003;
  width: 300px;
  right: 0px;
  overflow-y: scroll;
  top: 0px;
  padding-top: 1em;
  display: none;
}
div.barrightside {
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -moz-transform: translateX(260px);
  -webkit-transform: translateX(260px);
  -ms-transform: translateX(260px);
  transform: translateX(260px);
}
div.barrightsideshow {
  -moz-transform: translateX(0);
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

.intro {
  display: inline;
  width: 3%;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  overflow: hidden;
}
.intro[contenteditable] {
  height: inherit;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}
.ct {
  width: 100%;
  display: flex;
  line-height: 2.5;
}
.groupcol {
  display: inline-block;
  width: 3%;
}
.iph {
  float: left;
  width: 100%;
}
.intro.head {
  background-color: #2980b9;
  color: white;
  font-weight: bold;
}
.intro.fixed {
  background-color: #f7dc6f;
}
.intro.canedit {
  background-color: #76d7c4;
}
.ctr {
  width: 28%;
  display: inline-block;
  background-color: #5d6d7e;
  color: white;
  font-weight: bold;
}
.ct.consum > .ctr {
  background-color: #2ecc71;
}
.ct.productie > .ctr {
  background-color: #d4ac0d;
}
.ct.pzu > .ctr {
  background-color: #77abcc;
}
.ct.diff > .ctr {
  background-color: #ffffff;
}
.ct.diff > [intro] {
  background-color: #e74c3c;
  color: white;
}
.ct.diff > [intro]:empty {
  background-color: #ffffff;
  border-right: 0px;
}
.ct.intraday > .ctr {
  background-color: #9b59b6;
}
.ct.vanzare > .ctr {
  background-color: #2471a3;
}
.ct.cumparare > .ctr {
  background-color: #f39c12;
}
#pzudown,
#pzuup {
  margin-left: 2rem;
}
#iscet {
  width: 10rem;
  display: inline-block;
  border: 1px solid black;
  color: white;
  font-size: 1.5em;
  line-height: 1.5em;
}
#iscet[data-iscet="0"] {
  background: linear-gradient(90deg, #000000 50%, #ffffff 50%);
  text-align: left;
  padding-left: 1rem;
}
#iscet[data-iscet="0"]:after {
  content: "EET";
}
#iscet[data-iscet="1"] {
  background: linear-gradient(90deg, #ffffff 50%, #000000 50%);
  text-align: right;
  padding-right: 1rem;
}
#iscet[data-iscet="1"]:after {
  content: "CET";
}
.locationscontainer {
  display: inline-block;
  overflow-y: scroll;
  overflow-x: hidden;
}
.locationscontainer b {
  color: inherit;
}
.locationscontainer div.locations {
  display: inline-block;
  border: 1px solid #c1c1c1;
  margin-bottom: 10px;
  margin-right: 10px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  padding: 5px 10px 5px 10px;
}
.locationscontainer div.locations div {
  display: inline-block;
  width: 100%;
}
.locationscontainer div.locations div.label {
  text-align: left;
  margin-top: 10px;
  font-weight: bold;
}
.locationscontainer div.locations div.indexvechi,
.locationscontainer div.locations div.indexnou {
  display: inline-block;
  width: 100%;
  height: 1.7em;
  border-bottom: 1px solid #c1c1c1;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.locationscontainer div.locations div.indexnou[contenteditable] {
  text-decoration: none;
  overflow-y: hidden;
}
.locationscontainer div.button {
  visibility: hidden;
}
.locationscontainer div.button.active {
  visibility: visible;
}
.locationscontainer div.button.sent {
  background-color: #34ac67;
}
.floating.form.docs {
  overflow-y: scroll;
  overflow-x: hidden;
  padding-bottom: 5px;
}
.grouptype {
  display: inline-block;
  border: 1px solid #c1c1c1;
  margin-bottom: 10px;
  margin-right: 10px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  padding: 5px 10px 5px 10px;
  cursor: default;
}
.groupname {
  font-weight: bold;
  border-bottom: 1px solid #c1c1c1;
}
.grouptype.hasdocs {
  background-color: #b1ffd2;
}
.uploaddoc {
  display: inline-block;
  border: 1px solid #c1c1c1;
  margin: 10px 10px 10px 0;
  border-radius: 10px;
  padding: 5px 10px 5px 10px;
  float: left;
}
.doc {
  display: inline-block;
  border: 1px solid #c1c1c1;
  margin: 10px 10px 10px 0;
  border-radius: 10px;
  padding: 5px 10px 5px 10px;
  max-width: 10rem;
  word-wrap: break-word;
  text-align: center;
  float: left;
}
.uploaddoc:hover,
.doc:hover {
  color: #cd6155;
}
#fileup {
  display: none;
}
#imgframe {
  margin: 0 auto;
  background-color: white;
}
#imgframe > img {
  width: 100%;
}
.tops:hover {
  z-index: 10000;
}
.tops {
  cursor: pointer;
  background: #364050 url("/assets/css/images/bg01.png");
  position: fixed;
  top: 0;
  right: 0;
  width: calc(100% - 14em);
  height: 30px;
  display: inline-flex;
  justify-content: flex-start;
  z-index: 100;
}
.tops .topstatus {
  position: relative;
  width: fit-content;
  min-width: 2em;
  height: 2em;
  color: white;
  left: 10px;
  margin-left: 0.3em;
  padding: 0.2em;
  border: 1px solid white;
  padding: 0.2em 0.5em 0.2em 0.5em;
}
.tops .topstatus::after {
  font-family: FontAwesome;
  content: " \f0d7";
}
.tops .listitems {
  position: absolute;
  color: white;
  margin-left: 0.3em;
  left: 10px;
  top: 2em;
  border: 1px solid white;
  display: none;
}
.tops .listitems .item {
  background: #364050 url("/assets/css/images/bg01.png");
  padding: 0.2em 0.5em 0.2em 0.5em;
}
#cart .carthead {
  color: #f5b041;
  transition: font-size 0.5s;
  margin-bottom: 1em;
}
#cart.barrightsideshow .carthead {
  font-size: 300%;
}
#cart .cartitem {
  box-shadow: inset -0.1em 0em 0.35em 0em rgb(0 0 0 / 15%);
  border-bottom-left-radius: 9px;
  border-top-left-radius: 9px;
  padding: 3px;
  border-radius: 1em;
  background: #ebdef0 url("/assets/css/images/bg01.png");
  color: black;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.4em;
  position: relative;
}
#cart .delcartitem {
  display: inline-block;
  position: absolute;
  right: 1em;
  top: 0;
  color: #c94663;
}
#cart .delcartitem:hover {
  color: #3cac3c;
}
#paycontainer {
  box-shadow: inset -0.1em 0em 0.35em 0em rgb(0 0 0 / 15%);
  padding: 3em;
  background-color: white;
  border-radius: 3em;
  display: inline-flex;
}
.container {
  background-color: white;
}
.cardverified {
  display: block;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.cardverified img {
  display: inline-flex;
}
#msgcontainer {
  font-size: 2em;
  box-shadow: inset -0.1em 0em 0.35em 0em rgb(0 0 0 / 15%);
  padding: 3em;
  background-color: white;
  border-radius: 3em;
  display: inline-block;
}
.paid td {
  background-color: #cbf7de;
}
.notident td,
.notpaid td {
  background-color: #f2d7d5;
}
.paidmore td {
  background-color: #7fb3d5;
}
.searchcontainer {
  display: block;
  position: absolute;
  background-color: white;
  padding: 1em;
  width: 60%;
  height: 60%;
}
#searchbar #searchstr {
  width: 100%;
  text-align: center;
}
#searchres {
  overflow-y: scroll;
  overflow-x: scroll;
  height: calc(100% - 4em);
  width: 90%;
  display: inline-block;
  justify-content: center;
  align-items: center;
}
client {
  width: 90%;
  align-items: center;
  background-color: white;
  border-radius: 50px;
  display: inline-block;
  justify-content: center;
  padding: 1em;
  --box-shadow: -7px -7px 20px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0001, inset 0px 0px 0px 0px #fff9, inset 0px 0px 0px 0px #0001, inset 0px 0px 0px 0px #fff9, inset 0px 0px 0px 0px #0001;
  --transition: box-shadow 0.6s cubic-bezier(0.79, 0.21, 0.06, 0.81);
  border-radius: 10px;
}
client .clname {
  margin-right: 1em;
}
factura {
  padding: 0.5em;
  margin: 5px 5px 5px 5px;
  --box-shadow: -7px -7px 20px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0001, 4px 4px 5px 0px #0001, inset 0px 0px 0px 0px #fff9, inset 0px 0px 0px 0px #0001, inset 0px 0px 0px 0px #fff9, inset 0px 0px 0px 0px #0001;
  --transition: box-shadow 0.6s cubic-bezier(0.79, 0.21, 0.06, 0.81);
}
client .clname:hover {
  color: green;
  cursor: pointer;
}
factura:hover {
  color: green;
  cursor: pointer;
  box-shadow: 4px -4px 6px 0px rgba(255, 255, 255, 0.5), -4px -4px 6px 0px rgba(116, 125, 136, 0.2), inset -4px -4px 6px 0px rgba(255, 255, 255, 0.5), inset 4px 4px 6px 0px rgba(116, 125, 136, 0.3);
}
factura.paidbill {
  background-color: #cbf7de;
}
factura.partialpaidbill {
  background-color: #f5cba7;
}
#facturicontainer {
  overflow-y: scroll;
}
.sureok {
  background-color: #82e0aa;
}
td.alert {
  background-color: red;
  color: white;
  font-weight: bold;
}
td.iamreg {
  font-weight: bold;
}
td.iamreg:after {
  content: " REG";
}
.notverif {
  background-color: #7fb3d5;
}
.cliindex .idx {
  min-width: 3em;
  background-color: #ecf1f0;
  display: inline-block;
  line-height: 1;
  margin: 0;
  padding: 0;
}
.snnomatch {
  background-color: red;
}
.colsmall {
  width: 10%;
}
.fh > thead > tr > td {
  background-color: #777;
  color: white;
  font-weight: bold;
}
.resultcontainer {
  width: fit-content;
  overflow: scroll;
}
.compensare {
  background-color: #8e44ad;
  color: white;
  font-weight: bold;
}
.compbutton {
  background-color: #8e44ad;
  color: white;
  font-weight: bold;
}
.compbutton:hover {
  background-color: #a569bd;
}
#compcont {
  display: none;
}
div[contenteditable].datepicker {
  white-space: nowrap;
}
.havexml {
  background-color: #f1c3cf;
  width: fit-content;
}
.havexml.anafwait {
  background-color: #aed6f1;
}
.havexml.anaferr {
  background-color: #cd6155;
  color: white;
}
.havexml.anafok {
  background-color: #7dcea0;
}
.havexml:after {
  content: " \f1c9";
  font-family: FontAwesome;
}
doublepayment.button {
  background-color: red;
  color: white;
}
.scrollcontainer {
  display: inline-block;
}
.ptfr thead tr {
  background-color: #5d6d7e;
  color: white;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 1;
}
#chooseclient {
  display: inline-block;
  overflow-y: scroll;
  max-height: 50vh;
  background-color: white;
  list-style-type: none;
  padding: 0;
}
#chooseclient li:hover {
  background-color: #fc0;
}
.runcor:hover {
  background-color: green;
  color: white;
}
