/* MF Host - cores da MF sobre o tema do webmail */
:root { --mf: #B20000; --mf-escuro: #8E0000; }
.btn-primary, .btn-primary:focus, .ui-dialog .btn.mainaction, .formbuttons .btn.mainaction,
#login-form .btn-primary { background-color: var(--mf) !important; border-color: var(--mf) !important; color: #fff !important; }
.btn-primary:hover, .btn-primary:active, .formbuttons .btn.mainaction:hover { background-color: var(--mf-escuro) !important; border-color: var(--mf-escuro) !important; }
a, .btn-link, .listing li.selected > a, .listing tr.selected td a, #taskmenu a.selected,
.messagelist tr.unread td.subject a, .listing li a.selected { color: var(--mf); }
html.dark-mode a, html.dark-mode #taskmenu a.selected { color: #ff6b6b; }
#layout-menu #taskmenu a.selected, #layout-menu #taskmenu a:hover { color: #fff; }
.listing li.selected, .listing tr.selected td, table.listing tr.selected td { box-shadow: inset 3px 0 0 var(--mf); }
.custom-control-input:checked ~ .custom-control-label::before, .custom-switch .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--mf); border-color: var(--mf); }
.form-control:focus, .custom-select:focus { border-color: var(--mf); box-shadow: 0 0 0 .2rem rgba(178, 0, 0, .15); }
.messagelist tr.flagged td, .messagelist tr.flagged td a { color: var(--mf); }
#layout-menu .popover-header, .task-menu-button { background-color: #111; }
/* itens que não fazem parte do produto */
#taskmenu a.about, a.about, #settings-menu .about, #aboutframe, .task-login #login-footer, .task-logout #login-footer { display: none !important; }
#logo { max-height: 56px; width: auto; }
.task-login #logo { max-height: 64px; margin-bottom: 1.5rem; }
#login-form::after { content: "MF Informática\A Para pessoas e empresas que não podem parar"; white-space: pre-line; display: block; margin-top: 2rem; font-size: .8rem; line-height: 1.5; color: #737677; text-align: center; }
/* destaque em vermelho no lugar do azul do tema */
#layout-menu #taskmenu a.compose, #taskmenu a.compose { color: #fff; }
#taskmenu a.compose:before { color: #ff6b6b; }
.unreadcount, .folderlist li.mailbox .unreadcount, .badge-primary { background-color: var(--mf) !important; color: #fff !important; }
.listing li.selected, .listing li.selected > a, .listing tr.selected td, .messagelist tr.selected td, .folderlist li.mailbox.selected > a { background-color: #FBEDED !important; }
html.dark-mode .listing li.selected, html.dark-mode .listing li.selected > a, html.dark-mode .listing tr.selected td, html.dark-mode .messagelist tr.selected td, html.dark-mode .folderlist li.mailbox.selected > a { background-color: #2A1517 !important; }
.messagelist tr.focused > td:first-child, .messagelist tr.selected.focused > td:first-child { border-left-color: var(--mf) !important; }
.messagelist td.subject span.msgicon.unread:before, .messagelist tr.unread td.subject span.fromto { color: inherit; }
.toolbar a.selected, .toolbar a:not(.disabled):hover, .pagenav a:not(.disabled):hover { color: var(--mf); }
#taskmenu #logo, .popover-header #logo { max-height: 44px; }
