
/*
@import url('./themes/default/index.styl');
*/

.c-toast-container {
  position: fixed;
  display: flex;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2em;
  overflow: hidden;
  z-index: 9999;
  pointer-events: none;
}

.c-toast-container--top {
    flex-direction: column;
}
.c-toast-container--bottom {
    flex-direction: column-reverse;
}

/*
@media screen and (max-width 768px) {
    padding: 0;
    position: fixed !important;
}
*/


/*
    colors
*/

.v--default-css .c-toast--success { background-color: #28a745; }
.v--default-css .c-toast--warning { background-color: #ffc107; }
.v--default-css .c-toast--info { background-color: #17a2b8; }
.v--default-css .c-toast--error { background-color: #dc3545; }
.v--default-css .c-toast--default { background-color: #343a40; }


/*
    toast
*/
.v--default-css .c-toast {
  display: grid;
  align-items: center;
  animation-duration: 150ms;
  margin: 0.5em 0;
  border-radius: 0.5em;
  pointer-events: auto;
  color: #fff;
  min-height: 3em;
  cursor: pointer;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  padding: 0.5em 2em;
  word-break: break-word;
}


/* positions */

.c-toast--top, .c-toast--bottom {
    align-self: center;
}

.c-toast--top-right, .c-toast--bottom-right {
    align-self: flex-end;
}

.c-toast--top-left, .c-toast--bottom-left {
    align-self: flex-start
}


/* Animations */

@keyframes fadeOut {
  from {opacity: 1; }
  to { opacity: 0; }
}

.fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeInDown {
  from {
    opacity: .5;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInDown {
  animation-name: fadeInDown;
}

@keyframes fadeInUp {
  from {
    opacity: .5;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* VUE */

.fade-enter-active {
  transition: opacity 300ms ease-in;
}

.fade-leave-active {
  transition: opacity 150ms ease-out;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}
