﻿
.notification {
    display: none;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    font-weight: 400;
    font-size: 18px;
    font-style: normal;
    padding: 16px;
    position: fixed;
    z-index: 1000000;
    top: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0.90;
    filter: alpha(opacity=90);
}

    .notification:before {
        float: right;
        cursor: pointer;
        padding-left: 16px;
        padding-top: 4px;
        content: url('/images/ui/notify-close-sml.png');
    }

    .notification.normal {
        display: inline-block;
        animation: fadein 0.5s, fadeout 0.5s 6.0s;
    }

    .notification.error {
        display: inline-block;
        background-color: orangered;
        animation: fadein 0.5s, fadeout 0.5s 6.0s;
    }

    .notification.call {
        display: inline-block;
        background-color: #0070b9;
        animation: fadein 0.5s, fadeout 0.5s 6.0s;
    }

    .notification.sticky {
        display: inline-block;
        background-color: green;
        animation: fadein 0.5s;
    }




@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 10px;
        opacity: 0.90;
    }
}

@keyframes fadeout {
    from {
        top: 10px;
        opacity: 0.90;
    }

    to {
        top: 0;
        opacity: 0;
    }
}
