.notifications__header {
    display: flex;
    align-items:center;
    margin: 1em 0 1.5em;
    gap: 8px;
    line-height: 1;
}

.notifications__title {
    font-size: 1.6em;
    padding: 0 0 0 8px;
    flex:1;
    margin:0;
    align-self:center;
}

.notifications__empty {
    text-align: center;
    padding: 64px;
    /* background-color: #f2f2f2; */
    max-width: 300px;
    margin: 0px auto;
    border-radius: 8px;
    display: none;
}


.notifications__read-empty {
    text-align: center;
    padding: 64px;
    /* background-color: #f2f2f2; */
    max-width: 300px;
    margin: 0px auto;
    border-radius: 8px;
}


.notifications__settings-link {
   color: inherit;
   align-self:center;
   margin: 6px 4px 0 0;
   opacity: 0.8;
}

.notifications {

}

.notifications__new,
.notifications__unread {
    padding: 32px 24px;
    max-width: 640px;
    margin: 0 auto;
}

.notifications__new  .notification__description {
    font-weight: 600;
}

.notifications__previously-seen-items {
    padding: 0 24px;
    max-width: 640px;
    margin: 0 auto;
}

.title {
    text-align: center;
    padding: 64px 0 0;
    margin: 0 0 -16px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.3;
    font-size: 20px;
    display: none;
}

hr {
    margin: 0;
}

.notifications__previously-seen {
    padding: 32px 0;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

.notifications__mark-as-read {
    text-align: right;
    cursor: pointer;
    color: inherit;
    text-decoration:none;
}


.notifications__status {
    font-weight: 700;
    font-size: 16px;
    padding: 24px 0 0;
    cursor: pointer;
    text-align: center;
}

.notifications__new-list,
.notifications__previous-list,
.notifications__previous-list-open {
    list-style: none;
    padding: 0;
    margin-top: -2px;
}

.notifications__previous-list,
.notification__group-items {
    overflow: hidden;
    max-height: 0;
    /* transition: max-height 0.3s ease-out; */
}

.notifications__previous-list.EXPAND,
.notification__group.EXPAND .notification__group-items {
    /* overflow: hidden;
    transition: max-height 0.3s ease-out;
    height: auto;*/
    max-height: 800px; 
}

.notification {
    line-height: normal;
    line-height: 1.2; 
    padding: .6em .4em;
    margin: 0;
    display: flex;
    gap: 12px;
    cursor: pointer;
    border-radius: 4px;
    text-decoration:none;
    color: inherit;
}

.notification.EXPANDED  {
    background-color: rgba(0,0,0,.04);
}

.notification:last-child {
    border-bottom: none;
}

.notification__group {
    margin-top:-16px;
}

.notification__group.EXPAND {
    /* background-color: #f2f2f2;
    padding: 0 16px;
    border-radius: 6px; */
    /* margin: -12px -16px 20px; */
}

.notification__group-items {
    margin:0;
    padding:0;
}

.notification__avatar-wrapper {
    position:relative;
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
}

.notification__avatar,
.notification__avatar-group {
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    box-sizing: border-box;
    position:relative;
}

.notification__avatar.ICON-NEWS {
    background-color: #ff2d55
}

.notification__avatar.ICON {
    background-color: #e5e5e5; 
}

.notification__avatar.ICON-WORK {
    background-color: #f77838; 
}

.notification__avatar.ICON-LIA {
    background-color: #349634; 
}


.notification__avatar.ICON-SURVEY{
    background-color: #5ca3ea; 
}

.notification__avatar.ICON-BOOK {
    background-color: #f89f0f; 
}

.notification__avatar.ICON-FILE {
    background-color: #f0c82c;
}

.notification__avatar.ICON-GRADE {
    background-color: #5856d6; 
}

.notification__avatar.ICON-SUBMISSION {
    background-color: #5d67f1; 
}

.notification__avatar.ICON-CHANNEL{
    background-color: #70ce0c;
    /* background-color: #761d76;   */
}

.notification__avatar.ICON-COMMENT {
    background-color: #34aadc; 
}


.notification__avatar.ICON-CHANNEL-1  {
    background-color: #00e006;
    /* background-color: #761d76;   */
}

.notification__avatar.ICON-CHANNEL img{
    width: 1.5em;
    height: 1.5em; 
    position: relative;
    top: 6px;
    left: 8px;
}

.notification__avatar.ICON-COMMENT img{
    width: 1.5em;
    height: 1.5em; 
    position: relative;
    top: 6px;
    left: 8px;
}

.notification__avatar.ICON-CHANNEL-1 img{
    width: 1.2em;
    height: 1.2em; 
    position: relative;
    top: 4px;
    left: 10px;
}


.notification__avatar img {
    width: 1.8em;
    height: 1.8em; 
    position: relative;
    top: 8.5px;
    left: 6px;
}

.notification__avatar-summary {
    border: 1px solid #aaa;
    background: #d7d7d7;
    text-align: center;
    line-height: 2.5em;
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
}

.notification__avatar-group {
    margin-left: -32px;
}

.notification__avatar-group-number {
    margin-left: -32px;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    border: 1px solid #aaa;
    background: #d7d7d7;
    text-align: center;
}

.notification__content {
    flex: 1;
}

.notification__description {
    display: block;
}

.notification__type-name {
    font-size: 14px;
    color: #666;
}

.notification__date,
.notification__group-name,
.notification__separator {
    font-size: 14px;
    font-weight: normal;
    color: #666;
}

.notification__new-comment-count {
    line-height: 18px;
    height: 18px;
    font-weight: normal;
    padding-right: 16px;
    padding:2px 7px;
    margin-right: 4px;
    background-color: #CBEEFA;
    border-radius: 6px;
    font-size: 12px;
}

.notification__avatar-new-comment-count {
    line-height: 20px;
    height: 20px;
    width: 20px;
    font-weight: normal;
    text-align: center;
    background-color: #54c5ea;
    border-radius: 6px;
    font-size: 12px;
    position: absolute;
    right:-8px;
    bottom: -4px;
    color: #fff;
}

.notification__avatar-new-comment-bubble {
	position: absolute;
	background: #34aadc;
    /* background: red; */
	border-radius: .4em;
    height: 20px;
    width: 22px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    z-index: .5;
    top: -7px;
    right:-8px;
    font-size:12px;
    display: none;
}

.notification__avatar-new-comment-bubble:after {
	content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    border: 6px solid transparent;
    border-top-color: #34aadc;
    /* border-top-color: red; */
    border-bottom: 0;
    border-left: 0;
    margin-left: -3.5px;
    margin-bottom: -6px;
}

.notifications__view-all {
    font-weight: 600;
    text-align: center;
    padding: 40px 0 24px 0;
    display: block;
} 

.notification__actions {
    position: relative;
    margin-left: 16px;
}

.notification__actions-button {
    background-image: url("/images/pages/three-dots.svg");
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    -moz-appearance: none;
    -webkit-appearance: none;
    border:none; 
    background-color: transparent;
}

.notification__actions-button:focus {
   background-color: #fff;
   outline: 2px solid #000;
}


.notification__actions-menu {
    display: none;
    margin: 0 0 24px;
    border-radius: 4px;
    position: absolute;
    right:40px;
    top:0px;
    box-sizing: border-box;
    background-color: #fff;
    z-index: 100;
    background-color: rgb(255, 255, 255);
    border-radius: 2px;
    box-shadow: 0 8px 10px 1px rgb(0 0 0 / 14%), 0 3px 14px 2px rgb(0 0 0 / 12%), 0 5px 5px -3px rgb(0 0 0 / 20%);
   
}

.notification__actions-menu-inline {
    display: none;
    position: absolute;
    right:14px;
    top:-8px;
    box-sizing: border-box;
    font-size: 14px;
    z-index: 100;
    width: 220px;
}


.notification.EXPANDED .notification__actions-menu {
    display: block;
}

.notification.EXPANDED .notification__actions-menu-inline {
    display: flex;
    gap:8px;
}

.notification__actions-menu-item {
    padding: 12px 8px;
    border-bottom: 1px solid #ddd;
    display: flex;
    /* gap: 8px; */
    font-weight: normal;
    line-height: 1.1;
    font-size: 14px;
}

.notification__actions-menu-item:last-child {
    border-bottom: none;
}

.notification__actions-menu-inline .notification__actions-menu-item{
    border: 1px solid #ddd; 
    background-color: #fff;   
    border-radius: 8px;
    padding: 8px;
}


.notification__actions-menu-close-button {
    width: 32px;
    height: 32px;
    -moz-appearance: none;
    -webkit-appearance: none;
    border:none; 
    background-color: transparent;
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url("/images/pages/close.svg");
    color: transparent;
    float: right;
    opacity: 0.7;
}

.notification__actions-menu-item-button {
    width: 100%;
    -moz-appearance: none;
    -webkit-appearance: none;
    border:none; 
    background-color: transparent;
    border-bottom:1px solid #ddd;
    padding: 14px 12px 14px 16px;
    text-align:left;
    white-space:nowrap;
}

.notification__actions-menu-item-button:focus {
    outline: 2px solid #000;
}


.notification__actions-menu-item-button:last-child {  
    border-bottom:none;
}


.notification__actions-icon {
    opacity: 0.8;
}

.notification__actions-menu-item-icon {
    opacity: 0.8;
    display: none;
}

.notification__content-long {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    /* min-width: 0; */
}

.notification__description-long {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.SHOW {
    display: block;
}

.HIDE {
    display: none;
}

b {
    font-weight: 600;
}

:focus {
   outline: none;
}