.alerts {
  position: absolute;
  right: 15px;
  top: 120px;
  transition: opacity 1s;
}

.alert {
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  min-height: 38px;
  margin: 5px auto;
  max-width: 300px;
  min-width: 200px;
  opacity: 1;
  padding: 12px 15px 15px;
  text-align: left;
  transition: opacity 0.6s;
}

.warning {
  background: #c22821;
}

.warning:hover,
.warning:active {
  background-color: #7e1a16 !important;
}

.alert-close {
  padding-left: 15px;
  font-weight: bold;
  float: right;
  font-size: 20px;
  line-height: 18px;
  cursor: pointer;
  transition: .30s all;
}

.alert-close:hover {
  color: #000;
}

.alert-title {
  display: flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
}

.alert-title i {
  margin-right: 5px;
}

.alert-body span {
  display: block;
  margin: 10px 0 0 0;
  line-height: 17px;
}

.alert-body .alert-body-title {
  font-weight: 600;
}

.alert-body .alert-body-details {
  font-size: 13px;
  overflow: hidden;
  text-align: justify;
  transition: opacity 0.6s, height 0.2s;
}

.alert-body .alert-body-time {
  font-size: 12px;
  color: #ccc;
}