/* VertMail: cores da Vert por cima do tema Elastic */
:root{--vert:#1E4D3B;--vert-escuro:#0E3B2E;--vert-claro:#E6F0EA;--dourado:#C9A24A}
/* menu lateral */
#layout-menu{background:var(--vert-escuro) !important}
#layout-menu .menu a,#layout-menu .menu a:before{color:#E4DCC8 !important}
#layout-menu .menu a:hover,#layout-menu .menu a.selected{background:var(--vert) !important;color:#fff !important}
#layout-menu .menu a.selected:before,#layout-menu .menu a:hover:before{color:var(--dourado) !important}
#layout-menu .popover-header{background:var(--vert-escuro) !important}
#layout-menu #logo{max-height:46px}
/* botões e links */
.btn-primary,.btn.btn-primary,.btn-primary:not(:disabled):not(.disabled):active{background-color:var(--vert) !important;border-color:var(--vert) !important;color:#fff !important}
.btn-primary:hover,.btn-primary:focus{background-color:var(--vert-escuro) !important;border-color:var(--vert-escuro) !important}
a,a:hover,.link{color:var(--vert)}
.floating-action-buttons a.button,#layout-sidebar .header .button.compose,a.compose{background-color:var(--vert) !important;color:#fff !important}
.toolbar a.button:hover,.toolbar a.button.selected,.toolbar a.button:focus{color:var(--vert) !important}
.toolbar a.button.compose,.toolbar a.compose{color:var(--vert) !important}
/* listas: mensagem e pasta selecionada */
.listing li.selected,.listing li.selected>a,.listing li.focused,.listing li:hover,.listing li>a:hover,
table.records-table tr.selected td,table.records-table tr.selected:hover td,table.records-table tr:hover td{background-color:var(--vert-claro) !important}
.listing li.selected>a,table.records-table tr.selected td a,table.records-table tr.selected td span{color:#17251F !important}
table.records-table tr.unread td.subject a,table.records-table tr.unread span.subject{color:var(--vert-escuro);font-weight:700}
#folderlist-content li.selected>a:before,.listing li.selected>a:before{color:var(--vert) !important}
.unreadcount,.listing .unreadcount,ul.listing li .unreadcount,.menu .unreadcount{background-color:var(--dourado) !important;color:#17251F !important;border-radius:99px}
table.records-table tr.selected td:first-child,table.records-table tr.focused td{box-shadow:inset 3px 0 0 var(--vert)}
/* formulários */
.form-control:focus,input:focus,select:focus,textarea:focus{border-color:var(--vert) !important;box-shadow:0 0 0 .2rem rgba(30,77,59,.2) !important}
.custom-switch .custom-control-input:checked~.custom-control-label::before,input[type=checkbox].custom-control-input:checked~.custom-control-label::before{background-color:var(--vert) !important;border-color:var(--vert) !important}
.ui-dialog-titlebar,.popover-header{border-bottom-color:var(--vert-claro)}
.header .header-title{font-weight:700}
.nav-link.active,.tabsbar .selected a{color:var(--vert) !important;border-color:var(--vert) !important}
/* tela de login */
body.task-login{background:linear-gradient(150deg,#0E3B2E 0%,#1E4D3B 55%,#2C6A50 100%) !important}
body.task-login #layout-content{background:transparent !important}
body.task-login #login-form{background:#fff;border-radius:18px;padding:28px 28px 18px;box-shadow:0 18px 50px rgba(0,0,0,.28);max-width:420px;margin:0 auto}
body.task-login #logo{max-width:240px;margin-bottom:8px}
body.task-login #login-footer,body.task-login #login-footer a{color:#7A867F !important;font-size:12px}
body.task-login #login-form .formbuttons .btn,body.task-login #rcmloginsubmit{background:var(--vert) !important;border-color:var(--vert) !important;color:#fff !important;opacity:1 !important;font-weight:700;border-radius:10px;letter-spacing:.04em}
body.task-login #rcmloginsubmit:hover{background:var(--vert-escuro) !important}
.vert-login-rodape{margin:16px 0 0;text-align:center;font-size:13px;color:#4A564F}
.vert-login-rodape a{color:var(--vert);font-weight:600}
@media (prefers-color-scheme:dark){html.dark-mode #layout-menu{background:#07241B !important}}
