.notification-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 8000;
  height: 1px;
  overflow: visible;
  cursor: pointer;
  font-size: 1rem;
}
.notification-bar .inner {
  max-width: 500px;
  margin: 8px auto;
  position: relative;
}
.notification-bar.overflowing .notifications .notification .content {
  padding-right: 40px;
}
.notification-bar.overflowing .notifications .notification .content::after {
  content: '...';
  font-size: 18px;
  color: black;
  position: absolute;
  right: 25px;
  top: 0;
  padding: 5px;
  line-height: 11px;
}
.notification-bar.overflowing:hover .notifications .notification {
  height: auto;
  overflow: auto;
}
.notification-bar.overflowing:hover .notifications .notification .content::after {
  display: none;
}
.notification-bar .toolbar {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 1;
  height: 22px;
}
.notification-bar .toolbar .close.button {
  margin: 0;
  padding: 0.3rem 0.3rem;
  background: none;
}
.notification-bar .notifications .notification {
  display: none;
  padding: 0.3rem 0.5rem;
  margin: 0;
  height: 30px;
  max-height: 300px;
  line-height: 22px;
  overflow: hidden;
}
.notification-bar .notifications .notification .icon {
  float: left;
  height: 22px;
  line-height: 22px;
  margin-right: 5px;
}
.notification-bar .notifications .notification .title {
  font-weight: bold;
  float: left;
  margin-right: 0.5rem;
}
.notification-bar .notifications .notification .content {
  padding-right: 20px;
  font-size: 0.9rem;
}
.notification-bar .notifications .notification .inner-content {
  font-size: 1rem;
}
.notification-bar .notifications .notification:last-child {
  display: block;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.notification-bar .notifications .notification.title {
  background: white;
}
.notification-bar .notifications .notification.has-label .content {
  text-align: center;
}
.notification-bar .notifications .notification.event .content {
  text-align: left;
}
.notification-bar.error .toolbar .icon {
  color: #d95c5c;
}
.notification-bar.info .toolbar .icon {
  color: #3b83c0;
}
.notification-bar.warn .toolbar .icon {
  color: #b58105;
}
.notification-list {
  text-align: center;
}
.notification-list .notification.item {
  text-align: left;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem !important;
  margin: 2px 0;
  border-left: 5px solid white;
}
.notification-list .notification.item.unread {
  border-left: 5px solid #2185d0;
}
.notification-list .notification.item .header,
.notification-list .notification.item .doc-label,
.notification-list .notification.item .description {
  float: left;
}
.notification-list .notification.item .header,
.notification-list .notification.item .doc-label {
  margin-bottom: 0.3rem;
}
.notification-list .notification.item .content {
  width: 100%;
}
.notification-list .notification.item .content > .icon {
  float: left;
}
.notification-list .notification.item .date {
  float: right;
  color: rgba(0, 0, 0, 0.4);
  font-size: 0.875em;
}
.notification-list .notification.item .doc-label,
.notification-list .notification.item .description {
  clear: both;
}
.notification-list .notification.item .doc-label {
  font-size: 0.9rem;
  color: #999;
}
.notification-list .notification.item .description {
  color: black;
}
.notification-list .more.button {
  padding: 0.4rem 0.6rem;
}
.ui.notifications.menu {
  box-shadow: none;
  border: 0;
  background: transparent;
}
.ui.notifications.menu .notification-count {
  margin-top: -5px;
  margin-bottom: -5px;
}
.ui.popup.notifications {
  margin-top: 0;
  max-width: 340px;
}
.ui.popup.notifications .column.notifications {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}
.ui.popup.notifications .column.notifications .ui.header {
  padding: 0 1rem;
}
.ui.popup.notifications .column.notifications .notification-list {
  max-height: 60vh;
  overflow: auto;
}
.ui.popup.notifications .column.notifications .notification-list .notifications {
  margin-bottom: 1rem;
}
.ui.popup.notifications .column.buttons {
  padding: 0;
  text-align: center;
}
.ui.popup.notifications .column.buttons > .ui.menu {
  border: 0;
  box-shadow: none;
  display: inline-block;
}
.ui.popup.notifications .column.buttons > .ui.menu .item {
  font-size: 0.9rem;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
  display: inline-block;
}
.ui.popup.notifications .column.buttons > .ui.menu .item .icon {
  font-size: 1.2rem !important;
}
.ui.popup.notifications a.read-all {
  color: #aaa;
  font-weight: normal;
  font-size: 0.9rem;
  float: right;
  cursor: pointer;
}
