/* Notifications Drop Down and Bell */

/* Notifications */
.bell-notification {
	display: inline-block;
	position: relative;
	/*padding: 0.5em;*/
	/*background: #3498db;*/
	border-radius: 0.2em;
	font-size: 1em;
	/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
	/*top: -3px;*/
	top: 6px;
	z-index: 1001;
	height: 25px;
	/*right: 20px;*/
	/*right: 170px;*/
	cursor: pointer;
}

.bell-notification::before, 
.bell-notification::after {
	/*color: #fae452;*/
	/*color: #fff;*/
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bell-notification::before {
	display: block;
	content: "\f0f3";
	font-family: 'Font Awesome 5 Free';
	color: white;
	/*font-family: "FontAwesome";*/
	transform-origin: top center;
}

.bell-notification::after {
	font-family: Arial;
	font-size: 0.5em;
	font-weight: 700;
	position: absolute;
	top: 10%;
	/*top: 1px;*/
	right: -9px;
	padding: 0 3px 0 4px;
	/*padding: 4px 6px;*/
	line-height: 13px;
	border: 1px;
	/*border-radius: 40px;*/
	border-radius: 2px;
	background: #b20000; /*#fae452;*/
	color: #fae452;
	/*background: #3498db;*/
	opacity: 0;
	content: attr(data-count);
	opacity: 0;
	-webkit-transform: scale(0.2);
	transform: scale(0.2);
	transition: transform, opacity;
	transition-duration: 0.3s;
	transition-timing-function: ease-out;
	z-index: 1001;
}

.bell-notification.notify::before {
	-webkit-animation: ring 1.5s ease;
	animation: ring 1.5s ease;
}

.bell-notification.show-count::after {
	-webkit-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

@-webkit-keyframes ring {
	0% {
		-webkit-transform: rotate(35deg);
	}
	12.5% {
		-webkit-transform: rotate(-30deg);
	}
	25% {
		-webkit-transform: rotate(25deg);
	}
	37.5% {
		-webkit-transform: rotate(-20deg);
	}
	50% {
		-webkit-transform: rotate(15deg);
	}
	62.5% {
		-webkit-transform: rotate(-10deg);
	}
	75% {
		-webkit-transform: rotate(5deg);
	}
	100% {
		-webkit-transform: rotate(0deg);
	}
}

@keyframes ring {
	0% {
		-webkit-transform: rotate(35deg);
		transform: rotate(35deg);
	}
	12.5% {
		-webkit-transform: rotate(-30deg);
		transform: rotate(-30deg);
	}
	25% {
		-webkit-transform: rotate(25deg);
		transform: rotate(25deg);
	}
	37.5% {
		-webkit-transform: rotate(-20deg);
		transform: rotate(-20deg);
	}
	50% {
		-webkit-transform: rotate(15deg);
		transform: rotate(15deg);
	}
	62.5% {
		-webkit-transform: rotate(-10deg);
		transform: rotate(-10deg);
	}
	75% {
		-webkit-transform: rotate(5deg);
		transform: rotate(5deg);
	}
	100% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
}

/*.notifications .bell {
	display: inline-block;
	height: 24px;
	min-width: 38px;
	padding: 0 7px;
	position: relative;
	cursor: pointer;
	float: right;
	z-index: 1001;
}*/
.menu .anchor::after {
	content: '';
	right: 0;
	position: relative;
	margin: 3px 4px 5px 6px;
	background-size: 6px 5px;
	background-repeat: no-repeat;
	/*background-image: url(//assets.pivotaltracker.com/next/assets/next/4d6a9b4f-dropdown.png);*/
	width: 6px;
	height: 5px;
}
.menu .anchor:hover::after {
	background-size: 6px 5px;
	background-repeat: no-repeat;
	/*background-image: url(//assets.pivotaltracker.com/next/assets/next/e2250b0d-dropdown_hover.png);*/
	width: 6px;
	height: 5px;
}
.notifications .counter.unread {
	display: block;
	position: relative;
	margin-left: 10px;
	font-family: open-sans,EmojiFontFace,helvetica,arial,sans-serif;
	font-size: 9px;
	border-radius: 2px;
	padding: 0 3px 0 4px;
	line-height: 13px;
	color: #f3f3f3;
	background-color: #b20000;
}

/*.notifications .bell:hover::before {
	opacity: .5;
}
.notifications .bell::before {
	content: '';
	background: url('https://assets.pivotaltracker.com/next/assets/next/b7fde885-notifications-bell.svg');
	height: 17px;
	width: 13px;
	opacity: .25;
	position: absolute;
	top: 10px;
	left: -170px;
	z-index: 1001;
}*/
.notifications .counter {
	display: none;
}
.notifications {
	position: relative;
	background-color: green;
}
.notifications-content {
	padding: 0;
	min-height: 168px;
	max-height: 386px;
	overflow-x: hidden;
	overflow-y: auto;
	position: relative;
}
.no-notifications::after {
	content: "You have no notifications.";
	color: #aaa;
	position: absolute;
	text-align: center;
	left: 0;
	right: 0;
	top: 50%;
	margin-top: -7px;
	font-weight: 700;
}
.notifications.menu .dd-menu {
	position: absolute;
	width: 320px;
	background-color: #f3f3f3;
	z-index: 1000;
	border-radius: 2px;
	box-shadow: 0 2px 5px rgba(0,0,0,.4);
	color: #fff;
	font-size: 12px;
	margin-top: 13px;
	right: -72px;
}
.notifications.menu .dd-menu::before {
	content: '';
	position: absolute;
	background-size: 9px 6px;
	background-repeat: no-repeat;
	background-image: url(//assets.pivotaltracker.com/next/assets/next/db3d396d-brown_arrow_up.png);
	width: 9px;
	height: 6px;
	top: 0;
	left: 0;
	margin-left: 229px;
	margin-top: -6px;
}
.notifications.menu .dd-menu .title {
	background-image: none;
	/*background-color: #908674;*/
	border-top-radius: 2px;
	font-weight: 600;
	line-height: 32px;
	overflow: hidden;
	text-transform: uppercase;
}
.notifications.menu .dd-menu .content, .notifications.menu .dd-menu .title {
	padding-left: 10px;
	padding-right: 10px;
}
.item.notification {
	color: #333;
	background-color: #f7f7f7;
	border-bottom: 1px solid #ddd;
	font-size: 12px;
	padding: 10px 10px 10px 35px;
	position: relative;
}
.item.notification:hover {
	background-color: #f0f0f0;
}
.item.notification.unread {
	background-color: #ecf5fb;
	cursor: pointer;
}
.item.notification.unread:hover {
	background-color: #dceaf4;
}
.item.notification .mark_read::before {
	background-color: #298bb1;
	border-radius: 10px;
	content: '';
	height: 8px;
	position: absolute;
	left: 50%;
	margin-top: -4px;
	margin-left: -4px;
	top: 50%;
	width: 8px;
}
.item.notification .type.story.acceptance {
	background-size: 17px 15px;
	background-repeat: no-repeat;
	/*background-image: url(/img/accept.png);*/
	/*background-image: url(//assets.pivotaltracker.com/next/assets/next/f6645934-story_acceptance.png);*/
	width: 17px;
	height: 15px;
}
.item.notification .type.story.canceled {
	background-size: 17px 15px;
	background-repeat: no-repeat;
	/*background-image: url(/img/cancel.png);*/
	/*background-image: url(//assets.pivotaltracker.com/next/assets/next/f6645934-story_acceptance.png);*/
	width: 17px;
	height: 15px;
}
.item.notification .type {
	top: 10px;
}
.item.notification .mark_read, .item.notification .type {
	position: absolute;
	left: 10px;
}
.item.notification .created_at {
	float: right;
	color: #aaa;
	font-size: 10px;
}
.item.notification .created_at, .item.notification section {
	line-height: 1.5;
}
.item.notification .project_name {
	color: #888;
	margin-bottom: 2px;
	margin-right: 5px;
	height: 14px;
	line-height: 14px;
	-ms-text-overflow: ellipsis;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.item.notification .details, .item.notification .project_name {
	display: block;
	font-weight: 600;
}
.item.notification .details {
	color: #666;
	font-weight: normal;
}
.item.notification .details a {
	color: #205f8a;
	text-decoration: none;
	word-wrap: break-word;
}
.item.notification .details a:hover {
	text-decoration: underline;
}
.item.notification.unread .mark_read {
	display: block;
}
.item.notification .mark_read {
	position: absolute;
	left: 10px;
	display: none;
	width: 20px;
	height: 20px;
	margin-left: -2px;
	top: 25px;
}
.item.notification .message {
	display: block;
	word-wrap: break-word;
}
.item.notification .message::after {
	content: '.';
}
.notifications.menu footer {
	position: relative;
	background-color: #fff;
	border-top: 1px solid #ddd;
	width: 100%;
	height: 40px;
	border-bottom-radius: 2px;
	padding-top: 0;
	margin-top: 0;
}
.notifications.menu footer::after {
	content: "";
	display: table;
	clear: both;
}
.notifications.menu footer a {
	width: 50%;
	float: left;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 40px;
	text-align: center;
	color: #908674;
	font-size: 11px;
	font-weight: 700;
	box-sizing: border-box;
	border-bottom-radius: 2px;
	cursor: pointer;
}
.notifications.menu footer a:hover {
	background-color: #eee;
}
.notifications.menu footer a + a {
	border-left: 1px solid #ddd;
}
span:focus {
	outline:none !important;
}