/* Table */
.flat-theme {
  overflow: auto;
  font-size: 13px;
}
.flat-theme table.table {
  border-collapse: separate;
  border: 1px solid #ffffff;
}

/* Rows, Headers And Cells */
.flat-theme .table tr,
.flat-theme .table th,
.flat-theme .table td {
  border: 1px solid #ffffff;
  padding: 5px;
}

/* Table Headers */
.flat-theme .table th {
	background: #f8f9fa;
    color: #2e1f1f;
    text-align: center;
    font-weight: normal;
    border: 1px solid lightgrey;
}

/* A Grouping Name On A Row */
.flat-theme .table .title {
  text-align: center;
  background: rgba(105, 211, 191, 0.25);
  white-space: nowrap;
}

/* The First Grouping Name On A Row */
.flat-theme .table .first-title {
	background: white;
    color: #3a2c2c;
    font-weight: normal;
    vertical-align: middle;
    border: 1px solid lightgrey;
}

/* Cells That Contain Numbers */
.flat-theme .table .value {
  text-align: right;
  background: rgba(44, 62, 80, 0.05);
}

/* A SubTotal Row */
.flat-theme .table .sub-total-row {
}

/* A Cell In A SubTotal Row */
.flat-theme .table .sub-total-row td {
  text-align: center;
  background: #2c3e50;
  color: white;
  font-weight: normal;
}

/* A Cell In A SubTotal Row That Is Vertically Aligned With A Row Grouping Name */
.flat-theme .table .sub-total-row td.title {
  text-align: center;
  background: #2c3e50;
  color: white;
}

.flat-theme .table .sub-total-row td.title:first-of-type {
  font-weight: normal;
}

/* The GrandTotal Row */
.flat-theme .table .grand-total-row {
}

/* A Cell In The GrandTotal Row */
.flat-theme .table .grand-total-row td {
	text-align: center;
    background: #f8f9fa;
    color: #bb0f0f;
    font-weight: normal;
	border: 1px solid lightgrey;
}

/* A Cell In A GrandTotal Row That Is Vertically Aligned With A Row Grouping Name */
.flat-theme .table .grand-total-row td.title {
  text-align: center;
  background: white;
  color: crimson;
}

.flat-theme .table .grand-total-row td.title:first-of-type {
  font-weight: normal;
}

/* Slicer Styles */
.flat-theme .slicer .board .item.selected {
  background: lightgrey;
  color: #495057;
}
