.solid-notifications{
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 14px;
  position: relative;
}

.solid-notifications solid-display-value{
  display: block;
}

/* Counter */
.solid-notifications__counter{
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
}

.solid-notifications__counter span{
  display: block;
  background-color: var(--solid-notifications-theme, gray);
  border-radius: 50%;
  font-size: 12px;
  line-height: 20px;
}

.solid-notifications [data-nb-unread="0"]{
  display: none !important;
}

/* Button */
.solid-notifications__button{
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  line-height: 30px;
  padding: 5px;
  text-align: center;
  cursor: pointer;
  outline: none;
  border-radius: 5px;
}
.solid-notifications__button::-webkit-details-marker {
  display: none
}
.solid-notifications__button:hover{
  background: #EEE;
}
.solid-notifications__button:active,
.solid-notifications__button:focus{
  background: #EDEDED;
}

/* Triangle */
.solid-notifications__triangle-back{
  position: absolute;
  z-index: 4;
  border-bottom: 15px solid white;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  transform: translate(5px, -15px);
}
.solid-notifications__triangle-shadow{
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  transform: translate(10px, -10px) rotate(45deg);
  box-shadow: -1px -1px 4px 0 rgba(0,0,0,0.1);
}

/* List */
.solid-notifications__list{
  position: relative;
  z-index: 3;
  width: 300px;
  max-height: 500px;
  margin-top: 15px;
  overflow: scroll;
  background: white;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Notification */
.solid-notifications__item {
  display: block;
  cursor: pointer;
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
  border-bottom: 1px solid #DDD;
}
.solid-notifications__item:hover{
  background: rgba(0,0,0,0.02);
}
.solid-notifications__item:active,
.solid-notifications__item:focus{
  background: rgba(0,0,0,0.03);
}
.solid-notifications__item:last-child {
  border-bottom: none;
}

/* One notification */
.solid-notification {
  padding: 0.6rem 0;
  position: relative;
  display: flex;
}
.solid-notification__content {
  flex-grow: 1;
  padding-right: 2rem;
}
.solid-notification__title {
  font-weight: bold;
}
.solid-notification__summary{
  font-size: 0.75rem;
  line-height: 0.9rem;
  margin: 0.2rem 0 0.4rem;
  color: rgba(0,0,0,0.7);

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.solid-notification__date {
  color: #AAA;
  font-size: 70%;
  display: block;
  margin-top: 0.3rem;
}
.solid-notification__avatar {
  display: block;
  width: 30px;
  height: 30px;
  background: #CCC;
  border-radius: 50%;
  margin: 0 0.8rem;
  flex-shrink: 0;
  overflow: hidden;
}
.solid-notification__avatar img {
  max-width: 100%;
  height: auto;
}
.solid-notification__avatar img[src=""]{
  display: none;
}

/* Read / unread */
.solid-notification[data-read]{
  opacity: .3;
}
.solid-notification__read {
  align-self: center;
}
.solid-notification__read [data-unread]{
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 0.7rem;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #DDD;
  background-color: transparent;
  z-index: 2;
  cursor:pointer;
  outline:none;
}

.solid-notification__read [data-unread=unread]{
  border-color: var(--solid-notifications-theme, gray);
  background-color: var(--solid-notifications-theme, gray);
}
.solid-notification__read [data-unread=unread]:hover,
.solid-notification__read [data-unread=unread]:disabled{
  opacity: .5;
}

/* Pager */
/* .solid-notifications__list nav{
  padding: 0.3rem;
}
.solid-notifications__list nav > span{
  float: right;
  font-size: 10px;
  opacity: .5;
  margin-top: 0.2rem;
} */