
.message {

    background: grey;
    padding: 1rem;
    position: relative;

    width: 100%;
    background: #222;
    margin: 0.2rem;
    border: #333 solid;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
}

.message.error {
    background: red;
    border-color: darkred;
}

.message.info{
    background: blue;
    border-color: darkblue;
}

.message.warning {
    background: orange;
    border-color: orangered;
}

.message.hiding {
    transition: opacity 1s ease-out;
    opacity: 0;
}
.message.hidden{
    display: none;
}

#messagesContainter {
    position: fixed;
    z-index: 10000;
    left: 30%;
    right: 30%;
    top: 0;
}

.message .label {
    margin: 0;
    text-transform: uppercase;
}


.message .time,
.message .caption {
    line-height: 0;
    font-size: 0.7em;
}

.message .time {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.3;
}

.message:hover .time {
    opacity: 1;
}
