.pbl-cdk-table {
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

.pbl-ngrid-header-cell {
  font-size: 12px;
  font-weight: 500;
}

.pbl-ngrid-cell, .pbl-ngrid-footer-cell {
  font-size: 14px;
}

/**
* Flex-based table structure
*/
.pbl-cdk-table {
  display: block;
}

.pbl-ngrid-row, .pbl-ngrid-header-row, .pbl-ngrid-footer-row {
  display: flex;
  border-width: 0;
  border-bottom-width: 1px;
  border-style: solid;
  align-items: center;
  box-sizing: border-box;
}
.pbl-ngrid-row::after, .pbl-ngrid-header-row::after, .pbl-ngrid-footer-row::after {
  display: inline-block;
  min-height: inherit;
  content: "";
}

.pbl-ngrid-cell, .pbl-ngrid-header-cell, .pbl-ngrid-footer-cell {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  word-wrap: break-word;
  min-height: inherit;
}

.pbl-ngrid-row, .pbl-ngrid-header-row, .pbl-ngrid-footer-row {
  position: relative;
}

/* MULTI COLUMN AND COLUMN SPAN */
.pbl-ngrid-header-cell.pbl-header-group-cell {
  display: flex;
  align-items: center;
}
.pbl-ngrid-header-cell.pbl-header-group-cell.pbl-header-group-cell-placeholder {
  border: none;
}

.pbl-ngrid-header-cell, .pbl-ngrid-footer-cell {
  position: relative;
}

.pbl-ngrid-cell {
  cursor: default;
  outline: none;
}

.pbl-ngrid-editable-cell {
  cursor: text;
}

.pbl-ngrid-row, .pbl-ngrid-header-row, .pbl-ngrid-footer-row,
.pbl-ngrid-header-cell, .pbl-ngrid-cell, .pbl-ngrid-footer-cell {
  border-color: rgba(255, 255, 255, 0.12);
}

.pbl-ngrid-header-cell.pbl-header-group-cell:before {
  border-color: rgba(255, 255, 255, 0.12);
}

.pbl-ngrid-header-row {
  background: #424242;
}

.pbl-ngrid-row {
  background: #424242;
}

.pbl-ngrid-footer-row {
  background: #424242;
}

.pbl-ngrid-header-cell {
  color: rgba(255, 255, 255, 0.7);
}

.pbl-ngrid-cell {
  color: white;
}

.pbl-ngrid-footer-cell {
  color: white;
}

.cdk-table-sticky {
  position: -webkit-sticky;
  position: sticky;
}

.cdk-table-sticky-border-elem-top {
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.cdk-table-sticky-border-elem-right:before {
  transition: all 250ms ease-in;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-right: 2px solid rgba(255, 255, 255, 0.12);
}

.cdk-table-sticky-border-elem-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.cdk-table-sticky-border-elem-left:after {
  transition: all 250ms ease-in;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0px;
  height: 100%;
  border-right: 2px solid rgba(255, 255, 255, 0.12);
}

pbl-ngrid {
  display: block;
}

.pbl-ngrid-row-visually-hidden {
  border-top: 0;
  border-bottom: 0;
  clip: rect(0 0 0 0);
  height: 0px !important;
  min-height: 0px !important;
  max-height: 0px !important;
  overflow: hidden !important;
  visibility: collapse !important;
  outline: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.pbl-ngrid-row-hidden {
  display: none !important;
}

.pbl-ngrid-container {
  position: relative;
  height: 100%;
  width: 100%;
  flex-direction: column;
  box-sizing: border-box;
  display: flex;
  overflow: auto;
  min-height: inherit;
}

.pbl-ngrid-scroll-container {
  flex: 1 1 auto;
  box-sizing: border-box;
  min-height: auto;
}
.pbl-ngrid-scroll-container.cdk-virtual-scroll-disabled {
  flex: 1 0 auto;
}

.pbl-ngrid-sticky-row-scroll-container {
  position: fixed;
  overflow: hidden;
}

.pbl-ngrid-empty .cdk-virtual-scroll-content-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.pbl-ngrid-empty .cdk-virtual-scroll-content-wrapper .pbl-cdk-table {
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
}
.pbl-ngrid-empty .cdk-virtual-scroll-content-wrapper .pbl-cdk-table > * {
  flex: 0 0 auto;
}

.pbl-ngrid-scrolling pbl-cdk-table {
  pointer-events: none;
}

.pbl-ngrid-header-row {
  min-height: 56px;
}

.pbl-ngrid-row {
  min-height: 48px;
}

.pbl-ngrid-footer-row {
  min-height: 48px;
}

.pbl-ngrid-cell, .pbl-ngrid-header-cell, .pbl-ngrid-footer-cell {
  padding-left: 12px;
}
[dir=rtl] .pbl-ngrid-cell, [dir=rtl] .pbl-ngrid-header-cell, [dir=rtl] .pbl-ngrid-footer-cell {
  padding-left: 0;
  padding-right: 12px;
}
.pbl-ngrid-cell:first-of-type, .pbl-ngrid-header-cell:first-of-type, .pbl-ngrid-footer-cell:first-of-type {
  padding-left: 24px;
}
[dir=rtl] .pbl-ngrid-cell:first-of-type, [dir=rtl] .pbl-ngrid-header-cell:first-of-type, [dir=rtl] .pbl-ngrid-footer-cell:first-of-type {
  padding-left: 0;
  padding-right: 24px;
}
.pbl-ngrid-cell:last-of-type, .pbl-ngrid-header-cell:last-of-type, .pbl-ngrid-footer-cell:last-of-type {
  padding-right: 24px;
}
[dir=rtl] .pbl-ngrid-cell:last-of-type, [dir=rtl] .pbl-ngrid-header-cell:last-of-type, [dir=rtl] .pbl-ngrid-footer-cell:last-of-type {
  padding-right: 12px;
  padding-left: 24px;
}
.pbl-ngrid-cell.cdk-table-sticky, .pbl-ngrid-header-cell.cdk-table-sticky, .pbl-ngrid-footer-cell.cdk-table-sticky {
  background: inherit;
}

.pbl-ngrid-row-prefix {
  display: none;
  position: absolute;
  cursor: move;
  width: 24px;
  height: 100%;
}

.pbl-row-reorder .pbl-ngrid-row-prefix {
  display: block;
}

.pbl-ngrid-cell-ellipsis .pbl-ngrid-cell, .pbl-ngrid-cell-ellipsis .pbl-ngrid-cell > *:first-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.pbl-ngrid-header-cell-ellipsis .pbl-ngrid-header-cell, .pbl-ngrid-header-cell-ellipsis .pbl-ngrid-header-cell > *:first-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.pbl-ngrid-footer-cell-ellipsis .pbl-ngrid-footer-cell, .pbl-ngrid-footer-cell-ellipsis .pbl-ngrid-footer-cell > *:first-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.pbl-ngrid-cell.pbl-ngrid-cell-focused {
  box-shadow: inset 0px 0px 0px 1px #2196f3;
}
.pbl-ngrid-cell.pbl-ngrid-cell-selected:not(.pbl-ngrid-cell-focused) {
  background-color: rgba(33, 150, 243, 0.25);
}

.pbl-ngrid-header-cell:not(:first-child, .cdk-table-sticky-border-elem-left, .cdk-table-sticky-border-elem-right):before,
.pbl-ngrid-footer-cell:not(:last-child, .cdk-table-sticky-border-elem-left, .cdk-table-sticky-border-elem-right):before {
  transition: all 250ms ease-in;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
[dir=rtl] .pbl-ngrid-header-cell:not(:first-child, .cdk-table-sticky-border-elem-left, .cdk-table-sticky-border-elem-right):before,
[dir=rtl] .pbl-ngrid-footer-cell:not(:last-child, .cdk-table-sticky-border-elem-left, .cdk-table-sticky-border-elem-right):before {
  left: unset;
  right: 0;
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

pbl-ngrid.grid-sm .pbl-ngrid-header-row {
  min-height: 32px;
}
pbl-ngrid.grid-sm .pbl-ngrid-row {
  min-height: 32px;
}
pbl-ngrid.grid-sm .pbl-ngrid-footer-row {
  min-height: 32px;
}
pbl-ngrid.grid-sm .pbl-ngrid-cell, pbl-ngrid.grid-sm .pbl-ngrid-header-cell, pbl-ngrid.grid-sm .pbl-ngrid-footer-cell {
  padding-left: 6px;
}
[dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-cell, [dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-header-cell, [dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-footer-cell {
  padding-left: 0;
  padding-right: 6px;
}
pbl-ngrid.grid-sm .pbl-ngrid-cell:first-of-type, pbl-ngrid.grid-sm .pbl-ngrid-header-cell:first-of-type, pbl-ngrid.grid-sm .pbl-ngrid-footer-cell:first-of-type {
  padding-left: 12px;
}
[dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-cell:first-of-type, [dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-header-cell:first-of-type, [dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-footer-cell:first-of-type {
  padding-left: 0;
  padding-right: 12px;
}
pbl-ngrid.grid-sm .pbl-ngrid-cell:last-of-type, pbl-ngrid.grid-sm .pbl-ngrid-header-cell:last-of-type, pbl-ngrid.grid-sm .pbl-ngrid-footer-cell:last-of-type {
  padding-right: 12px;
}
[dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-cell:last-of-type, [dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-header-cell:last-of-type, [dir=rtl] pbl-ngrid.grid-sm .pbl-ngrid-footer-cell:last-of-type {
  padding-right: 6px;
  padding-left: 12px;
}
pbl-ngrid.grid-sm .pbl-ngrid-cell.cdk-table-sticky, pbl-ngrid.grid-sm .pbl-ngrid-header-cell.cdk-table-sticky, pbl-ngrid.grid-sm .pbl-ngrid-footer-cell.cdk-table-sticky {
  background: inherit;
}
pbl-ngrid.grid-sm .pbl-ngrid-row-prefix {
  display: none;
  position: absolute;
  cursor: move;
  width: 12px;
  height: 100%;
}
pbl-ngrid.grid-sm .pbl-row-reorder .pbl-ngrid-row-prefix {
  display: block;
}

pbl-ngrid.grid-xs .pbl-ngrid-header-row {
  min-height: 28px;
}
pbl-ngrid.grid-xs .pbl-ngrid-row {
  min-height: 28px;
}
pbl-ngrid.grid-xs .pbl-ngrid-footer-row {
  min-height: 28px;
}
pbl-ngrid.grid-xs .pbl-ngrid-cell, pbl-ngrid.grid-xs .pbl-ngrid-header-cell, pbl-ngrid.grid-xs .pbl-ngrid-footer-cell {
  padding-left: 6px;
}
[dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-cell, [dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-header-cell, [dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-footer-cell {
  padding-left: 0;
  padding-right: 6px;
}
pbl-ngrid.grid-xs .pbl-ngrid-cell:first-of-type, pbl-ngrid.grid-xs .pbl-ngrid-header-cell:first-of-type, pbl-ngrid.grid-xs .pbl-ngrid-footer-cell:first-of-type {
  padding-left: 12px;
}
[dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-cell:first-of-type, [dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-header-cell:first-of-type, [dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-footer-cell:first-of-type {
  padding-left: 0;
  padding-right: 12px;
}
pbl-ngrid.grid-xs .pbl-ngrid-cell:last-of-type, pbl-ngrid.grid-xs .pbl-ngrid-header-cell:last-of-type, pbl-ngrid.grid-xs .pbl-ngrid-footer-cell:last-of-type {
  padding-right: 12px;
}
[dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-cell:last-of-type, [dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-header-cell:last-of-type, [dir=rtl] pbl-ngrid.grid-xs .pbl-ngrid-footer-cell:last-of-type {
  padding-right: 6px;
  padding-left: 12px;
}
pbl-ngrid.grid-xs .pbl-ngrid-cell.cdk-table-sticky, pbl-ngrid.grid-xs .pbl-ngrid-header-cell.cdk-table-sticky, pbl-ngrid.grid-xs .pbl-ngrid-footer-cell.cdk-table-sticky {
  background: inherit;
}
pbl-ngrid.grid-xs .pbl-ngrid-row-prefix {
  display: none;
  position: absolute;
  cursor: move;
  width: 12px;
  height: 100%;
}
pbl-ngrid.grid-xs .pbl-row-reorder .pbl-ngrid-row-prefix {
  display: block;
}