
.notification {
    text-align: center;
    color: white;
    margin-top: -7px;
    font-weight: normal;
    margin-bottom: 8px;
    line-height: 1.3em;
    padding: 5px 10px;
    overflow: hidden;
    display: none;
    transition: all 0.2s ease;
}
.notification.show {
	display: block;
}
.notification .icon {
	color: #ffd002;
}
.notification .close {
	cursor: pointer;
	background-color: transparent;
	border: 0;
	font-size: 15px;
	width: 14px;
	margin-left: 10px;
}
.notification .mess {
	vertical-align: middle;
	max-width: calc( 100% - 50px );
	overflow-y: hidden;
	overflow-x: auto;
	display: inline-block;
	white-space: nowrap;
}
.main_header.transparent .notification:not(.orange_bg) {
	margin-bottom: 0;
	padding-bottom: 0;
}

.main_header .notification.orange_bg {
	background-color: #ff9900;
}
.main_header .notification.orange_bg a {
	color: inherit;
	text-decoration: underline;
}

body.has_notification .main_content > *:first-child {
	margin-top: 32px;
}

@media( max-width: 1024px ){
	.notification {
		margin-top: -8px;
	}

	body.has_notification .main_content > *:first-child {
		margin-top: 28px;
	}
}
@media( max-width: 500px ){
	.notification {
		font-size: 12px;
	}
}






.main_header.transparent .notifications .icon {
	filter: brightness(0) invert(1);
}

body.scrolled .main_header.fixed .notification {
	margin-top: -15px;
	height: 0;
	margin-bottom: 2px;
}

@media( max-width: 1024px ){
	body.scrolled .main_header.fixed .notification {
		margin-bottom: 6px;
	}
}






.main_header .notifications a {
	white-space: normal;
}
.main_header .notifications .icon-wrap {
	cursor: pointer;
}
.main_header .notifications .icon {
	display: inline-block;
}
.main_header .notifications .unread {
	position: absolute;
	background-color: #DE350B;
	color: white;
	display: block;
	width: 15px;
	height: 15px;
	font-size: 10px;
	font-weight: bold;
	line-height: 15px;
	text-align: center;
	border-radius: 50%;
	margin-left: 10px;
	z-index: 1;
	margin-top:  22px;
}
.main_header .notifications .unread[data-count="0"] {
	display: none;
}
.main_header .notifications ul {
	position: absolute;
	background-color: white;
	width: 300px;
	right: -18px;
	margin-top: 0!important;
	display: none;
	z-index: 1;
	border-radius: 20px;
	overflow: hidden;
	padding: 10px 0;
	padding-bottom: 15px;
    box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 20%);
}
.scrolled .main_header .notifications ul {
	top: 57px!important;
}
.main_header .notifications.active ul {
	display: block;
}
.main_header .notifications li li {
	margin-bottom: -2px;
}
.main_header .notifications li li a {
	font-weight: 400;
	font-size: 14px;
	line-height: 1.3em;
	text-overflow: ellipsis;
	overflow: hidden;
}
.main_header .notifications li li:not(.tc) a {
	padding: 10px 25px;
	color: inherit;
	display: block;
}
.main_header .notifications li li.tc {
	margin-top: 10px;
}
.main_header .notifications li li.tc a {
	font-weight: bold;
}
.main_header .notifications li li.active a {
	font-weight: bold;
}
.main_header .notifications li li:not(.tc) a:hover {
	background-color: #f1f1f1;
	color: #00b4ab;
}
.main_header .mobile_buttons .notifications .icon {
	color: #0f9a93;
}



@media( max-width: 1024px ){
	.main_header .notifications {
		float:  none;
		display:  inline-block;
		display:  none;
    	margin-top:  0;
	}
	.main_header .mobile_buttons .notifications {
		display:  inline-block;
	}
	.main_header .mobile_buttons .notifications span {
		margin-top: 10px;
    	margin-left: 30px;
	}
	.main_header .mobile_buttons .notifications .icon {
		padding:  0;
	}
}