/* =========================================== */
/* CSS for control sap.uxap/ObjectPageSection  */
/* Horizon High Contrast Black theme           */
/* =========================================== */
.sapUxAPObjectPageSection:not(.sapUxAPObjectPageSectionFirstVisible) {
	padding-top: 1.5rem;
}

.sapUxAPObjectPageSection.sapUxAPObjectPageSectionFirstVisible {
	padding-top: 1rem;

	.sapUxAPObjectPageSectionContainer > .sapUiRespGrid > div[class^="sapUiRespGrid"]:first-child > .sapUxAPObjectPageSubSection {
		padding-top: 0;
	}
}

.sapUxAPObjectPageLayout-Std-Desktop .sapUxAPObjectPageSubSectionHeader {
	padding-left: 2rem;
	padding-right: 2rem;
}

.sapUxAPObjectPageSection {
	border-top: 0.0625rem solid @sapUiGroupTitleBorderColor;
}

.sapUiSizeCompact .sapUxAPObjectPageSectionHeader,
.sapUxAPObjectPageSectionHeader {
	height: 2.75rem;
	line-height: 2.25rem;
}

.sapUxAPObjectPageLayoutNoAnchorBar .sapUxAPObjectPageSection:first-of-type > .sapUxAPObjectPageSectionHeader {
	border-top: 0;
}

.sapUiSizeCompact .sapUxAPObjectPageSectionTitle,
.sapUxAPObjectPageSectionTitle {
	height: 2.75rem;
	line-height: 2.25rem;
}

.sapUxAPObjectPageSection:focus {
	outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
	outline-offset: -0.1875rem;
}

.sapUxAPObjectPageSectionHeader,
.sapUxAPObjectPageSubSectionWithSeeMore .sapUxAPSubSectionSeeMoreContainer {
	padding-right: 2.25rem;
}

.sapUxAPObjectPageLayout-Std-Desktop,
.sapUxAPObjectPageLayout-Std-Tablet {
	.sapUxAPObjectPageSectionHeader,
	html .sapUiContainer-Medium .sapUxAPObjectPageSectionHeader,
	.sapUxAPObjectPageSubSectionWithSeeMore .sapUxAPSubSectionSeeMoreContainer {
		padding-right: 1.25rem;
		padding-left: 2rem;
	}
}

.sapUxAPObjectPageLayout-Std-Phone {
	.sapUxAPObjectPageSectionHeader,
	html .sapUiContainer-Narrow .sapUxAPObjectPageSectionHeader,
	.sapUxAPObjectPageSubSectionWithSeeMore .sapUxAPSubSectionSeeMoreContainer {
		padding-right: 1rem;
	}
}

// Styles suporting Table inside ObjectPageSubSection scenario
.sapUiTableOnObjectPageAdjustmentsForSection.sapUxAPObjectPageSection .sapUxAPObjectPageSectionContainer .sapUxAPObjectPageSubSection .sapUxAPBlockContainer {
	background: transparent;
}

.sapUiTableOnObjectPageAdjustmentsForSection .sapUxAPObjectPageSubSection:not(.sapUiAdjustedSectionSubsectionWithoutTable) .sapUxAPBlockContainer > .sapUiRespGrid {
	padding: 0 0;
 }