/*NOTIFICATION*/

#notificationBar {
    display: none; 
    background-color: var(--color-accent);
    z-index: 1051;
    position: fixed;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    min-width: 300px;
    width: max-content;
    height: max-content;
    max-width: 90vw;
    text-align: center;
    padding: 15px 10px 20px;
    border-bottom: 2px solid var(--color-white);
    box-shadow: 0px 0px 5px 2px var(--color-accent);
    border-radius: 10px;
}

#notificationBar:hover {
  opacity: 0.6!important;
  transition: 0.2s all ease-in-out;
}

.bad-news {
  transition: 0.3s all ease-in-out;
  background-color: #630909!important;
  border-bottom: 2px solid #ab0d0d!important;
  box-shadow: 0px 0px 6px 2px #980000!important;
}

.bad-news * {
  color: #fff!important;
}

span#close-notification-bar {
  position: absolute;
  top: 0px;
  right: 8px;
  user-select: none;
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  text-align: right;
  cursor: pointer;
}

span#close-notification-bar:hover {
  color: #000!important;
  text-shadow: 0px 1px 3px #5555;
}



#notification-image {

}

#notification-image i {
    font-size: 40px;
    padding: 8px 20px 5px 15px;
    color: #fff;
    float: left;
}

#notification-image img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  padding: 0px;
  float: left;
  margin-right: 20px;
}

#notification-text {
  text-align: left;
}

#notification-header {
  font-family: 'Montserrat',sans-serif;
    font-weight: 500;
    padding: 5px 0px 0px;
    font-size: 20px;
    margin: 0px;
    color: #fff;
    display: grid;
}

#notification-subheader {
    font-size: 12px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 500;
    margin: 0px;
    color: #ddd;
    display: grid;
}

#notification-timeout {
    display: block;
    position: absolute;
    width: 0px;
    height: 5px;
    margin: 0px;
    bottom: 0;
    left: 0px;
    padding: 0px;
    background: var(--color-accent);
}

.bad-news #notification-timeout {
    background: linear-gradient(0deg, #e90000, #c91010,#4c0000);
}
