// Animations
@keyframes swal2-toast-show {
  0% {
    transform: translateY(-.625em) rotateZ(2deg);
  }

  33% {
    transform: translateY(0) rotateZ(-2deg);
  }

  66% {
    transform: translateY(.3125em) rotateZ(2deg);
  }

  100% {
    transform: translateY(0) rotateZ(0deg);
  }
}

@keyframes swal2-toast-hide {
  100% {
    transform: rotateZ(1deg);
    opacity: 0;
  }
}

@keyframes swal2-toast-animate-success-line-tip {
  0% {
    top: .5625em;
    @if($rtl==false){
      left: .0625em;
    }
    @if($rtl==true){
      right: .0625em;
    }
    width: 0;
  }

  54% {
    top: .125em;
    @if($rtl==false){
      left: .125em;
    }
    @if($rtl==true){
      right: .125em;
    }
    width: 0;
  }

  70% {
    top: .625em;
    @if($rtl==false){
      left: -.25em;
    }
    @if($rtl==true){
      right: -.25em;
    }
    width: 1.625em;
  }

  84% {
    top: 1.0625em;
    @if($rtl==false){
      left: .75em;
    }
    @if($rtl==true){
      right: .75em;
    }
    width: .5em;
  }

  100% {
    top: 1.125em;
    @if($rtl==false){
      left: .1875em;
    }
    @if($rtl==true){
      right: .1875em;
    }
    width: .75em;
  }
}

@keyframes swal2-toast-animate-success-line-long {
  0% {
    top: 1.625em;
    @if($rtl==false){
      right: 1.375em;
    }
    @if($rtl==true){
      left: 1.375em;
    }
    width: 0;
  }

  65% {
    top: 1.25em;
    @if($rtl==false){
      right: .9375em;
    }
    @if($rtl==true){
      left: .9375em;
    }
    width: 0;
  }

  84% {
    top: .9375em;
    @if($rtl==false){
      right: 0;
    }
    @if($rtl==true){
      left: 0;
    }
    width: 1.125em;
  }

  100% {
    top: .9375em;
    @if($rtl==false){
      right: .1875em;
    }
    @if($rtl==true){
      left: .1875em;
    }
    width: 1.375em;
  }
}
