/* ========================================= */
/* CSS for control sap.ushell/Notifications  */
/* Base theme                                */
/* ========================================= */

.sapUshellNotificationsList {
	height: 100%;
	margin-top: 0;
}

.sapMLIB.sapMNLI.sapUshellNotificationsListItem {
	margin-left: 0;
	margin-right: 0;
}

.sapUshellNotificationsView {
	box-sizing: border-box;
	height: 100%;
	padding-left: 1rem;

	@media (min-width: 600px) {
		padding-left: 6rem;
	}

	@media (min-width: 1440px) {
		padding-left: 9rem;
	}
}

.sapUshellNonAnimatedNotificationListItem {
	max-height: 31.2rem;
	transform: translateX(0rem) translateZ(0);
	width: 20rem;
	position: relative;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: transform 0ms cubic-bezier(.78, -0.35, .46, .95);
}

.sapUshellNotificationsMoreCircle {
	text-align: center;
	min-width: 4.5rem;
	height: 4.5rem;
	padding-top: 0.938rem;
	padding-bottom: 1rem;
	padding-left: 1rem;
	padding-right: 1rem;
	border-radius: 100%;
	font-family: var(--sapFontFamily);
	font-size: @sapMFontMediumSize;
}

.sapUshellNotificationsMoreCircleCount {
	font-family: var(--sapFontFamily);
	font-size: var(--sapFontHeader2Size);
	font-weight: @sapUiFontHeaderWeight;
}

.sapUshellNotificationsMoreHelpingText {
	font-family: var(--sapFontFamily);
	font-size: @sapMFontMediumSize;
}

.sapUshellNotificationsMoreVBox {
	padding-top: 2rem;
	padding-bottom: 2rem;
	/* to support proper appearance on safari browser */
	text-align: center;
	align-items: center;

	.sapMFlexItem {
		margin: auto;
	}

	.sapUshellNotificationsMoreCircle.sapMFlexItem {
		margin-bottom: 1rem;
	}
}

.sapUshellNotificationsListPopup {

	.sapMPopoverWrapper {
		min-height: 10rem;
		max-height: 40rem;
	}
	width: 27rem;
}

@media (max-width: 600px) {

	.sapUshellNotificationsListPopup {
		width: 25rem;
	}
}

.sapUshellNotificationsAlertListItem {
	margin: 0.5rem;
	box-shadow: var(--sapContent_Shadow1);
}

.sapUshellNotificationsAlertList {
	max-width: 26rem;
}

@media (max-width: 600px) {

	.sapUshellNotificationsAlertList {
		max-width: 24rem;
	}
}

.sapUshellNotificationsPopup {

	.sapMPopoverCont {
		margin: 0.5rem 0;
		padding: 0;
	}

	.sapUshellNotificationsView {
		padding: 0;
	}

	.sapMITBHead {
		margin: 0;
	}

	.sapMITBContainerContent {
		border: 0; /* removes duplicate border on HC themes */
	}

	.sapMITBContent {
		border-bottom: none;
	}

	#shellNotificationsPopover-scroll {
		overflow: hidden;
	}

	#notificationsView--notificationIconTabBar .sapMITBNotScrollable {
		margin: 0;
	}

	#notificationsView--notificationIconTabBar-content {
		margin: 0;
	}

	/* popover width is fixed in fiori3 */
	@media (min-width: 600px) {

		#notificationsView--notificationIconTabBar-content {
			width: 28.5rem;
		}
	}
}

/* override IconTabBar according to the Notifications specification */
#notificationsView {

	.sapMITH {
		padding: 0 1rem;
	}

	.sapMITBContent {
		padding: 0;
	}
}

/* workaround for the un-rendered content after scroll in iOS */
.sap-ios #shellNotificationsPopover-scroll {
	transform: translate3d(0, 0, 0);
}