.notification {
	display: flex;
	padding: 15px;
	transition: background .125s;
}

.notification:not(:last-child) {
	border-bottom: 1px solid rgb(238, 238, 238);
}

.notification-container {
	background-color: white;
	display: none;
	position: absolute;
	right: 50px;
	top: 45px;
	width: 350px;
	min-height: 100px;
	max-height: 260px;
	border-radius: 0 0 3px 3px;
	border: 1px solid rgb(238, 238, 238);;
}

.notification-container .emptycontent h2 {
	font-weight: 300;
	font-size: 16px;
}

/* Fill width on mobile */
@media (max-width: 500px) {
	.notification-container {
		right: 5%;
		width: 90%;
	}
}

.notification {
	color: black;
	position: relative;
}

.notification .notification-empty {
	color: #999;
}

.notification > .notification-delete {
	position: absolute;
	top: 8px;
	right: 8px;
	opacity: 0.3;
	transition: opacity .25s;
	text-indent: -9999px;
	background-color: transparent;
	margin: 0;
	padding: 0;
}

.notification:not(:hover) > .notification-delete {
	opacity: 0;
}

.notification:hover {
	background-color: #f8f8f8;
}

.notification-delete:hover {
	opacity: 0.8 !important;
	cursor: pointer;
}

.notification-delete img, .notifications-button img {
	cursor: pointer;
}

.notifications-button {
	position: relative;
	float: right;
	width: 21px;
	height: 21px;
	display: block;
	border-radius: 50%;
	text-align: center;
	padding: 10px;
	opacity: 0.7;
	cursor: pointer;
}
.notifications-button.hasNotifications {
	opacity: 1 !important;
}

.notifications-button:hover {
	opacity: 1;
}

.notification .button {
	border: 1px solid rgba(240,240,240,.9) !important;
	padding: 0 10px;
	box-shadow: none;
	margin: 0;
	float: left;
}

.notification .notification-actions {
	float:right;
	padding: 0;
}

.notification .notification-actions:first-child {
	margin-left: auto;
}

.notification .notification-subject {
	display: inline-block;
	margin-right: 10px;
	font-weight: bold;
}

.notification .notification-icon {
	width: 32px;
	height: 32px;
	margin-right: 14px;
}

.notification .notification-content {
	overflow: hidden;
}

.notification .notification-title {
	color: #000;
	font-size: 12.8px;
	line-height: 20.48px;
	font-weight: 600;
	margin: 5px 0 10px;
	width: 270px;
	/*white-space: nowrap;*/
	overflow: hidden;
	text-overflow: ellipsis;
}

.notification .notification-message {
	line-height: 20px;
	padding-bottom: 5px;
	width: 270px;
	/*white-space: nowrap;*/
	overflow: hidden;
	text-overflow: ellipsis;
}

.notification-container {
	box-shadow: 0 1px 10px rgba(50, 50, 50, .7);
	overflow: auto;
	overflow-x: hidden;
}

.notifications .emptycontent {
	margin: 50px 0;
}
