#toast-success {
    visibility: hidden;
    max-width: 3rem;
    height: 3rem;
    /*margin-left: -125px;*/
    margin: auto;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 100px;
    font-size: 17px;
    white-space: nowrap;
    box-shadow: 0px 5px 8px 1px rgba(0,0,0,0.75);
}

#toast-success #img{
	width: 3rem;
	height: 3rem;
  float: left;
  padding: 1rem 0 1rem 0;
  box-sizing: border-box;
  background-color: var(--primary-color-hover);
  color: #fff;
}

.icon-success-toast {
  width: 2.6rem;
	height: 2.6rem;
  margin-top: -.8rem;
}

#desc-success {
  display: flex;
  flex-direction: row;
  color: #000!important;
  padding: 16px;
  overflow: hidden;
	white-space: nowrap;
  margin-top: -1.5rem;
}

#toast-success.show {
  visibility: visible;
  -webkit-animation: fadein-success 0.5s, expand-success 0.5s 0.5s,stay-success 3s 1s, shrink-success 0.5s 2s, fadeout-success 0.5s 2.5s;
  animation: fadein-success 0.5s, expand-success 0.5s 0.5s,stay-success 3s 1s, shrink-success 0.5s 4s, fadeout-success 0.5s 4.5s;
}

@-webkit-keyframes fadein-success {
  from {bottom: 0; opacity: 0;}
  to {bottom: 100px; opacity: 1;}
}

@keyframes fadein-success {
  from {bottom: 0; opacity: 0;}
  to {bottom: 100px; opacity: 1;}
}

@-webkit-keyframes expand-success {
  from {min-width: 50px}
  to {min-width: 850px}
}

@keyframes expand-success {
  from {min-width: 50px}
  to {min-width: 850px}
}
@-webkit-keyframes stay-success {
  from {min-width: 850px}
  to {min-width: 850px}
}

@keyframes stay-success {
  from {min-width: 850px}
  to {min-width: 850px}
}
@-webkit-keyframes shrink-success {
    from {min-width: 850px;}
    to {min-width: 50px;}
}

@keyframes shrink-success {
    from {min-width: 850px;}
    to {min-width: 50px;}
}

@-webkit-keyframes fadeout-success {
    from {bottom: 100px; opacity: 1;}
    to {bottom: 1200px; opacity: 0;}
}

@keyframes fadeout-success {
    from {bottom: 100px; opacity: 1;}
    to {bottom: 120px; opacity: 0;}
}

@media (max-width: 990px) {

  #toast-success {
    max-width: 20rem;
    height: 18rem;
    bottom: 60px;
  }

  #toast-success #img{
  	width: 100%;
  	height: 3rem;
  }

  #desc-success {
    flex-direction: column;
    margin-top: 0;
  }

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

  @-webkit-keyframes fadein-success {
    from {bottom: 0; opacity: 0;}
    to {bottom: 60px; opacity: 1;}
  }

  @keyframes fadein-success {
    from {bottom: 0; opacity: 0;}
    to {bottom: 60px; opacity: 1;}
  }

  @-webkit-keyframes fadeout-success {
      from {bottom: 60px; opacity: 1;}
      to {bottom: 1200px; opacity: 0;}
  }

  @keyframes fadeout-success {
      from {bottom: 60px; opacity: 1;}
      to {bottom: 120px; opacity: 0;}
  }

}
