
.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  max-width: calc(100% - 40px);
  z-index: 10000
}

.notification>div {
  min-width: 200px;
  padding: 10px 12px 10px 25px;
  border-radius: 5px;
  position: relative;
  margin-bottom: 10px;
  display: none;
  -webkit-animation-duration: .4s;
  animation-duration: .4s;
  cursor: pointer;
}

.pointer {
  cursor: pointer;
}

.notification span {
  text-align: justify;
  line-height: 25px;
  display: block;
  font-size: .9em;
}

.notification .danger {
  background-color: #ffcdd2;
  color: #d32f2f;
  border: 1px solid #ef9a9a
}

.notification .warning {
  background-color: #fff59d;
  color: #ee770e;
  border: 1px solid #fdd835
}

.notification .info {
  background-color: #81d4fa;
  color: #01579b;
  border: 1px solid #4fc3f7
}

.notification .success {
  background-color: #a5d6a7;
  color: #1b5e20;
  border: 1px solid #81c784
}

.notification i {
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 1.5em
}

.notification .icofont-close {
  left: 0px;
  top: 0px;
  font-size: 1em;
  right: unset;
}

.notification .notif {
  font-size: .9em;
  padding: 7px 38px 7px 16px;
  margin-bottom: 15px;
}

.notification .notif .pic {
  background-image: url(img/noimg0.jpg);
  width: 50px;
  min-width: initial;
  height: 50px;
  background-size: cover;
  background-position: center;
  padding: 0;
  margin: 0;
  position: absolute;
  border-radius: 50%;
  top: calc(50% - 25px);
  right: -12px;
}

.notif.warning .pic {
  border: 3px solid #fdd735;
}

.notif.success .pic {
  border: 3px solid #81c784;
}

.notif.danger .pic {
  border: 3px solid #ef9a9a;
}
