/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13 mars 2020, 11:45:45
    Author     : IT-PC-006
*/
/* Notification d'erreur ajax' */
#toast {
    visibility: hidden;
    max-width: 50px;
    height: 50px;
    margin: auto;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    z-index: 1000;
    right: 10px;
    bottom: 30px;
    font-size: 17px;
    white-space: nowrap;
    -webkit-box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 4px 4px 20px 0px rgba(0,0,0,0.75);
}
#toast #img{
    width: 50px;
    height: 50px;
    float: left;
    line-height: 50px;
    box-sizing: border-box;
    background-color: #111;
    color: #fff;
}
#toast #desc{
    color: #fff;
    font-size: .8rem;
    padding: 16px;
    overflow: hidden;
    white-space: nowrap;
}

#toast.success
{
    background-color: #19bd19 !important;
}

#toast.error
{
    background-color: #B22C2C;
}
#toast.warning {
    background-color: #ba9522;
}

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

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

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

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

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

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

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

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

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 60px; opacity: 0;}
}

