/*!
 * Toastify js 1.12.0
 * https://github.com/apvarun/toastify-js
 * @license MIT licensed
 *
 * Copyright (C) 2018 Varun A P
 */
 .toastify {
  padding: 12px 20px;
  color: #fff;
  display: inline-block;
  box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12),
    0 10px 36px -4px rgba(77, 96, 232, 0.3);
  background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
  background: linear-gradient(135deg, #73a5ff, #5477f5);
  position: fixed;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  max-width: calc(50% - 20px);
  z-index: 2147483647;
}
.toastify.on {
  opacity: 1;
}
.toast-close {
  background: 0 0;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 1em;
  opacity: 0.4;
  padding: 0 5px;
}
.toastify-right {
  right: 15px;
}
.toastify-left {
  left: 15px;
}
.toastify-top {
  top: -150px;
}
.toastify-bottom {
  bottom: -150px;
}
.toastify-rounded {
  border-radius: 25px;
}
.toastify-avatar {
  width: 1.5em;
  height: 1.5em;
  margin: -7px 5px;
  border-radius: 2px;
}
.toastify-center {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  max-width: fit-content;
  max-width: -moz-fit-content;
}
@media only screen and (max-width: 360px) {
  .toastify-left,
  .toastify-right {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content;
  }
}
/*# sourceMappingURL=/sm/cb4335d1b03e933ed85cb59fffa60cf51f07567ed09831438c60f59afd166464.map */

/* Aggiunte al file originale */

.toastify {
  border-radius: 0.5rem;
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.5);
}

.toast-close {
  margin-left: 1rem;
  color: inherit;
}

.toastify.closeCornered .toast-close {
  position: absolute;
  top: 0;
  right: 0;
  padding-top: 5px;
  padding-right: 5px;
  line-height: 1;
  /* opacity: 1; */
  margin-left: 0;
}

.toast-progress {
  height: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-size: 0 100%;
  background: transparent no-repeat 0 0;
  animation-timing-function: linear;
  animation-name: progress;
  animation-play-state: paused;
}

.toastify.on .toast-progress {
  animation-play-state: running;
}

.toastify.on:hover .toast-progress {
  /* così l'animazione viene rimossa e perciò lo stato mostrato è quello al keyframe 0%.
  quando si esce dall'hover l'animazione riprende dall'inizio alla fine */
  animation: 0;
}

@keyframes progress {
  0% {
    background-size: 100% 100%;
  }
  100% {
    background-size: 0 100%;
  }
}
