/* MinimalMessaging admin styles */
#system_messages {
    transition: all .25s ease;
    margin-top: 0;
    margin-left: 40px;
    margin-right: 5%;
    margin-bottom: 0;
    width: 95%;
    z-index: 999;
    position: absolute;
    display: block;
}

#system_messages.mm-collapsed {
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

#mm-message-anchor {
    display: inline-block;
    margin: 11px 0 0 8px;
    transition: all 0.3s ease;
    position: absolute;
}

#system_messages .message:before {
    font-size: 1.5rem;
    line-height: 2.3rem;
    filter: invert(15%) sepia(54%) saturate(0%) hue-rotate(257deg) brightness(97%) contrast(90%);
}

.mm-message-icon {
    display: none;
    width: 25px;
    height: 25px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background: #fff;
    color: #b1b1b1;
    font-weight: 400;
    border: 1px dotted #9797ad;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 1px 3px;
    font-size: 2rem;
}

.mm-message-icon:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    transform: translateY(-1px);
}

.mm-message-icon.mm-notify {
    box-shadow: 0 0 0 2px rgba(211, 47, 47, .35), 0 2px 6px rgba(0, 0, 0, .15);
}

.mm-message-icon.mm-cache-available {
    box-shadow: 0 0 0 2px seagreen, 0 2px 6px rgba(0, 0, 0, .15);
}

#system_messages .message-system-list li+li {
    border-top: 0;
}

.page-wrapper #system_messages .message-system-collapsible {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

body .page-wrapper .notices-wrapper {
    min-height: 30px;
}

#mm-cache-panel {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #f6fffa;
    color: #2e8b57;
    border: 1px solid seagreen;
    border-radius: 4px;
    font-size: 12px;
    line-height: 20px;
    opacity: 0;
    transform: translateX(-8px);
    transition: transform .25s ease, opacity .25s ease;
}

#mm-cache-panel.mm-show {
    opacity: 1;
    transform: translateX(0);
}

#mm-cache-panel a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

#mm-cache-panel a:hover {
    text-decoration: underline;
}