.notifications {
	display: block !important;
	float: right;
	font-size: 14px;
	margin-top: 9px;
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	width: 35px;
	text-align: center;
	margin-inline: 0.5rem;
	background: rgba(0, 0, 0, 0.1);
	position: relative;
	line-height: normal;
}

@media (min-width: 1024px) {
	.notifications {
		margin-inline: 0;
		margin-top: 5px;
		margin-right: 14px;
		color: #fff;
		background: rgba(0, 0, 0, 0.1);
	}
}

.notifications .fas {
	line-height: 34px;
}
.notifications .noti-counter {
	position: absolute;
	top: -0.25rem;
	right: -0.5rem;
	background: red;
	border-radius: 999999px;
	width: 1.25rem;
	height: 1.25rem;
	line-height: 1rem;
	padding: 0.075rem;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
}

.notifications .noti-counter.hidden {
	display: none;
}

.notifications .noti-content {
	position: absolute;
	z-index: 999999;
	top: calc(100% + 0.5rem);
	right: 0;
	background: #222;
	border-radius: 0.25rem;
	max-height: 320px;
	overflow-y: scroll;
	font-size: 0.75rem;
	font-weight: 400;
	width: max(50svw, 15rem);
	text-align: start;
	max-width: 20rem;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
	cursor: auto;
}
.notifications .noti-content .noti-title {
	padding: 0.5rem 1rem;
	text-align: center;
	border-bottom: 1px solid #333;
	font-size: 14px;
}
.notifications .noti-content ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.notifications .noti-content ul li {
	padding: 10px;
	border-bottom: 1px solid #333;
}
.notifications .noti-content ul li a {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.th.show-notif {
	overflow: visible;
}

.notifications .noti-content.hide-notif {
	opacity: 0;
	height: 0;
	transition: opacity 0.5s, height 0.5s;
	pointer-events: none;
	user-select: none;
	overflow: hidden;
}
