#toast {
  background-color: #333;
  border-radius: 2px;
  bottom: 130px;
  box-shadow: 0px 0px 8px 1px white;
  color: #fff;
  left: 50%;
  margin-left: -125px;
  min-width: 250px;
  padding: 16px;
  position: fixed;
  text-align: center;
  visibility: hidden;
  z-index: 1;
}

#toast.show {
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
}