﻿:root {
  --elements: 3;
  --speed: 4s;
  --animationDuration: calc(var(--speed) * var(--elements));
  --animationHeight: 100;
}
.nova-rs-component-notification-banner {
  height: 90px;
  overflow: hidden;
  transition: height 0.5s ease;
  margin: 15px 0;
}
.nova-rs-component-notification-banner:hover .nova-rs-notification {
  animation-play-state: paused;
}
.nova-rs-notifications-container.animate {
  animation-name: notificationContainerMove;
  animation-duration: var(--animationDuration);
  animation-timing-function: steps(var(--elements));
  animation-iteration-count: infinite;
  animation-play-state: running;
}
.nova-rs-notifications-container.animate-paused {
  animation-play-state: paused;
}
.nova-rs-notification {
  background-color: #ffffff;
  min-height: 90px;
  height: 90px;
  border: 1px solid;
  display: flex;
  padding: 15px 15px 15px 0;
  margin: 10px 0;
  transition: height 0.5s ease;
  cursor: pointer;
}
.nova-rs-notification:first-child {
  margin-top: 0;
}
.nova-rs-notification:last-child {
  margin-bottom: 0;
}
.nova-rs-notification.info {
  --notificationLevelColor: #00bfff;
  border-color: var(--notificationLevelColor);
}
.nova-rs-notification.warning {
  --notificationLevelColor: #ffa500;
  border-color: var(--notificationLevelColor);
}
.nova-rs-notification.error {
  --notificationLevelColor: #af1515;
  border-color: var(--notificationLevelColor);
}
.nova-rs-notification.opened {
  height: auto;
}
.nova-rs-notification.opened .nova-rs-notification-message-container .nova-rs-notification-message-text {
  white-space: normal;
}
.nova-rs-notification.opened .nova-rs-notification-message-container .nova-rs-notification-message-header-container .nova-rs-notification-message-header-title {
  white-space: normal;
}
.nova-rs-notification .nova-rs-notification-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  flex-shrink: 0;
}
.nova-rs-notification .nova-rs-notification-icon-container .nova-web-svg {
  width: 50px;
  height: 50px;
  fill: var(--notificationLevelColor);
}
.nova-rs-notification .nova-rs-notification-message-container {
  display: flex;
  flex-direction: column;
  width: calc(100% - 80px);
}
.nova-rs-notification .nova-rs-notification-message-container .nova-rs-notification-message-header-container {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--notificationLevelColor);
}
.nova-rs-notification .nova-rs-notification-message-container .nova-rs-notification-message-header-container .nova-rs-notification-message-header-title {
  font-size: 24px;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nova-rs-notification .nova-rs-notification-message-container .nova-rs-notification-message-header-container .nova-rs-notification-expand-button {
  display: flex;
  align-items: flex-end;
}
.nova-rs-notification .nova-rs-notification-message-container .nova-rs-notification-message-text {
  padding-top: 10px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes notificationContainerMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, calc(var(--elements) * var(--animationHeight) * -1px));
  }
}
@keyframes notificationMove {
  0% {
    transform: translate(0, 0);
  }
  80%,
  100% {
    transform: translate(0, calc(var(--animationHeight) * -1px));
  }
}