#toast-warning {
    visibility: hidden;
    max-width: 3rem;
    height: 3rem;
    /*margin-left: -125px;*/
    margin: auto;
    background-color: #ee2b2b;
    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-warning #img{
	width: 3rem;
	height: 3rem;
  float: left;
  padding: 1rem 0 1rem 0;
  box-sizing: border-box;
  background-color: #a81515;
  color: #fff;
}

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

#desc-warning {
  display: flex;
  color: #fff!important;
  padding: 16px;
  overflow: hidden;
	white-space: nowrap;
}

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

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

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

@-webkit-keyframes expand-warning {
  from {min-width: 50px}
  to {min-width: 400px}
}

@keyframes expand-warning {
  from {min-width: 50px}
  to {min-width: 400px}
}
@-webkit-keyframes stay-warning {
  from {min-width: 400px}
  to {min-width: 400px}
}

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

@keyframes shrink-warning {
    from {min-width: 400px;}
    to {min-width: 50px;}
}

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

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

@media (max-width: 990px) {

  #toast-warning {
    max-width: 20rem;
    height: 10rem;
    bottom: 60px;
  }

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

  #desc-warning {
    flex-direction: column;
  }

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

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

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

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

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

}
