/**
 * -----------------------------------
 * Bigwig - Site Styles - Notification
 * -----------------------------------
 */

#notification-alert {
  position: fixed;
  right: 15px;
  bottom: 15px;
  left: 15px;
  font-size: 16px;
  z-index: 9999;
}

@media (min-width: 576px) {
  #notification-alert {
    left: unset;
    bottom: 30px;
    right: 30px;
    width: 100%;
    max-width: 450px;
  }
}

@media (min-width: 992px) {
  #notification-alert {
    font-size: 18px;
  }
}

.notification-bar {
  /* Variables */
  --pad-x: 15px;
  --pad-y: 10px;

  display: flex;
  flex-direction: row;
  margin-top: 10px;
  width: 100%;
  transform: translateY(100%);
  transition: all 250ms ease-in-out;
  color: #ECF0F1;
  background-color: #2C3E50;
}

.notification-bar.pre-show {
  position: absolute;
}

.notification-bar,
.notification-bar.hidding,
.notification-bar.hide {
  opacity: 0;
}

.notification-bar.show {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.notification-bar.hidding {
  transform: translateY(0) translateX(100%);
}

.notification-bar.hide {
  margin-top: 0 !important;
  height: 0 !important;
}

.notification-bar .message {
  flex: 1;
  padding: var(--pad-y) var(--pad-x);
}

.notification-bar .action-close {
  cursor: pointer;
  margin-left: calc(var(--pad-x) * -1);
  padding: var(--pad-y) var(--pad-x);
}