/* Notifications.css */

/* The container area for all visible notifications */
.notifications-visible {
	background-color: rgba(0,0,0,.5);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.5) calc(100% - 5px), transparent 100%);

	position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;

	display: flex;
	flex-direction: column-reverse;
}

/* The container area for an individual notification */
.notification {
	/*text-align: center;*/
	margin-bottom: 4px;
	display: flex;
	position: relative;
}

.notification:first-child {
	margin-bottom: 7px;
}
.notification:last-child {
	padding-top: 4px;
}

/* Notification content container */
.notification-body {
	display: inline-block;
	background-color: beige;
	color: #464646;

	padding: 4px 8px;
	font-size: 0.9em;

	/* set side margins to 'auto' to center within its container */
	margin-left: auto;
	margin-right: auto;
}

/* Transitions for notifications */
.notification.slide {
	transition: margin-top .3s ease, opacity .3s ease;
	margin-top: -30px;
	opacity: 0;
}

.notification.slide.in {
	margin-top: 0;
	opacity: 1;
}

.notification .notification-content {
	display: inline-block;
}

.notification .notification-dismissal {
	display: inline-block;
	margin-left: 4px;
	cursor: pointer;
	opacity: 0.8;
}
.notification .notification-dismissal:hover {
	opacity: 1;
}

.notification .deletion-undo {
	cursor: pointer;
	background: #cacaa5;
	color: #000;
	padding: 5px 3px 6px;
	text-decoration: none;
}

.notification .deletion-undo:hover {
	background: #e2e2bb;
}

.notification .project-name {
	font-weight: bold;
}

.notification .dismiss-countdown {
	display: inline-block;
}
.notification .dismiss-countdown svg {
	vertical-align: text-bottom;
}
.notification .dismiss-countdown svg path,
.notification .dismiss-countdown svg circle {
	fill: #464646;
}