@media screen and (min-width: 481px) {
    #layout-menu {
        background-color: #27367b !important;
    }

    #layout-menu .popover-header {
        background-color: #27367b !important;
    }

    #taskmenu a.logout {
        color: #FFFFFF !important;
    }

    #taskmenu .special-buttons {
        background-color: #27367b !important;
    }

    #taskmenu a.selected {
        background-color: #00a674 !important;
    }

    #taskmenu a:hover {
        background-color: #00a674 !important;
    }

    #taskmenu a:focus {
        background-color: #00a674 !important;
    }

    #taskmenu .action-buttons a {
        color: #FFFFFF;
    }

    #taskmenu .action-buttons a:hover {
        color: #FFFFFF;
    }
}

.task-login #layout-content {
    background-color: #27367b !important;
}

#login-footer {
    color: #FFFFFF;
}

.task-login #logo {
    max-height: 80px;
}

#layout-menu .popover-header img {
    padding: 0;
}


.quota-widget .value {
    background-color: #141b3e !important;
}

.folderlist li.mailbox .unreadcount {
    background-color: #141b3e !important;
}

.btn-primary {
    background-color: #00a674 !important;
    border-color: #00a674 !important;
}

.btn-secondary {
    background-color: #F6F6F6 !important;
    border-color: #F6F6F6 !important;
    color: #585858 !important;
}

ul.treelist li.selected>div>a,
ul.treelist li.selected>a {
    background-color: #F6F6F6 !important;
}


a {
    color: #00a674;
}

a:hover {
    color: #00a674;
}

.custom-switch .custom-control-input:checked~.custom-control-label::before {
    background-color: #141b3e;
    border-color: #141b3e;
}

.popover .menu li a:hover {
    background-color: #00a674 !important;
}

.messagelist td.subject span.msgicon.status.unread:before {
    color: #ff9343 !important;
}

#layout-menu .popover-header {
    line-height: unset;
}

.footer-imprint {
    display: none;
}

body.task-login .footer-imprint {
    display: block;
}

.task-login #layout {
    flex-direction: column;
}
.footer-imprint {
    padding: 10px;
    color: white;
    text-align: center;
    background-color: #27367b;
}

li#settingstabpluginautoresponder.listitem.autoresponder > a::before {
    content: "\f3e5";
}

/* Styles from mStudio for the mail archive info box */

:root {
    --flow-alert-heading-font-size   : 18px;
    --flow-alert-heading-line-height : calc(var(--flow-alert-heading-font-size) * 1.5);
}

.flow-alert {
    max-width: 700px;
    margin: 16px auto;
    font-size: 16px;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    border-inline-start-width: 8px;
    border-color: #0054f5;
    background-color: #FFFFFF;
    padding: 16px;
    text-align: left;
    line-height: var(--flow-alert-heading-line-height);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: .5em;
}

.flow-alert * {
    margin : 0;
}

.flow-alert h3 {
    color       : #003fb8;
    font-size   : var(--flow-alert-heading-font-size);
    font-weight : bold;
    line-height : var(--flow-alert-heading-line-height);

    .flow-alert-headline-icon {
        width             : 27px;
        height            : 27px;
        display           : inline-block;
        margin-inline-end : 8px;
        vertical-align    : bottom;
    }
}

.flow-alert p {
    color : #222222;
}

.flow-alert a {
    color                : #0054f5;
    text-decoration-line : none;
    font-weight          : bold;
    width                : fit-content;
}

.flow-alert a:hover {
    color : #003FB8;
}

.flow-alert-content {
    display        : flex;
    flex-direction : column;
    row-gap        : 16px;
    text-align     : left;
}