.ui-standard-entity-table {
  width:100%;
  border-collapse:collapse;
}

/* sticky on thead currently only supported in safari*/
.ui-standard-entity-table thead {
/*
  background-color:#f19b60;
  background-color:#f0f0f0;
  position: -webkit-sticky;
  top:0;
 */
}


.ui-standard-entity-table thead th,
.ui-standard-entity-table thead td {
  border-left:1px solid #e0e0e0;
  border-right:1px solid #e0e0e0;
  text-align:left;
  padding:6px 8px;
/*   font-size:smaller; */
}

/* sticky on th supported in safari and chrome */
.ui-standard-entity-table thead tr:first-child th,
.ui-standard-entity-table thead tr:first-child td {
  box-shadow:0px 1px 0px rgba(220, 220, 220, 1);
  padding:6px 8px 6px 8px;
  background-color:#f0f0f0;
  position: -webkit-sticky;
  position: sticky;
  height:28px;
  top:0;
}

/* sticky on th supported in safari and chrome */
.ui-standard-entity-table thead tr:nth-child(2) th,
.ui-standard-entity-table thead tr:nth-child(2) td {
  box-shadow:0px 1px 0px rgba(220, 220, 220, 1);
  padding:2px 4px 8px 4px;
  background-color:#f0f0f0;
  position: -webkit-sticky;
  position: sticky;
  top:28px;
}

.ui-standard-entity-table tbody tr:nth-child(even) {
  background-color:#fafafa;
  font-size: var(--text-font-size);
}

.ui-standard-entity-table tbody tr:nth-child(odd) {
  background-color:#fff;
  font-size: var(--text-font-size);
}

.ui-standard-entity-table thead tr:nth-child(2) th input {
  padding:6px 8px;
  width:100%;
  min-width:36px;
  border:1px solid #e0e0e0;
  border-radius:2px;
/*
  background-color:#c0c0c0;
  color:#fff;
 */
}

.ui-standard-entity-table tbody th,
.ui-standard-entity-table tbody td {
/*   border:1px solid #eee; */
  text-align:left;
  padding:4px 8px;
/*   font-size:smaller; */
  border:1px solid #eee;
}

.ui-standard-entity-table tbody th a,
.ui-standard-entity-table tbody td a {
  color:#000000;
}

.ui-standard-entity-table th {
  white-space:nowrap;
}

.ui-standard-entity-table th:first-child,
.ui-standard-entity-table td:first-child {
  border-left:none;
}

.ui-standard-entity-table th:last-child,
.ui-standard-entity-table td:last-child {
  border-right:none;
}

.ui-standard-entity-table thead tr:first-child th,
.ui-standard-entity-table thead tr:first-child td {
  border-top:none;
}

.ui-standard-entity-table tr:last-child th,
.ui-standard-entity-table tr:last-child td {
  border-bottom:none;
}

.ui-standard-entity-table {
/*   border-bottom:1px solid #eee; */
}

/* first coilumn with id */
.ui-standard-entity-table tr th:first-child,
.ui-standard-entity-table tr td:first-child {
  width:1px;
  white-space:nowrap;
  text-align:right;
}

.ui-standard-entity-table thead tr:nth-child(2) th:first-child input {
  text-align:right;
}

/* last coilumn with action */
.ui-standard-entity-table tr th:last-child,
.ui-standard-entity-table tr td:last-child {
  width:1px;
  white-space:nowrap;
  text-align:right;
}

.mb-inline-table, .mb-inline-table td {
  font-size:12px;
}

.mb-inline-table td {
  padding-top:8px !important;
  padding-bottom:8px !important;
  text-align: left !important;
}

.selected-row{
  background-color:#a7a9b3 !important;
  font-size: var(--text-font-size);
}
