/* Migration Fix to review: MIG-0388 global PrimeNG table chrome for Admin site-blue headers and grid borders. */

.p-datatable {
  border: 1px solid #0f87bb;
  border-radius: 2px;
  /* Migration Fix to review: MIG-0391 keep overflow visible so paginator rows dropdown is not clipped and does not shift the table. */
  overflow: visible;
  background: #ffffff;
}

.p-datatable .p-datatable-thead > tr > th:first-child {
  border-top-left-radius: 2px;
}

.p-datatable .p-datatable-thead > tr > th:last-child {
  border-top-right-radius: 2px;
}

.p-datatable .p-datatable-paginator-bottom {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.p-datatable .p-datatable-thead > tr > th,
.p-datatable .p-datatable-header {
  background: #139dd8 !important;
  color: #efefef !important;
  border-color: #0f87bb !important;
  font-weight: 700;
}

.p-datatable .p-datatable-thead > tr > th {
  border-width: 0 1px 1px 0;
  border-style: solid;
}

.p-datatable .p-datatable-thead > tr > th:last-child {
  border-right-width: 0;
}

.p-datatable .p-datatable-tbody > tr > td {
  border-color: #c9d6dd !important;
  border-width: 0 1px 1px 0;
  border-style: solid;
  color: #000000;
}

.p-datatable .p-datatable-tbody > tr > td:last-child {
  border-right-width: 0;
}

.p-datatable .p-datatable-tbody > tr:last-child > td {
  border-bottom-width: 1px;
}

.p-datatable .p-datatable-tbody > tr:hover {
  background: #e7f6fc !important;
}

.p-datatable .p-datatable-tbody > tr.p-datatable-row-selected,
.p-datatable .p-datatable-tbody > tr[data-p-selected="true"] {
  background: #cfeed9 !important;
  color: #000000 !important;
}

.p-datatable .p-sortable-column .p-sortable-column-icon,
.p-datatable .p-datatable-sort-icon {
  color: #efefef !important;
}

.p-datatable .p-datatable-paginator-bottom,
.p-datatable .p-datatable-paginator-top,
.p-datatable .p-paginator {
  border-color: #c9d6dd;
  background: #ffffff;
}
