/* ================================= */
/* CSS for control sap.m/Table       */
/* Belize High Contrast White theme  */
/* ================================= */

.sapMListTblHeader,
.sapMListTblFooter {
	background: @sapUiListBackground;
}

.sapMListTbl {
	/* HCB Additional Style */
	border: 1px solid @sapUiListHeaderBorderColor;
}

.sapMSticky .sapMTB-Info-CTX.sapMTB.sapMListInfoTBar {
	margin-top: 0;
	margin-bottom: 0;
}

.sapMSticky .sapMListInfoTBarContainer {
	padding: 2px 0;
}

/* table column header */
.sapMListTbl th {
	border-bottom: 0.125rem solid @sapUiListHeaderBorderColor;
}

// to ensure that the bottom focus outline is visible on the table header row,
// the <th> bottom border color is made transparent
.sapMLIBFocusable:not(.sapMTableRowCustomFocus):focus > .sapMTableTH {
	border-bottom-color: transparent;
}

.sapMTableRowCustomFocus:focus > :not(.sapMListTblDummyCell:last-child)::before {
	border-width: 2px;
}

.sapMColumnHeaderActive:focus {
	outline-width: 3px;
}

/* table footer */
.sapMListTblFooter > td {
	border-top: 0.125rem solid @sapUiListTableFooterBorder;
}

/* moved due to new default vertical-align regardless of density */
.sapMListTblSelCol,
.sapMListTblNavCol,
.sapMListTblCell {
  vertical-align: top;
}

/* vertical alignment is middle for the compact */
.sapUiSizeCompact{
	.sapMListTblSelCol,
	.sapMListTblNavCol,
	.sapMListTblCell {
		vertical-align: middle;
	}
}

/* default padding of the data cells */
.sapMListTblCell {
	padding-top: .875rem;
	padding-bottom: .875rem;
}

/* reduced padding for compact and vAlign=Middle */
.sapUiSizeCompact .sapMListTblCell,
.sapMListTblRowMiddle > .sapMListTblCell {
	padding-top: .25rem;
	padding-bottom: .25rem;
}