﻿.message {
    background-size: 40px 40px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .05) 50%, rgba(255, 255, 255, .05) 75%, transparent 75%, transparent);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.4);
    width: 100%;
    border: 1px solid;
    color: #fff !important;
    padding: 10px;
    position: fixed;
    _position: absolute;
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
    animation: animate-bg 5s linear infinite;
    z-index: 1000;
}

    .message * {
        font-family: Arial !important;
    }

.message.info {
    background-color: #4ea5cd;
    border-color: #3b8eb5;
}

    .message.error {
        background-color: #de4343;
        border-color: #c43d3d;
    }

    .message.warning {
        background-color: #EFA229;
        border-color: #C88823;
    }

    .message.success {
        background-color: #61b832;
        border-color: #55a12c;
    }

.message {
    width: 500px;
    position: fixed;
    right: 10px;
    top: -80px;
    -webkit-box-shadow: 5px 5px 3px 0px rgba(0, 13, 0, 0.73);
    -moz-box-shadow: 5px 5px 3px 0px rgba(0, 13, 0, 0.73);
    box-shadow: 5px 5px 3px 0px rgba(0, 13, 0, 0.73);
}

    .message h3 {
        margin: 0 0 5px 0;
        color: #fff !important;
        font-weight: bold !important;
        font-size: initial !important;
    }

    .message p {
        margin: 0;
        font-size: 1.1rem !important;
        line-height: 15px;

    }
    

@keyframes bounce-in-top {
    0% {
        -webkit-transform: translateY(-500px);
        transform: translateY(-500px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0
    }

    38% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1
    }

    55% {
        -webkit-transform: translateY(-65px);
        transform: translateY(-65px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    72% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    81% {
        -webkit-transform: translateY(-28px);
        transform: translateY(-28px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    90% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    95% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }
}

#message-panel .message {
    -webkit-animation: bounce-in-top 1.1s both;
    animation: bounce-in-top 1.1s both
}