@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i');

.alert-success,
.alert-error,
.alert-undo {
  position: fixed;
  top: 60px;
  right: 20px;
  width: 500px;
  max-width: calc(100% - 40px);
  border-radius: 5px;
  padding: 15px 50px 15px 15px;
  box-sizing: border-box;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.alert-undo {
  width: 280px;
}

.alert-success {
  background-color: #D0EFD1;
  border: 1px solid #ADD5AE;
  color: #428A45;
}
.alert-error {
  background-color: #EFD0D0;
  border: 1px solid #D5ACAC;
  color: #8A4242;
}
.alert-undo {
  background-color: #CAE2F3;
  border: 1px solid #95BBD4;
  color: #3C7DA2;
}
.alert-success a,
.alert-error a,
.alert-undo a {
  text-decoration: underline;
  color: inherit;
}
.alert-success a:hover,
.alert-error a:hover,
.alert-undo a:hover {
  color: inherit;
}
.alert-close {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translate(0, -50%);
  width: 44px;
  height: 44px;
  opacity: .5;
  cursor: pointer;
}
.alert-close:hover {
  opacity: 1;
}
.alert-close .svg-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.alert-success .alert-close .svg-icon {
  fill: #428A45;
}
.alert-error .alert-close .svg-icon {
  fill: #8A4242;
}
.alert-undo .alert-close .svg-icon {
  fill: #3C7DA2;
}
.alert-anim {
  animation-name: slide-up;
  animation-duration: 500ms;
}
@keyframes slide-up {
  0% { opacity: 0; transform: translateY(75%); }
  100% { opacity: 1; transform: translateY(0%); }
}

.alert-hide {
  opacity:0;
}