/*! Toasty.js - v1.5.0 - 2018-05-04
* https://jakim.me/Toasty.js/
* Copyright (c) 2015-2018 Jakim Hernández; Licensed MIT */

/* the main container: */
.toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}
/* the wrapper where the toast messages appends: */
.toast-container .toast-wrapper {
    position: relative;
}
/* the class that is assigned to the sound player. */
/* Normally, this is a hidden wildcard: */
.toast-container .toast-soundplayer {
    display: none;
    visibility: hidden;
}

/**
 * Toast messages styles:
 * -------------------------------------------------- */

/* each toast message gets this style: */
.toast {
    position: relative;
    pointer-events: none;
    -webkit-transition: all 0.32s ease-in-out;
       -moz-transition: all 0.32s ease-in-out;
        -ms-transition: all 0.32s ease-in-out;
         -o-transition: all 0.32s ease-in-out;
            transition: all 0.32s ease-in-out;
}

/* informational toast class: */
.toast--info {}

/* successful toast class: */
.toast--success {}

/* warning toast class: */
.toast--warning {}

/* error toast class: */
.toast--error {}

/* this class is assigned to each toast message when autoClose
 * plugin option is set to BOOLEAN false. */
/* Normally, this is a pointer events handler:*/
.toast.close-on-click {
    cursor: pointer;
    pointer-events: auto;
}

/**
 * Progress bar styles:
 * -------------------------------------------------- */

/* each progress bar gets this style: */
.toast-progressbar {
    -webkit-transition: width 0s ease;
       -moz-transition: width 0s ease;
        -ms-transition: width 0s ease;
         -o-transition: width 0s ease;
            transition: width 0s ease;
}

/* progress bar color for each toast type: */
.toast-progressbar--info {}
.toast-progressbar--success {}
.toast-progressbar--warning {}
.toast-progressbar--error {}

/* the main container: */
.alert-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;

    background-color: rgba(255,255,255, 0.32);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
}
/* the wrapper where the toast messages appends: */
.alert-container .alert-wrapper {
    position: relative;

    display: inline-block;
    margin: 0 auto;
}
/* the class that is assigned to the sound player. */
/* Normally, this is a hidden wildcard: */
.alert-container .alert-soundplayer {
    display: none;
    visibility: hidden;
}

/**
 * Toast messages styles:
 * -------------------------------------------------- */

/* each toast message gets this style: */
.alert {
    position: relative;
    pointer-events: none;
    -webkit-transition: all 0.32s ease-in-out;
       -moz-transition: all 0.32s ease-in-out;
        -ms-transition: all 0.32s ease-in-out;
         -o-transition: all 0.32s ease-in-out;
            transition: all 0.32s ease-in-out;


    display: block;
    margin: 4% auto 0 auto;
    padding: 2em 2em;
    background-color: #fff;
    color: #505050;
    max-width: 100%;
    font-size: 1.25em;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 1px 1px 12px 2px rgba(0,0,0, 0.32);
}

/* informational toast class: */
.alert--info { color: #31708F; }

/* successful toast class: */
.alert--success { color: #2ab7c4; }

/* warning toast class: */
.alert--warning { color: #8A6D3B; }

/* error toast class: */
.alert--error { color: #A94442; }

/* this class is assigned to each toast message when autoClose
 * plugin option is set to BOOLEAN false. */
/* Normally, this is a pointer events handler:*/
.alert.close-on-click {
    cursor: pointer;
    pointer-events: auto;
}

/**
 * Progress bar styles:
 * -------------------------------------------------- */

/* each progress bar gets this style: */
.alert-progressbar {
    -webkit-transition: width 0s ease;
       -moz-transition: width 0s ease;
        -ms-transition: width 0s ease;
         -o-transition: width 0s ease;
            transition: width 0s ease;

    position: absolute;
    height: 4px;
    width: 0%;
    left: 0px;
    bottom: 0px;
    opacity: 0.5;
}

/* progress bar color for each toast type: */
.alert-progressbar--info { background-color: #91C5F2; }
.alert-progressbar--success { background-color: #2ab7c4; }
.alert-progressbar--warning { background-color: #F2C779; }
.alert-progressbar--error { background-color: #F5ACA6; }

/* Note that the "transition" property
 * must be present in the main class. */
/* each toast message gets this style: */
.alert {
    transition: 0.32s all ease-in-out;
}

/* a [scale] transition: */
.alert-container--scale {
     right: 0;
    bottom: 0;
}
.alert-container--scale .alert-wrapper { display: inline-block; }
.alert.scale-init { opacity: 0; transform: scale(0); }
.alert.scale-show { opacity: 1; transform: scale(1); }
.alert.scale-hide { opacity: 0; transform: scale(0); }
/* ------------------------------------------------------------------------- */
