.toast-container {
  position: fixed;
  top: 0;
  right: 0;
}

.toast {
  padding: 16px 12px;
  margin: 6px;
  font-family: 'Arial';
  font-size: 10pt;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  width: 256px;
  box-shadow: 0 2px 0 rgba(180, 180, 180, 0.7);
  opacity: 1;
}

.toast .icon {
  width: 28px;
  display: inline-block;
  vertical-align: top;
  top: -50%;
}

.toast .text {
  width: 210px;
  display: inline-block;
  position: relative;
  left: 4px;
}

.toast .fa {
  font-size: 14pt;
  margin-right: 8px;
}

.toast.success {
  background: #1a3;
}

.toast.success:not(.fading):hover {
  background: #3a4;
}

.toast.error {
  background: #b00;
}

.toast.error:not(.fading):hover {
  background: #b22;
}