#toast {
    visibility: hidden;
    min-width: 640px;
    margin-left: -320px;
    background-color: #fff;
    color: #222;
    border-radius: 5px;
    padding: 14px;
    position: fixed;
    z-index: 10000;
    left: 50%;
    top: 30px;
    border: #FA6400 1px solid;
    box-shadow: 0 10px 20px rgb(0, 0, 0, 0.1);
}
#toast #message {
    font-size: 14px;
    float: left;
    padding-top: 7px;
}
#toast .icon {
    float: left;
    margin: 6px;
    padding-right: 8px;
    width: 21px;
    height: 21px;
}
#toast .dismiss {
    width: 34px;
    height: 34px;
    float: right;
    background-color: #fff;
    padding: 0;
    border-width: 0;
    cursor: pointer;
}

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

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}
