/* ============================================== */
/* CSS for control sap.esh.search.ui/SearchFacet  */
/* Base theme                                     */
/* ============================================== */

.sapUshellSearchFacetSectionHeader {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	box-sizing: border-box;
	font-size: var(--sapGroup_Title_FontSize);
	font-family: var(--sapFontHeaderFamily);
	color: var(--sapGroup_TitleTextColor);
	height: 2rem;
	line-height: 2rem;
	padding: 0 1rem;
	background-color: var(--sapGroup_TitleBackground);
}

.sapUshellSearchInSection {
	padding-top: 1rem;
}

.sapUshellSearchFacetContainer {
	margin-bottom: 1rem;
}

.sapUshellSearchFacetDataSource {
	margin-bottom: 1rem;
}

.sapUshellSearchFacetHeader {
	border-bottom: var(--sapElement_BorderWidth) solid var(--sapList_TableGroupHeaderBorderColor);
	padding-left: 1rem;
	height: 2.063rem;
}

.sapUshellSearchFacetHeader .sapMLabel {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--sapFontHeaderFamily);
	font-size: var(--sapFontHeader6Size);
	font-weight: @sapUiFontHeaderWeight;
	color: var(--sapList_TableGroupHeaderTextColor);
	background: var(--sapList_GroupHeaderBackground);
}

.sapUshellSearchFacetShowMore .sapMFlexItem:last-child {
	text-align: right;
}

.sapUshellSearchFacetList .sapMListHdr {
	border-bottom: none;
}

.sapUshellSearchFacet .sapMGHLI {
	border-bottom: none !important;
}

/* focus should be visible */
.sapMLIB.sapMCLI.sapUshellSearchFacetList {
	padding: 1px;
}

.sapMCLI.sapMLIB.sapUshellSearchFacetShowMoreItem {
	padding-left: 1rem;
	padding-right: 1rem;

	.sapMFlexItem:last-child {
		line-height: 2rem;
		text-align: right;
	}
}

.sapUshellSearchFacetInfoZeile {

	&:empty {
		display: none;
	}
	line-height: 2rem;
	font-size: var(--sapFontSmallSize);
	vertical-align: middle;
	padding-left: 0.25rem;
}

.sapUshellSearchFacetShowMoreLink {
	line-height: normal;
	vertical-align: middle;
}

.sapUshellSearchFacet .sapMListShowSeparatorsNone .sapMSLIInfoNone {
	overflow: visible;
}

.sapMLIB.sapMCLI.sapUshellSearchFacetList {
	outline-offset: -1px;
}

.sapUshellSearchHierarchyFacetItemIcon {
	width: 1rem;
	margin-left: 0.5rem;
}

.sapUshellSearchHierarchyFacetItemLabel {
	margin-left: 0.5rem;
}

.sapUshellSearchFacetShowMore .sapMFlexItemAlignAuto:nth-child(2) {
	padding-right: 1rem;
}