/* NeviLex site-wide dark mode: the switch, and the parts that need a hand beyond darkmode.js */
.nvxd-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0 !important; border-radius: 50% !important; border: 1px solid rgba(14, 42, 74, .18) !important; background: #fff !important; color: #0E2A4A !important; cursor: pointer; box-shadow: 0 1px 3px rgba(14, 42, 74, .12) !important; line-height: 1 !important; min-height: 0 !important; z-index: 50; transition: background .15s, transform .15s; }
.nvxd-btn:hover { transform: scale(1.06); }
.nvxd-btn.is-header { position: absolute; top: 50%; left: 14px; margin-top: -18px; }
.nvxd-btn.is-float { position: fixed; left: 14px; bottom: 14px; z-index: 9990; }
.nvxd-btn .nvxd-sun { display: none; }
html.nvxl-dark .nvxd-btn { background: #223044 !important; color: #f0d58a !important; border-color: #3a4d65 !important; }
html.nvxl-dark .nvxd-btn .nvxd-sun { display: inline-flex; } html.nvxl-dark .nvxd-btn .nvxd-moon { display: none; }
.nvxd-btn svg { display: block; }

/* Base: page, text, links, form fields, tables, code */
html.nvxl-dark body, html.nvxl-dark #page, html.nvxl-dark .page-wrap, html.nvxl-dark .site-content, html.nvxl-dark .content-wrapper { background-color: #121a24 !important; color: #dbe3ec; }
html.nvxl-dark a { color: #8fbbec; }
html.nvxl-dark input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]), html.nvxl-dark select, html.nvxl-dark textarea {
	background-color: #1a2532 !important; color: #dbe3ec !important; border-color: #3a4d65 !important; }
html.nvxl-dark ::placeholder { color: #7f91a6 !important; }
html.nvxl-dark table, html.nvxl-dark th, html.nvxl-dark td { border-color: #2b3a4c !important; }
html.nvxl-dark code, html.nvxl-dark pre, html.nvxl-dark kbd { background: #1a2532 !important; color: #dbe3ec !important; }
html.nvxl-dark hr { border-color: #2b3a4c !important; background-color: #2b3a4c !important; }
/* The logo keeps its own colours */
html.nvxl-dark .site-logo, html.nvxl-dark .custom-logo, html.nvxl-dark img[src*="logo"] { filter: none !important; }
/* Images in content: a little dimmer, so they don't glare */
html.nvxl-dark .entry-content img:not([src*="positive"]):not([src*="mixed"]):not([src*="bathil"]):not([src*="no.png"]) { filter: brightness(.9); }
/* Scrollbars */
html.nvxl-dark { scrollbar-color: #3a4d65 #121a24; }
.nvxd-btn.is-inline { position: relative; margin: 0 10px; flex: none; vertical-align: middle; align-self: center; }
.nvxd-btn.is-inline.is-float-in { display: inline-flex; }
