.alarmBar {
  min-height: 40px;
  width: 100%;
  background-color: #fefcec;
}

.alarmLeftIcon {
  color: #ff0000;
  height: 20px;
  width: 20px;
  display: inline-flex;
  text-align: center;
  padding: 10px 5px 0 15px;
  vertical-align: top;
}

.alarmShows {
  width: calc(100% - 50px);
  display: inline-flex;
  font-size: 15px;
  min-height: 40px;
  padding: 10px 5px;
  line-height: 20px;
  vertical-align: middle;
}

.alarmItem {
  width: 100%;
  color: #ff0000;
  font-size: 12px;
  height: auto;
}

.alarmItem.active {
  display: block;
  -webkit-animation: slideIn 1s forwards;
  animation: slideIn 1s forwards;
}

.alarmItem.unActive {
  display: none;
  -webkit-animation: slideOut 1s forwards;
  animation: slideOut 1s forwards;
}

.alarmTime {
  text-align: right;
  padding-right: 10px;
  color: #ff0000;
  font-size: 12px;
  padding-top: 5px;
}

@-webkit-keyframes slideIn {
  from {
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
    opacity: 0;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
    opacity: 0;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@-webkit-keyframes slideOut {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
    opacity: 0;
  }
}

@keyframes slideOut {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
    opacity: 0;
  }
}
