﻿
.messageBox {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #333;
    background-color: #fff;
    clear: both;
    line-height: 16px;
}

.info .message:first-child::before {
    font-family: FontAwesome;
    content: "\f05a";
    color: #fff;
    position: absolute;
    left: 14px;
    top: 10px;
}

.message:not(:empty) {
    list-style: none;
    margin: 0;
    border-left: 40px solid #3572b0;
    border-right: 1px solid #3572b0;
    padding-top: 10px;
    padding-left: 10px;
}

.message:empty {
    display: none;
}

.message:first-child {
    border-top: 1px solid #3572b0;
    border-top-left-radius: 3px;
}

.message:last-child {
    border-bottom: 1px solid #3572b0;
    border-bottom-left-radius: 3px;
    padding-bottom: 10px;
}

.erreur .message:not(:empty), .erreur .message:first-child:not(:empty), .erreur .message:last-child:not(:empty) {
    border-color: #c22532;
}

.message i.action {
    position: absolute;
    right: 10px;
    top: 10px;
}

.erreur .message:first-child::before {
    font-family: FontAwesome;
    content: "\f06a";
    color: #fff;
    position: absolute;
    left: 14px;
    top: 10px;
}

.success .message:not(:empty), .success .message:first-child:not(:empty), .success .message:last-child:not(:empty) {
    border-color: #8eb021;
}

.success .action {
    color: #8eb021;
}

.success .message:first-child::before {
    font-family: FontAwesome;
    content: "\f00c";
    color: #fff;
    position: absolute;
    left: 14px;
    top: 10px;
}

.warn .message:first-child::before {
    font-family: FontAwesome;
    content: "\f12a";
    color: #fff;
    position: absolute;
    left: 14px;
    top: 10px;
}
.warn .message:not(:empty), .warn .message:first-child:not(:empty), .warn .message:last-child:not(:empty) {
    border-color: #F1A022;
}