/* Havenlicht-huisstijl voor Roundcube (elastic): nachtblauw, zeeblauw en het geel van de vuurtoren. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

body, input, select, textarea, button, .btn, .popover, .ui-dialog { font-family: "DM Sans", "Segoe UI", Arial, sans-serif !important; }
h1, h2, h3, .header-title, .ui-dialog-title, #layout-menu .popover-header { font-family: "Bricolage Grotesque", "DM Sans", sans-serif !important; }

/* links en accentkleur */
a, a:visited, .listing li.selected a, .menu a.selected { color: #1F5C8B; }
.btn-primary, .button.mainaction, .btn.btn-primary, input.button.mainaction, .formbuttons .btn-primary, button.mainaction {
  background-color: #1F5C8B !important; border-color: #1F5C8B !important; color: #fff !important;
}
.btn-primary:hover, .button.mainaction:hover, .btn.btn-primary:hover { background-color: #0E2A47 !important; border-color: #0E2A47 !important; }
.form-control:focus, .custom-select:focus, input:focus, textarea:focus { border-color: #2E7DB8 !important; box-shadow: 0 0 0 .2rem rgba(46, 125, 184, .25) !important; }
.listing li.selected, .listing tr.selected td, table.records-table tr.selected td { background-color: #E6F0F8 !important; }
.listing li.focused, table.records-table tr.focused td { outline-color: #2E7DB8; }
.unread .subject a, .unread .fromto span { color: #0E2A47; }
.badge-primary, .unreadcount { background-color: #2E7DB8 !important; }

/* linkermenu in nachtblauw, met een gele markering voor het actieve onderdeel */
#layout-menu { background-color: #0E2A47 !important; }
#layout-menu .menu a, #layout-menu .popover-header { color: #DCE7F2 !important; }
#layout-menu .menu a.selected, #layout-menu .menu a:hover { color: #FFD45C !important; background-color: rgba(255, 255, 255, .06) !important; }
#layout-menu .special-buttons a { color: #DCE7F2 !important; }
#layout-menu .menu a.compose, #layout-menu a.compose { background-color: #FFD45C !important; color: #0E2A47 !important; }

/* inlogpagina: zandkleurige achtergrond zoals havenlicht.be */
body.task-login { background: #FBF7EF !important; }
body.task-login #layout-content { background: transparent !important; }
#login-form .formcontent, body.task-login #login-form { border-radius: 16px; }
#login-form .formbuttons .btn-primary, #login-form button.mainaction { width: 100%; padding: .7rem 1rem; font-weight: 700; border-radius: 10px; }
#login-footer, body.task-login #login-footer { color: #4A5E75 !important; }
#login-footer a { color: #1F5C8B !important; }

/* donkere modus */
html.dark-mode a, html.dark-mode .listing li.selected a { color: #8CC4EE; }
html.dark-mode body.task-login { background: #0B1F35 !important; }
html.dark-mode .listing li.selected, html.dark-mode .listing tr.selected td { background-color: #173A5C !important; }
