/*---------------------------------
----- dimension variables --------
----------------------------------*/
/*------ standard elements padding & margin -------*/
/**
* mobile first breakpoints based on design specification 
* designs are delivered in 3 sizes mobile(375px -> default), tablet(768px -> tablet), desktop(1440px -> desktop-l)
*/
/**
** Official Font sizes
------------------------------- */
.notification-item {
  padding: 0.5rem;
  background: white;
}
.notification-item header {
  display: grid;
  gap: 6px;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  font-size: small;
}
.notification-item header #severity {
  grid-column: 1;
  grid-row: 1/span 2;
  font-size: 48px;
}
.notification-item header #sender {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notification-item header #times {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: fit-content;
}
.notification-item header #sender,
.notification-item header #creation-date,
.notification-item header #creation-time,
.notification-item header #ttl {
  line-height: 1;
}
.notification-item header #creation-date {
  margin-right: 16px;
}
.notification-item header ux-icon[name=clock] {
  margin-left: auto;
}
.notification-item header #ttl {
  margin-left: 4px;
}
.notification-item #subject {
  margin: 8px 0 0;
}
.notification-item #message {
  margin: 4px 0 0;
}

.separator {
  text-align: center;
  position: relative;
  margin: 8px 0;
  color: #e2e2e2;
  background-image: none;
}

.separator::after {
  content: attr(aria-label);
  position: absolute;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0 0.5em;
  line-height: 1;
}

.uxn-notification-center > header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background-color: white;
}
.uxn-notification-center > header > p {
  line-height: normal;
  margin: 0;
  text-wrap: balance;
  text-align: center;
  flex: 1;
}
.uxn-notification-center > header > a {
  display: flex;
  margin-left: auto;
}
.uxn-notification-center > header ux-icon[name=cog] {
  font-size: 19px;
}

.uxn-notification-center > header:not(:only-child) {
  padding-bottom: 22px;
}