/* ================================== */
/* CSS for control sap.m/Panel        */
/* Horizon High Contrast White theme  */
/* ================================== */

.sapMPanel {
	min-height: 2.75rem;
}

.sapMPanelBGSolid {
	background-color: @sapUiGroupContentBackground;
}

.sapMPanelBGTranslucent {
	background-color: @sapUiGroupContentBackground;
}

.sapMPanelBGTransparent {
	background-color: transparent;
}

/* if Panel is not expandable, we do wish header to come with own border */
.sapMPanel .sapMPanelHeadingDiv > .sapMPanelHdr,
/* notice: sapMPanelWrappingDiv is available if Panel is expandable */
.sapMPanelWrappingDiv,
/* do not want border if expanded and if only header text */
.sapMPanelWrappingDivTb {
	border-bottom: 0.0625rem solid @sapUiGroupTitleBorderColor;
}

.sapMPanelWrappingDiv.sapMPanelWrappingDivExpanded,
.sapMPanelWrappingDivTb.sapMPanelWrappingDivTbExpanded {
	border-bottom: 0.0625rem solid @sapUiGroupTitleBorderColor;
}

.sapMPanelWrappingDivTb .sapMTB.sapMTBStandard {
	border: none;
}

.sapMPanelContent:not(.sapMPanelBGTransparent) {
	border-bottom: 0.0625rem solid @sapUiGroupTitleBorderColor;
}

.sapMPanelContent {
	padding: 0.625rem 1rem;
}

.sapMPanel .sapMPanelHdr {
	line-height: 2.75rem;
	height: 2.75rem;
}

.sapMPanelWrappingDiv .sapUiIcon {
	width: 2.5rem;
	font-size: 1.375rem;
}

.sapUiSizeCompact {
	.sapMPanel {
		min-height: 2.5rem;
	}
	.sapMPanelWrappingDiv .sapUiIcon {
		width: 2rem;
	}
}

.sapMPanelWrappingDiv .sapUiIcon {
	color: @sapButton_Lite_TextColor;
}
