/* Fixed dark presentation for LammerOnline.
 * All primary colours live here so contrast corrections do not require
 * editing dozens of selectors. !important is reserved for phpBB rules that
 * already use gradients or direct colours in the base style. */
html.itportal-theme-dark { --it-bg:#081426; --it-surface:#10263a; --it-nav:#0b172a; --it-panel:#183852; --it-panel-hover:#204965; --it-border:#284964; --it-text:#e8f1f8; --it-muted:#b9d9ee; --it-accent:#32d4c4; --it-button:#f8fbfd; --it-button-text:#145a78; background:var(--it-bg); }
/* The dark presentation keeps the same technical circuit motif as the light
 * one, but at a lower contrast so content cards remain the visual focus. */
html.itportal-theme-dark body {
	background-color:var(--it-bg) !important;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(50, 212, 196, .16) 1px, transparent 1.35px),
		linear-gradient(135deg, transparent 49%, rgba(50, 212, 196, .045) 49.5%, rgba(50, 212, 196, .045) 50.5%, transparent 51%),
		linear-gradient(45deg, transparent 49%, rgba(93, 185, 255, .035) 49.5%, rgba(93, 185, 255, .035) 50.5%, transparent 51%) !important;
	background-attachment:fixed !important;
	background-size:32px 32px, 96px 96px, 96px 96px !important;
	color:var(--it-text);
}
/* Keep structural surfaces dark without painting every nested .content or
   .postbody node. Those generic prosilver classes also occur in editors,
   code blocks and third-party extensions where a forced panel background
   changes semantics and causes visual regressions. */
html.itportal-theme-dark #wrap, html.itportal-theme-dark .forabg, html.itportal-theme-dark .forumbg, html.itportal-theme-dark .panel, html.itportal-theme-dark .post, html.itportal-theme-dark .row, html.itportal-theme-dark .bg1, html.itportal-theme-dark .bg2, html.itportal-theme-dark .bg3, html.itportal-theme-dark .topiclist li, html.itportal-theme-dark .fieldsbg { background:var(--it-surface) !important; border-color:var(--it-border) !important; color:var(--it-text) !important; }
html.itportal-theme-dark .headerbar, html.itportal-theme-dark #page-header .navbar #nav-main, html.itportal-theme-dark .forabg .header, html.itportal-theme-dark .forumbg .header { background:var(--it-nav) !important; }
html.itportal-theme-dark #page-header .navbar, html.itportal-theme-dark #page-header #nav-breadcrumbs, html.itportal-theme-dark #page-header .breadcrumbs { background:var(--it-nav) !important; color:var(--it-muted) !important; } html.itportal-theme-dark #page-header .breadcrumbs a { color:var(--it-accent) !important; }
html.itportal-theme-dark #page-footer .navbar { background:#0b172a !important; border-color:#284964 !important; } html.itportal-theme-dark #page-footer .navbar a, html.itportal-theme-dark #page-footer .copyright, html.itportal-theme-dark #page-footer .copyright a { color:#b9d9ee !important; }
html.itportal-theme-dark .navbar #nav-main .dropdown .dropdown-contents, html.itportal-theme-dark .dropdown .dropdown-contents { background:#10263a !important; border-color:#284964 !important; box-shadow:0 12px 30px rgba(0,0,0,.35); }
html.itportal-theme-dark .dropdown .pointer { border-color:#284964 transparent !important; } html.itportal-theme-dark .dropdown .pointer-inner { border-color:#10263a transparent !important; }
html.itportal-theme-dark .dropdown li, html.itportal-theme-dark .dropdown li li, html.itportal-theme-dark .dropdown li.separator { border-color:#284964 !important; }
html.itportal-theme-dark .itportal-team-group-title { border-color:#52728b; color:#8fe9e0; }
html.itportal-theme-dark .itportal-team-table tbody td { color:#e8f1f8; }
/* The tools catalogue is the only long navigation dropdown. Its browser
   scrollbar must use the same dark palette as the menu, rather than white. */
html.itportal-theme-dark .itportal-tools-nav .dropdown-contents { scrollbar-color:#52728b #091a2a; scrollbar-width:thin; }
html.itportal-theme-dark .itportal-tools-nav .dropdown-contents::-webkit-scrollbar { width:10px; background:#091a2a; }
html.itportal-theme-dark .itportal-tools-nav .dropdown-contents::-webkit-scrollbar-track { background:#091a2a; border-radius:5px; }
html.itportal-theme-dark .itportal-tools-nav .dropdown-contents::-webkit-scrollbar-thumb { background:#52728b; border:2px solid #091a2a; border-radius:6px; }
html.itportal-theme-dark .itportal-tools-nav .dropdown-contents::-webkit-scrollbar-thumb:hover { background:#32bcb0; }
/* Use dark-painted copies only for phpBB's built-in state classes. A forum
   icon chosen by an administrator keeps its inline/custom image URL and wins
   over these rules. */
html.itportal-theme-dark .forum_link { background-image:url("./images/dark/forum_link.gif"); }
html.itportal-theme-dark .forum_read { background-image:url("./images/dark/forum_read.gif"); }
html.itportal-theme-dark .forum_read_locked { background-image:url("./images/dark/forum_read_locked.gif"); }
html.itportal-theme-dark .forum_read_subforum { background-image:url("./images/dark/forum_read_subforum.gif"); }
html.itportal-theme-dark .forum_unread { background-image:url("./images/dark/forum_unread.gif"); }
html.itportal-theme-dark .forum_unread_locked { background-image:url("./images/dark/forum_unread_locked.gif"); }
html.itportal-theme-dark .forum_unread_subforum { background-image:url("./images/dark/forum_unread_subforum.gif"); }
html.itportal-theme-dark .announce_read { background-image:url("./images/dark/announce_read.gif"); }
html.itportal-theme-dark .announce_read_mine { background-image:url("./images/dark/announce_read_mine.gif"); }
html.itportal-theme-dark .announce_read_locked { background-image:url("./images/dark/announce_read_locked.gif"); }
html.itportal-theme-dark .announce_read_locked_mine { background-image:url("./images/dark/announce_read_locked_mine.gif"); }
html.itportal-theme-dark .announce_unread { background-image:url("./images/dark/announce_unread.gif"); }
html.itportal-theme-dark .announce_unread_mine { background-image:url("./images/dark/announce_unread_mine.gif"); }
html.itportal-theme-dark .announce_unread_locked { background-image:url("./images/dark/announce_unread_locked.gif"); }
html.itportal-theme-dark .announce_unread_locked_mine { background-image:url("./images/dark/announce_unread_locked_mine.gif"); }
html.itportal-theme-dark .sticky_read { background-image:url("./images/dark/sticky_read.gif"); }
html.itportal-theme-dark .sticky_read_mine { background-image:url("./images/dark/sticky_read_mine.gif"); }
html.itportal-theme-dark .sticky_read_locked { background-image:url("./images/dark/sticky_read_locked.gif"); }
html.itportal-theme-dark .sticky_read_locked_mine { background-image:url("./images/dark/sticky_read_locked_mine.gif"); }
html.itportal-theme-dark .sticky_unread { background-image:url("./images/dark/sticky_unread.gif"); }
html.itportal-theme-dark .sticky_unread_mine { background-image:url("./images/dark/sticky_unread_mine.gif"); }
html.itportal-theme-dark .sticky_unread_locked { background-image:url("./images/dark/sticky_unread_locked.gif"); }
html.itportal-theme-dark .sticky_unread_locked_mine { background-image:url("./images/dark/sticky_unread_locked_mine.gif"); }
html.itportal-theme-dark .topic_moved { background-image:url("./images/dark/topic_moved.gif"); }
html.itportal-theme-dark .pm_read, html.itportal-theme-dark .topic_read { background-image:url("./images/dark/topic_read.gif"); }
html.itportal-theme-dark .topic_read_mine { background-image:url("./images/dark/topic_read_mine.gif"); }
html.itportal-theme-dark .topic_read_hot { background-image:url("./images/dark/topic_read_hot.gif"); }
html.itportal-theme-dark .topic_read_hot_mine { background-image:url("./images/dark/topic_read_hot_mine.gif"); }
html.itportal-theme-dark .topic_read_locked { background-image:url("./images/dark/topic_read_locked.gif"); }
html.itportal-theme-dark .topic_read_locked_mine { background-image:url("./images/dark/topic_read_locked_mine.gif"); }
html.itportal-theme-dark .pm_unread, html.itportal-theme-dark .topic_unread { background-image:url("./images/dark/topic_unread.gif"); }
html.itportal-theme-dark .topic_unread_mine { background-image:url("./images/dark/topic_unread_mine.gif"); }
html.itportal-theme-dark .topic_unread_hot { background-image:url("./images/dark/topic_unread_hot.gif"); }
html.itportal-theme-dark .topic_unread_hot_mine { background-image:url("./images/dark/topic_unread_hot_mine.gif"); }
html.itportal-theme-dark .topic_unread_locked { background-image:url("./images/dark/topic_unread_locked.gif"); }
html.itportal-theme-dark .topic_unread_locked_mine { background-image:url("./images/dark/topic_unread_locked_mine.gif"); }
html.itportal-theme-dark .navbar #nav-main .dropdown .dropdown-contents a:not(.username-coloured), html.itportal-theme-dark .dropdown-contents a:not(.username-coloured) { color:#dcecf8 !important; } html.itportal-theme-dark .navbar #nav-main .dropdown .dropdown-contents a:not(.username-coloured):hover, html.itportal-theme-dark .dropdown-contents a:not(.username-coloured):hover { background:#183852 !important; color:#32d4c4 !important; }
/* Do not let the general dropdown rule erase the semantic colours of
   privileged account actions. */
html.itportal-theme-dark .navbar #nav-main .header-profile .dropdown-contents > li.itportal-profile-admin > a,
html.itportal-theme-dark .navbar #nav-main .header-profile .dropdown-contents > li.itportal-profile-admin > a .icon { color:#ff8188 !important; }
html.itportal-theme-dark .navbar #nav-main .header-profile .dropdown-contents > li.itportal-profile-admin > a:hover { color:#ffb1b5 !important; background:#3a202a !important; }
html.itportal-theme-dark .navbar #nav-main .header-profile .dropdown-contents > li.itportal-profile-admin > a:hover .icon { color:#ffb1b5 !important; }
html.itportal-theme-dark .navbar #nav-main .header-profile .dropdown-contents > li.itportal-profile-moderator > a,
html.itportal-theme-dark .navbar #nav-main .header-profile .dropdown-contents > li.itportal-profile-moderator > a .icon { color:#78dca4 !important; }
html.itportal-theme-dark .navbar #nav-main .header-profile .dropdown-contents > li.itportal-profile-moderator > a:hover { color:#a1efc3 !important; background:#17382c !important; }
html.itportal-theme-dark .navbar #nav-main .header-profile .dropdown-contents > li.itportal-profile-moderator > a:hover .icon { color:#a1efc3 !important; }
/* phpBB renders the online-group legend with an inline group colour rather
   than the username-coloured class. Do not replace those meaningful colours. */
html.itportal-theme-dark a:not(.username-coloured):not([style*="color"]), html.itportal-theme-dark .forumtitle, html.itportal-theme-dark .topictitle, html.itportal-theme-dark .postlink { color:var(--it-accent) !important; }
/* Group-coloured usernames use phpBB's own inline/group colour. Never force
   them into the general link colour in either presentation mode. */
html.itportal-theme-dark .username-coloured { text-shadow:0 1px 1px rgba(0,0,0,.35); }
/* Form controls remain dark in the dark presentation; using the light-theme
 * button fill here made search and action controls look detached from the UI. */
html.itportal-theme-dark .inputbox,
html.itportal-theme-dark input[type="search"],
html.itportal-theme-dark input[type="text"],
html.itportal-theme-dark input[type="password"],
html.itportal-theme-dark textarea,
html.itportal-theme-dark select { background:#091a2a !important; border-color:#52728b !important; color:#e8f1f8 !important; }
html.itportal-theme-dark .search-header,
html.itportal-theme-dark .search-box,
html.itportal-theme-dark .button,
html.itportal-theme-dark .button1,
html.itportal-theme-dark .button2 { box-shadow:none !important; text-shadow:none !important; }
html.itportal-theme-dark .inputbox::placeholder,
html.itportal-theme-dark input::placeholder,
html.itportal-theme-dark textarea::placeholder { color:#a8bdcc !important; opacity:1; }
html.itportal-theme-dark .inputbox:hover,
html.itportal-theme-dark .inputbox:focus,
html.itportal-theme-dark input:focus,
html.itportal-theme-dark textarea:focus,
html.itportal-theme-dark select:focus { border-color:#32d4c4 !important; box-shadow:none !important; outline:2px solid #32d4c4; outline-offset:1px; }
html.itportal-theme-dark .button, html.itportal-theme-dark .button1, html.itportal-theme-dark .button2, html.itportal-theme-dark input.button1, html.itportal-theme-dark input.button2 { background:#163953 !important; border-color:#52728b !important; color:#e8f1f8 !important; }
html.itportal-theme-dark .button .icon, html.itportal-theme-dark .button1 .icon, html.itportal-theme-dark .button2 .icon { color:#8fe9e0 !important; }
html.itportal-theme-dark .button:hover, html.itportal-theme-dark .button:focus, html.itportal-theme-dark .button1:hover, html.itportal-theme-dark .button1:focus, html.itportal-theme-dark .button2:hover, html.itportal-theme-dark .button2:focus, html.itportal-theme-dark input.button1:hover, html.itportal-theme-dark input.button2:hover { background:#1d506b !important; border-color:#32d4c4 !important; color:#fff !important; }
/* The header search has border: 0 in prosilver. Give the combined control a
   clear, quiet outline instead of the former cyan glow. */
html.itportal-theme-dark .search-header { background:#091a2a !important; border:1px solid #52728b !important; border-radius:5px !important; }
html.itportal-theme-dark .search-header:hover,
html.itportal-theme-dark .search-header:focus-within { border-color:#32d4c4 !important; box-shadow:0 0 0 2px #32d4c4 !important; }
html.itportal-theme-dark .search-header .inputbox { background:#091a2a !important; border:0 !important; color:#e8f1f8 !important; }
html.itportal-theme-dark .search-header .inputbox:hover,
html.itportal-theme-dark .search-header .inputbox:focus { border-color:transparent !important; outline:0 !important; box-shadow:none !important; }
html.itportal-theme-dark .search-header .button-search,
html.itportal-theme-dark .search-header .button-search-end { background:#163953 !important; border:0 !important; border-left:1px solid #52728b !important; color:#8fe9e0 !important; }
html.itportal-theme-dark .search-header .button-search:hover,
html.itportal-theme-dark .search-header .button-search:focus,
html.itportal-theme-dark .search-header .button-search-end:hover,
html.itportal-theme-dark .search-header .button-search-end:focus { background:#1d506b !important; color:#fff !important; }
html.itportal-theme-dark #itportal-theme-switch {
	background:#163953 !important;
	border:1px solid #52728b !important;
	border-radius:5px !important;
	color:#8fe9e0 !important;
}
html.itportal-theme-dark #itportal-theme-switch:hover,
html.itportal-theme-dark #itportal-theme-switch:focus { background:#1d506b !important; border-color:#32d4c4 !important; color:#fff !important; }
/* phpBB uses this dialog for attachment, AJAX and confirmation errors.  Its
   base palette is white, so it must be themed separately from ordinary panels. */
html.itportal-theme-dark .phpbb_alert {
	background:#10263a !important;
	border-color:#52728b !important;
	box-shadow:0 14px 36px rgba(0, 0, 0, .48) !important;
	color:#e8f1f8 !important;
}
html.itportal-theme-dark .phpbb_alert .alert_title {
	margin:0;
	padding:0 0 8px;
	border-bottom:1px solid #52728b;
	color:#ffaaa7 !important;
	font-size:1.15em;
}
html.itportal-theme-dark .phpbb_alert .alert_text,
html.itportal-theme-dark .phpbb_alert p,
html.itportal-theme-dark .phpbb_alert label { color:#e8f1f8 !important; }
html.itportal-theme-dark .phpbb_alert .alert_close { color:#64e4d8 !important; }
html.itportal-theme-dark .phpbb_alert .alert_close:hover,
html.itportal-theme-dark .phpbb_alert .alert_close:focus { color:#fff !important; }
html.itportal-theme-dark h1, html.itportal-theme-dark h2, html.itportal-theme-dark h3, html.itportal-theme-dark h3 a, html.itportal-theme-dark h4, html.itportal-theme-dark h5, html.itportal-theme-dark h6, html.itportal-theme-dark .postprofile, html.itportal-theme-dark .postprofile dt, html.itportal-theme-dark .postprofile dd, html.itportal-theme-dark .postprofile strong { color:var(--it-text) !important; }
html.itportal-theme-dark .time, html.itportal-theme-dark .lastpost, html.itportal-theme-dark .statistics { color:#a8bdcc !important; }
html.itportal-theme-dark .itportal-guest-content-gate { border-color:#806d32; background:#2a2514; color:#efd77c; }
html.itportal-theme-dark .itportal-guest-content-gate a { color:#58ded1; }
/* Base prosilver rules set these pieces of ordinary interface text to black
   or dark grey. Keep this list explicit: it fixes contrast without touching
   inline group colours on usernames or the deliberately light form fields. */
html.itportal-theme-dark table.table1 td,
html.itportal-theme-dark table.table1 tbody th,
html.itportal-theme-dark table.info tbody th,
html.itportal-theme-dark dl.details dt,
html.itportal-theme-dark dl.details dd,
html.itportal-theme-dark ul.topiclist li,
html.itportal-theme-dark li.row strong,
html.itportal-theme-dark .post:target .content,
html.itportal-theme-dark fieldset.polls dl.voted,
html.itportal-theme-dark .pagination li.ellipsis span,
html.itportal-theme-dark .panel-container h2,
html.itportal-theme-dark dl.mini dt,
html.itportal-theme-dark .current { color:#e8f1f8 !important; }
html.itportal-theme-dark .panel p,
html.itportal-theme-dark .panel li,
html.itportal-theme-dark .panel dd,
html.itportal-theme-dark .panel dt,
html.itportal-theme-dark .postbody,
html.itportal-theme-dark .content { color:#e8f1f8; }
/* A post body is a structural surface, unlike arbitrary .content blocks in
   extensions. Keep it dark explicitly; the broad .content background rule
   was intentionally removed to avoid repainting embedded widgets. */
html.itportal-theme-dark .post.has-profile .postbody,
html.itportal-theme-dark .post:not(.has-profile) .postbody {
	background:var(--it-surface) !important;
	color:var(--it-text) !important;
}
html.itportal-theme-dark .postbody .content { background:transparent !important; }
/* The moderation control panel reuses .postbody without wrapping it in
   .post. Its base template paints that standalone body white, so it needs
   the same explicit surface as an ordinary forum post. */
html.itportal-theme-dark .mcp-main .postbody,
html.itportal-theme-dark .mcp-main .postbody .content,
html.itportal-theme-dark .mcp-main .postbody .post_details {
	background:var(--it-surface) !important;
	color:var(--it-text) !important;
}
/* Inline links in posts should remain text links on hover. The light base
 * highlight reads like a selection against a dark message surface. */
html.itportal-theme-dark .postbody .content a:hover,
html.itportal-theme-dark .postbody .content a:focus {
	background:transparent !important;
	color:#8fe9e0 !important;
	text-decoration:underline;
	text-decoration-color:#32d4c4;
	text-underline-offset:2px;
}
/* MCP, login and confirmation templates put their form body in .content.
 * The base style paints that element white even though its enclosing .panel
 * is dark. Limit the reset to phpBB panels, rather than colouring every
 * .content block used by extensions and embedded widgets. */
html.itportal-theme-dark .panel > .inner > .content,
html.itportal-theme-dark .panel > .content {
	background:transparent !important;
	color:var(--it-text) !important;
}
html.itportal-theme-dark label,
html.itportal-theme-dark fieldset dl:hover dt label { color:#b9d9ee !important; }
html.itportal-theme-dark .dropdown-extended .header,
html.itportal-theme-dark .dropdown-extended .footer { color:#e8f1f8 !important; border-color:#284964 !important; }
html.itportal-theme-dark .dropdown-extended ul li:hover { background:#183852 !important; color:#e8f1f8 !important; }
/* phpBB's base palette assigns FAQ headings a dark grey intended for a white
   surface. Keep the section headings and answer text readable on dark cards. */
html.itportal-theme-dark #faqlinks dl.faq dt, html.itportal-theme-dark #faqlinks dl.faq dt strong, html.itportal-theme-dark .faq-title, html.itportal-theme-dark .content dl.faq dt, html.itportal-theme-dark .content dl.faq dt strong { color:#e8f1f8 !important; }
html.itportal-theme-dark #faqlinks dl.faq dd, html.itportal-theme-dark .content dl.faq dd { color:#cfe0eb !important; }
html.itportal-theme-dark #faqlinks dl.faq dd a, html.itportal-theme-dark .content dl.faq dd a { color:#48ded0 !important; }
html.itportal-theme-dark #faqlinks dl.faq dd a:hover, html.itportal-theme-dark .content dl.faq dd a:hover { color:#b0fff5 !important; }
html.itportal-theme-dark ul.topiclist li.row dd { border-left-color:#284964 !important; }
html.itportal-theme-dark .tabs .tab > a, html.itportal-theme-dark .minitabs .tab > a { background:#183852 !important; border-color:#284964 !important; color:#b9d9ee !important; box-shadow:none !important; }
html.itportal-theme-dark .tabs .tab > a:hover, html.itportal-theme-dark .minitabs .tab > a:hover { background:#204965 !important; color:#32d4c4 !important; }
html.itportal-theme-dark .tabs .activetab > a, html.itportal-theme-dark .tabs .activetab > a:hover, html.itportal-theme-dark .minitabs .activetab > a, html.itportal-theme-dark .minitabs .activetab > a:hover { background:#10263a !important; border-color:#284964 !important; color:#e8f1f8 !important; }
html.itportal-theme-dark #tabs .tab > a { background:#183852 !important; border-color:#284964 !important; color:#b9d9ee !important; box-shadow:none !important; }
html.itportal-theme-dark #tabs .tab > a:hover { background:#204965 !important; color:#32d4c4 !important; }
html.itportal-theme-dark #tabs .activetab > a, html.itportal-theme-dark #tabs .activetab > a:hover { background:#10263a !important; border-color:#284964 !important; color:#e8f1f8 !important; }
html.itportal-theme-dark .navigation a, html.itportal-theme-dark .rtl .navigation a { background:#183852 !important; color:#b9d9ee !important; filter:none !important; }
html.itportal-theme-dark .navigation a:hover, html.itportal-theme-dark .navigation .active-subsection a, html.itportal-theme-dark .navigation .active-subsection a:hover { background:#10263a !important; color:#32d4c4 !important; }
html.itportal-theme-dark .panel-container .panel, html.itportal-theme-dark .cp-main .pm, html.itportal-theme-dark .cp-main .pm-message { background:#10263a !important; border-color:#284964 !important; }
/* Personal-message list: the base phpBB palette uses black column captions
   and a pale legend card, both intended for the light scheme. */
html.itportal-theme-dark .panel-container .panel li.header dt,
html.itportal-theme-dark .panel-container .panel li.header dd,
html.itportal-theme-dark .panel-container table.table1 thead th { color:#e8f1f8 !important; border-color:#52728b !important; }
html.itportal-theme-dark .cp-mini { background:#10263a !important; border-color:#284964 !important; }
html.itportal-theme-dark .cp-mini .inner { background:transparent !important; }
html.itportal-theme-dark .cp-mini .mini dt { color:#e8f1f8 !important; }
html.itportal-theme-dark .cp-mini .mini dd { color:#cfe0eb !important; }
html.itportal-theme-dark .cp-main label, html.itportal-theme-dark .panel-container label, html.itportal-theme-dark fieldset dl dt label, html.itportal-theme-dark dd label { color:#b9d9ee !important; }
html.itportal-theme-dark fieldset dl:hover dt label { color:#e8f1f8 !important; }
html.itportal-theme-dark #options-panel, html.itportal-theme-dark #poll-panel, html.itportal-theme-dark #attach-panel { color:#b9d9ee !important; }
html.itportal-theme-dark #options-panel label, html.itportal-theme-dark #poll-panel label, html.itportal-theme-dark #attach-panel label, html.itportal-theme-dark #options-panel dt, html.itportal-theme-dark #poll-panel dt, html.itportal-theme-dark #attach-panel dt { color:#b9d9ee !important; }
/* Attachment form: phpBB's bg3 panel and plupload table carry their own light
   backgrounds, so colouring only the text leaves this section unreadable. */
html.itportal-theme-dark #attach-panel,
html.itportal-theme-dark #attach-panel > .inner,
html.itportal-theme-dark #attach-panel .attach-panel-multi,
html.itportal-theme-dark #attach-panel .file-list-container,
html.itportal-theme-dark #attach-panel .file-list-container > .inner {
	background:#10263a !important;
	border-color:#284964 !important;
}
html.itportal-theme-dark #attach-panel p,
html.itportal-theme-dark #attach-panel .file-name,
html.itportal-theme-dark #attach-panel .file-size,
html.itportal-theme-dark #attach-panel .attach-filesize,
html.itportal-theme-dark #attach-panel .attach-status {
	color:#b9d9ee !important;
}
html.itportal-theme-dark #attach-panel .file-list-container table,
html.itportal-theme-dark #attach-panel .file-list-container tbody,
html.itportal-theme-dark #attach-panel .file-list-container tr,
html.itportal-theme-dark #attach-panel .file-list-container td {
	background:#10263a !important;
	border-color:#284964 !important;
	color:#e8f1f8 !important;
}
html.itportal-theme-dark #attach-panel .file-list-container th {
	background:#0b1d31 !important;
	border-color:#284964 !important;
	color:#b9d9ee !important;
}
html.itportal-theme-dark #attach-panel .file-list-container tbody tr:hover,
html.itportal-theme-dark #attach-panel .file-list-container tbody tr.bg1,
html.itportal-theme-dark #attach-panel .file-list-container tbody tr.bg2 {
	background:#142f47 !important;
}
html.itportal-theme-dark #attach-panel .file-name a {
	color:#32d4c4 !important;
}
html.itportal-theme-dark #attach-panel .file-name a:hover,
html.itportal-theme-dark #attach-panel .file-name a:focus {
	color:#b0fff5 !important;
}
html.itportal-theme-dark #attach-panel input[type="file"],
html.itportal-theme-dark #attach-panel .inputbox,
html.itportal-theme-dark #attach-panel textarea {
	background:#091a2a !important;
	border-color:#52728b !important;
	color:#e8f1f8 !important;
	box-shadow:none !important;
}
html.itportal-theme-dark #attach-panel .file-progress {
	background:#284964 !important;
}
html.itportal-theme-dark #attach-panel .file-progress-bar,
html.itportal-theme-dark #attach-panel .file-total-progress-bar {
	background:#32d4c4 !important;
}
/* Public member profile: phpBB assigns black/grey colours directly to the
   definition list, so it needs a separate dark-mode treatment. */
html.itportal-theme-dark #viewprofile dl.details dt, html.itportal-theme-dark .profile-details dt { color:#b9d9ee !important; }
html.itportal-theme-dark #viewprofile dl.details dd, html.itportal-theme-dark .profile-details dd { color:#e8f1f8 !important; }
html.itportal-theme-dark #viewprofile .column1, html.itportal-theme-dark #viewprofile .column2, html.itportal-theme-dark #viewprofile .details { color:#e8f1f8 !important; }
/* Search-result author card retains a light phpBB gradient unless it is
   explicitly overridden. */
html.itportal-theme-dark .postprofile, html.itportal-theme-dark .search .postprofile { background:#10263a !important; border-color:#284964 !important; color:#e8f1f8 !important; }
html.itportal-theme-dark .search .postprofile dt, html.itportal-theme-dark .search .postprofile dd, html.itportal-theme-dark .search .postprofile .search-result-date { color:#b9d9ee !important; }
html.itportal-theme-dark .postprofile .icon, html.itportal-theme-dark .postprofile .icon:before, html.itportal-theme-dark .postprofile .profile-contact a { color:#32d4c4 !important; }
html.itportal-theme-dark blockquote, html.itportal-theme-dark .codebox, html.itportal-theme-dark .codebox code, html.itportal-theme-dark .notice, html.itportal-theme-dark .attachbox { background:#091a2a !important; border-color:#284964 !important; color:#e8f1f8 !important; }
html.itportal-theme-dark .codebox p { background:#11273e !important; border-color:#26435f !important; color:#b9d9ee !important; }
html.itportal-theme-dark .codebox .itportal-code-copy { color:#32d4c4 !important; } html.itportal-theme-dark .codebox .itportal-code-copy:hover, html.itportal-theme-dark .codebox .itportal-code-copy:focus { background:#183852 !important; color:#b0fff5 !important; }
html.itportal-theme-dark .itportal-syntax .itportal-syntax-command, html.itportal-theme-dark .itportal-syntax .itportal-syntax-path, html.itportal-theme-dark .itportal-syntax .itportal-syntax-keyword, html.itportal-theme-dark .itportal-syntax .itportal-syntax-tag { color:#62d5ff !important; }
html.itportal-theme-dark .itportal-syntax .itportal-syntax-property, html.itportal-theme-dark .itportal-syntax .itportal-syntax-key { color:#ffd479 !important; } html.itportal-theme-dark .itportal-syntax .itportal-syntax-string { color:#a6e3a1 !important; } html.itportal-theme-dark .itportal-syntax .itportal-syntax-comment { color:#8497aa !important; } html.itportal-theme-dark .itportal-syntax .itportal-syntax-number { color:#d9a8ff !important; } html.itportal-theme-dark .itportal-syntax .itportal-syntax-boolean { color:#ffac92 !important; } html.itportal-theme-dark .itportal-syntax .itportal-syntax-variable { color:#ffb86c !important; }
/* Advanced editor: its light palette is defined in itportal.css with more
   specific selectors, so it needs an explicit dark counterpart. */
html.itportal-theme-dark .itportal-editor-toolbar { background:#10263a !important; border-color:#284964 !important; }
html.itportal-theme-dark .itportal-editor-toolbar__group { border-color:#284964 !important; }
html.itportal-theme-dark .itportal-editor-toolbar__separator { background:#284964 !important; }
html.itportal-theme-dark .itportal-editor-toolbar button,
html.itportal-theme-dark .itportal-editor-toolbar select,
html.itportal-theme-dark .itportal-editor-toolbar input[type="color"],
html.itportal-theme-dark .itportal-editor-toolbar__effects label { background:#163953 !important; border-color:#52728b !important; color:#e8f1f8 !important; box-shadow:none !important; text-shadow:none !important; }
html.itportal-theme-dark .itportal-editor-toolbar button:hover,
html.itportal-theme-dark .itportal-editor-toolbar button:focus,
html.itportal-theme-dark .itportal-editor-toolbar select:hover,
html.itportal-theme-dark .itportal-editor-toolbar select:focus,
html.itportal-theme-dark .itportal-editor-toolbar__effects label:hover { background:#1d506b !important; border-color:#32d4c4 !important; color:#fff !important; outline:0; }
html.itportal-theme-dark #message-box textarea,
html.itportal-theme-dark #qr_postform #message-box textarea,
html.itportal-theme-dark .itportal-editor-visual { background:#091a2a !important; border-color:#52728b !important; color:#e8f1f8 !important; box-shadow:none !important; }
/* Chromium leaves textarea scrollbars in the OS light palette unless both
   the track and thumb are styled explicitly. */
html.itportal-theme-dark #message-box textarea,
html.itportal-theme-dark #qr_postform #message-box textarea,
html.itportal-theme-dark .itportal-editor-visual {
	scrollbar-color:#52728b #091a2a;
	scrollbar-width:thin;
}
html.itportal-theme-dark #message-box textarea::-webkit-scrollbar,
html.itportal-theme-dark #qr_postform #message-box textarea::-webkit-scrollbar,
html.itportal-theme-dark .itportal-editor-visual::-webkit-scrollbar { width:12px; height:12px; }
html.itportal-theme-dark #message-box textarea::-webkit-scrollbar-track,
html.itportal-theme-dark #qr_postform #message-box textarea::-webkit-scrollbar-track,
html.itportal-theme-dark .itportal-editor-visual::-webkit-scrollbar-track { background:#091a2a; }
html.itportal-theme-dark #message-box textarea::-webkit-scrollbar-thumb,
html.itportal-theme-dark #qr_postform #message-box textarea::-webkit-scrollbar-thumb,
html.itportal-theme-dark .itportal-editor-visual::-webkit-scrollbar-thumb { background:#52728b; border:3px solid #091a2a; border-radius:8px; }
html.itportal-theme-dark #message-box textarea::-webkit-scrollbar-thumb:hover,
html.itportal-theme-dark #qr_postform #message-box textarea::-webkit-scrollbar-thumb:hover,
html.itportal-theme-dark .itportal-editor-visual::-webkit-scrollbar-thumb:hover { background:#32d4c4; }
html.itportal-theme-dark #message-box textarea:focus,
html.itportal-theme-dark .itportal-editor-visual:focus { border-color:#32d4c4 !important; outline:2px solid #32d4c4; outline-offset:1px; }
html.itportal-theme-dark .itportal-editor-visual blockquote { background:#102c3d !important; color:#e8f1f8 !important; }
html.itportal-theme-dark .itportal-editor-visual .itportal-editor-hr { border-color:#52728b !important; }
html.itportal-theme-dark .itportal-editor-visual .itportal-editor-youtube { background:#321f2a !important; border-color:#8c4e61 !important; color:#ffd1d6 !important; }
html.itportal-theme-dark .itportal-editor-visual .itportal-editor-flash,
html.itportal-theme-dark .itportal-editor-visual .itportal-editor-attachment { background:#10263a !important; border-color:#284964 !important; color:#8fe9e0 !important; }
html.itportal-theme-dark .itportal-tools-group__description { color:#b9d9ee !important; }
html.itportal-theme-dark .itportal-editor-fullscreen { background-color:#081522 !important; }
html.itportal-theme-dark .itportal-best-answer,
html.itportal-theme-dark .itportal-best-answer-link,
html.itportal-theme-dark .itportal-topic-solved-notice { border-color:#26745e !important; border-left-color:#32d4a1 !important; background:#102f2b !important; color:#aef5dc !important; }
html.itportal-theme-dark .itportal-best-answer-link a,
html.itportal-theme-dark .itportal-topic-solved-notice a { color:#aef5dc !important; }
html.itportal-theme-dark .itportal-topic-solved { border-color:#26745e !important; background:#102f2b !important; color:#aef5dc !important; }
html.itportal-theme-dark .post-buttons .itportal-best-answer-action .button { color:#32d4a1 !important; }
