/*region general table rules */
table tbody tr.heading td {
  font-size: 16px;
  background-color: #dbedf1;
  color: #555;
  border: none;
}

th {
  font-weight: normal;
}

.led-table2 {
  color: #333;
}

.table-cell {
  border-bottom: 1px solid #ddd;
  padding: 1ex;
}

.table-input {
  border: none;
  border-bottom: 1px solid transparent;
  padding: 10px;
}

.table-input:disabled {
  border-bottom-color: transparent;
}

.add-row-btn:disabled,
.remove-row-btn:disabled {
  display: none;
}

.table-row-hr {
  color: #e0e0e0;
  margin: 0;
}

.table-caption-header {
  /* remove excessive margin when you want to use h3 style for table captions */
  margin-top: 0;
}

@media (max-width: 768px) {
  .table-row {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #aaa;
  }

  .table-cell {
    flex: 1 200px;
    border: 1px solid #eee;
  }

  .table-cell::before {
    content: attr(data-cell-header) ":";
    margin-right: 1ex;
    font-weight: bold;
  }
}

.td-icon-error {
  background: transparent url("/assets/ctx/f2163199/layout/images/ico-validate-error.png") 50% 50% no-repeat;
  background-size: 16px;
}

.td-icon-ok {
  background: transparent url("/assets/ctx/3be419a9/layout/images/ico-ok.png") 50% 50% no-repeat;
  background-size: 16px;
}

.cellDataError {
  --bs-table-bg: #fff7c3;
  color: red;
  background-image: none;
}

.cellDataWarning {
  --bs-table-bg: #fff7c3;
  color: black;
}

.th-error {
  --bs-table-bg: #e98273;
}

.th-warning {
  --bs-table-bg: #edc289;
}

.th-ok {
  --bs-table-bg: #aed29b;
}

.th-ok a,
.th-error a {
  color: #fff;
}

/*region Data Grid sorting icons*/
th[data-grid-column-sort] a {
  /* no sorting */
  background: right 0 top 50% url("/assets/ctx/b517ee5e/layout/images/ico-sort-nosort.png") no-repeat;
  padding-right: 10px;
  background-size: 6px;
}

th[data-grid-column-sort="ascending"] a {
  background: url("/assets/ctx/60e4d3e8/layout/images/ico-sort-descending.png") right 0 top 50% no-repeat;
  background-size: 7px;
}
th[data-grid-column-sort="descending"] a {
  background: url("/assets/ctx/1b67db82/layout/images/ico-sort-ascending.png") right 0 top 50% no-repeat;
  background-size: 7px;
}
/*endregion*/
/*endregion*/

/*region table utility selectors */
.openDet {
  height: 5px;
  background-color: #ebf4fb;
}

.openDetHdr .accName {
  font-size: 12px;
  height: 22px;
  line-height: 22px;
  font-weight: bold;
  float: left;
}

.report-details {
  max-height: 300px;
  overflow-y: scroll;
  border: 1px solid #efefef;
  margin-bottom: 10px;
}

.subSelected {
  height: 3px;
  background-color: #ffa800;
  padding: 0 4px;
  width: 135px;
  border-bottom: 2px solid #db800a;
  border-radius: 5px;
  -moz-border-radius: 5px;
}

.subNotSelected {
  padding: 0 4px;
  width: 135px;
  height: 5px;
}

/*region .hiddenRow + .drawBorderTopInChrome - Deprecated */
.hiddenRow {
  border: 0 !important;
}

.hiddenRow td {
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.hiddenRow td:before {
  display: none !important;
}

.hiddenRow td .relative {
  position: relative;
}

.hiddenRow td .removeRowLinkContainer {
  position: absolute;
  top: 0.5em;
  right: 5px;
}

@media (max-width: 900px) {
  .hiddenRow td .removeRowLinkContainer {
    top: 18px;
  }

  .hiddenRow td .removeRowLinkContainer a {
    float: right;
  }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
  .drawBorderTopInChrome {
    border-bottom: 1px solid #ddd;
  }
}

@-moz-document url-prefix() {
  .drawBorderTopInChrome {
    border-bottom: none;
  }
}
/*endregion*/

.rowDragHandle {
  display: inline-block;
  height: 16px;
  width: 16px;
  border-radius: 8px;
  background: url("/assets/ctx/8fc0fdd2/layout/images/ico-order-rows.png") 50% 50% no-repeat;
  background-size: 8px;
  margin: 0 -2px -2px 10px;
}

@media screen and (max-width: 768px) {
  .rowDragHandle {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  .vatPcInputWidth {
    width: 105px;
  }
}

/*endregion*/

/*region .td-tooltip */
.td-tooltip-wrapper {
  position: absolute;
  visibility: hidden;
  margin-top: 1.5em;
  margin-left: 3em;
}

.cellDataToolTip:hover .td-tooltip-wrapper,
.cellDataWarning:hover .td-tooltip-wrapper,
.cellDataError:hover .td-tooltip-wrapper {
  visibility: visible;
}

.cellDataToolTip {
  --tooltip-text-color: var(--tooltip-black);
  --tooltip-border-color: var(--tooltip-black);
}

.td-tooltip {
  display: block;
  position: relative;
  right: 2px;
  min-width: 20rem;
  max-width: 40rem;
  background: white;
  text-align: left;
  border-width: 2px;
  border-style: solid;
  border-radius: 4px;
  padding: 0.5rem;
  white-space: normal;
}

.td-tooltip-error {
  color: var(--tooltip-red);
  border-color: var(--tooltip-red);
}

.td-tooltip-warning {
  color: var(--tooltip-orange);
  border-color: var(--tooltip-orange);
}

/*endregion*/

/*region .table-resizable modifier*/
.table-resizable {
  width: max-content;
}

.table-resizable > tbody > tr > td {
  border: 1px solid var(--col-table-border-color);
}

.table-resizable > tbody > tr > .resizable-col {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.th-resizable > .th-label {
  width: 2rem;
  overflow: visible;
  white-space: nowrap;
}

.th-resizable {
  resize: horizontal;
  overflow: hidden;
  white-space: nowrap;
}
/*endregion*/

/*region .led-table*/

.led-table tr {
  border-bottom: 0;
}

.led-table > :not(:last-child) > :last-child > * {
  border-bottom-color: var(--col-table-border-color);
}

.led-table > thead > tr > th:not(:last-child) {
  border-right: 1px solid var(--col-table-border-color);
}

.led-table > thead {
  background: var(--col-table-header-bg);
  border: 1px solid var(--col-table-border-color);
}

.led-table > thead > tr > th,
.led-table2 > tbody > tr > td {
  padding: 0.75rem 0.5rem;
}

.led-table2 > tbody > tr > .td-icon-container {
  --icon-padding: 4px;
  padding: calc(0.75rem - var(--icon-padding)) calc(0.5rem - var(--icon-padding));
}

.td-icon-container > * {
  display: inline-block;
  width: calc(16px + (var(--icon-padding) * 2));
  height: calc(16px + (var(--icon-padding) * 2));
  transition: all 0.2s;
}

/*endregion*/

/*region AccountingReportTable / .report-Table4 */
div.acRepCont1 {
  position: relative;
}

.second-scroll-container {
  position: fixed;
  bottom: 0;
  right: auto;
  max-width: 70%;
  height: 17px;
  overflow-x: scroll;
  overflow-y: hidden;
}

.accountingReportContainer.fixedReportLayout {
  box-sizing: border-box;
  z-index: 20;
  overflow-x: scroll;
  overflow-y: visible;
  margin-left: 25%;
  float: right;
  max-width: 70%;
  background-color: #fff;
  padding-bottom: 1px;
  width: auto;
  border-right: 1px solid #c8c8c8;
  border-left: 2px solid #ddd;
}

.accountingReportContainer.variable-report-layout .report-table4 {
  width: 100%;
  border: 1px solid #c8c8c8;
  margin-top: 0;
  overflow: hidden;
}
.accountingReportContainer.variable-report-layout .second-scroll-container {
  display: none;
}

.accountingReportContainer.fixedReportLayout .report-table4 .fixedColumn {
  position: absolute;
  width: 100%;
  left: 0;
  top: auto;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  z-index: -2;
  margin-top: -1px;
}

.report-table4 tr td {
  padding: 5px;
  font-size: 12px;
  line-height: 15px;
  border: 1px solid #c8c8c8;
}

.report-table4 tr .report-header-larger {
  min-width: 80px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  text-align: right;
  background-color: #666;
  color: #fff;
}

.accountingReportContainer.fixedReportLayout .report-table4 tr td {
  white-space: nowrap;
}

.report-table4 tr td:last-child {
  border-right: none;
}
.report-table4 tr td:nth-child(2) {
  border-left: none;
}

.report-table4 tr:nth-child(even) td {
  background-color: #f3f3f3;
}

.report-table4 tr td.sum-column.report-header-larger {
  min-width: 40px;
}

.report-table4 tr:hover td:not(.report-header-larger) {
  background-color: #ddd !important;
}

.report-table4 td.report-header-larger.sum-column,
.report-table4 tr td.sum-column div.periodSelector {
  background-color: #999;
}

.report-table4 tr td.sum-column {
  background-color: #f9f9f9;
  font-size: 0.9em;
  font-weight: normal;
}

/* Column colors for financial reports when comparing periods*/

.report-table4 tr td.column-color-1 {
  background-color: #e6f0f0;
}

.report-table4 tr td.column-color-1.cell {
  background-color: #fff;
}

.report-table4 tr td.report-header-larger.column-color-1,
.report-table4 tr td.report-header-larger.column-color-1 div.periodSelector {
  background-color: #6faaa9;
}

.report-table4 tr td.column-color-2 {
  background-color: #e2eaef;
}

.report-table4 tr td.column-color-2.cell {
  background-color: #fff;
}

.report-table4 tr td.report-header-larger.column-color-2,
.report-table4 tr td.report-header-larger.column-color-2 div.periodSelector {
  background-color: #698ead;
}

.report-table4 tr td.report-header-larger.branch-report-sum-column {
  background-color: #555;
}

.report-table4 tr td.branch-report-sum-column {
  background-color: #ddd;
}

.report-table4 tr td.sum-column.no-right-border {
  border-right: 1px solid #f9f9f9;
}

.report-table4 .value.cell {
  text-align: right;
  white-space: nowrap;
}

.report-table4 .indent {
  padding-left: 15px;
}
.report-table4 .indentL {
  padding-left: 30px;
}

.report-table4 .border-left-thick {
  border-left: 2px solid #888;
}

.periodSelector {
  position: absolute;
  top: -150px;
  left: -4px;
  width: calc(100% + 8px);
  background-color: #666;
  color: #fff;
  box-sizing: border-box;
  padding: 8px 5px;
  text-align: right;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  /* IE10+ specific styles go here */
  .accountingReportContainer.variable-report-layout {
    border-top: 1px solid #c8c8c8;
    border-left: 1px solid #c8c8c8;
  }
}

.accounting-report.report-details {
  max-height: 50vh;
}

@media screen and (max-width: 576px) and (min-height: 576px) {
  .phone.accounting-report.report-details {
    max-height: unset;
  }
}

@media (max-width: 576px) {
  .accountingReportContainer.fixedReportLayout {
    margin-left: 45vw;
    max-width: 50vw;
  }
}
/*endregion*/

/*region .report-table */
.report-table {
  width: 100%;
}

.report-table td {
  padding: 4px;
  border: 1px solid #efefef;
}

.report-table tr.row1 {
  background-color: #f5f5f5;
}

.report-table th {
  color: var(--col-dark-blue);
  background-color: #dbedf1;
  padding: 10px 5px;
  text-align: left;
  font-size: 14px;
  font-weight: normal;
  border: 1px solid #fff;
  white-space: nowrap;
}

td.boldTh,
.report-table td.boldvalueTh {
  padding: 4px;
  border: 1px solid #ddd;
  text-align: left;
  font-weight: bold;
  font-size: 12px;
  color: #444;
}

.report-table.hovering tr:hover td {
  background-color: #f3f4f5;
}

.report-table td.boldvalueTh,
.report-table th.value,
.report-table td.value,
.report-table td.value {
  text-align: right;
}

.report-table tr.gray {
  font-weight: bold;
  text-align: right;
}

.report-table td.indent {
  padding-left: 20px;
}

.report-table td.indentL {
  padding-left: 40px;
}

.report-table tr.bold td,
.report-table th.bold,
.report-table td.bold {
  font-weight: bold;
}

.report-table th.boldvalue,
.report-table td.boldvalue {
  font-weight: bold;
  text-align: right;
}

.report-table td.repotDetails {
  border-bottom: 1px solid transparent !important;
  padding: 0;
  min-height: 0;
}

.report-table td.repotDetails div.detailsPadding {
  margin-bottom: 30px;
  padding: 5px;
}
/*endregion*/

/*region .settings-table */
.settings-table {
  font-size: 13px;
}

.settings-table tbody tr.heading td {
  background-color: #fff;
  font-size: 16px;
  line-height: 20px;
  padding-top: 30px;
  border-bottom: 3px solid #ddd;
}

.settings-table tbody tr.heading:first-child td {
  padding-top: 0;
}

.settings-table tbody tr:not(.heading) td:first-child {
  padding-left: 30px;
}
/*endregion*/

/*region list-table */

.list-table {
  width: 100%;
  color: #000;
  border-collapse: collapse;
  font-size: 1rem;
}

.list-table thead {
  background-color: #cddee4;
  border: 1px solid #c7c7c7;
}

.list-table thead th {
  text-align: left;
  color: #455a64;
  white-space: nowrap;
  padding: 10px 5px;
  min-width: 15px;
  font-size: 14px;
  font-weight: 300;
  border: 1px solid #d2d2d2;
}

.list-table thead th,
.list-table thead th a {
  color: #455a64;
  text-transform: uppercase;
}

.list-table .border-right {
  border-right: 1px solid #999;
}

.list-table .row1:hover .row-header,
.list-table thead th {
  transition: all 0.5s;
}

.list-table thead .text-center {
  text-align: center;
}

.list-table thead .text-left {
  text-align: left;
}

.list-table thead .text-left .td {
  text-align: center;
}

.list-table td[data-grid-property="change"],
.list-table th[data-grid-property="change"] {
  display: none;
}

.list-table thead th {
  position: relative;
}

.list-table thead a:nth-of-type(1) {
  padding-right: 10px;
}

.list-table thead a:nth-of-type(2) {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
  padding: 3px 3px 0 0;
}

.list-table thead a:hover {
  text-decoration: none;
}

.list-table .vendorName {
  min-width: 160px;
}

.list-table.vertical-borders tr:not(.nobackground) td {
  border-bottom: 1px solid #d8e4e8;
  border-left: 1px solid #efefef;
  border-right: 1px solid #efefef;
}

.list-table thead tr th a .t-sort-icon {
  display: none !important;
}

.list-table tbody tr:hover,
.tdborders tbody tr:not(.nohover):hover {
  background-color: #e6eff0;
}

.list-table tr:nth-child(even),
.detail-rows-table.row1HasBackground tr:nth-child(even),
.bgr-row2 {
  background-color: #f3f3f3;
}

.list-table .current,
.list-table .current:hover {
  background-color: #e1eeda;
}

.list-table .current {
  font-weight: bold;
}

.list-table .dateContainer,
.detail-rows-table .dateContainer {
  background-color: #fff;
}

.list-table tbody tr {
  text-align: left;
  border-bottom: 1px solid #c8c8c8;
}

.list-table tbody .text-right {
  text-align: right;
}

.list-table tbody tr td {
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  padding: 10px 5px;
}

.list-table .pagination .pages {
  display: inline;
}

.list-table .pagination {
  display: table;
  padding: 0;
  margin: 0 auto;
  line-height: 22px;
}

.list-table.jsModeAdmin td {
  vertical-align: top;
}

/* Set's last column of table to fit to content. Useful if button at the end of table row */
.list-table.last-two-column-fit-content td:nth-last-child(-n + 2) {
  width: 1%;
  white-space: nowrap;
}

/*region grid property and screen width specific text alignments */
@media (min-width: 992px) {
  .invoices [data-grid-property="isSent"],
  .invoices [data-grid-property="hasAttachment"],
  [data-grid-property="select"],
  .list-table [data-grid-property="select"],
  [data-grid-property="direction"],
  [data-grid-property="viewInvoice"],
  [data-grid-property="payInvoice"],
  [data-grid-property="importEInvoice"] {
    text-align: center;
  }

  .invoices th[data-grid-property="isSent"],
  .invoices th[data-grid-property="hasAttachment"] {
    font-size: 0;
  }

  [data-grid-property="paymentSum"],
  [data-grid-property="totalAmount"],
  [data-grid-property="amount"],
  [data-grid-property="outstandingAmount"],
  [data-grid-property="entrySum"],
  [data-grid-property="cost"],
  [data-grid-property="returnSum"],
  [data-grid-property="outstandingSum"],
  [data-grid-property="purchasePrice"],
  [data-grid-property="deprPc"],
  [data-grid-property="deprTotal"],
  [data-grid-property="taxesTotal"],
  [data-grid-property="wagesTotal"],
  [data-grid-property="wagesCostTotal"],
  [data-grid-property="wagesDebtTotal"],
  [data-grid-property="socialTaxTotal"],
  [data-grid-property="incomeTaxTotal"],
  [data-grid-property="pensionTotal"],
  [data-grid-property="persUnemploymentTaxTotal"],
  [data-grid-property="compUnemploymentTaxTotal"],
  [data-grid-property="price"],
  [data-grid-property="pricePurchase"],
  [data-grid-property="residualValue"] {
    text-align: right;
  }
}

.whouse [data-grid-property="whouseSum"],
.whouse [data-grid-property="whouseQuantity"],
.whouse [data-grid-property="sum"],
.whouse [data-grid-property="quantity"] {
  text-align: right;
}
/*endregion*/

@media screen and (max-width: 992px) {
  .list-table td.createdBy,
  .list-table thead th.createdBy,
  .list-table > thead.show-element th.createdBy {
    display: none !important;
  }

  .list-table td.dateCreated,
  .list-table thead th.dateCreated,
  .list-table > thead.show-element th.dateCreated {
    display: none !important;
  }

  .list-table td.entryDate,
  .list-table thead th.entryDate,
  .list-table > thead.show-element th.entryDate {
    display: none !important;
  }
}

@media screen and (max-width: 900px) {
  .list-table > tbody,
  .list-table,
  .list-table > ftoot {
    display: block;
  }

  .list-table > thead {
    display: block;
    clear: both;
    min-height: 36px;
  }

  .list-table.nosorting thead {
    display: none;
  }

  .list-table > thead th {
    display: block;
    height: 15px;
    overflow: hidden;
    font-size: 12px;
    line-height: 15px;
    width: calc(100vw - 120px);
    border: 1px solid transparent;
    border-bottom: 1px solid var(--col-dark-blue);
  }

  .list-table > thead th:not(.t-sort-column-descending):not(.t-sort-column-ascending) {
    display: none;
  }

  .list-table tr > td {
    padding-top: 6px !important;
    padding-bottom: 4px !important;
    height: auto !important;
    vertical-align: middle;
    width: 31%;
    float: left;
    min-height: 20px;
    text-align: left;
  }

  .list-table > thead:not(.show-element) th.t-sort-column-ascending,
  table.list-table > thead:not(.show-element) th.t-sort-column-descending {
    border-bottom: none;
  }
  .list-table > thead th.t-sort-column-ascending a,
  .list-table > thead th.t-sort-column-descending a {
    font-weight: bold;
  }

  .list-table > thead:before {
    background: #73a8bc url("/assets/ctx/94c5c9b1/layout/images/btn-sort.png") 50% 50% no-repeat;
    background-size: 20px;
    content: ".";
    color: transparent;
    display: block;
    text-align: center;
    width: 50px;
    float: left;
    font-size: 15px;
    line-height: 24px;
    padding: 6px;
    border-right: 1px solid #efefef;
  }

  .list-table > thead.show-element th {
    display: block !important;
    float: right;
  }

  .list-table > tbody tr {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-bottom: none;
  }

  .list-table thead > tr,
  .list-table tbody > tr,
  .list-table thead > td,
  .list-table tbody > td {
    display: inline-block;
  }

  .list-table tbody > tr {
    border-left: 10px solid #eaf2f3;
  }

  .list-table tbody > td {
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
  }

  .list-table {
    width: 100%;
    display: block;
    overflow: hidden;
  }

  .list-table td:nth-child(even) {
    clear: right;
  }

  .list-table tbody > tr td:before {
    float: left;
    padding-right: 10px;
    white-space: nowrap;
    min-width: 75px;
    content: attr(data-cell-header);
    color: #1a7f99;
    vertical-align: middle;
  }

  .list-table.last-two-column-fit-content td:nth-last-child(-n + 2) {
    width: 31%;
  }
}

@media screen and (max-width: 650px) {
  .list-table.last-two-column-fit-content td:nth-last-child(-n + 2) {
    width: 47%;
  }

  .list-table tr td {
    width: 47%;
  }
}

@media screen and (max-width: 400px) {
  /* PHONES */
  .list-table thead th {
    width: calc(100vw - 120px);
  }

  .list-table tr td:before {
    min-width: 35%;
  }

  .list-table tr td {
    width: 100%;
  }

  .hiddenRow td .removeRowLinkContainer {
    top: 18px;
  }

  .hiddenRow td .removeRowLinkContainer a {
    float: right;
  }

  .list-table.last-two-column-fit-content td:nth-last-child(2) {
    border-right: 0;
  }

  .list-table.last-two-column-fit-content td:nth-last-child(1) {
    border-left: 0;
  }

  .list-table.last-two-column-fit-content td:nth-last-child(-n + 2) {
    width: 50%;
  }
}

/*endregion*/

/*region list-table2 */
.list-table2 {
  width: 100%;
  hyphens: auto;
  overflow-wrap: break-word;
  border-bottom: 1px solid #efefef;
}

.list-table2__thead {
  background-color: #cddee4;
}

.list-table2__th {
  color: #455a64;
  text-transform: uppercase;
  text-align: left;
  border: 1px solid #d2d2d2;
  font-size: 14px;
  font-weight: 300;
  padding: 10px 5px;
}

.list-table2__tr {
  background-color: #fff;
}

.list-table2__tr:hover {
  background-color: #f5f5f5;
}

.list-table2__tr--second {
  background-color: #f5f5f5;
}

.list-table2__td {
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  padding: 10px 5px;
  max-width: 300px;
}

.list-table2__td.no-padding {
  padding-top: 0;
  padding-bottom: 0;
}

.list-table2__td.no-padding span.paymentsImportIcons {
  margin-top: 7px;
}

.list-table2__td--red {
  color: #bd6515;
}

.list-table2__td--green {
  color: #4a879d;
}

.list-table2__tr.list-table2__tr {
  transition: opacity 0.2s;
}

.list-table2__tr.list-table2__tr--opacity,
.allowOpacityChange.list-table2__tr--opacity {
  opacity: 0.5;
}

.list-table2__tr.list-table2__tr:hover {
  opacity: 1;
}

.list-table2__tr.list-table2__tr--open {
  background-color: #efefef;
  border-bottom: 1px solid #ddd;
  opacity: 1;
  cursor: pointer;
}

.list-table2__tr.list-table2__tr--open td {
  cursor: auto;
}

@media screen and (max-width: 576px) {
  .list-table2__th {
    display: none;
  }

  .list-table2__tr {
    border-left: 10px solid #eaf2f3;
    display: flex;
    flex-wrap: wrap;
  }

  .list-table2__td {
    display: block;
    flex: 1 200px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .list-table2__td::before {
    content: attr(data-cell-header);
    padding-right: 10px;
    min-width: 75px;
    color: #1a7f99;
    float: left;
  }
}
/*endregion*/

/*region detail-rows-table*/

.detail-rows-table {
  width: 100%;
  color: #333;
  border-collapse: collapse;
  font-size: 12px;
  background: #ffffff;
}

.detail-rows-table .thead {
  text-transform: uppercase;
  background-color: #efefef;
  color: #455a64;
  text-align: left;
  font-size: 13px;
  border: 1px solid #c7c7c7;
}

.detail-rows-table .thead td {
  line-height: 16px;
  white-space: no-wrap;
  border: 1px solid #c7c7c7 !important;
}

.detail-rows-table thead {
  /* whats the difference between thead and .thead rows ? */
  color: #fff;
  background-color: #cddee4;
  border: 1px solid #c7c7c7;
}

.detail-rows-table thead th,
.detail-rows-table .mainRow td {
  text-align: left;
  color: #455a64;
  white-space: nowrap;
  padding: 10px 5px;
  min-width: 15px;
  font-size: 14px;
  font-weight: 300;
  border: 1px solid #fff;
}

.detail-rows-table .mainRow {
  margin-top: 30px;
}

.detail-rows-table .mainRow td {
  font-size: 12px;
  text-align: left;
  color: #455a64;
  white-space: nowrap;
  padding: 5px !important;
  min-width: 15px;
  border: 1px solid #c7c7c7;
}

.detail-rows-table .mainRow tr {
  color: #fff;
  background-color: #cddee4;
  border: 1px solid #c7c7c7;
}

.detail-rows-table .mainRowPadding td {
  border: none;
  height: 30px;
  background-color: transparent;
}

.detail-rows-table .mainRowPadding tr {
  background-color: transparent;
}

.detail-rows-table tbody tr {
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.detail-rows-table tbody tr td {
  height: 25px;
  padding: 6px 5px;
}

.detail-rows-table tbody tr td:last-child {
  border-right: 0;
}

.detail-rows-table td {
  vertical-align: top;
}

.detail-rows-table .greyBackground {
  background-color: #efefef;
}

.detail-rows-table .smallPadding th {
  padding: 3px;
}

.detail-rows-table .hideInputs input,
.detail-rows-table .hideInputs select,
.detail-rows-table .hideInputs a,
.detail-rows-table .hideInputs textarea {
  visibility: hidden;
}

.detail-rows-table tr:not(.hiddenRow) .maxWidth320 {
  max-width: 320px;
}

.ellipsis .rowAddText,
.ellipsis input,
.detail-rows-table .ellipsis .rowAddText {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-rows-table thead .text-center-computer {
  text-align: center;
}

.detail-rows-table .nobackground,
.list-table .nobackground {
  background: none !important;
  border: none !important;
}

.detail-rows-table .dateContainer.pTop5 {
  padding-top: 5px;
}

.detail-rows-table tbody tr:hover td .in-stock table tr td {
  background: none;
}

.in-stock {
  position: relative;
}

.in-stock-details {
  background-color: #efefef;
  color: #4798c4; /* !! COLOR CODE BACKGROUND */
  border: 2px solid #fff;
  text-align: left;
  font-size: 12px;
  position: absolute;
  right: 20px;
  top: 30px;
  visibility: hidden;
  line-height: 16px;
  box-shadow: 3px 3px 3px #aaa;
  z-index: 20;
}

.in-stock-details {
  min-width: 150px;
}

.in-stock:hover .in-stock-details {
  visibility: visible;
}

.in-stock-details .clear {
  display: table !important;
  background: none;
  min-width: 150px;
  float: none;
}

.in-stock-details .clear tbody {
  display: table-row-group !important;
}

.in-stock-details .clear tr {
  display: table-row !important;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  float: none;
  color: #455a64;
}

.in-stock-details .clear td {
  display: table-cell !important;
  padding: 5px 10px;
  background: none;
  white-space: nowrap;
  float: none;
  border: none;
}

.in-stock-details .clear tr td:before {
  display: none !important;
  float: none;
}

.in-stock-details table .sum {
  background-color: #94b7c6;
  color: #fff;
}

.detail-rows-table.salarySheet .workerSumRow td .smallDetailsTable {
  margin-top: 3px;
  float: right;
}

.detail-rows-table.salarySheet .workerSumRow td .smallDetailsTable td {
  min-height: auto !important;
  height: auto !important;
  padding: 3px !important;
  line-height: 1em;
  border: none;
}

.detail-rows-table.salarySheet .workerSumRow td .smallDetailsTable tr {
  border: none;
}

.detail-rows-table.salarySheet .workerSumRow td .smallDetailsTable tr td:last-child {
  padding-right: 0;
}

/*region parc__head-table*/
.parc__head-table {
  border: none;
  border-bottom: 0;
}

.parc__thead {
  border-bottom: 0;
  background-color: #fff;
  border: none;
}

.payment-rows-comp .parc__th {
  border: none;
  border-bottom: 0;
  padding: 5px;
  box-sizing: border-box;
}

.parc__filter {
  margin-right: 5px;
  width: 170px !important;
}

.parc__filter-button {
  display: block;
  width: 25px;
  height: 25px;
  float: right;
  margin: 0;
  padding: 0;
  background: #fff url("/assets/ctx/98f0c38c/layout/images/ico-search.png") 50% 50% no-repeat;
  background-size: 17px;
  border-radius: 3px;
}

.parc__filter-button:hover {
  background: #6aa6c4 url("/assets/ctx/772b69fc/layout/images/ico-search-negative.png") 50% 50% no-repeat;
  background-size: 17px;
}

.parc__data-table-wrapper {
  max-height: 40vh;
  overflow-y: auto;
  border-bottom: 1px solid #ddd;
}

.parc__details-row {
  padding: 0;
  margin: 0;
}

.parc__outstanding_error {
  border-bottom: 2px solid #73a8bc;
}

.parc__details-content-div {
  padding: 0;
  border: 1px solid #ddd;
  margin: 5px 15px 40px 15px;
  box-shadow: 5px 5px 5px #bbb;
}

.parc__details-content-div > * {
  margin: 0 0 15px 0;
  background: white;
}

.parc__details-content-div:empty {
  padding-left: 0;
  padding-right: 0;
  border-top: 0;
  border-bottom: 0;
}
/*endregion*/

/*region detail-rows-table: PAEX modifiers */
.detail-rows-table tbody .paex__td.jsValueRequired input,
.detail-rows-table tbody .paex__td textarea {
  border-left: 3px solid transparent;
  transition: border-left 0.2s;
  padding-left: 7px;
}

.detail-rows-table tbody .paex__td.jsValueRequired input:placeholder-shown,
.detail-rows-table tbody .paex__td textarea:placeholder-shown,
.paex__td textarea:placeholder-shown,
.paex__td.jsValueRequired input:placeholder-shown,
.js-payment-extra-down .piec__row-sum:placeholder-shown {
  border-left: 3px solid #f57c00;
}

.paex__add-row {
  text-transform: uppercase;
  font-size: 19px;
  line-height: 25px;
  display: inline-block;
  height: 25px;
  width: 25px;
  vertical-align: middle;
  text-align: center;
  background-color: #999;
  color: #fff;
  border: 1px solid #999;
  border-radius: 3px;
}

.paex__add-row:hover,
.paex__add-row:focus {
  text-decoration: none;
  background-color: #6aa6c4;
  border: 1px solid #6aa6c4;
  color: #fff;
}
/*endregion*/

.detail-rows-table tr:not(.hiddenRow) .row-header-empty {
  display: none;
}

@media screen and (min-width: 900px) {
  .detail-rows-table thead th {
    text-align: left;
    color: #455a64;
    white-space: nowrap;
    padding: 10px 5px;
    min-width: 26px;
    font-size: 14px;
    border: 1px solid #c7c7c7;
    text-transform: uppercase;
  }

  .lg-whiteBackground {
    background-color: #fff;
  }

  .detail-rows-table tr td.border-above-900 {
    border-bottom: 1px solid #c7c7c7;
  }

  .detail-rows-table .deliveryInfo {
    border: 0;
    background-color: transparent;
  }

  .detail-rows-table .deliveryInfo th {
    padding: 0 5px 15px 5px;
    font-size: 16px;
    border: 0;
    border-bottom: 1px solid #c7c7c7;
    text-transform: none;
  }

  .detail-rows-table tbody td.bgGrey {
    background-color: #efefef;
    border-bottom: 1px solid #c7c7c7;
  }

  .detail-rows-table tbody td .rowAddText,
  .reactAutocompleteT5Placeholder {
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
    line-height: 37px;
  }

  .detail-rows-table tbody td .rowAddText.warehouseQuantity {
    line-height: 1em;
  }

  .detail-rows-table tbody td .rowAddText .autocomplete {
    line-height: 25px;
  }

  .detail-rows-table tbody td {
    padding: 0 !important;
    padding-bottom: 1px !important;
    margin: 0 !important;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    position: relative;
  }

  .detail-rows-table tbody td input,
  .detail-rows-table tbody td select,
  .detail-rows-table tbody td textarea,
  .detail-rows-table :disabled {
    border: none;
    border-bottom: 1px solid transparent;
    padding: 10px;
  }

  .detail-rows-table tbody td .reactAutocompleteT5Placeholder::placeholder:hover {
    color: var(--inputPlaceholderColorHover);
  }

  .detail-rows-table tbody td .reactAutocompleteT5Placeholder:disabled {
    cursor: text;
  }

  .detail-rows-table tbody td .reactAutocompleteT5Placeholder:disabled::placeholder {
    color: #333;
    opacity: 1;
    text-decoration: none;
  }

  .detail-rows-table .add-row-btn {
    margin: 0.7rem 0.9rem;
  }

  .detail-rows-table-sum-row_span {
    margin: 0.7rem 0.9rem 0.7rem -4rem;
  }

  .last-row-borderless-lg tbody > tr:last-child {
    border: 0;
  }

  .detail-rows-table tbody td input:disabled,
  .detail-rows-table tbody td select:disabled,
  .detail-rows-table tbody td textarea:disabled,
  .detail-rows-table tbody td input:disabled:hover,
  .detail-rows-table tbody td select:disabled:hover,
  .detail-rows-table tbody td textarea:disabled:hover {
    font-size: 12px !important;
    color: #000 !important;
  }

  .detail-rows-table tbody td input:disabled:hover,
  .detail-rows-table tbody td select:disabled:hover {
    border-bottom: 1px solid transparent;
  }

  .detail-rows-table tbody td input::-webkit-input-placeholder {
    /* WebKit, Blink, Edge */
    color: #555;
  }

  .detail-rows-table tbody td input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #555;
    opacity: 1;
  }

  .detail-rows-table tbody td input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #555;
    opacity: 1;
  }

  .detail-rows-table tbody td input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #555;
  }

  .detail-rows-table tbody td input:placeholder-shown {
    /* Standard (https://drafts.csswg.org/selectors-4/#placeholder) */
    color: #555;
  }

  .detail-rows-table tbody td input.fillTd,
  .detail-rows-table tbody td select.fillTd,
  .detail-rows-table tbody td textarea.fillTd,
  .detail-rows-table tbody td .dateContainer.fillTd,
  .comp-table.inputsWholeTd tbody td .dateContainer.fillTd {
    width: 100%;
  }

  .detail-rows-table tbody td .fillTd {
    resize: vertical;
    min-height: 2.5em;
  }

  td.max100 {
    max-width: 100px;
  }

  .detail-rows-table tbody td .dateContainer.fillTd,
  .comp-table.inputsWholeTd tbody td .dateContainer.fillTd {
    border: none;
  }

  .detail-rows-table tbody td .dateContainer input,
  .comp-table.inputsWholeTd tbody td .dateContainer input {
    width: 120px;
  }

  .detail-rows-table tbody td.smallDate .dateContainer input,
  .comp-table.inputsWholeTd tbody td.smallDate .dateContainer input {
    width: 80px;
  }

  .detail-rows-table tbody td.smallDate .dateContainer.fillTd {
    width: auto !important;
  }

  .detail-rows-table tbody td input:disabled,
  .detail-rows-table tbody td select:disabled,
  .detail-rows-table tbody td textarea:disabled {
    background-color: #fff;
    background-image: none;
  }

  .detail-rows-table td .autocomper .icon-16.edit-16 {
    height: 37px;
  }

  .detail-rows-table td .removeRowLinkContainer {
    width: 24px;
    left: 0;
  }

  .detail-rows-table-help-icon-container {
    padding: 1rem;
  }

  .detail-rows-table-delete-icon-container {
    padding: 0.75rem 0.6rem 0 0.25rem;
  }

  .detail-rows-table td .removeRowLinkContainer .icon-16.delete-16 {
    width: 26px;
    height: 32px;
    margin-left: 2px;
    margin-top: -4px;
    background-position: 50% 50%;
  }

  .detail-rows-table tr.nobackground td,
  .list-table tr.nobackground td {
    background: none !important;
    border: none !important;
  }

  .formDisabled .detail-rows-table:not(.salarySheet) tr.nobackground td {
    line-height: 0;
  }

  .detail-rows-table.salarySheet tr.nobackground td {
    padding-right: 5px !important;
    padding-top: 3px !important;
    padding-bottom: 0 !important;
    padding-left: 5px !important;
  }

  .detail-rows-table tbody td input.withBorder,
  .detail-rows-table tbody td select.withBorder,
  .detail-rows-table tbody td textarea.withBorder {
    border: 1px solid #ddd;
    margin: 5px;
    padding: 4px;
  }

  .detail-rows-table tbody td input.withBorder:disabled,
  .detail-rows-table tbody td select.withBorder:disabled,
  .detail-rows-table tbody td textarea.withBorder:disabled {
    background-color: #efefef;
  }

  .detail-rows-table.cellsWithPadding tbody td {
    padding: 5px !important;
  }

  .detail-rows-table.cellsWithPadding tbody tr.thead td {
    padding: 3px !important;
  }
}

@media screen and (max-width: 900px) {
  .detail-rows-table thead:not(.showAllways) {
    display: none;
  }

  .detail-rows-table thead.showAllways {
    background: none;
    border: none;
  }

  .detail-rows-table thead.showAllways tr {
    display: block;
  }

  .detail-rows-table thead.showAllways tr th {
    display: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
  }

  .detail-rows-table thead.showAllways tr th.elementToAlwaysShow {
    display: block;
  }

  .detail-rows-table tbody tr {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-bottom: none;
  }

  .detail-rows-table tbody tr:hover {
    background-color: #f9f9f9;
  }

  .detail-rows-table tr.row0:hover td.row-header,
  .detail-rows-table tr.row1:hover td.row-header {
    background-color: #c1dbdb; /* COLOR CODE !!! */
  }

  .detail-rows-table tr:not(.hiddenRow) td {
    /* Behave  like a "row" */
    padding-top: 6px !important;
    padding-bottom: 4px !important;
    height: auto !important;
    vertical-align: middle;
    width: 31%;
    float: left;
    min-height: 20px;
    text-align: left;
  }

  .detail-rows-table.salarySheet tr.workerSumRow,
  .detail-rows-table.salarySheet tr.workerSumRow td {
    display: block;
    float: left;
  }

  .detail-rows-table.salarySheet tr.workerSumRow td.nofloat {
    float: none;
    width: calc(100% - 20px);
  }

  .detail-rows-table tr:not(.hiddenRow) td {
    min-height: 25px;
  }

  .detail-rows-table tr:not(.hiddenRow) td.row-header {
    width: 100%;
    background-color: #d8e6e6;
    border-top: 10px solid #fff;
  }

  .detail-rows-table tr:not(.hiddenRow) .row-header-empty {
    display: table-cell;
  }

  .detail-rows-table tr:not(.hiddenRow) td.row-header.subheader {
    background-color: #fff;
  }

  .detail-rows-table tr:not(.hiddenRow) td.double-height,
  .detail-rows-table tr:not(.hiddenRow) td.maxWidth320 {
    width: 100%;
    max-width: 100%;
  }

  .detail-rows-table tr:not(.hiddenRow) td:before {
    /* Now like a table header */
    float: left;
    /* Top/left values mimic padding */
    padding-right: 10px;
    white-space: nowrap;
    display: block;
    min-width: 75px;
    content: attr(data-cell-header);
    color: #1a7f99;
  }

  .detail-rows-table td:nth-child(even) {
    clear: right;
  }

  .detail-rows-table .icon-16.delete-16 {
    background: #e5a36f url("/assets/ctx/9b1104bd/layout/images/btn-delete.png") no-repeat;
    background-position: 10px 50%;
    background-size: 12px;
    width: 100px;
    text-indent: 0;
    color: #fff;
    text-align: center;
    line-height: 22px;
  }

  .detail-rows-table tr.hiddenRow td div.removeRowLinkContainer {
    top: 18px;
  }

  .detail-rows-table input:not(.dontScaleWidth),
  .detail-rows-table select {
    min-width: 100px;
  }

  .detail-rows-table input.edit-16 {
    width: 21px;
    min-width: 21px;
  }

  .detail-rows-table tbody td.text-right,
  .list-table tbody td .text-right {
    text-align: left !important;
  }

  .detail-rows-table .text-end {
    text-align: start !important;
  }

  .detail-rows-table tbody.mainRow tr,
  .detail-rows-table tbody.mainRow tr,
  .detail-rows-table tbody.mainRow td {
    background-color: #fff;
    border: none;
  }

  .detail-rows-table tbody.mainRow td.row-header {
    background-color: #fff;
    font-size: 25px;
    color: #94b7c6;
    padding: 20px 5px !important;
  }

  .detail-rows-table tbody.mainRow td {
    background-color: #fff;
  }

  .detail-rows-table td.newArticle:before {
    background: url("/assets/ctx/3d313315/layout/images/ico-new.png") right 5px top 0px no-repeat;
  }

  .detail-rows-table td.newArticle {
    background-image: none !important;
  }

  .detail-rows-table td.hideInputs:before,
  .detail-rows-table td.hideInputs {
    display: none;
  }
}

@media screen and (max-width: 650px) {
  .detail-rows-table tr:not(.hiddenRow) td {
    width: 47%;
  }
}

@media screen and (max-width: 500px) {
  .detail-rows-table tr:not(.hiddenRow) td:before {
    min-width: 35%;
  }

  .detail-rows-table tr:not(.hiddenRow) td {
    width: 100%;
  }

  .detail-rows-table .hiddenRow td .removeRowLinkContainer {
    top: 18px;
  }

  .detail-rows-table .hiddenRow td .removeRowLinkContainer a {
    float: right;
  }

  /* Make the button small again */
  .detail-rows-table .icon-16.delete-16 {
    background: #e5a36f url("/assets/ctx/9b1104bd/layout/images/btn-delete.png") no-repeat;
    background-size: 12px;
    background-position: 50% 50%;
    width: 22px;
    height: 22px;
    text-indent: -9999px;
    color: transparent;
    text-align: center;
    line-height: 22px;
  }
}

.js-payment-extra-down .piec__row-sum {
  border-left: 3px solid transparent;
  transition: border-left 0.2s;
}

/*region .entry-row-description */
.entry-row-description {
  overflow: hidden;
  width: 240px;
}

@media screen and (max-width: 992px) {
  .entry-row-description {
    width: 100px;
  }
}

@media screen and (max-width: 768px) {
  .entry-row-description {
    width: 80%;
  }
}

@media screen and (max-width: 576px) {
  .entry-row-description {
    width: 70%;
  }
}

@media screen and (max-width: 400px) {
  .entry-row-description {
    width: 50%;
  }
}

/*endregion*/
/*endregion*/

/*region receivedProgressBar*/
.receivedProgressBar {
  border: none;
}

.receivedProgressBar .receivedProgressBar__td1 {
  border-right: none;
  border-bottom: none;
}

.receivedProgressBar .receivedProgressBar__td2 {
  border: none;
  vertical-align: middle;
}
/*endregion*/

/*region two-column-sum-list*/
.two-column-sum-list tbody tr {
  text-align: right;
}

.two-column-sum-list tbody tr td:nth-child(1) {
  width: 100%;
}
/*endregion*/
