.quiqqer-message-handler-button {
    background: #ededed;
    border: 1px solid rgba(147, 128, 108, 0.25);
    border-radius: 5px;
    cursor: pointer;
    float: right;
    line-height: 28px;
    margin-right: 10px;
    margin-top: 2px;
    text-align: center;
    width: 50px;
}

.quiqqer-message-handler-button:hover {
    background: #0069B4;
    color: #FFFFFF;
}

.quiqqer-message-handler {
    background: #f8fafc;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .12), 0 2px 4px 0 rgba(0, 0, 0, .08);
    border: 1px solid #e6e7e9;
    height: 500px;
    max-width: calc(100% - 1.25rem);
    position: absolute;
    right: 10px;
    top: 60px;
    width: 400px;
    z-index: 10;
}

.quiqqer-message-handler-close {
    background: #fff;
    bottom: -1.5rem;
    border-radius: 3rem;
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 2rem;
    line-height: 3rem;
    left: calc(50% - 1.5rem);
    text-align: center;
    position: absolute;
    width: 3rem;
}

.quiqqer-message-handler-header {
    background: #fff;
    border-bottom: 1px solid #e6e7e9;
    color: rgb(30, 41, 59);
    display: flex;
    height: 3rem;
}

.quiqqer-message-handler-header-title {
    cursor: default;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 3rem;
    padding: 0 0.5rem;
}

.quiqqer-message-handler-header [name="clear-notifications"] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #89949e;
    margin: 0.25rem;
    padding: 0 1rem;
}

.quiqqer-message-handler-header [name="clear-notifications"]:hover {
    background: #b8c2cc;
    color: #000;
}

.quiqqer-message-handler-header [name="filter-notifications"] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #89949e;
    line-height: 30px;
    margin: 0.25rem;
    padding: 0 1rem;
}

.quiqqer-message-handler-header [name="filter-notifications"]:hover {
    background: #b8c2cc;
    color: #000;
}

.quiqqer-message-handler-messages {
    height: calc(100% - 100px);
    overflow: auto;
    padding: 0.5rem;
    width: 100%;
}

.quiqqer-message-handler-messages .quiqqer-message {
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .12);
    margin: 0.5rem 0;
    max-width: 100%;
    width: 100%;
}

.quiqqer-message-handler-batch {
    background-color: #ef5753;
    border-radius: 10px;
    color: #fff;
    height: 20px;
    left: -5px;
    line-height: 20px;
    position: absolute;
    text-align: center;
    top: -2px;
    width: 20px;
}

/** message design
 ========================================== */

.quiqqer-message {
    border-radius: 0.25rem;
    border-left-width: 4px;
    border-left-style: solid;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    max-width: 95%;
    padding: 0.75rem 1.5rem 0.75rem 1rem;
    position: relative;
    width: 400px;
    z-index: 100;
}

.quiqqer-message-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 2rem;
}

.quiqqer-message-text {
    flex-grow: 1;
    padding-left: 10px;
    width: calc(100% - 2rem);
}

.quiqqer-message-date {
    display: block;
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-left: 0.85rem;
    opacity: 0.8;
    width: 100%;
}

.quiqqer-message-date .fa {
    padding: 0.25rem 0.25rem 0 0;
}

.quiqqer-message-close {
    background: transparent;
    border: none;
    color: #3d4852;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 2rem;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 2rem;
}

.quiqqer-message-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

body > .quiqqer-message {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .12), 0 2px 4px 0 rgba(0, 0, 0, .08);
    position: absolute;
    right: 10px;
    top: 60px;
}

/** filter
 ========================================== */

.quiqqer-messages-filter {
    background: #fff;
    border-bottom: 1px solid #e6e7e9;
}

.quiqqer-messages-filter span {
    cursor: pointer;
    display: inline-block;
    line-height: 28px;
    margin-bottom: 1px;
    margin-top: 1px;
    margin-left: 1px;
    text-align: center;
    width: 30px;
}

.quiqqer-messages-filter span:hover {
    background: #b8c2cc;
    color: #000;
}

.fa-info-circle.information {
    color: #3490DC;
}

.fa-check-circle.success {
    color: #38C172;
}

.fa-exclamation-circle.attention {
    color: #de751f;
}

.fa-exclamation-circle.error {
    color: #cc1f1a;
}


.fa-info-circle.active,
.fa-check-circle.active,
.fa-exclamation-circle.active,
.fa-exclamation-circle.active {
    background: #d8e0ea;
}


/** message design -> style
 ========================================== */

.quiqqer-message-attention {
    background-color: #e8fffe;
    border-left-color: #4dc0b5;
    color: #0d3331;
}

.quiqqer-message-attention .quiqqer-message-icon {
    color: #4dc0b5;
}

.quiqqer-message-attention .quiqqer-message-date {
    opacity: 0.5;
}


.quiqqer-message-error {
    background-color: #fcebea;
    border-left-color: #ef5753;
    color: #cc1f1a;
}

.quiqqer-message-information {
    background-color: #EFF8FF;
    border-left-color: #6CB2EB;
    color: #3490DC;
}

.quiqqer-message-attention {
    background-color: #fff5eb;
    border-left-color: #f6993f;
    color: #de751f;
}

.quiqqer-message-success {
    background-color: #E3FCEC;
    border-left-color: #51D88A;
    color: #38C172;
}

.quiqqer-message-loading {
    background-color: #fbfcfd;
    border: 0;
    color: #898989;
}

.quiqqer-message-loading-progress {
    background: #e6e7e9;
    clear: both;
    display: inline-block;
    height: 8px;
    position: relative;
    width: 100%;
}

.quiqqer-message-loading-progress-bar {
    background: #206bc4;
    left: 0;
    height: 8px;
    position: absolute;
    top: 0;
}