div.toast {
  position: absolute;
  top: calc(1% / 2);
  left: calc(1% / 2);
  z-index: 999999;
  width: 99%;
  max-width: 100%;
  padding: 10px;
}
.toast-header, .toast-body {
  display: inline-block;
  padding: 0;
}

.toast .toast-header {
  background-color: inherit;
  background-clip: unset;
  border-bottom: none;

  color: black;
  float: right;
  margin-right: 20px;
}

.toast.success {
  color: white;
  background-color: green;
}

.toast.error {
  color: white;
  background-color: crimson;
}
