.wrong {
  background-color: #ff6c6c;
}

.right {
  background-color: #44bb44;
}

@media print {
  *.dontprint {
    display: none;
  }
  body {
    -webkit-print-color-adjust: exact;
  }
}
@media screen {
  *.onlyprint {
    display: none;
  }
}
.hidden {
  display: none;
}

.right-align {
  text-align: right;
}

.left-align {
  text-align: left;
}

.rating1border {
  border: 2px solid #47a22b;
}

.rating2border {
  border: 2px solid #83c419;
}

.rating3border {
  border: 2px solid #cde104;
}

.rating4border {
  border: 2px solid #e1c402;
}

.rating5border {
  border: 2px solid #de6811;
}

.rating6border {
  border: 2px solid #d11e1e;
}

.rating1leftborder {
  border-left: 10px solid #47a22b;
}

.rating2leftborder {
  border-left: 10px solid #83c419;
}

.rating3leftborder {
  border-left: 10px solid #cde104;
}

.rating4leftborder {
  border-left: 10px solid #e1c402;
}

.rating5leftborder {
  border-left: 10px solid #de6811;
}

.rating6leftborder {
  border-left: 10px solid #d11e1e;
}

.rating1background {
  background-color: #47a22b;
}

.rating2background {
  background-color: #83c419;
}

.rating3background {
  background-color: #cde104;
}

.rating4background {
  background-color: #e1c402;
}

.rating5background {
  background-color: #de6811;
}

.rating6background {
  background-color: #d11e1e;
}

/* overwrite bootstrap */
table.table-hover > tbody > tr:hover {
  background-color: rgba(0, 0, 150, 0.16);
}

body {
  font-size: 17px;
  font-family: "Arial", sans-serif;
}
@media print {
  body {
    font-size: 11pt;
  }
}
body.login {
  background-image: url(img/back2025.jpg);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
body.overflow-hidden {
  overflow: hidden;
}

h1 {
  font-size: 25.5px;
}

@media print {
  table.table tbody tr th {
    border-color: black !important;
  }
  table.table tbody tr td {
    border-color: black !important;
  }
}
div.appframe {
  margin: 1.5%;
}

input.form-control {
  font-size: 17px;
}

input.datefield {
  width: 6em;
}

div.form-group {
  margin-bottom: 5px;
}
div.form-group label {
  width: 240px;
  display: inline-block;
  vertical-align: top;
}
div.form-group label.w150 {
  width: 150px;
}
div.form-group input, div.form-group select, div.form-group textarea {
  width: 300px;
  display: inline-block;
  font-size: 17px;
  height: 32.3px;
}
div.form-group input[type=checkbox], div.form-group select[type=checkbox], div.form-group textarea[type=checkbox] {
  width: 30px;
  height: 20px;
}
div.form-group input[type=file], div.form-group select[type=file], div.form-group textarea[type=file] {
  width: 400px;
}
div.form-group input.trix-button, div.form-group select.trix-button, div.form-group textarea.trix-button {
  width: inherit;
  height: inherit;
}
div.form-group textarea {
  height: 119px;
}

div.login-form {
  width: 200px;
  margin: 20px auto 0 auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
}
div.login-form div.form-group input {
  width: 150px;
}

div.messagebox {
  border-radius: 5px;
  padding: 10px;
  text-align: center;
}

h1.pageheader {
  text-align: center;
  margin-top: 10px;
}

h2 {
  margin-top: 10px;
}

img.button {
  height: 25.5px;
  margin-right: 17px;
  cursor: pointer;
}
img.button.big {
  height: 34px;
}
img.button.inactive {
  cursor: auto;
}

table > tbody > tr > td, table > tbody > tr > th, .table > tbody > tr > td, .table > tbody > tr > th {
  font-size: 17px;
  padding: 4.25px;
  vertical-align: top;
}
@media print {
  table > tbody > tr > td, table > tbody > tr > th, .table > tbody > tr > td, .table > tbody > tr > th {
    font-size: 11pt;
    padding: 2.75pt;
  }
}
table > tbody > tr > td span.contact, table > tbody > tr > th span.contact, .table > tbody > tr > td span.contact, .table > tbody > tr > th span.contact {
  font-size: 16px;
}

div.applist {
  text-align: center;
}
div.applist div.appinfo {
  text-align: center;
  cursor: pointer;
  display: inline-block;
  padding: 5px;
  border-radius: 10px;
  width: 150px;
}
div.applist div.appinfo:hover {
  background-color: lightgray;
}

.pagination {
  float: right;
  margin: 15px 0 20px 0;
}

div.toolbar {
  float: right;
  margin-bottom: 10px;
}

img.backlink {
  width: 32px;
  float: left;
}

div.simplemodal-overlay {
  background-color: black;
}

#simplemodal-container {
  box-shadow: 0 0 10px 5px #333;
  border-radius: 5px;
  width: 400px;
}

#simplemodal-container a.modalCloseImg {
  background: url(../img/buttons/close.gif) no-repeat;
  width: 25px;
  height: 29px;
  display: inline;
  z-index: 3200;
  position: absolute;
  top: 7px;
  right: 2px;
  cursor: pointer;
}

div.search {
  display: block;
  padding: 30px;
  border-radius: 5px;
  background-color: white;
  display: none;
}
div.search form input, div.search form select, div.search form button {
  width: 100%;
  padding: 3px;
  margin: 3px;
}

img.logo {
  margin: 0 auto;
}

div.export-mails {
  margin: 30px 0;
  text-align: center;
}
div.export-mails div.maillist {
  display: none;
  border: 1px solid black;
  padding: 20px;
}
div.export-mails a {
  margin-bottom: 20px;
}

div.export-csv {
  text-align: center;
}
div.export-csv a {
  margin-bottom: 20px;
}

div.message {
  position: fixed;
  bottom: 0;
  width: 100%;
  margin: 0;
  box-shadow: 0 0 20px black;
  border-radius: 0;
}
div.message div.message-close {
  width: 24px;
  height: 24px;
  cursor: pointer;
  float: right;
}

div.groupselect {
  display: none;
  background-color: white;
  padding: 20px;
}
div.groupselect ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
div.groupselect ul li {
  margin: 0;
  padding: 5px 30px;
}

div.print h1 {
  font-size: 14pt;
  font-weight: bold;
}
div.print table {
  width: 100%;
  page-break-inside: auto;
}
div.print table tbody tr.even td {
  background-color: #f7f7f7;
  font-size: 12pt;
  padding-right: 0.5cm;
}
div.print table tbody tr.odd td {
  background-color: #fff;
  font-size: 12pt;
  padding-right: 0.5cm;
}
div.print table tbody tr.adrLine {
  page-break-before: auto;
}
div.print table tbody tr.adrLine td {
  border-top: 1px solid black;
  font-size: 12pt;
  padding-right: 0.5cm;
}
div.print table tbody tr.contactLine {
  font-style: italic;
  page-break-before: avoid;
}

div.printdetails {
  font-size: 12pt;
}
div.printdetails h1, div.printdetails h2 {
  font-size: 14pt;
}
div.printdetails div.det-value {
  font-size: 12pt;
}
div.printdetails table tr td {
  font-size: 12pt;
  padding-right: 8pt;
}
div.printdetails ul li {
  border-top: 1px solid #777;
  margin-top: 8pt;
  padding-top: 8pt;
}

div.details div.details-name ul li {
  border-top: 1px solid #777;
  margin-top: 10px;
  padding-top: 10px;
}

div.ui-datepicker {
  background-color: white;
  padding: 5px;
  margin: 5px;
  border: 1px solid black;
  display: none;
}
div.ui-datepicker a.ui-datepicker-prev {
  float: left;
  text-indent: -3000px;
  display: inline-block;
  height: 22px;
  width: 22px;
  background-image: url(img/prev.png);
}
div.ui-datepicker a.ui-datepicker-next {
  float: right;
  text-indent: -3000px;
  display: inline-block;
  height: 22px;
  width: 22px;
  background-image: url(img/next.png);
}
div.ui-datepicker div.ui-datepicker-title {
  text-align: center;
}
div.ui-datepicker table.ui-datepicker-calendar tr th {
  text-align: center;
}
div.ui-datepicker table.ui-datepicker-calendar tr th span {
  display: inline-block;
  padding: 1px 5px;
}
div.ui-datepicker table.ui-datepicker-calendar tr td {
  text-align: center;
}
div.ui-datepicker table.ui-datepicker-calendar tr td.ui-datepicker-current-day {
  background-color: #ddd;
}

div#job-positions {
  width: 100%;
  padding-right: 40px;
}
div#job-positions div.job-position-frame {
  position: relative;
}
div#job-positions div.job-position-frame.pattern-group-0 {
  background-color: #fee;
}
div#job-positions div.job-position-frame.pattern-group-1 {
  background-color: #efe;
}
div#job-positions div.job-position-frame.pattern-group-2 {
  background-color: #fee;
}
div#job-positions div.job-position-frame.pattern-group-3 {
  background-color: #ffe;
}
div#job-positions div.job-position-frame.pattern-group-4 {
  background-color: #fef;
}
div#job-positions div.job-position-frame.pattern-group-5 {
  background-color: #eff;
}
div#job-positions img.pos-delete {
  width: 24px;
  float: right;
  cursor: pointer;
  position: absolute;
  bottom: 0;
  left: 0;
}

div.sidetitle {
  transform: rotate(90deg);
  transform-origin: 0 100%;
  display: inline-block;
}

table.joblist tr th {
  white-space: nowrap;
}

table.job-position {
  width: 95%;
  border-left: 10px solid #fff;
  margin-left: 5%;
}
table.job-position tr td.pos-label label {
  width: 150px;
  padding-left: 10px;
}
table.job-position tr td.pos-prodnr, table.job-position tr td.pos-prodname {
  width: 15%;
}
table.job-position tr td.pos-input.pos-prodnr {
  width: 15%;
}
table.job-position tr td.pos-input.pos-prodname {
  width: 55%;
}
table.job-position tr td.pos-input {
  white-space: nowrap;
}
table.job-position tr td.pos-input input {
  height: 1.5em;
  padding: 0 0 0 5px;
}
table.job-position tr td.pos-input input.pos-prodnr, table.job-position tr td.pos-input input.pos-amount, table.job-position tr td.pos-input input.pos-palettes {
  width: 80px;
}
table.job-position tr td.pos-input input.pos-prodnr {
  color: white;
}
table.job-position tr td.pos-input input.green {
  background-color: green;
}
table.job-position tr td.pos-input input.red {
  background-color: red;
}
table.job-position tr td.pos-input input.pos-packages {
  width: 100px;
  margin-right: 5px;
}
table.job-position tr td.pos-input input.pos-prodname {
  width: 100%;
}
table.job-position tr td.pos-input input.pos-ready {
  width: 110px;
}
table.job-position tr td.pos-input input.pos-comment {
  width: 100%;
}
table.job-position tr td select {
  height: 1.5em;
}
table.job-position tr td hr {
  border: 2px dashed #777;
}
table.job-position tr td input[type=checkbox] {
  height: inherit;
  margin-right: 0.5em;
  height: 1em;
  width: 1em;
}

fieldset {
  border: 1px solid #777;
  padding: 0 10px;
  margin-bottom: 10px;
  display: inline;
  min-width: 100%;
}
fieldset legend {
  display: inline-block;
  padding: 0 10px;
  border: 0;
  width: inherit;
  font-weight: bold;
  margin-bottom: 0;
}

div#alertbox {
  background-color: #eee;
  padding: 20px 20px 20px 20px;
  box-shadow: 0 0 10px #777;
  display: none;
  border: 1px solid black;
  z-index: 4000;
  border-radius: 5px;
}
div#alertbox div#alertmessage {
  text-align: center;
}

#simplemodal-container {
  width: 500px;
  overflow: auto;
  border-radius: 5px;
}

img.ui-datepicker-trigger {
  position: relative;
  left: 5px;
  top: -4px;
  cursor: pointer;
}

hr {
  margin-top: 10px;
  margin-bottom: 0;
}

div.jobprint input[type=checkbox], div.jobprint input[type=radio] {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  position: relative;
  top: 3px;
}
div.jobprint h2 {
  font-size: 16pt;
}

div.docket + div.docket {
  page-break-before: always;
}

div.docket {
  font-size: 11.5pt;
  height: 40mm;
}
@media screen {
  div.docket {
    display: none;
  }
}
div.docket hr.bold {
  margin: 2mm 0;
  height: 0;
  border-top: 0.3mm solid black;
  width: 100%;
  display: block;
}
div.docket div.head {
  height: 42mm;
}
div.docket div.head table {
  width: 100%;
  border: 0.7mm solid black;
  border-collapse: collapse;
  empty-cells: show;
}
div.docket div.head table tr td {
  vertical-align: top;
  border-bottom: 0.5mm solid black;
  border-left: 0.3mm solid black;
  font-size: 11.5pt;
  empty-cells: show;
}
div.docket div.head table tr td.title {
  text-align: center;
  font-weight: 900;
  text-transform: capitalize;
}
div.docket div.head table tr td.logo {
  vertical-align: middle;
  text-align: center;
  width: 25%;
}
div.docket div.head table tr td.logo img {
  width: 2.5cm;
}
div.docket div.head table tr td.doktype {
  text-align: center;
  line-height: 200%;
}
div.docket div.head table tr td.qminfo {
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  line-height: 160%;
  padding: 3mm 0;
  width: 50%;
}
div.docket div.head table tr td.qmmoreinfo {
  font-size: 9pt;
  padding: 0 2mm;
  text-align: center;
  width: 25%;
}
div.docket div.info table {
  width: 100%;
}
div.docket div.info table tr th {
  vertical-align: top;
}
div.docket div.info table tr td {
  font-size: 11.5pt;
  border-width: 0;
  padding: 0;
}
div.docket div.signarea table {
  width: 100%;
}
div.docket div.signarea table tr td {
  font-size: 11.6pt;
}
div.docket td.underline {
  border-bottom: 0.3mm dotted black;
  height: 8mm;
}
div.docket td.underline.date {
  width: 3cm;
  border-right: 0.9cm solid white;
}

div.production-list + div.production-list {
  page-break-before: always;
}

div.pagebreak {
  page-break-before: always;
}

div.production-list h1 {
  font-size: 14pt;
  border: 0.7mm solid black;
  padding: 2mm;
  font-weight: bold;
}
div.production-list h2 {
  font-size: 12pt;
  font-weight: bold;
}
div.production-list table {
  width: 100%;
  page-break-inside: auto;
}
div.production-list table tr {
  page-break-inside: avoid;
  page-break-after: auto;
}
div.production-list table tr th {
  font-size: 10pt;
  text-align: left;
  padding-right: 3mm;
  padding-bottom: 3mm;
  border-bottom: 0.5mm solid #777;
  vertical-align: top;
  white-space: nowrap;
}
div.production-list table tr th.created_at, div.production-list table tr th.amount, div.production-list table tr th.finished_at {
  width: 7%;
}
div.production-list table tr th.amount {
  text-align: right;
  padding-right: 5mm;
}
div.production-list table tr th.job_nr, div.production-list table tr th.art_nr {
  width: 5%;
}
div.production-list table tr th.packages {
  width: 6%;
  text-align: left;
}
div.production-list table tr th.comment {
  width: 100%;
  white-space: normal;
}
div.production-list table tr td {
  vertical-align: top;
  font-size: 10pt;
  padding: 2mm 5mm 2mm 0;
  white-space: nowrap;
  border-bottom: 0.3mm solid #777;
}
div.production-list table tr td.no-border {
  border-bottom-width: 0;
}
div.production-list table tr td div.dont-break {
  page-break-inside: avoid;
  display: block;
  white-space: normal;
}
div.production-list table tr td.amount {
  text-align: right;
}
div.production-list table tr td.packages {
  text-align: right;
  padding-right: 1mm;
}
div.production-list table tr td.comment {
  white-space: initial;
}
div.production-list table tr td.bold {
  font-weight: bold;
}
div#catalog input[type=text] {
  width: 320px;
  float: left;
}
div#catalog input[type=submit] {
  width: 120px;
  float: left;
}
div#catalog h1 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
div#catalog table tr td {
  padding: 0 5px 5px 0;
  line-height: 100%;
}
div#catalog table tr td a {
  font-size: 16px;
  text-decoration: underline;
  font-weight: bold;
}

a.order-head {
  padding-right: 30px;
  background-position: center right;
  background-repeat: no-repeat;
}
a.order-head.asc {
  background-image: url("img/order_desc.gif");
}
a.order-head.desc {
  background-image: url("img/order_asc.gif");
}

div.tabs {
  position: relative;
  top: 4px;
}
div.tabs div.tab {
  display: inline-block;
  border: 1px solid black;
  padding: 2px 8px;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  float: left;
  margin-right: 2px;
}
div.tabs div.tab.active {
  border-bottom: 1px solid white;
  padding-top: 5px;
  position: relative;
  top: -3px;
}
div.tabs div.tab.active span {
  position: relative;
  top: -3px;
}

div.tabpage {
  border: 1px solid #555;
  padding: 2em;
  clear: both;
  display: none;
}

table.stattable {
  font-size: 90%;
  margin: 0 auto;
}
table.stattable tr th {
  padding: 0 5px;
  font-size: 90%;
  border: 1px solid #888;
  text-align: center;
}
table.stattable tr td {
  border: 1px solid #888;
  border-collapse: collapse;
  text-align: right;
}
table.stattable tr td input.tablecell {
  border-width: 0;
  outline: none;
  width: 3em;
  text-align: right;
  padding-right: 3px;
  background-color: transparent;
  font-size: 90%;
}
table.stattable tr td.disabled {
  background-color: #eee;
}
table.stattable tr td.colsum {
  background-color: #f7f7f7;
}
table.stattable tr td span.colsum {
  width: 3em;
  display: inline-block;
  padding-right: 3px;
  text-align: right;
  color: #666;
  font-size: 90%;
}

@media print {
  table.compare tr td {
    font-size: 12px;
  }
  h3 {
    font-size: 16px;
  }
}
table.compare {
  width: 100%;
  max-width: 60em;
  margin-bottom: 2vw;
}
table.compare tr td {
  padding-right: 10px;
}
table.compare tr td.jobhead {
  border-top: 1px solid black;
}
table.compare tr td.prodamount {
  text-align: right;
}
table.compare tr td table.jobamounts {
  width: 100%;
}
table.compare tr td table.jobamounts td {
  border-width: 0;
}
table.compare tr td table.compareamounts td {
  border-width: 0;
}
table.compare tr td table.compareamounts td.amount {
  width: 6em;
  text-align: right;
}
table.compare tr td table.compareamounts td.prodnr {
  width: 5em;
}
table.compare tr td table.compareamounts td.comparesign {
  padding: 0 1em;
  width: 4em;
  text-align: center;
}
table.compare tr td table.compareamounts td.greateramount {
  font-weight: bold;
}
table.compare tr.different-amounts td {
  font-weight: bold;
  font-weight: bold;
}

div.statdiv {
  page-break-inside: avoid;
}

table.statprint {
  margin: 0 auto;
}
table.statprint tr th {
  padding: 0 5px;
  border: 1px solid #888;
  text-align: center;
  font-size: 80%;
}
table.statprint tr td {
  border: 1px solid #888;
  border-collapse: collapse;
  padding: 0 8px;
  text-align: right;
  font-size: 80%;
}
table.statprint tr td span.colsum {
  width: 3em;
  display: inline-block;
  padding-right: 3px;
  text-align: right;
  color: #666;
}
table.statprint tr td.bold {
  font-weight: bold;
}
table.statprint tr.activ th {
  background-color: #ddd;
}
table.statprint tr.activ td {
  background-color: #ddd;
}

div#statselect {
  display: none;
  background-color: white;
  padding: 20px;
}
div#statselect form input[type=checkbox] {
  width: 24px;
  height: 24px;
  position: relative;
  top: 5px;
  margin-right: 8px;
}

div#modalblock {
  background: rgba(0, 0, 0, 0.4);
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  vertical-align: middle;
}
div#modalblock div.modal-message {
  font-weight: bold;
  color: white;
  font-size: 24px;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

table.sales tr td {
  text-align: right;
  padding: 2px 20px 0 0;
}

table.print-sales tr td {
  text-align: right;
  padding: 2px 2px 0 0;
  height: 20px;
  vertical-align: middle;
}

div.blotter div.left {
  width: 48%;
  display: inline-block;
  vertical-align: top;
}
div.blotter div.left table.blotter-prods {
  width: 90%;
}
div.blotter div.left table.blotter-prods td, div.blotter div.left table.blotter-prods th {
  padding: 1px 2px;
}
div.blotter div.left table.blotter-prods input {
  width: 100%;
}
div.blotter div.left table.blotter-prods tr.one-prod {
  display: none;
}
div.blotter div.left table.blotter-prods tr#one-prod-0 {
  display: table-row;
}
div.blotter div.right {
  width: 48%;
  padding-left: 2%;
  display: inline-block;
  vertical-align: top;
  border-left: 1px solid #777;
}
div.blotter table.suggestions tr {
  cursor: pointer;
}
div.blotter table.suggestions tr th, div.blotter table.suggestions tr td {
  padding-right: 10px;
}
div.blotter table.suggestions tr:hover td {
  text-decoration: underline;
}

div.print table.blotterprint {
  border-collapse: collapse;
}
div.print table.blotterprint tr td, div.print table.blotterprint tr th {
  font-size: 13px;
  padding-right: 0.5cm;
  border-top: 1px solid black;
}
div.print table.blotterprint tr td img, div.print table.blotterprint tr th img {
  height: 1.5em;
  margin-top: 0.2em;
}
div.print table.blotterprint tr:nth-of-type(2n) td {
  background-color: #f7f7f7;
}

div.lopo-array table {
  margin: 0 auto;
  border-collapse: collapse;
}
div.lopo-array table tr td {
  border: 1px solid black;
  padding: 2px 5px;
}
div.lopo-array table tr td.left {
  text-align: left;
}
div.lopo-array table tr td.center {
  text-align: center;
}
div.lopo-array table tr td.right {
  text-align: right;
}
div.lopo-array table tr td.colheader {
  font-weight: bold;
  position: relative;
  padding-bottom: 25px;
}
div.lopo-array table tr td.groupsum {
  font-weight: bold;
}
div.lopo-array table tr td.totalsum {
  font-size: 24px;
  font-weight: bold;
}
div.lopo-array table tr th {
  padding: 1em 0 0 5px;
  border: 1px solid black;
  font-size: 24px;
}
div.lopo-array table tr th.left {
  text-align: left;
}
div.lopo-array table tr th.center {
  text-align: center;
}
div.lopo-array table tr th.right {
  text-align: right;
}

div.lopo-print h1 {
  font-size: 15px;
  font-weight: bold;
}
div.lopo-print table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 99.5%;
}
div.lopo-print table tr td {
  font-size: 13px;
  padding: 2px 5px;
  border: 1px solid black;
}
div.lopo-print table tr td.left {
  text-align: left;
}
div.lopo-print table tr td.center {
  text-align: center;
}
div.lopo-print table tr td.right {
  text-align: right;
}
div.lopo-print table tr td.colheader {
  font-weight: bold;
}
div.lopo-print table tr td.groupsum {
  font-weight: bold;
}
div.lopo-print table tr td.totalsum {
  font-size: 16px;
  font-weight: bold;
}
div.lopo-print table tr th {
  padding: 1em 0 0 5px;
  font-size: 13px;
  border: 1px solid black;
}
div.lopo-print table tr th.left {
  text-align: left;
}
div.lopo-print table tr th.center {
  text-align: center;
}
div.lopo-print table tr th.right {
  text-align: right;
}
div.lopo-print table tr:nth-of-type(2n) td {
  background-color: #f7f7f7;
}

div.prodplan h3 form {
  display: inline-block;
}
div.prodplan table.production-plan th.amount, div.prodplan table.production-plan td.amount {
  text-align: right;
}
div.prodplan table.production-plan input[type=number] {
  width: 4em;
  text-align: right;
}
div.prodplan table.production-plan input[type=submit] {
  width: 4em;
}
div.prodplan td.prefix-title {
  text-align: center;
  font-size: 18pt;
  font-weight: bold;
}

div.prodplan-print table tr td {
  font-size: 11.5pt;
}
div.prodplan-print td.prefix-title {
  text-align: center;
  font-size: 18pt;
  font-weight: bold;
}

div.prodplan-oneday div.plan-item {
  border: 1mm solid black;
  margin-bottom: 5mm;
  font-size: 15pt;
  padding: 5mm;
  display: table;
  width: 100%;
  page-break-inside: avoid;
}
div.prodplan-oneday div.plan-item span {
  font-size: 25pt;
  display: table-cell;
  width: 30%;
}
div.prodplan-oneday div.plan-item span span.head {
  font-size: 12pt;
}

div#wikilink {
  position: absolute;
  top: 0;
  right: 0;
  background-image: url(img/wiki.png);
  width: 30px;
  height: 30px;
  cursor: pointer;
}

table.subprodamounts {
  border: 1px solid #777;
  margin: 0 auto 1em auto;
}
table.subprodamounts tr td {
  text-align: right;
  white-space: nowrap;
  padding: 0 5px;
  border: 1px solid #777;
}
table.subprodamounts tr td input[type=number] {
  width: 4em;
  border: 0;
  text-align: right;
  background-color: #f0f0f0;
  padding: 2px 5px;
  -moz-appearance: textfield;
}

div.alarmlist-frame {
  text-align: center;
  display: table;
  width: 100%;
}
div.alarmlist-frame div.alarmlist {
  text-align: center;
}
div.alarmlist-frame div.alarmlist table {
  border-collapse: collapse;
  margin: 1em auto;
}
div.alarmlist-frame div.alarmlist table tr td, div.alarmlist-frame div.alarmlist table tr th {
  padding: 3px 15px;
  border: 1px solid #777;
}
div.alarmlist-frame div.alarmlist table.positions {
  margin: 0;
  background-color: #ddd;
  width: 100%;
}
div.alarmlist-frame div.alarmlist table.positions tr th, div.alarmlist-frame div.alarmlist table.positions tr td {
  border: 1px solid white;
  font-style: italic;
}

table.critical-amounts tr th, table.critical-amounts tr td {
  padding: 5px;
  vertical-align: top;
}
table.critical-amounts tr th.red a, table.critical-amounts tr td.red a {
  color: #990000;
}

table.listlimits tr td {
  font-size: 12pt;
  padding: 2pt 10pt 2pt 0;
}

table.workreportlines {
  border-collapse: collapse;
  border-width: 0;
}
table.workreportlines tr th {
  padding-left: 5px;
}
table.workreportlines tr td input, table.workreportlines tr th input {
  width: calc(100% - 8px);
  padding: 2px;
  border: 1px solid #777;
  margin: 4px;
  background-color: white;
}
table.workreportlines tr td input.valid, table.workreportlines tr th input.valid {
  background-color: #7cff4f;
}
table.workreportlines tr td input.invalid, table.workreportlines tr th input.invalid {
  background-color: #ff3737;
}
table.workreportlines tr td select, table.workreportlines tr th select {
  width: calc(100% - 8px);
  padding: 5px;
  margin: 4px;
}
table.workreportlines tr td select.valid, table.workreportlines tr th select.valid {
  background-color: #7cff4f;
}
table.workreportlines tr td select.invalid, table.workreportlines tr th select.invalid {
  background-color: #ff3737;
}
table.workreportlines tr td.inventory-nr, table.workreportlines tr th.inventory-nr {
  width: 5%;
}
table.workreportlines tr td.comment, table.workreportlines tr th.comment {
  width: 70%;
}
table.workreportlines tr td.duration, table.workreportlines tr th.duration {
  width: 8%;
}
table.workreportlines tr td.duration input, table.workreportlines tr th.duration input {
  text-align: right;
}
table.workreportlines tr td.finished, table.workreportlines tr td.verified, table.workreportlines tr td.estate, table.workreportlines tr th.finished, table.workreportlines tr th.verified, table.workreportlines tr th.estate {
  text-align: center;
  vertical-align: middle;
}
table.workreportlines tr td.finished input, table.workreportlines tr td.verified input, table.workreportlines tr td.estate input, table.workreportlines tr th.finished input, table.workreportlines tr th.verified input, table.workreportlines tr th.estate input {
  width: 1em;
  height: 1em;
}
table.workreportlines tr td table.equipment, table.workreportlines tr th table.equipment {
  width: 100%;
}
table.workreportlines tr td table.equipment tr td span, table.workreportlines tr th table.equipment tr td span {
  font-size: 0.8em;
}
table.workreportlines tr:nth-of-type(3n) {
  background-color: #eee;
}
table.workreportlines tr:nth-of-type(3n+1) table {
  background-color: #eee;
}
table.workreportlines tr:nth-of-type(3n+2) table {
  background-color: #eee;
}

div.inventory-sheet, div.tco-sheet {
  page-break-before: always;
}
div.inventory-sheet th, div.inventory-sheet td, div.tco-sheet th, div.tco-sheet td {
  font-size: 11pt;
}

table.tourtargets tr td {
  padding-right: 5px;
}
table.tourtargets tr:nth-of-type(3n) td {
  background-color: #eee;
}

table.mediagroup-results tr td {
  padding: 1px 5px;
}
table.mediagroup-results tr td input[type=checkbox] {
  width: 1.3em;
  height: 1.3em;
  position: relative;
  bottom: 3px;
}

img.selection-button {
  width: 35px;
  height: 35px;
  margin: 0 15px;
  padding: 3px;
  border: 1px solid #333;
  border-radius: 5px;
  cursor: pointer;
}

div.storage {
  margin: -2%;
}
div.storage h1 {
  text-align: center;
  background-color: #777;
  color: white;
  font-size: 3.25vw;
  font-weight: bold;
  border-bottom: 1px solid #444;
  padding: 2vh 0;
}
div.storage h1 img {
  height: 5vw;
  width: auto;
  float: left;
  margin-left: 1vw;
  margin-top: -0.7vw;
}

div.function-select-frame {
  display: table;
  margin-top: 10vw;
  width: 80vw;
  margin-left: 10vw;
}
div.function-select-frame div.function-select {
  width: 100%;
  display: table-row;
}
div.function-select-frame div.function-select div.function-button {
  display: table-cell;
  width: 32vw;
  height: 30vh;
  background-color: #bbb;
  color: black;
  font-size: 5vw;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border-left: 0.5vw solid #eee;
  border-top: 0.5vw solid #eee;
  border-right: 0.5vw solid #777;
  border-bottom: 0.5vw solid #777;
  cursor: pointer;
}

div.function-col {
  width: 32.5vw;
  display: inline-block;
  vertical-align: top;
  padding: 0.2vw;
}
div.function-col label {
  font-size: 2.5vw;
  font-weight: bold;
  width: 40%;
  display: inline-block;
  clear: both;
}
div.function-col span.multiplier {
  font-size: 2.5vw;
  margin-left: 2vw;
  font-weight: bold;
}
div.function-col input {
  font-size: 2.5vw;
  font-weight: bold;
  width: 57%;
  display: inline-block;
  margin-bottom: 3vh;
  padding: 0 0.5vw;
  border-width: 0;
  background-color: #ddd;
  outline: 0;
}
div.function-col input.selected {
  background-color: #a00;
  color: white;
}
div.function-col input[type=checkbox] {
  appearance: none;
  width: 1.2em;
  height: 1.2em;
  background-image: url("img/storage_checkbox_back.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
  background-color: transparent;
  margin-bottom: 0;
  position: relative;
  top: 0.5vw;
  outline: none;
}
div.function-col input[type=checkbox]:checked {
  background-image: url("img/storage_checkbox_checked.png");
}
div.function-col h2 {
  margin: 0 0 1vw 0;
  font-size: 2.5vw;
  font-weight: bold;
}
div.function-col div.storage-product-info {
  font-size: 1.75vw;
  font-weight: bold;
  padding: 5px;
  padding-top: 0;
  border-bottom: 1px solid #333;
  margin-bottom: 1vw;
  color: #a00;
}
div.function-col div.storage-content {
  overflow: auto;
  height: 85vh;
}
div.function-col div.storage-content table {
  width: 100%;
}
div.function-col div.storage-content table tr th {
  padding: 0 1vh;
}
div.function-col div.storage-content table tr td {
  padding: 0 1vh;
  font-size: 2vw;
  font-weight: bold;
}
div.function-col div.storage-content table tr:nth-of-type(4n) td {
  background-color: #bbb;
}
div.function-col div.storage-content table tr:nth-of-type(4n-1) td {
  background-color: #bbb;
}
div.function-col div.submit-cancel-button {
  width: 31.5vw;
  color: white;
  font-size: 2.5vw;
  font-weight: bold;
  padding: 5vh 0;
  margin-top: 2vh;
  text-align: center;
  position: absolute;
  bottom: 2vh;
}
div.function-col div.submit-cancel-button#submit-button {
  background-color: #090;
}
div.function-col div.submit-cancel-button#submit-button.disabled {
  background-color: #ddd;
}
div.function-col div.submit-cancel-button#cancel-button {
  background-color: #a00;
}
div.function-col div.commission-disposal {
  width: 100%;
  color: white;
  font-size: 2.5vw;
  font-weight: bold;
  padding: 5vh 0;
  margin-top: 2vh;
  text-align: center;
  bottom: 2vh;
  background-color: #090;
}
div.function-col div#scroll-down-arrow {
  position: absolute;
  background-position: top center;
  background-image: url(img/red_down.png);
  background-repeat: no-repeat;
  background-size: 100% 4vh;
  z-index: 10000;
  right: 3vw;
  bottom: 0;
  height: 4vh;
  width: 30%;
  display: none;
}

div.input-field table {
  width: 100%;
}
div.input-field table tr td {
  font-size: 2.5vw;
  font-weight: bold;
  width: 18%;
  height: 8vh;
  border: 1px solid black;
  text-align: center;
  padding: 0.3125vw 0;
  cursor: pointer;
  vertical-align: middle;
}
div.input-field table tr td.last-used {
  background-color: #a00;
  color: white;
}
div.input-field table tr td img {
  width: 2.5vw;
  height: auto;
}
div.input-field table tr td.number {
  height: 10.5vh;
}

div.options-table-frame {
  background-position: top center;
  background-image: url(img/red_down.png);
  background-repeat: no-repeat;
  background-size: 100% 4vh;
  padding-top: 4vh;
}
div.options-table-frame div#options-table {
  border: 1px solid black;
  width: 100%;
}
div.options-table-frame div#options-table table#options {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}
div.options-table-frame div#options-table table#options tr td {
  text-align: center;
  width: 50%;
  border: 1px solid black;
  font-weight: bold;
  font-size: 2.5vw;
  overflow: hidden;
}
div.options-table-frame div#options-table table#options tr td:first-of-type {
  border-left: 0;
}
div.options-table-frame div#options-table table#options tr td:last-of-type {
  border-right: 0;
}
div.options-table-frame div#options-table table#options tr td.selected {
  background-color: #2e6da4;
  color: white;
}
div.options-table-frame div#options-table table#options tr td.commission-job {
  color: #318616;
}
div.options-table-frame div#options-table table#options tr:first-of-type td {
  border-top: 0;
}
div.options-table-frame div#options-table table#options tr:last-of-type td {
  border-bottom: 0;
}
div.options-table-frame div#options-table ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
div.options-table-frame div#options-table ul li {
  font-size: 2.5vw;
  padding: 0.3125vw;
}
div.options-table-frame div#options-table ul li.selected {
  background-color: #a00;
  color: white;
  font-weight: bold;
}

div#storage-message-block {
  display: none;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  top: 0;
  left: 0;
}
div#storage-message-block div#storage-message {
  height: 40vh;
  background-color: #23527c;
  color: white;
  width: 80vw;
  box-shadow: 0 0 10px #000;
  position: absolute;
  left: 10vw;
  top: 25vh;
  z-index: 100;
}
div#storage-message-block div#storage-message table {
  width: 100%;
  height: 100%;
}
div#storage-message-block div#storage-message table tr td {
  width: 100%;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-size: 3.75vw;
}

div#amount-selector-frame {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: none;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
div#amount-selector-frame div {
  display: table-row;
}
div#amount-selector-frame div div#amount-selector-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 100vw;
  height: 100vh;
}
div#amount-selector-frame div div#amount-selector-content table {
  display: inline-block;
  border: 1px solid black;
  background-color: white;
  box-shadow: 0 0 10px #000;
}
div#amount-selector-frame div div#amount-selector-content table tr td {
  font-weight: bold;
  font-size: 2.5vw;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  vertical-align: middle;
  line-height: 5.5vw;
  width: 18vw;
}
div#amount-selector-frame div div#amount-selector-content table tr td#move-button {
  background-color: #23527c;
  color: white;
}
div#amount-selector-frame div div#amount-selector-content table tr td#move-button.disabled {
  background-color: #eee;
}
div#amount-selector-frame div div#amount-selector-content table tr td#deposit-button, div#amount-selector-frame div div#amount-selector-content table tr td#increase-button {
  background-color: #00aa00;
  color: white;
}
div#amount-selector-frame div div#amount-selector-content table tr td#deposit-button.disabled, div#amount-selector-frame div div#amount-selector-content table tr td#increase-button.disabled {
  background-color: #eee;
}
div#amount-selector-frame div div#amount-selector-content table tr td span {
  font-size: 3.75vw;
  display: inline-block;
  border-radius: 3.75vw;
  background-color: #0a0;
  color: white;
  width: 5vw;
  height: 5vw;
  vertical-align: center;
  position: relative;
  text-decoration: none;
  top: 0.8vh;
}
div#amount-selector-frame div div#amount-selector-content table tr td:last-of-type {
  border-right: 0;
}
div#amount-selector-frame div div#amount-selector-content table tr td.selected {
  background-color: #aaa;
}
div#amount-selector-frame div div#amount-selector-content table tr:last-of-type td {
  border-bottom: 0;
}

div#free-amount-selector-frame {
  position: absolute;
  width: 100vw;
  height: 100vh;
  display: none;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}
div#free-amount-selector-frame div {
  display: table-row;
}
div#free-amount-selector-frame div div#free-amount-selector-content {
  display: table-cell;
  width: 100vw;
  height: 100vh;
  vertical-align: top;
  padding-top: 2vw;
  text-align: center;
}
div#free-amount-selector-frame div div#free-amount-selector-content table {
  display: inline-block;
  box-shadow: 0 0 10px #000;
  background-color: white;
}
div#free-amount-selector-frame div div#free-amount-selector-content table tr td {
  width: 17vw;
  height: 9vh;
  text-align: center;
  padding: 1vw 0;
  vertical-align: middle;
  font-weight: bold;
  font-size: 3.3vw;
  border: 1px solid black;
}

div#move-selector-outerframe {
  display: none;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(127, 127, 127, 0.5);
  z-index: 2000;
}
div#move-selector-outerframe div#move-selector-innerframe {
  display: table-row;
  height: 100vh;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-selector {
  display: table-cell;
  width: 100vw;
  height: 100vh;
  vertical-align: middle;
  text-align: center;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-selector h1 {
  font-weight: bold;
  font-size: 2.5vw;
  padding: 0.3vw 5vw;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-selector div#move-letterfield {
  width: 30vw;
  display: inline-block;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-selector div#move-storage-list {
  width: 30vw;
  height: 50vh;
  display: inline-block;
  overflow: auto;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-selector table.buttons {
  width: 64vw;
  margin: 0 auto;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-selector table.buttons tr td {
  width: 50%;
  color: white;
  font-weight: bold;
  line-height: 5.5vw;
  font-size: 2.5vw;
  padding: 0.1vw 5vw;
}
div#move-selector-outerframe div#move-selector-innerframe label {
  font-size: 2.5vw;
  font-weight: bold;
  float: left;
}
div#move-selector-outerframe div#move-selector-innerframe input#input-umlagerung-ziel, div#move-selector-outerframe div#move-selector-innerframe input#input-umlagerung-job, div#move-selector-outerframe div#move-selector-innerframe input#input-umlagerung-charge, div#move-selector-outerframe div#move-selector-innerframe input#input-umlagerung-weight {
  font-size: 2.5vw;
  font-weight: bold;
  width: 100%;
  display: inline-block;
  padding: 0 0.5vw;
  border-width: 0;
  background-color: #ddd;
  outline: 0;
}
div#move-selector-outerframe div#move-selector-innerframe input#input-umlagerung-ziel.selected, div#move-selector-outerframe div#move-selector-innerframe input#input-umlagerung-job.selected, div#move-selector-outerframe div#move-selector-innerframe input#input-umlagerung-charge.selected, div#move-selector-outerframe div#move-selector-innerframe input#input-umlagerung-weight.selected {
  background-color: #a00;
  color: white;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-storage-list, div#move-selector-outerframe div#move-selector-innerframe div#move-job-list {
  padding-top: 6px;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-storage-list ul, div#move-selector-outerframe div#move-selector-innerframe div#move-job-list ul {
  list-style-type: none;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-storage-list ul li, div#move-selector-outerframe div#move-selector-innerframe div#move-job-list ul li {
  text-align: left;
  border-left: 1px solid #777;
  border-right: 1px solid #777;
  border-top: 1px solid #777;
  font-size: 2vw;
  padding: 2px 10px;
  font-weight: bold;
}
div#move-selector-outerframe div#move-selector-innerframe div#move-storage-list ul li:last-of-type, div#move-selector-outerframe div#move-selector-innerframe div#move-job-list ul li:last-of-type {
  border-bottom: 1px solid #777;
}

div.storagelist table {
  width: 100%;
}
div.storagelist table tr td {
  background-color: transparent;
}
div.storagelist table tr td.left {
  text-align: left;
}
div.storagelist table tr td.right {
  text-align: right;
}
div.storagelist table tr td.bold {
  font-weight: bold;
}
div.storagelist table tr.groupheader th {
  border-top: 1px solid #777;
}

table.parameter-table tr td {
  padding: 2px;
}

div.recipe-title {
  font-weight: bold;
  padding: 0 6px;
  border-bottom: 1px solid #333;
  margin-bottom: 6px;
}

div.ingredients-list table {
  width: 90%;
  margin: 0 auto 10px auto;
}
div.ingredients-list table th.linenr, div.ingredients-list table td.linenr {
  width: 5%;
}
div.ingredients-list table th.product-or-ingredient, div.ingredients-list table td.product-or-ingredient {
  width: 30%;
}
div.ingredients-list table th.product-or-ingredient input, div.ingredients-list table td.product-or-ingredient input {
  width: 70%;
  display: inline-block;
}
div.ingredients-list table th.product-or-ingredient input[type=button], div.ingredients-list table td.product-or-ingredient input[type=button] {
  width: 29.9%;
  display: inline-block;
}
div.ingredients-list table th.product-or-ingredient input.recipe, div.ingredients-list table td.product-or-ingredient input.recipe {
  border-color: #29bd18;
  background-color: #bbeac0;
}
div.ingredients-list table th.product-or-ingredient input.product, div.ingredients-list table td.product-or-ingredient input.product {
  border-color: #337ab7;
  background-color: #eff5fa;
}
div.ingredients-list table th.product-or-ingredient select, div.ingredients-list table td.product-or-ingredient select {
  width: 70%;
  display: inline-block;
}
div.ingredients-list table th.product-or-ingredient span, div.ingredients-list table td.product-or-ingredient span {
  width: 29.9%;
  display: inline-block;
}
div.ingredients-list table th.amount, div.ingredients-list table td.amount {
  width: 15%;
}
div.ingredients-list table th.unit, div.ingredients-list table td.unit {
  width: 7%;
}
div.ingredients-list table th.unit span, div.ingredients-list table td.unit span {
  width: 100%;
  padding: 5px;
}
div.ingredients-list table th.comment, div.ingredients-list table td.comment {
  width: 38%;
}
div.ingredients-list table th.delete, div.ingredients-list table td.delete {
  width: 5%;
}
div.ingredients-list table td input, div.ingredients-list table td select, div.ingredients-list table td textarea {
  width: 100%;
  font-size: 20px;
  padding: 0 6px;
}
div.ingredients-list table td textarea {
  height: 4em;
  resize: vertical;
  margin-bottom: 10px;
}

table.diffTable {
  width: 100%;
}
table.diffTable td.diffRecipeLines {
  vertical-align: top;
  width: 40%;
}
table.diffTable td.diffDiffs {
  width: 60%;
  padding: 2px 5px;
  white-space: nowrap;
}
table.diffTable td.diffDiffs.product {
  color: #337ab7;
}
table.diffTable td.diffDiffs.ingredient {
  color: #29bd18;
}
table.diffTable td.with-icon {
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 1em;
  padding-left: 2em;
}
table.diffTable td.with-icon.less {
  background-image: url(../apps/chemistry/assets/icons/diffLess.png);
}
table.diffTable td.with-icon.more {
  background-image: url(../apps/chemistry/assets/icons/diffMore.png);
}
table.diffTable td.with-icon.minus {
  background-image: url(../apps/chemistry/assets/icons/diffMinus.png);
}
table.diffTable td.with-icon.plus {
  background-image: url(../apps/chemistry/assets/icons/diffPlus.png);
}
table.diffTable table.versionLines td {
  padding: 2px 5px;
}
table.diffTable table.versionLines td.product {
  color: #337ab7;
}
table.diffTable table.versionLines td.recipe {
  color: #29bd18;
}

table.resolve-result {
  border-top: 0;
  width: 100%;
}
table.resolve-result table {
  width: 100%;
}
table.resolve-result tr td {
  padding: 2px 6px;
  white-space: nowrap;
}
table.resolve-result tr td.buffer100 {
  width: 100%;
}
table.resolve-result.level_1 {
  background-color: white;
}
table.resolve-result.level_1 tr td {
  border-top: 1px solid black;
}
table.resolve-result.level_1 tr.no-top-border td {
  border-top: 0;
}
table.resolve-result.level_2 {
  background-color: #eee;
}
table.resolve-result.level_2 tr td {
  border-top: 0;
}
table.resolve-result.level_3 {
  background-color: #ddd;
}
table.resolve-result.level_4 {
  background-color: #ccc;
}
table.resolve-result.level_5 {
  background-color: #bbb;
}
table.resolve-result.level_6 {
  background-color: #aaa;
}
table.resolve-result.level_7 {
  background-color: #999;
}

tr.ingredient-row td {
  color: #23537b;
}

tr.recipe-row td {
  color: #1f7b15;
}

tr.signed-recipe td {
  color: #1f7b15;
}

tr.unsigned-recipe td {
  color: #aa0000;
}

table.analyse-result tr td {
  padding: 0 5px;
}

input.red-border {
  border-color: red;
  box-shadow: 0 0 4px red;
}

div.commission-note {
  page-break-before: always;
  page-break-after: always;
  height: 23cm;
  width: 17cm;
  margin: 3cm auto 0 auto;
  border: 1px solid black;
  text-align: center;
  vertical-align: middle;
}
div.commission-note div.commission-nr {
  font-size: 6.5cm;
  transform: rotate(-90deg);
  position: relative;
  left: -4cm;
  top: 9cm;
  white-space: nowrap;
}
div.commission-note table {
  width: 23cm;
  transform: rotate(-90deg);
  position: relative;
  top: -1cm;
}
div.commission-note table tr td {
  padding: 0.1cm 0.5cm;
  width: 50%;
  text-align: left;
  font-size: 1cm;
  white-space: nowrap;
}

trix-toolbar {
  width: 102%;
}

div.settingsgroup {
  text-align: left;
  border: 2px solid #ddd;
  padding: 0 3vw 1em;
  border-radius: 2vw;
  margin-bottom: 2vw;
}

span.tox-statusbar__branding {
  visibility: hidden;
}

option.referenced {
  padding-left: 30px;
  background-position: top 1px left 5px;
  background-repeat: no-repeat;
  background-size: 0.9em;
  background-image: url(img/lock.png);
}

option.not-referenced {
  padding-left: 30px;
}

.rawmaterial-invalid {
  background-color: rgb(169, 7, 7);
  color: white;
  border: 0;
}

.rawmaterial-valid {
  background-color: rgba(0, 100, 0, 0.5);
  border: 0;
}

div#shippmentinfo-items table tr td, div#shippmentinfo-items table tr th {
  white-space: nowrap;
}
div#shippmentinfo-items table tr td.white-background, div#shippmentinfo-items table tr th.white-background {
  background-color: white;
}
div#shippmentinfo-items table tr td.grey-background, div#shippmentinfo-items table tr th.grey-background {
  background-color: #eee;
}
div#shippmentinfo-items table tr td input, div#shippmentinfo-items table tr th input {
  width: 100%;
}
div#shippmentinfo-items table tr td.perc5, div#shippmentinfo-items table tr th.perc5 {
  width: 5%;
}
div#shippmentinfo-items table tr td.no-input, div#shippmentinfo-items table tr th.no-input {
  padding: 8px;
}
div#shippmentinfo-items table tr.white-background {
  background-color: white;
}
div#shippmentinfo-items table tr.grey-background {
  background-color: #eee;
}

td#agency-proposals ul {
  list-style-type: none;
}
td#agency-proposals ul li a {
  display: block;
}
td#agency-proposals ul li a.favorite {
  font-weight: bold;
  border-bottom: 1px solid #555;
  padding-bottom: 3px;
  margin-bottom: 3px;
}

table.shippinginfos {
  white-space: nowrap;
  border-collapse: collapse;
  width: 100%;
}
table.shippinginfos tr td {
  font-size: 1.8vw;
  text-align: left;
  border-left: 1px dotted #555;
  border-right: 1px dotted #555;
}
table.shippinginfos tr td table.gatebuttons {
  width: 100%;
}
table.shippinginfos tr td table.gatebuttons tr td {
  border: 0;
}
table.shippinginfos tr td table.gatebuttons tr td button {
  width: 100%;
  padding: 0;
  font-size: 2em;
  font-weight: bold;
  line-height: 120%;
}
table.shippinginfos tr td table.gatebuttons tr td button:disabled {
  background-image: url(img/deadbutton.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
table.shippinginfos tr th {
  font-size: 1.8vw;
  text-align: left;
  border-left: 1px dotted #555;
  border-right: 1px dotted #555;
}
table.shippinginfos tr:nth-of-type(2n) td {
  border-bottom: 2px solid #555;
}
table.shippinginfos tr:nth-of-type(2n) th {
  border-bottom: 2px solid #555;
}
table.shippinginfos tr:first-of-type th {
  border-top: 2px solid #555;
}
table.shippinginfos.leftinfos tr td {
  border-bottom: 1px solid #555;
  border-right: 0;
  border-left: 0;
}
table.shippinginfos.leftinfos tr th {
  border-bottom: 1px solid #555;
  border-right: 0;
  border-left: 0;
}
table.shippinginfos.leftinfos tr.selected {
  background-color: #ff7474;
}
table.shippinginfos.leftinfos tr:first-of-type th {
  border-top: 1px solid #555;
}

table.shippingheader {
  margin-bottom: 1vw;
}
table.shippingheader tr td {
  font-size: 1.8vw;
  text-align: left;
  padding: 0;
  font-weight: bold;
  padding-left: 1vw;
}

h1.shipping {
  margin: 0 0 0.5em 0;
  font-size: 2vw;
  font-weight: bold;
}

div#storageselector-frame {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  display: none;
}
div#storageselector-frame div#storageselector {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  display: table;
}
div#storageselector-frame div#storageselector > div {
  display: table-row;
}
div#storageselector-frame div#storageselector > div > div {
  display: table-cell;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  vertical-align: middle;
}
div#storageselector-frame div#storageselector p#storageselector-content {
  background-color: white;
  border: 1px solid black;
  width: 60%;
  box-shadow: 0 0 30px black;
  margin: 0 auto;
  font-size: 1.8vw;
  padding: 3vw;
  font-weight: bold;
}
div#storageselector-frame div#storageselector p#storageselector-content div.storage-button {
  width: 100%;
  background-color: #ccc;
  border-radius: 0.5vw;
  border: 1px solid black;
  color: black;
  padding: 1.5vw;
  font-size: 1.8vw;
  text-align: center;
  cursor: pointer;
}
div#storageselector-frame div#storageselector p#storageselector-content ul {
  list-style-type: none;
  padding-left: 0;
}
div#storageselector-frame div#storageselector p#storageselector-content ul li {
  margin: 0.5vw 0;
}
div#storageselector-frame div#storageselector p#storageselector-content ul input[type=checkbox] {
  -webkit-appearance: none;
}
div#storageselector-frame div#storageselector p#storageselector-content ul input[type=checkbox] + label {
  width: 100%;
  padding: 0.5vw;
  border-radius: 0.3vw;
  background-color: #bbb;
  color: black;
}
div#storageselector-frame div#storageselector p#storageselector-content ul input[type=checkbox] + label::before {
  width: 2em;
  height: 1.4em;
  background-image: url(img/checkbox_unchecked.png);
  display: block;
  background-size: 1.3em;
  background-position: center;
  content: "";
  float: left;
  background-repeat: no-repeat;
}
div#storageselector-frame div#storageselector p#storageselector-content ul input[type=checkbox]:checked + label {
  background-color: #33dd33;
}
div#storageselector-frame div#storageselector p#storageselector-content ul input[type=checkbox]:checked + label::before {
  background-image: url(img/checkbox_checked.png);
}

tr.lossline td {
  color: #de6b6b;
}

dialog.pos-dialog {
  box-shadow: 7px 7px 7px black;
  border-width: 0;
  font-size: 2vw;
  color: black;
  font-weight: bold;
}
dialog.pos-dialog a {
  display: block;
  text-decoration: none;
  background-color: #f7f7f7;
  margin: 10px;
  border: 3px solid black;
  padding: 5px 40px;
  color: black;
  text-align: center;
}
dialog.pos-dialog hr {
  border-width: 5px;
  border-color: black;
  margin: 30px 0;
}

span.document-counter {
  position: relative;
  margin-right: 10px;
  cursor: pointer;
}
span.document-counter span.document-counter-content {
  display: inline-block;
  min-width: 34px;
  margin-right: -45px;
  text-align: center;
  position: relative;
  top: 4px;
  left: -45px;
  font-size: 12px;
  cursor: pointer;
}

button.export-done {
  background-image: url(img/valid_yes.png);
  background-repeat: no-repeat;
  background-position: center right 10px;
  background-size: 1em;
}

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