/* =========================================== */
/* CSS for control sap.uxap/ObjectPageSection  */
/* Evening Horizon 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;
}

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

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

.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;
	}
	.sapUxAPObjectPageSection .sapUxAPObjectPageSectionContainer .sapUxAPObjectPageSubSection .sapUxAPBlockContainer {
		margin-left: 1rem;
		margin-right: 1rem;
	}
}

// =====================================
// =====================================
// Delta Styles for Horizon
// =====================================

// =====================================
// Object Page section container style
// =====================================
.sapUxAPObjectPageSection .sapUxAPObjectPageSectionContainer .sapUxAPObjectPageSubSection .sapUxAPBlockContainer {
    padding-bottom:0.5rem;
    padding-top: 0.5rem;
    padding-left: 0;
    padding-right: 0;
    background: @sapUiGroupContentBackground;
    margin-left: 2rem;
    margin-right: 2rem;
    border-radius: @sapUiElementBorderCornerRadius;
}

// Page Section Focus - Experimental
.sapUxAPObjectPageSection:focus {
	outline: 2px solid @sapUiContentFocusColor;
    outline-offset: -0.1875rem;
}

.sapUiSizeCompact .sapUxAPObjectPageSectionTitle {
    padding-bottom: 0;
}

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

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