﻿/*
** Component
*/
.el-toast {
    z-index: 10000000;
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 16px;
  opacity: 1;
  padding: 0 0 10px;
  position: fixed;
  right: 0;
  transition: opacity 150ms cubic-bezier(0.5, 0, 0.1, 1);
  width: 350px;
}
.el-toast--paused {
  opacity: 0.9;
}
.el-toast button, .el-toast button:focus, .el-toast button:hover {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  outline: none;
}
.el-toast__item:not(:first-child) {
  margin-top: 8px;
}
.el-toast__item:nth-child(n+4) {
  bottom: 0;
  max-height: 40px;
  position: absolute;
}
.el-toast__item:nth-child(n+4) .el-toast__icon,
.el-toast__item:nth-child(n+4) .el-toast__progress,
.el-toast__item:nth-child(n+4) .el-toast__description,
.el-toast__item:nth-child(n+4) .el-toast__action {
  opacity: 0;
}
.el-toast__item:nth-child(n+6) {
  opacity: 0;
  transform: translateY(0) scale(0.85);
  z-index: 1970;
}
.el-toast__item:nth-child(4) {
  background-color: #595959;
  transform: translateY(-4px) scale(0.95);
  z-index: 1990;
}
.el-toast__item:nth-child(5) {
  background-color: #767676;
  transform: translateY(0) scale(0.9);
  z-index: 1980;
}
.el-toast__item {
  animation: append-in 300ms cubic-bezier(0, 0, 0.25, 1) forwards;
  background-color: #222222;
  border-radius: 2px;
  color: #fff;
  display: grid;
  grid-template: [header] "icon description close" auto [body] "icon action close" auto [footer] "progress progress progress" auto/38px 1fr 38px;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  transform-origin: center bottom;
  transition: transform 300ms cubic-bezier(0, 0, 0.25, 1), background 300ms cubic-bezier(0, 0, 0.25, 1), opacity 300ms cubic-bezier(0, 0, 0.25, 1), max-height 300ms cubic-bezier(0, 0, 0.25, 1);
  user-select: none;
  width: 100%;
  z-index: 2000;
}
@keyframes append-in {
  from {
    max-height: 0;
    opacity: 0;
    transform: scale(0.9);
  }
}
@keyframes append-out {
  to {
    max-height: 0;
    opacity: 0;
    transform: scale(0.9);
  }
}
.el-toast__item--danger .el-toast__action button,
.el-toast__item--danger .el-toast__action a, .el-toast__item--danger .el-toast__action i, .el-toast__item--danger .el-toast__description button,
.el-toast__item--danger .el-toast__description a, .el-toast__item--danger .el-toast__description i, .el-toast__item--danger .el-toast__icon button,
.el-toast__item--danger .el-toast__icon a, .el-toast__item--danger .el-toast__icon i {
  color: #DF6962;
}
.el-toast__item--danger .el-toast__bar {
  background-color: #D64038;
}
.el-toast__item--alert .el-toast__action button,
.el-toast__item--alert .el-toast__action a, .el-toast__item--alert .el-toast__action i, .el-toast__item--alert .el-toast__description button,
.el-toast__item--alert .el-toast__description a, .el-toast__item--alert .el-toast__description i, .el-toast__item--alert .el-toast__icon button,
.el-toast__item--alert .el-toast__icon a, .el-toast__item--alert .el-toast__icon i {
  color: #F3CC6B;
}
.el-toast__item--alert .el-toast__bar {
  background-color: #EFBC3C;
}
.el-toast__item--success .el-toast__action button,
.el-toast__item--success .el-toast__action a, .el-toast__item--success .el-toast__action i, .el-toast__item--success .el-toast__description button,
.el-toast__item--success .el-toast__description a, .el-toast__item--success .el-toast__description i, .el-toast__item--success .el-toast__icon button,
.el-toast__item--success .el-toast__icon a, .el-toast__item--success .el-toast__icon i {
  color: #54A668;
}
.el-toast__item--success .el-toast__bar {
  background-color: #54A668;
}
.el-toast__item--info .el-toast__action button,
.el-toast__item--info .el-toast__action a, .el-toast__item--info .el-toast__action i, .el-toast__item--info .el-toast__description button,
.el-toast__item--info .el-toast__description a, .el-toast__item--info .el-toast__description i, .el-toast__item--info .el-toast__icon button,
.el-toast__item--info .el-toast__icon a, .el-toast__item--info .el-toast__icon i {
  color: #71C3DD;
}
.el-toast__item--info .el-toast__bar {
  background-color: #48B1D3;
}
.el-toast__item--removing {
  animation: append-out 300ms cubic-bezier(0.25, 0, 1, 1) forwards;
}
.el-toast__icon {
  display: flex;
  font-size: 1.4rem;
  grid-area: icon;
  justify-content: center;
  padding: 12px 8px 12px 12px;
}
.el-toast__description {
  font-size: 1rem;
  grid-area: description;
  line-height: 1.5;
  margin: 10px 0;
  max-height: 200px;
  overflow-x: auto;
  padding: 0 8px;
}
.el-toast__description button:hover, .el-toast__description button:focus {
  text-decoration: underline;
}
.el-toast__close {
  display: flex;
  font-size: 1.4rem;
  grid-area: close;
  justify-content: center;
}
.el-toast__close button {
  color: #fff;
  display: block;
  height: 38px;
  /*padding: 10px 8px 8px;*/
  text-align: center;
  width: 100%;
  font-weight: 100;
}
.el-toast__action {
  grid-column: action;
}
.el-toast__action button,
.el-toast__action a {
  display: inline-block;
  font-size: 1rem;
  padding: 0 8px 10px;
  text-transform: uppercase;
}
.el-toast__action button:hover, .el-toast__action button:focus,
.el-toast__action a:hover,
.el-toast__action a:focus {
  text-decoration: underline;
}
.el-toast__progress {
  background-color: rgba(225, 227, 230, 0.15);
  grid-column: progress;
  height: 4px;
  width: 100%;
  z-index: 20;
}
.el-toast__progress--hide {
  display: none;
}
.el-toast__bar {
  bottom: 0;
  display: block;
  height: 4px;
  position: absolute;
  transition: width 100ms cubic-bezier(0.5, 0, 0.1, 1);
  width: 100%;
  z-index: 10;
}
.el-toast--example {
  left: calc(50% - 175px);
  right: 0;
  top: calc(50% - 33px);
}

@media only screen and (max-width: 720px) {
  .el-toast {
    margin: 16px 0;
    max-height: 400px;
    padding: 10px 0px;
    width: 100%;
  }
  .el-toast__item {
    width: calc(100% - 30px);
  }
  .el-toast__item:not(:first-child) {
    margin-top: 8px;
  }
  .el-toast__item:nth-child(n+2) {
    bottom: 0;
    max-height: 40px;
    position: absolute;
  }
  .el-toast__item:nth-child(n+2) .el-toast__icon,
.el-toast__item:nth-child(n+2) .el-toast__progress,
.el-toast__item:nth-child(n+2) .el-toast__description,
.el-toast__item:nth-child(n+2) .el-toast__action {
    opacity: 0;
  }
  .el-toast__item:nth-child(n+4) {
    opacity: 0;
    transform: translateY(0) scale(0.9);
    z-index: 1970;
  }
  .el-toast__item:nth-child(2) {
    background-color: #595959;
    transform: translateY(-4px) scale(0.95);
    width: calc(100% - 60px);
    z-index: 1990;
  }
  .el-toast__item:nth-child(3) {
    background-color: #767676;
    transform: translateY(0) scale(0.9);
    width: calc(100% - 60px);
    z-index: 1980;
  }
  .el-toast--example {
    left: 0;
    top: calc(50% - 33px);
  }
}