MediaWiki:Theme-dark.css

From Warcraft Watch Secrets
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*******
* Main *
********/
body { background-color: var(--theme-site-background); }

#mw-page-base {
	background-color: transparent;
	background-image: none;
}

/*********
* Navbar *
**********/
#mw-head {
	--theme-background-shadow: linear-gradient(to top,rgba(0,0,0,0.15),rgba(0,0,0,0.05) 10px);
}
div#mw-panel div.portal div.body ul li a:link { color: var(--theme-link-color-nav); }
div#mw-panel div.portal div.body ul li a:visited { color: var(--theme-link-color-nav-visited); }
@media screen and (max-width: 1365px) {
	div#mw-panel div.portal div.body ul li a:link { color: var(--theme-text-color); }
	div#mw-panel div.portal div.body ul li a:visited { color: var(--theme-text-color); }
}

/* search */
div#simpleSearch {
	background: var(--theme-background-color-alt);
	border: 1px solid var(--theme-border-color);
}
.suggestions-result .highlight {
	color: orange;
	font-weight: 400;
}

/*************
* Side panel *
**************/
div.vectorTabs li a, div.vectorTabs li a span, div.vectorMenu li a,
div.vectorMenu li.selected a, div.vectorMenu li.selected a:visited {
	color: var(--theme-link-color-nav);
}
div.vectorTabs li.new a, div.vectorTabs li.new a span { color: var(--theme-link-color-redlink); }
.vector-menu-dropdown .vector-menu-heading:after { filter: invert(60%); }

/**********
* Content *
***********/
div#content { background-color: var(--theme-background-color-alt); }
#toc, .toc, .mw-warning {
	background-color: var(--theme-background-color);
	border-color: var(--theme-border-color);
}

/* Thumbnails */
div.thumb { border-color: transparent; }
div.thumbinner {
	background-color: var(--theme-background-color);
	border-color: var(--theme-border-color);
}
html .thumbimage { border-color: var(--theme-border-color); }

/* Icons */
.oo-ui-iconElement-icon {
	filter: invert(100%);
}
.oo-ui-icon-syntax-highlight {
	filter: unset;
}

/* ?action=history */
#pagehistory li.selected {
	color: var(--theme-text-color-alt);
	background-color: var(--theme-background-color);
	border: none;
	outline-color: var(--theme-accent-color);
}

/* diffs */
/*table.diff, td.diff-otitle, td.diff-ntitle {
	background-color: #181818;
}*/

td.diff-context {
	background-color: var(--theme-background-color);
	color: var(--theme-text-color-alt);
	border-color: transparent;
}

td.diff-deletedline {
	background-color: #440000;
	border-color: transparent;
}
td.diff-deletedline .diffchange {
	background: none;
	color: #e62444;
}

td.diff-addedline {
	background-color: #004400;
	border-color: transparent;
}
td.diff-addedline .diffchange {
	background: none;
	color: #bfd959;
}

.mw-diff-movedpara-left::after,
.mw-diff-movedpara-right::after {
	color: var(--theme-text-color-alt);
}

/* New inline option in diffs */
.mw-diff-table-prefix .mw-diff-inline-legend .mw-diff-inline-legend-ins, .mw-diff-inline-added ins, .mw-diff-inline-changed ins, .mw-diff-inline-moved ins {
	background: #004400;
	color: #bfd959;
}
.mw-diff-table-prefix .mw-diff-inline-legend .mw-diff-inline-legend-del, .mw-diff-inline-deleted del, .mw-diff-inline-changed del, .mw-diff-inline-moved del {
	background: #440000;
	color: #e62444;
}

/* Special:Preferences */
.theme-dark #preferences {
	background-color: var(--theme-background-color--secondary);
	border-color: var(--theme-border-color);
}

/* File articles */
ul#filetoc {
	background-color: var(--theme-background-color);
	border-color: var(--theme-border-color);
}
html.skin-theme-clientpref-night #file img, #file img {
	background: url(/images/3/34/Wwchecker.svg) repeat scroll 0 0 rgba(0, 0, 0, 0);
}
html.skin-theme-clientpref-night #file img:hover, .filehistory a img, #file img:hover {
	background: none;
}

/* Wiki editor */
#wpTextbox1, .cm-editor {
	background-color: #000;
}
.wikiEditor-ui-toolbar .tabs span.tab a::before, .wikiEditor-ui-toolbar .group .tool-select .label::after { filter: invert(100%); }
div.wikiEditor-ui .wikiEditor-ui-top { border-bottom: 1px solid var(--theme-border-color); }
div.wikiEditor-ui .wikiEditor-ui-view { border: 1px solid var(--theme-border-color); }
div.wikiEditor-ui-toolbar { background-color: var(--theme-background-color); }
div.wikiEditor-ui-toolbar .group { border-right: 1px solid var(--theme-border-color); }
div.wikiEditor-ui-toolbar .group-search {
	border-left: 1px solid var(--theme-border-color);
	border-right: none;
}
div.wikiEditor-ui-toolbar .sections .section {
	background-color: var(--theme-background-color--secondary);
	border-top: 1px solid var(--theme-border-color);
}
div.wikiEditor-ui-toolbar .group .label,
div.wikiEditor-ui-toolbar .group .tool-select .label {
	color: var(--theme-text-color-alt);
}
div.wikiEditor-ui-toolbar .group .tool-select {
	background-color: var(--theme-background-color--secondary);
	border-color: var(--theme-border-color);
}
div.wikiEditor-ui-toolbar .group .tool-select .menu .options {
	background-color: var(--theme-background-color--tertiary);
	border-color: var(--theme-border-color);
}
div.wikiEditor-ui-toolbar .group .tool-select .options .option {
	color: var(--theme-text-color);
}
.wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover {
	background-color: var(--theme-background-color--secondary);
}
div.wikiEditor-ui-toolbar .tab { border: none; border-image: none; } /* remove current border */
div.wikiEditor-ui-toolbar .tab { border-right: 1px solid var(--theme-border-color); } /* set a new border */
div.wikiEditor-ui-toolbar .tabs span.tab a, div.wikiEditor-ui-toolbar .tabs span.tab a:visited { color: var(--theme-text-color-alt); }
div.wikiEditor-ui-toolbar .tabs span.tab a.current, div.wikiEditor-ui-toolbar .tabs span.tab a.current:visited { color: var(--theme-text-color); }
div.wikiEditor-ui-toolbar .booklet .index div { color: var(--theme-text-color-alt); }
div.wikiEditor-ui-toolbar .booklet .index .current {
	background-color: var(--theme-background-color-alt);
	color: var(--theme-text-color);
}
div.wikiEditor-ui-toolbar .booklet .pages { background-color: var(--theme-background-color-alt); }
div.wikiEditor-ui-toolbar .page-characters div span {
	border: 1px solid var(--theme-border-color);
	color: var(--theme-text-color-alt);
}
div.wikiEditor-ui-toolbar .page-characters div span:hover {
	background-color: var(--theme-background-color--tertiary);
	border-color: var(--theme-accent-color);
}
div.wikiEditor-ui-toolbar .page-table td {
	border-top: 1px solid var(--theme-border-color);
	color: var(--theme-text-color-alt);
}
div.wikiEditor-ui .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement:hover {
	background-color: var(--theme-background-color--tertiary);
	outline-color: var(--theme-border-color);
}
div.wikiEditor-ui-toolbar .sections .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement:hover { background-color: var(--theme-background-color-alt); }
div.wikiEditor-preview-contents, div.wikiEditor-preview-loading { background-color: transparent; }

/* Edit conflict */
.mw-twocolconflict-single-column.mw-twocolconflict-split-unselected del.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column.mw-twocolconflict-split-unselected del.mw-twocolconflict-diffchange {
    background-color: #561C1C;
	color: #ff8cac;
}
.mw-twocolconflict-split-current-version-header .mw-twocolconflict-revision-label {
	background-color: #440000;
}
.mw-twocolconflict-special-your-version-header .mw-twocolconflict-revision-label, .mw-twocolconflict-split-your-version-header .mw-twocolconflict-revision-label {
    background-color: #004400;
}
.mw-twocolconflict-single-column.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-add {
    border-color: #004400;
}
.mw-twocolconflict-single-column.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-delete {
	border-color: #440000;
}
.mw-twocolconflict-single-column del.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column del.mw-twocolconflict-diffchange {
    background-color: #440000;
    color: #e62444;
}
.mw-twocolconflict-single-column ins.mw-twocolconflict-diffchange, .mw-twocolconflict-split-column ins.mw-twocolconflict-diffchange {
    background-color: #004400;
    color: #bfd959;
}
.mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:active + span, .mw-twocolconflict-split-selection > div:nth-child(2) .oo-ui-radioInputWidget [type="radio"] + span {
	border-color: #bfd959;
}
.mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:checked + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget.oo-ui-widget-enabled [type="radio"]:active + span, .mw-twocolconflict-split-selection > div:nth-child(1) .oo-ui-radioInputWidget [type="radio"] + span {
	border-color: #e62444;
}




/************************************
* TODO: Unmodified hardcoded colors *
*************************************/

#mw-undelete-revision {
	background-color: #282828;
	border-color: #404040;
}

abbr, acronym, .explain {
	border-color: #505050;
	color: #E0E0E0;
}

.mw-ui-container #userloginForm, .mw-ui-container #userloginForm, div#secondary-content {
	border-color: #505050;
}

.theme-dark .ui-widget-header {
	background: #000 linear-gradient(to bottom, rgba(66, 66, 66, 1) 0%, rgba(0, 0, 0, 1) 100%) repeat scroll 0 0 !important;
	border-color: var(--theme-accent-color) !important;
	color: #ddd;
}

.theme-dark .ui-dialog .ui-widget-header {
	background: #000 linear-gradient(to bottom, rgba(66, 66, 66, 1) 0%, rgba(0, 0, 0, 1) 100%) repeat scroll 0 0 !important;
}

.theme-dark  .ui-dialog .ui-icon-closethick {
	filter: invert(100%) !important;
}
.theme-dark .ui-state-hover, .theme-dark .ui-widget-content .ui-state-hover, .theme-dark .ui-widget-header .ui-state-hover, .theme-dark .ui-state-focus, .theme-dark .ui-widget-content .ui-state-focus, .theme-dark .ui-widget-header .ui-state-focus {
	border: 1px solid #ff8f5c;
	/* @embed */
	background: #1b0e04 linear-gradient(to bottom, rgba(14,7,1,1) 0%,rgba(26,13,3,1) 100%) 50% 50% repeat-x;
	color: #ff8f5c;
}

.theme-dark .ui-widget-content {
	color: #e0e0e0;
	background: #222 none repeat scroll 0 0;
}

h4.mw-specialpagesgroup {
	background-color: #282828;
}

.theme-dark .mw-search-profile-tabs {
	background-color: #282828;
	border: 1px solid #383838;
	margin-top: 1em;
}

.theme-dark fieldset#mw-searchoptions {
	background-color: transparent;
	border-color: #383838;
}

.theme-dark fieldset#mw-searchoptions div.divider {
	border-color: #383838;
}

.mw-search-formheader div.search-types ul li.current a {
	color: #F0F0F0;
}

.theme-dark .mw-search-profile-tabs div.search-types ul li.current a {
	color: #e0e0e0;
}

.not-patrolled {
	background-color: #282828;
	border-left: 3px solid #383838;
	padding: 0 3px;
}

#editpage-specialchars {
	border-color: #505050;
}

#mw-allmessagestable td.am_default,
#mw-allmessagestable .allmessages-customised td.am_default {
	background-color: #301818;
}

#mw-allmessagestable tbody:hover td.am_default,
#mw-allmessagestable tr.allmessages-customised:hover td.am_default {
	background-color: #402020;
}

#mw-allmessagestable td.am_actual {
	background-color: #183018;
}

#mw-allmessagestable tbody:hover td.am_actual,
#mw-allmessagestable tr.allmessages-customised:hover + tr.allmessages-customised td.am_actual {
	background-color: #204020;
}

input[type=file] {
	background: transparent;
	border-color: transparent;
	color: #e0e0e0;
}

div#mw-js-message {
	background-color: #181818;
	border-color: #080808;
}

table.wikitable {
	background-color: transparent;
	border-color: #303030;
}

table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
	border-color: #303030;
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
	background-color: #282828;
}

.TablePager, .TablePager td {
	background-color: #282828;
	border-color: #505050;
}

.TablePager th {
	background-color: #383838;
	border-color: #505050;
}

.theme-dark #mw-allmessagestable tbody:hover td,
.TablePager tr:hover td {
	background-color: #303030;
}

table.mw_metadata td, table.mw_metadata th {
	border-color: #383838;
}

table.mw_metadata th {
	background-color: #282828;
}

table.mw_metadata td {
	background-color: #303030;
}

div#content a.external[href ^="irc://"], div#content a.external[href ^="ircs://"], .link-irc {
	background-image: url(../images/dark/comment.png);
	padding-right: 16px;
}

div#content, h1, h2, h3, h4, h5, h6, pre, div#content table {
	color: #E0E0E0;
}

label.toctogglelabel {
	color: #5a93cc;
}

div#content hr {
	background-color: #505050;
	color: #505050;
}

body img.thumbborder {
	border-color: #404040;
}

#mw-panel .portal h3, #mw-panel .portal h3 a, #mw-panel .portal.collapsed h3 a {
	color: #e0e0e0;
}

.mw-ui-vform label {
	color: #e0e0e0;
}

div#mw-createaccount-join {
	box-shadow: 4px 4px 4px 4px #101010;
}

div.editOptions {
	background-color: #181818;
	border: 1px solid #505050;
	color: #E0E0E0;
}

#msupload-div, #msupload-dropzone, #msupload-bottom {
	color:#E0E0E0;
	background:var(--theme-background-color--tertiary);
}

#msupload-div #msupload-list .file {
	background-color: #353535;
	border-bottom: #444;
	border-top: #333;
}

#msupload-div #msupload-list .green {
	color: #CCCCCC;
}

#msupload-div #msupload-list .file .file-title, #msupload-div #msupload-list .file .file-size, #msupload-div #msupload-list .file .file-warning {
	color: #CCCCCC;
}

#msupload-div #msupload-list .file .title_over {
	background-color: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 5px;
}

#msupload-div #msupload-list .file .small_warn {
	background: #fff6bf url("/extensions/MsUpload/images/msu_error-small.png") no-repeat scroll 0 center;
	color: #333333;
	font-size: 95%;
	overflow: hidden;
	padding: 1px 1px 1px 15px;
	width: 500px;
}

.theme-dark .msupload-check-span {
	color: #bbb;
}

div.postedit {
	-webkit-box-shadow: 0 2px 5px 0 #666;
	background-color: #040404;
	border: 1px solid #010101;
	border-radius: 5px;
	box-shadow: 0 2px 5px 0 #666;
	color: #e0e0e0;
	text-shadow: none;
}

a.postedit-close {
	color: #e0e0e0;
	text-shadow: none;
	opacity: 1;
}

a.postedit-close:hover {
	color: #e0e0e0;
}

#mw-createaccount-join {
	background-color: #ea8f20;
	border-color: #ea8f20;
	box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.5);
}

div.mw-number-text, #bodyContent div.mw-number-text h3 {
	color: inherit;
}

.TablePager_nav .mw-firstlink > img, .TablePager_nav .mw-prevlink > img, .TablePager_nav .mw-nextlink > img, .TablePager_nav .mw-lastlink > img {
	opacity: 0;
}

.TablePager_nav .mw-firstlink, .TablePager_nav .mw-prevlink, .TablePager_nav .mw-nextlink, .TablePager_nav .mw-lastlink {
	background-clip: padding-box;
	background-color: transparent;
	background-position: center 0;
	background-repeat: no-repeat;
	display: inline-block;
}

.theme-dark .TablePager_nav .mw-firstlink .TablePager_nav-enabled {
	background-image: url("../images/dark/arrow_first_25.png");
}

.theme-dark .TablePager_nav .mw-prevlink .TablePager_nav-enabled {
	background-image: url("../images/dark/arrow_left_25.png");
}

.theme-dark .TablePager_nav .mw-nextlink .TablePager_nav-enabled {
	background-image: url("../images/dark/arrow_right_25.png");
}

.theme-dark .TablePager_nav .mw-lastlink .TablePager_nav-enabled {
	background-image: url("../images/dark/arrow_last_25.png");
}

.mw-echo-notification {
	color: #CCC !important;
}
.mw-echo-notification.mw-echo-unread {
	color: #EEE !important;
}

.theme-dark .oo-ui-popupWidget-popup {
	border-color: #444;
}

.theme-dark .mw-echo-ui-notificationItemWidget {
	background-color: #1f1f1f;
}

.theme-dark .mw-echo-ui-menuItemWidget-content {
	color: #ddd !important;
}

.theme-dark .mw-echo-ui-notificationItemWidget-content-message-header {
	color: #fff;
}

.theme-dark .mw-echo-ui-notificationItemWidget.oo-ui-optionWidget-selected, .theme-dark .mw-echo-ui-notificationItemWidget.oo-ui-optionWidget-highlighted {
	background-color: #3f3f3f;
}

.theme-dark div#netbar #pt-notifications-alert > .oo-ui-widget a, div#netbar #pt-notifications-message > .oo-ui-widget a {
	color: #5a93cc;
}

.theme-dark div#netbar #pt-notifications-alert > .oo-ui-widget .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button, .theme-dark div#netbar #pt-notifications-message > .oo-ui-widget .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	color: #ddd;
}

.check-span {
	color: #FFFFFF;
}

div.wikiEditor-toolbar-dialog {
	background-color: #202020;
	border: solid 1px var(--theme-accent-color);
}

div.wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
	background-color: #202020;
}

div.wikiEditor-toolbar-dialog label, div.wikiEditor-toolbar-dialog .wikieditor-toolbar-table-preview {
	color: #E0E0E0;
}

table.wikitable > tr > th, table.wikitable > * > tr > th {
	background-color: #2163A6;
}

.theme-dark .mw-echo-ui-placeholderItemWidget {
	background-color: inherit;
}

.theme-dark .mw-echo-ui-notificationItemWidget:hover {
	background-color: inherit;
}

.vector-body blockquote { border-color:var(--theme-border-color); }

/*****************/
/* Visual Editor */
/*****************/
.oo-ui-toolbar-bar {
	background: rgba(79,79,79,1);
	background: -moz-linear-gradient(center top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	background: -webkit-gradient(center top, center top, color-stop(0%, rgba(79,79,79,1)), color-stop(100%, rgba(77,77,77,1)));
	background: -webkit-linear-gradient(top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	background: -o-linear-gradient(top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	background: -ms-linear-gradient(top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	background: linear-gradient(to top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	border-bottom: 1px solid #333;
	color: white;
}

.oo-ui-buttonedElement-framed.oo-ui-flaggableElement-primary .oo-ui-buttonedElement-button {
	background: rgba(242,242,242,1);
	background: -moz-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(207,207,207,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(242,242,242,1)), color-stop(100%, rgba(207,207,207,1)));
	background: -webkit-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(207,207,207,1) 100%);
	background: -o-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(207,207,207,1) 100%);
	background: -ms-linear-gradient(top, rgba(242,242,242,1) 0%, rgba(207,207,207,1) 100%);
	background: linear-gradient(to bottom, rgba(242,242,242,1) 0%, rgba(207,207,207,1) 100%);
	border: 1px solid rgba(242, 242, 242, 1);
}

.oo-ui-buttonedElement-framed.oo-ui-flaggableElement-primary .oo-ui-buttonedElement-button.oo-ui-buttonedElement-active, .oo-ui-buttonedElement-framed.oo-ui-flaggableElement-primary .oo-ui-buttonedElement-button.oo-ui-buttonedElement-pressed {
	background: rgba(207,207,207,1);
	background: -moz-linear-gradient(top, rgba(207,207,207,1) 0%, rgba(242,242,242,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(207,207,207,1)), color-stop(100%, rgba(242,242,242,1)));
	background: -webkit-linear-gradient(top, rgba(207,207,207,1) 0%, rgba(242,242,242,1) 100%);
	background: -o-linear-gradient(top, rgba(207,207,207,1) 0%, rgba(242,242,242,1) 100%);
	background: -ms-linear-gradient(top, rgba(207,207,207,1) 0%, rgba(242,242,242,1) 100%);
	background: linear-gradient(to bottom, rgba(207,207,207,1) 0%, rgba(242,242,242,1) 100%);
	border: 1px solid rgba(207,207,207,1);
}

.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled, .oo-ui-popupToolGroup.oo-ui-widget-enabled, .oo-ui-popupWidget-popup {
	background: rgba(122,122,122,1);
	background: -moz-linear-gradient(top, rgba(122,122,122,1) 0%, rgba(128,128,128,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(122,122,122,1)), color-stop(100%, rgba(128,128,128,1)));
	background: -webkit-linear-gradient(top, rgba(122,122,122,1) 0%, rgba(128,128,128,1) 100%);
	background: -o-linear-gradient(top, rgba(122,122,122,1) 0%, rgba(128,128,128,1) 100%);
	background: -ms-linear-gradient(top, rgba(122,122,122,1) 0%, rgba(128,128,128,1) 100%);
	background: linear-gradient(to bottom, rgba(122,122,122,1) 0%, rgba(128,128,128,1) 100%);
	border-color: rgba(0, 0, 0, 0.2);
	box-shadow: 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07) inset;
}

.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-tool-active.oo-ui-popupTool,
.oo-ui-barToolGroup-tools.oo-ui-toolGroup-enabled-tools > .oo-ui-tool:not(.oo-ui-toolGroupTool).oo-ui-tool-active,
.oo-ui-popupToolGroup-active.oo-ui-widget-enabled {
	background: rgba(191,191,191,0.1);
}

.theme-dark .oo-ui-popupToolGroup.oo-ui-popupToolGroup-active > .oo-ui-popupToolGroup-handle {
	background-color: rgba(255,255,255,0.2);
}

.oo-ui-popupToolGroup .oo-ui-toolGroup-tools, .oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget {
	background-color: rgba(191, 191, 191, 1);
	border: 1px solid #888;
}

.theme-dark .oo-ui-popupToolGroup-tools {
	background-color: #202020;
}

.theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool-active.oo-ui-widget-enabled {
    background-color: rgba(255,255,255,0.1);
}

.theme-dark .oo-ui-popupToolGroup-tools .oo-ui-tool-link .oo-ui-tool-title {
    color: #fff;
}

.theme-dark .oo-ui-listToolGroup-tools .oo-ui-tool.oo-ui-widget-enabled:hover {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}

.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled,
.oo-ui-popupToolGroup.oo-ui-widget-enabled,
.oo-ui-popupWidget-popup {
	background: #202020;
}

.oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active {
	background-color: #202020;
}

.oo-ui-checkboxInputWidget-checkIcon{
	filter: none;
}

.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-iconElement-icon {
	filter: invert(100%);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	color: #666;
}

.ve-init-mw-switchPopupWidget .oo-ui-checkboxInputWidget [type='checkbox']{ opacity:1; }


/* Visual editor fixes from #7 */
.theme-dark .oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
    background-color: #282828;
    border: 1px solid #383838;
    box-shadow: 0 2px 2px 0 rgba(255,255,255,0.2);
}

.theme-dark .oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title,
.theme-dark .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
    color: #e0e0e0;
}

.theme-dark .oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover,
.theme-dark .oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover,
.theme-dark .oo-ui-barToolGroup.oo-ui-widget-enabled > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-widget-enabled:hover,
.theme-dark .oo-ui-widget.oo-ui-widget-enabled.oo-ui-optionWidget.oo-ui-decoratedOptionWidget.oo-ui-outlineOptionWidget.oo-ui-outlineOptionWidget-level-0.oo-ui-iconElement.oo-ui-labelElement:hover {
    background-color: rgba(255,255,255,0.2);
}

.theme-dark .oo-ui-decoratedOptionWidget .oo-ui-iconElement-icon,
.theme-dark .oo-ui-decoratedOptionWidget .oo-ui-indicatorElement-indicator,
.theme-dark .oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-fieldsetLayout-header > .oo-ui-iconElement-icon {
    filter: invert(100%);
}

.theme-dark .oo-ui-decoratedOptionWidget .oo-ui-iconElement-icon.mw-rcfilters-ui-filterItemHighlightButton-circle {
	filter: invert(0);
}

.theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
    border-color: #ffffff;
}

.theme-dark .oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active {
    background-color: rgba(255,255,255,0.2);
}

.theme-dark .oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon,
.theme-dark .oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement > .oo-ui-tool-link .oo-ui-iconElement-icon {
    filter: invert(100%);
}

.theme-dark .oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:hover {
    background-color: #282828;
}

.oo-ui-indicatorElement-indicator {
  filter: invert(100);
}

.theme-dark .ve-ui-mwSaveDialog-options {
    background-color: #282828;
}

.theme-dark .ve-ui-mwSaveDialog-license {
    color: #e0e0e0;
}

/* iframe popups */
body.oo-ui-frame-body {
	background: rgba(79,79,79,1);
	background: -moz-linear-gradient(center top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	background: -webkit-gradient(center top, center top, color-stop(0%, rgba(79,79,79,1)), color-stop(100%, rgba(77,77,77,1)));
	background: -webkit-linear-gradient(top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	background: -o-linear-gradient(top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	background: -ms-linear-gradient(top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	background: linear-gradient(to top, rgba(79,79,79,1) 0%, rgba(77,77,77,1) 100%);
	color: white;
}

.oo-ui-window-head .oo-ui-window-title {
	color: #eee;
}

.oo-ui-window-body .oo-ui-selectWidget-depressed .oo-ui-outlineItemWidget.oo-ui-optionWidget-selected {
	background-color: #4e4e4e;
}

.oo-ui-window-body .oo-ui-selectWidget-depressed .oo-ui-optionWidget-selected, body.oo-ui-window-body .oo-ui-selectWidget-depressed .oo-ui-outlineItemWidget .oo-ui-optionWidget-selected {
	background-color: rgba(191, 191, 191, 1);
}

.oo-ui-window-body .oo-ui-selectWidget-pressed .oo-ui-optionWidget-pressed {
	background-color: #4e4e4e;
}

.oo-ui-fieldLayout-field .oo-ui-textInputWidget.oo-ui-widget-disabled input, .oo-ui-fieldLayout-field .oo-ui-textInputWidget.oo-ui-widget-disabled input:focus, .oo-ui-fieldLayout-field .oo-ui-textInputWidget.oo-ui-widget-disabled textarea, .oo-ui-fieldLayout-field .oo-ui-textInputWidget.oo-ui-widget-disabled textarea:focus, .oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget label {
	color: #333;
}

.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input[readonly] {
    background-color: #333;
}

.oo-ui-panelLayout.oo-ui-bookletLayout-outlinePanel {
	border-right: 1px solid #666;
}

.oo-ui-dialog .oo-ui-window-frame {
	border: 1px solid #666;
}

.theme-dark .oo-ui-windowManager-modal.oo-ui-windowManager-floating > .oo-ui-dialog > .oo-ui-window-frame {
	border: 1px solid #666;
}

.theme-dark .oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
	background-color: #4e4e4e;
	color: #eee;
	border: 1px solid #666;
}

.theme-dark .oo-ui-messageDialog-title {
	color: #fff;
}

.theme-dark .oo-ui-dialog-content > .oo-ui-window-foot,
.theme-dark .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
	border-color: #666;
}

.theme-dark .oo-ui-dialog-content > .oo-ui-window-body {
	outline-color: #666;
}

.theme-dark .oo-ui-messageDialog-message {
	color: #eee;
}

.oo-ui-dropdownWidget {
	color: black;
}

body.oo-ui-window-body .oo-ui-selectWidget-depressed .oo-ui-outlineItemWidget .oo-ui-optionWidget-selected {
	text-shadow: none;
}

/* HYD-2832 */
.oo-ui-barToolGroup.oo-ui-widget-enabled .oo-ui-widget-enabled,
.oo-ui-popupToolGroup.oo-ui-widget-enabled,
.oo-ui-popupWidget-popup {
	background: #202020;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
	color: #666;
}

.oo-ui-popupToolGroup .oo-ui-toolGroup-tools {
	background-color: #282828;
	border: 1px solid #383838;
	box-shadow: 0 2px 2px 0 rgba(255, 255, 255, 0.2);
}

.oo-ui-popupToolGroup .oo-ui-tool-link .oo-ui-tool-title {
	color: #e0e0e0;
}

.oo-ui-listToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover,
.oo-ui-popupToolGroup.oo-ui-widget-enabled>.oo-ui-popupToolGroup-handle:hover,
.oo-ui-barToolGroup.oo-ui-widget-enabled>.oo-ui-toolGroup-tools>.oo-ui-tool.oo-ui-widget-enabled:hover,
.oo-ui-widget.oo-ui-widget-enabled.oo-ui-optionWidget.oo-ui-decoratedOptionWidget.oo-ui-outlineOptionWidget.oo-ui-outlineOptionWidget-level-0.oo-ui-iconElement.oo-ui-labelElement:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.oo-ui-decoratedOptionWidget .oo-ui-iconElement-icon,
.oo-ui-decoratedOptionWidget .oo-ui-indicatorElement-indicator,
.oo-ui-fieldsetLayout.oo-ui-iconElement>.oo-ui-fieldsetLayout-header>.oo-ui-iconElement-icon {
	filter: invert(100%);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active>.oo-ui-buttonElement-button {
	border-color: #ffffff;
}

.oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active {
	background-color: rgba(255, 255, 255, 0.2);
}

.oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon,
.oo-ui-barToolGroup>.oo-ui-toolGroup-tools>.oo-ui-tool.oo-ui-iconElement>.oo-ui-tool-link .oo-ui-iconElement-icon {
	filter: invert(100%);
}

.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:hover {
	background-color: #282828;
}

.theme-dark .mw-echo-ui-notificationOptionWidget, .theme-dark .mw-echo-ui-notificationGroupItemWidget-group {
	background: none;
}

.theme-dark .oo-ui-menuSelectWidget {
	z-index: 1002;
}

.theme-dark .mw-echo-ui-notificationOptionWidget:hover, .theme-dark .mw-echo-ui-notificationGroupItemWidget-group:hover, .theme-dark .oo-ui-menuSelectWidget {
	background: #1a1a1a;
	color: #545454;
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
	background-color: #111;
	color: #fff;
}

.oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
	background-color: #222222;
    color: #E0E0E0;
}

.oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
.oo-ui-widget.oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
    background-color: #000000;
    color: #FFFFFF;
}

.oo-ui-popupWidget .oo-ui-popupWidget-popup {
	background: #000;
	color: #fff;
	border: 1px solid #545454;
}

.oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget,
.theme-dark .oo-ui-buttonElement-framed .oo-ui-widget-enabled > .oo-ui-buttonElement-button
 {
	border: 0px;
	background: #000;
}

.theme-dark .oo-ui-popupWidget-body,
.theme-dark .oo-ui-popupWidget-footer,
.theme-dark .oo-ui-popupWidget-header,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer,
.theme-dark .mw-echo-ui-notificationItemWidget,
.theme-dark .mw-echo-ui-notificationItemWidget-unread,
.mw-echo-ui-notificationBadgeButtonPopupWidget > .oo-ui-popupWidget > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer .oo-ui-buttonElement:last-child,
.mw-echo-ui-notificationGroupItemWidget-separator {
	border-color: #545454 !important;
}

@-webkit-keyframes unseen-fadeout-to-unread {
	from {
		background-color: #27113f;
	}
	to {
		background-color: #545454;
	}
}

@keyframes unseen-fadeout-to-unread {
	from {
		background-color: #27113f;
	}
	to {
		background-color: #545454
	}
}

@-webkit-keyframes unseen-fadeout-to-read {
	from {
		background-color: #27113f;
	}
	to {
		background-color: #1f1f1f;
	}
}

@keyframes unseen-fadeout-to-read {
	from {
		background-color: #545454;
	}
	to {
		background-color: #1f1f1f;
	}
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > input.oo-ui-buttonElement-button, .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
	color: #fff !important;
}

.theme-dark .mw-echo-ui-notificationItemWidget-content-actions-timestamp {
	color: #fff;
}

.theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	background: #000;
}

.oo-ui-popupWidget .oo-ui-popupWidget-popup .oo-ui-buttonWidget:hover,
.theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
	background: #1a1a1a;
}

.oo-ui-widget-footer {
	margin: 0px !important;
}

/* invert the icon colors */
.oo-ui-popupWidget-popup .oo-ui-iconElement-icon, .mw-echo-ui-overlay .oo-ui-iconElement-icon {
  filter: invert(100%);
  -webkit-filter: invert(100%);
  -moz-filter: invert(100%);
  -o-filter: invert(100%);
  -ms-filter: invert(100%);
}

/* End HydraDark echo notification mods */

ul.ui-autocomplete li a {
	color: blue;
}

ul.ui-autocomplete li .ui-state-hover {
	background-color: black;
	color: #505050;
	border: none;
}

/* SyntaxHighlight_GeSHi Overrides */
/* CSS */
.css.source-css .imp {
	color: red
}

.css.source-css .kw1 {
	color: #fff
}

.css.source-css .kw2 {
	color: #c63
}

.css.source-css .co1 {
	color: #a1a100
}

.css.source-css .co2 {
	color: red
}

.css.source-css .coMULTI {
	color: gray
}

.css.source-css .es0 {
	color: #0FF
}

.css.source-css .es2 {
	color: #0FF
}

.css.source-css .br0 {
	color: #0A0
}

.css.source-css .sy0 {
	color: #0A0
}

.css.source-css .st0 {
	color: red
}

.css.source-css .nu0 {
	color: #c6c
}

.css.source-css .re0 {
	color: #c0c
}

.css.source-css .re1 {
	color: #66f
}

.css.source-css .re2 {
	color: #39F
}

.css.source-css .re3 {
	color: #c63
}

.css.source-css .ln-xtra,.css li.ln-xtra,.css div.ln-xtra {
	background-color: #101010
}

/* SyntaxHighlight_GeSHi Overrides */
/* JS */
.javascript.source-javascript .kw1 {
	color: #0ff
}

.javascript.source-javascript .kw2 {
	color: #69f
}

.javascript.source-javascript .kw3 {
	color: #06F
}

.javascript.source-javascript .kw5 {
	color: red
}

.javascript.source-javascript .coMULTI,.javascript.source-javascript .co1 {
	color: #3c6
}

.javascript.source-javascript .co2 {
	color: #096
}

.javascript.source-javascript .br0 {
	color: #3C3
}

.javascript.source-javascript .es0 {
	color: #0CC
}

.javascript.source-javascript .imp {
	color: red;
	font-weight: 700
}

.javascript.source-javascript .me1 {
	color: #c0f
}

.javascript.source-javascript .nu0 {
	color: #FC0
}

.javascript.source-javascript .st0 {
	color: #39f
}

.javascript.source-javascript .sy0 {
	color: #393
}

.javascript.source-javascript .ln-xtra,.javascript.source-javascript li.ln-xtra,.javascript.source-javascript div.ln-xtra {
	background-color: #181818
}

.theme-dark .mw-ui-button.mw-ui-progressive:disabled, .theme-dark .mw-ui-button.mw-ui-primary:disabled {
    background: #AAAAAA none repeat scroll 0 0;
    border-color: #aaaaaa;
}

/* CSS MediaWiki gutter */
.theme-dark .mw-content-ltr.mw-highlight-lines pre,
.theme-dark .mw-content-ltr.content .mw-highlight-lines pre {
	box-shadow: inset 2.75em 0 0 #181818;
}

/* Links inside elements with .approved are unreadable in Hydradark. Fixed */
.theme-dark .approved a,
.theme-dark .approved a:visited,
.theme-dark .approved a:active,
.theme-dark .approved a:hover {
    color: #00ff00;
}

/* AbuseFilter overrides for Hydradark */
.theme-dark table.mw-abuselog-details {
	background: #2a2a2a;
	border: 1px #1a1a1a solid;
}

.theme-dark table.mw-abuselog-details th {
    background: #1a1a1a;
	border: 1px #1f1f1f solid;
}

.theme-dark table.mw-abuselog-details td {
	border: 1px #1f1f1f solid;
}

.theme-dark table.pending a {
	color: #132F5F;
}

.theme-dark .controls_container .dropdown {
	background: #303030;
	border-color: #484848;
	color: #e0e0e0;
}

.theme-dark .mapeditor-control-element {
	background: #303030;
	border-color: #484848;
	color: #e0e0e0;
}

.theme-dark .mapeditor-control-text {
	color: #e0e0e0;
}

.theme-dark ul.mw-allpages-chunk li {
	border-top-color: #383838;
}

.theme-dark .mw-abusefilter-history-changed {
    background: #440000 none repeat scroll 0 0;
    font-weight: bold;
}

.theme-dark .check-span {
	color: #e0e0e0;
}

/* data tables, tablePager, metadata tables: */
.theme-dark .TablePager, .theme-dark .mw-datatable, .theme-dark table.mw_metadata {
	background-color: rgba(0, 0, 0, 0); border: 1px solid #505050;
}
.theme-dark .TablePager th, .theme-dark .mw-datatable th, .theme-dark table.mw_metadata th {
	background-color: #282828;
	border: 1px solid #505050;
	color: #ffffff;
}
.theme-dark .TablePager tr:hover td, .theme-dark .mw-datatable tr:hover td {
	background-color: #000000;
	color: #ffffff;
}
.theme-dark .TablePager th a, .theme-dark .mw-datatable th a, .theme-dark table.mw_metadata th a {
	background-color: #282828;
	color: #FFFFFF;
}
.theme-dark .TablePager td, .theme-dark .mw-datatable td, .theme-dark table.mw_metadata td {
	background-color: rgba(0, 0, 0, 0);
	border: 1px solid #505050;
	color: #e0e0e0;
}

/* Fix for dropdown arrows */

.theme-dark div#mw-panel div.portal h3 {
	color: var(--theme-accent-color-bright);
}

.vector-menu-portal .vector-menu-heading {
	background-image: linear-gradient(90deg, transparent, var(--theme-accent-color-bright), transparent);
}

/*.theme-dark #mw-panel.collapsible-nav .portal h3 {
	background-image: url(/images/dark/open.png);
}*/

.theme-dark div#mw-panel div.portal#p-socialProfiles div.body {
	background-image: none;
}

/*.theme-dark #mw-panel.collapsible-nav .portal.collapsed h3 {
	background-image: url(../images/dark/closed-ltr.png);
}*/

.mw-content-ltr .redirectText li:first-child {
	background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2247%22%20height%3D%2220%22%20viewBox%3D%220%200%2047%2020%22%3E%3Cg%20id%3D%22Layer_1%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20d%3D%22M14.98%202.5V11c0%201.04%201.02%201.98%202.02%201.98h6l3%20.02%22%2F%3E%3C%2Fg%3E%3Cg%20id%3D%22Layer_3%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M23.48%209.5l.02%207L30%2013z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.TablePager .TablePager_sort-descending a {
	background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%3E%3Cpath%20d%3D%22M1%202h10l-5%208.658z%22%20fill%3D%22%23ccc%22%2F%3E%3C%2Fsvg%3E");
}

.theme-dark ul.ui-autocomplete li a {
	color: #ddd;
}

.updatedmarker {
	color: #000000;
}

.mw-gallery-slideshow li.gallerybox.slideshow-current {
	background: rgba(255, 255, 255, 0.1);
}

/* Scribunto: */
.theme-dark .mw-scribunto-console-fieldset {
	background: black none repeat scroll 0 0;
	color: white;
}
.theme-dark .mw-scribunto-message {
	background: black none repeat scroll 0 0;
	color: green;
}

/* Side Rail */
.theme-dark #siderail {
	background-color: rgba(255, 255, 255, 0.1);
}

.theme-dark table.mw-interwikitable.body td.mw-interwikitable-local-yes {
	background :#004400;
}

.theme-dark .helper_mark::before {
	color: #000;
	line-height: 1.3em;
}

/* Math */
.mwe-math-fallback-image-inline {
	filter: invert(100%);
}

/* Comments */
.c-form-title {
	color: #E0E0E0;
}

/* Babel */
table.mw-babel-wrapper {
	background-color: transparent;
	border: 1px solid #303030;
}

div#content div.mw-babel-box table {
	color: #000000;
}

.theme-dark .tocnumber {
	color: inherit;
}

.mw-collapsible-toggle-default .mw-collapsible-text,
.mw-collapsible-toggle.mw-collapsible-toggle-expanded a,
.mw-collapsible-toggle.mw-collapsible-toggle-collapsed a {
	color: #ffffff;
}

/* Cargo */
.theme-dark table.cargoTable {
    color: #E0E0E0;
    background: #181818;
    border: 1px solid #383838;
    padding: 5px;
    margin: 0.5em 0em 1em 0.5em;
}

.theme-dark table.cargoTable th {
    background-color: #2163A6;
}

.theme-dark table.cargoTable tr:nth-child(even),
.theme-dark table.cargoTable td.even,
.theme-dark table.cargoTable.noMerge tr:nth-child(even) {
    background: transparent;
}

.theme-dark table.cargoTable > tbody > tr:nth-child(2n+1),
.theme-dark table.cargoTable td.odd {
    background-color: #202020;
}

.theme-dark table.cargoTable td {
    border: 0;
}

/* Page Forms */
.theme-dark .fieldBox {
	border: 1px #dddddd solid;
	background: #181818;
}
.theme-dark div#content table.jsgrid-table {
	color: #202020;
}

/* Requested Additions from HYD-3848 */

.theme-dark .mwe-popups {
	background: #202020;
}

.theme-dark .mwe-popups .mwe-popups-container,
.theme-dark .mwe-popups .mwe-popups-extract {
	color: #fff;
}

.theme-dark .mwe-popups .mwe-popups-extract[dir='ltr']:after {
	background-image: linear-gradient(to right,rgba(32, 32, 32, 0),#202020 50%);
}

.theme-dark .mwe-popups.flipped_y:before {
	border-top: 8px solid #202020;
}

.theme-dark .mwe-popups.flipped_y:after {
	border-top: 11px solid #202020;
}

.theme-dark .mwe-popups.flipped_x_y:before {
	border-top: 9px solid #202020;
}

.theme-dark .mwe-popups.flipped_x_y:after {
	border-top: 12px solid #202020;
}

.theme-dark .mwe-popups.mwe-popups-image-tri:before {
	border-bottom: 9px solid #202020;
}

.theme-dark .mwe-popups.mwe-popups-no-image-tri:before {
	border-bottom: 8px solid #202020;
}

.theme-dark .mwe-popups.mwe-popups-no-image-tri:after {
	border-bottom: 11px solid #202020;
}

.theme-dark .mwe-popups.mwe-popups-image-tri:after {
	border-bottom: 12px solid #202020;
}

.theme-dark .mwe-popups.mwe-popups-image-tri.flipped_x:before {
	border-bottom: 9px solid #202020;
}

.theme-dark .mwe-popups.mwe-popups-image-tri.flipped_x:after {
	border-bottom: 12px solid #202020;
}

.theme-dark .mwe-popups.flipped_x.mwe-popups-is-tall:before {
	border-bottom: 9px solid #202020;
}

.theme-dark .mwe-popups.mwe-popups-no-image-pointer::after {
	border-bottom: none;
}

.mw-json {
	color: #fff;
}

.mw-json tr {
	background-color: rgba(105, 105, 105, 0.2);
}

.mw-json th {
	background-color: #000;
}

.mw-json .value, .mw-json-single-value {
	background-color: #424242;
}

.mw-widget-dateInputWidget-calendar {
	background-color: #000;
}

div.mw-widget-calendarWidget-day {
	color: #fff;
}

div.mw-widgets-datetime-calendarWidget, div.mw-widget-dateInputWidget-calendar {
	background-color: #202020;
}

span.tool-button.tool-active, span.tool.tool-active.oo-ui-buttonElement-frameless.oo-ui-iconElement {
	outline: 1px solid #848080;
	background-color: rgba(62, 59, 59, 0.5);
	box-shadow: inset 0 -10px 10px rgba(204, 197, 197, 0.2);
}

.theme-dark div.cargoReplacementTableInfo {
	background: inherit;
}

/*Extension:UploadWizard*/
.theme-dark #mwe-upwiz-steps {
	background-color: #2D2D2D;
}

.theme-dark #mwe-upwiz-steps li {
	color: #FFFFFF;
	border-color: #E0E0E0;
}

.theme-dark .arrowSteps li.arrow.head div, .arrowSteps li.arrow div {
	filter: grayscale(100%);
}

.theme-dark .mwe-upwiz-file:hover .mwe-upwiz-visible-file {
	background: #181818 !important;
}

.theme-dark #mwe-upwiz-deeds-thumbnails {
	background-color: transparent;
}

.theme-dark .mw-widget-dateInputWidget-handle label {
	color: #000000;
}

.theme-dark .mw-widgets-datetime-dateTimeInputWidget-clearButton .oo-ui-buttonElement-button,
.theme-dark .oo-ui-indicatorWidget.oo-ui-indicatorElement.oo-ui-indicatorElement-indicator {
	filter: invert(100%);
}

.theme-dark .mwe-upwiz-data .mwe-upwiz-remove-upload {
	position: absolute;
}

.theme-dark .oo-ui-tabSelectWidget {
	background-color: #303030;
	color: #fff;
}

.theme-dark .oo-ui-widget-enabled .oo-ui-optionWidget-selected {
	background-color: #1a1a1a;
}

.theme-dark #preferences .mw-htmlform-submit-buttons {
	background: #1a1a1a;
}

.theme-dark .oo-ui-labelElement-label {
	color: #fff;
}

.theme-dark .oo-ui-dropdownWidget-handle .oo-ui-labelElement-label {
	color: #000;
}

.theme-dark .oo-ui-dropdownWidget-handle .oo-ui-indicatorElement-indicator {
	filter: invert(0%);
}

.theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined,
.theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagMultiselectWidget-handle {
	background: transparent;
}

.theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled {
    background-color: #303030;
    border-color: var(--theme-accent-color);
}

.theme-dark .mw-rcfilters-ui-filterMenuHeaderWidget-header {
	background: #1a1a1a;
}

.theme-dark .mw-rcfilters-ui-filterMenuSectionOptionWidget {
	background: #1a1a1a;
}

.theme-dark .mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
	background: #1a1a1a;
}

.theme-dark .mw-rcfilters-ui-menuSelectWidget-footer  {
	background: #1a1a1a;
}

.theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
	background: #1a1a1a;
}

.theme-dark .mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
	color: #fff;
}

.theme-dark .mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
	color: #c7c7c7;
}

.theme-dark .mw-rcfilters-ui-itemMenuOptionWidget:hover {
	background: #060606;
}
div.mw-rcfilters-ui-changesListWrapperWidget div.mw-changeslist-legend, .mw-changeslist-legend {
	background-color: #060606;
	border-color: #333;
}
.oo-ui-popupWidget { z-index: 1003; }

ul {
	list-style-type: disc;
	list-style-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%225%22%20height%3D%2213%22%3E%0A%3Ccircle%20cx%3D%222.5%22%20cy%3D%229.5%22%20r%3D%222.5%22%20fill%3D%22%23FFFFFF%22%2F%3E%0A%3C%2Fsvg%3E%0A);
}
/* Fix oo-ui styles in preferences and logs */

.theme-dark .mw-widget-dateInputWidget-handle,
.theme-dark .mw-widget-dateInputWidget-handle label,
.oo-ui-radioInputWidget [type="radio"] + span,
.ui-autocomplete-input,
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled:hover,
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
.theme-dark .oo-ui-dropdownWidget-handle .oo-ui-labelElement-label,
.oo-ui-dropdownWidget,
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle,
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover,
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
	background-color:black;
	color:white;
}

.theme-dark .oo-ui-tabOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget-selected:hover {
	background-color:black;
}

/* RC Filter restyling */
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(0, 40, 121, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(0, 125, 99, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(138, 104, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(128, 43, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(154, 0, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(0, 91, 116, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(0, 131, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(125, 0, 36, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(125, 0, 104, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(33, 96, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(89, 123, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(91, 103, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(133, 71, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(143, 58, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(141, 28, 1, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(1, 112, 55, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(1, 63, 135, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(19, 92, 81, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(133, 60, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(112, 72, 60, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(186, 21, 37, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(116, 108, 23, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(108, 87, 0, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(110, 61, 23, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(137, 78, 41, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(100, 92, 52, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(92, 65, 29, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(100, 39, 36, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(141, 44, 18, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(106, 73, 38, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget li.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5 tr:first-child,
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-toplevel:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+2)),
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget tr.mw-rcfilters-highlight-color-c1.mw-rcfilters-highlight-color-c2.mw-rcfilters-highlight-color-c3.mw-rcfilters-highlight-color-c4.mw-rcfilters-highlight-color-c5.mw-rcfilters-ui-highlights-enhanced-nested:not(.mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey) td:not(:nth-child(-n+4)) {
	background-color: rgba(98, 46, 22, 0.5);
}

.theme-dark .mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey td:not(:nth-child(-n+2)) {
    background-color: rgba(122, 122, 122, 0.5);
}

.theme-dark .oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
    background-color: rgba(125, 125, 125, 0.4);
}

.theme-dark .mw-apisandbox-toolbar {
	background-color: #202020;
	border: 1px solid #a2a9b1;
}

/* options in ovals */
.theme-dark .oo-ui-tagItemWidget.oo-ui-widget-enabled:not(.oo-ui-tagItemWidget-fixed),
/* sidebar */
.theme-dark .oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted,
/* up down buttons */
.theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-disabled>.oo-ui-buttonElement-button,
/* checkboxes */
.theme-dark .oo-ui-checkboxInputWidget [type="checkbox"] + span,
/* sliders */
.theme-dark .oo-ui-toggleSwitchWidget,
.theme-dark .oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover,
/* end sliders */
.theme-dark .mw-widgets-datetime-dateTimeInputWidget-handle,
.theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
.theme-dark .oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input,
.theme-dark .oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted,
.theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
.theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle:hover,
.theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover,
.theme-dark .oo-ui-dropdownWidget-handle::-moz-focus-inner,
.theme-dark .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
	background-color: black;
	color: white;
}

/* little ovals */
.theme-dark .oo-ui-tagItemWidget.oo-ui-widget-disabled,
/* end little ovals */
.theme-dark .mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-disabled .mw-widgets-datetime-dateTimeInputWidget-handle,
.theme-dark .oo-ui-tagMultiselectWidget.oo-ui-widget-disabled .oo-ui-tagMultiselectWidget-handle,
.theme-dark .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle,
.theme-dark .oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input {
	background-color: black;
	color: darkgrey;
}

.theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-disabled>.oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
	filter: unset;
}



/* Special:SpecialPages text getting cut off */
.mw-specialpages-table {margin:0px !important }
.atflb, .btflb, .footer-ad-medRect {overflow: hidden}

/* Logo size constraints */
#p-logo a { background-size: contain; }

/* to remove the external link icon from sortable tables */
#bodyContent a.sortheader { background: none; padding-right: 0; }

/* Special: Pages */
.newpage, .mw-plusminus-pos {color: #16BF0A}
.mw-plusminus-neg {color: #BF550A}

/* Content templates */
.greybar {background-color: #202020; border-color: #383838; color: #e0e0e0}
.speciallink {color: #F0F0F0}
.qc-common, .qc-common a {color: white}
.qc-uncommon, .qc-uncommon a {color: #1EFF00}
.qc-enchant, .qc-enchant a {color: #FFD100}
.qc-artifact, .qc-artifact a {color: #E6CC80}
.qc-heirloom, .qc-heirloom a, .qc-token, .qc-token a { color: #00CCFF; }
.darktable, .darkbox, div.forumheader {background-color: #181818; border-color: #383838}
table.stylish td:not(:first-child) { border-color:#383838; }
.navbox, .navbox-subgroup {background-color: #181818; border-color: #383838}
table.navbox {border-color: #383838}
.navbox-even, .alt, .darktable .alt, .rowtitle, .darktable .rowtitle, .darkbox .alt {background-color: #202020}
.navbox-list {border-color: #181818}
table.zebra.darktable > tbody > tr:nth-child(2n+1), table.zebra.darkbox > tbody > tr:nth-child(2n+1) {background-color: #202020}
table.zebra> tbody > tr:nth-child(2n+1), table.zebra.darkbox > tbody > tr:nth-child(2n+1) {background-color: #282828}
table.darktable th, table.darkbox th, .navbox-title, table.navbox th, table.stylish td:first-child {background-color: #062540}
table.darktable td.title, .darkbox td.title {background-color: #303030}
table.darktable tr:not(:first-child) th, table.darkbox tr:not(:first-child) th, .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {background-color: #072C4D}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {background-color: #282828}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {background-color: #282828}
.ambox {background-color: #282828; border-top-color: #383838; border-bottom-color: #383838; border-right-color: #383838}
.ambox-gray {border-left-color: #383838}
table.wwusrbox {background-color: #282828; border-color: #383838}
table.wwusrbox td.left, table.wwusrbox td.right {background-color: #303030}
div.NavFrame div.NavHead {background-color: #062540}
.wowboxbg {background-color: #303030}
.blizztext, .text-blizz {color: #00C0FF}
.blizztext a, .text-blizz a {color: #E0E0E0}
.text-say {color: #E6E68E}
.infobox .mid-header {background-color: #303030;}

/* Template:reputation */
.rep-hated {color: #cc2222}
.rep-hostile {color: red}
.rep-unfriendly {color: #ee6622}
.rep-neutral {color: yellow}
.rep-friendly {color: lime}
.rep-honored {color: #00ff88}
.rep-revered {color: #00ffcc}
.rep-exalted, .rep-paragon {color: cyan}

.factiontable {background-color: #282828; border: 2px solid #282828}
.factiontable tr {background-color: #181818}
.factiontable.alliance th, .factiontable.alliance td.factionbg {background-color: #143A66}
.factiontable.horde th, .factiontable.horde td.factionbg {background-color: #661111}

.abilitylink {color: #7ad5ff}

.repspanbar {background: #002040; border-width: 1px; border-style: solid; border-color:  #204080 #001030 #001030 #204080}

/* Extensions */
ol.references > li:target, body sup.reference:target {background-color: #183018} 
.CategoryTreeEmptyBullet {background-color: #404040;}
.CategoryTreeToggle, .CategoryTreeToggle:visited {background-color: #f0a000;}
.forumlist td.forum_title a.forum_new:before {color: #FFD919;}
.forumlist td.forum_title a.forum_new:visited:before {color: #484848;}

/* Abuse filter */
td.mw-abusefilter-diff-context { background-color: #202020; }
.mw-abuselog-details { background: #303030 !important; }
.mw-abuselog-details th, .mw-abusefilter-history-changed { background: transparent !important; }

/* Template:Coords error highlighting */
.broken.coords-link sup {background-color: #600000; padding: 1px}

/* "Temporary" fixes for skin and extension issues */
body.skin-vector div.login-intro h3 {color: #e0e0e0}
body.skin-vector #userloginForm, body.skin-vector #userlogin {background-color: transparent}
body.mw-special-Editcount #editcount table table {background: #202020 !important; border-color: #303030 !important}
body.mw-special-Editcount #editcount table table th {background: #303030}
body.skin-vector div.vectorTabs > ul > li:not(.selected) {background-color: #181818}

/** STAGING: should be in site skin .css **/
body.skin-vector .mw-notification {background: #202020; border-color: #404040; color: #e0e0e0}
body.skin-vector img.thumbborder {border-color: #404040;}
.skin-vector #mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading, .skin-vector #mw-panel.collapsible-nav .portal h3, .skin-vector #mw-panel.collapsible-nav .portal h3 a, .skin-vector #mw-panel.collapsible-nav .portal.collapsed h3 a { color: var(--theme-accent-color-bright); }

/* Search form */
.skin-vector fieldset#mw-searchoptions, .skin-vector .mw-search-profile-tabs {background-color: rgba(0, 0, 0, 0); border: 1px solid #404040;}
fieldset#mw-searchoptions {border-color: #404040 !important;}
.skin-vector .mw-search-profile-tabs div.search-types ul li.current a {color: #e0e0e0;}

/* Buttons */
.skin-vector .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button { 
    background: #634702;
    color: black;
    border: 1px solid #8a6302;
}
#wpPreview, #wpDiff {
	background: #D99B00;
}
.skin-vector .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
	border-color: #8a6302;
}
.skin-vector .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { 
    background: #FF9900;
    color: white;
    border: 1px solid #FF9900;
}

/* Remove sidebar lines */
div#mw-panel div.portal, 
div#mw-panel div.portal div.body,
.skin-vector #mw-panel.collapsible-nav .portal {
    background-image: none;
}

/* Visual Editor */
.oo-ui-popupToolGroup.oo-ui-widget-enabled > .oo-ui-popupToolGroup-handle:hover {
    background-color: rgba(255,255,255,0.2);
}

.oo-ui-popupToolGroup.oo-ui-widget-enabled.oo-ui-popupToolGroup-active {
    background-color: rgba(255,255,255,0.2);
}

.oo-ui-popupToolGroup-handle .oo-ui-iconElement-icon {
    filter: invert(100%);
}

.oo-ui-barToolGroup > .oo-ui-toolGroup-tools > .oo-ui-tool.oo-ui-iconElement > .oo-ui-tool-link .oo-ui-iconElement-icon {
    filter: invert(100%);
}

.oo-ui-messageDialog-actions .oo-ui-actionWidget.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive .oo-ui-buttonElement-button:hover {
    background-color: #282828 ;
}

.oo-ui-buttonElement.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {vertical-align: middle; display: inline-block;}
.oo-ui-popupWidget .oo-ui-popupWidget-popup {background: #181818}

/* Thumbnails */
html .thumbimage { background-color: transparent; }

#netbar a { color: #d8d8d8; }

.cargoTable {
    color: #E0E0E0;
    background: #181818;
    border: 1px solid #383838;
    padding: 5px;
    margin: 0.5em 0em 1em 0.5em;
}

.cargoTable th { 
    background-color: #062540;
}

table.cargoTable tr:nth-child(even), table.cargoTable td.even {
    background: rgba(0, 0, 0, 0);
}

.cargoTable > tbody > tr:nth-child(2n+1), table.cargoTable td.odd {
    background-color: #202020;
}

table.cargoTable td {
    border: 0;
}

.mw-json tr {
    background-color: #212020;
}

.mw-json th {
    background-color: #101010;
}

.mw-json .value, .mw-json-single-value {
    background-color: #424242;
}

.feature {
    /*background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.5);*/
    border-radius: 5px;
    padding: 10px;
}

.mw-apisandbox-fullscreen #mw-apisandbox-ui {
    background: #202020;
    color: #fff;
    z-index: 1002;
}

.mwe-popups { background: #202020; }
.mwe-popups .mwe-popups-container, .mwe-popups .mwe-popups-extract { color: #fff; }
.mwe-popups .mwe-popups-extract[dir='ltr']:after { background-image: linear-gradient(to right,rgba(32, 32, 32, 0),#202020 50%); }
.mwe-popups.flipped_y:before { border-top: 8px solid #202020; }
.mwe-popups.flipped_y:after { border-top: 11px solid #202020; }
.mwe-popups.flipped_x_y:before { border-top: 9px solid #202020; }
.mwe-popups.flipped_x_y:after { border-top: 12px solid #202020; }
.mwe-popups.mwe-popups-image-tri:before { border-bottom: 9px solid #202020; }
.mwe-popups.mwe-popups-no-image-tri:before { border-bottom: 8px solid #202020; }
.mwe-popups.mwe-popups-no-image-tri:after { border-bottom: 11px solid #202020; }
.mwe-popups.mwe-popups-image-tri:after { border-bottom: 12px solid #202020; }
.mwe-popups.mwe-popups-image-tri.flipped_x:before { border-bottom: 9px solid #202020; }
.mwe-popups.mwe-popups-image-tri.flipped_x:after { border-bottom: 12px solid #202020; }
.mwe-popups.flipped_x.mwe-popups-is-tall:before { border-bottom: 9px solid #202020; }
.mwe-popups.flipped_x_y.mwe-popups-is-tall:before { border-top: 9px solid #202020; }
.mwe-popups.flipped_x_y.mwe-popups-is-tall:after { border-top: 12px solid #202020; }

#searchlog th { background: #36c; }

.mw-mmv-post-image, .mw-mmv-image-metadata { 
	background-color:#202020;
	color:#E0E0E0;
}
.mw-mmv-image-metadata { border-top:1px solid #FF9900; }
.mw-mmv-image-links li { color:#E0E0E0; }
.mw-ui-button {
    background-color: #333;
    color: #E0E0E0;
    border: 1px solid #FF9900;
}
.mw-ui-button:hover {
    background-color: #444;
    color: #fff;
    border-color: #ffb74c;
}
.mw-ui-button:visited {
    color: #fff;
}

.mw-changeslist-user-experienced .unpatrolled { color: #ff9900; }
.mw-mmv-dialog {
	background-color: #202020;
    box-shadow: none;
}

.mw-mmv-download-pane .mw-mmv-download-area .mw-mmv-download-preview-link { color: #fff; }
.mw-mmv-download-pane .mw-mmv-download-attribution {
	color:#fff;
	background-color:#202020;
}
.mw-mmv-download-pane .mw-mmv-download-attribution:hover {
    background-color: #333;
    color: #fff;
}

.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
	background: #202020;
	box-shadow: none;
}

/* Tabber styling */
.tabberlive .tabbertab,
.tabber .tabbertab {
    /* border-color: #505050; */ /* If you keep all borders the same */
    /* border-style: solid; */ /* If you keep all borders the same */
    /* border-width: 1px; */ /* If you keep all borders the same */
    -moz-border-bottom-colors: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    -moz-border-left-colors: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    -moz-border-right-colors: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    -moz-border-top-colors: transparent; /* This should match your general choice of border color */
    border-bottom-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    border-left-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    border-right-color: transparent; /* doesn't have to be transparent, could be the same border color used elsewhere */
    border-top-color: transparent; /* This should match your general choice of border color */
    border-image: none;
    border-style: solid none none;
    border-width: 1px medium medium;
}

ul.tabbernav {
    border-bottom: none;
    padding: 0;
}

ul.tabbernav li a {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #000000; /* This should match your general choice of background color */
    border: 1px solid #505050; /* This should match your general choice of border color */
    border-image: none;
    border-radius: 5px 5px 0 0; /* This is only if you want your tabs to have rounded corners */
    margin-left: 3px;
    padding: 3px 0.5em;
    text-decoration: none;
}

ul.tabbernav li {
    display: inline;
    list-style: none outside none;
    margin: 0 0 0 7px;
}

ul.tabbernav li a:link {
    color: #7AB1CC; /* This should match your anchor color, but simply being different from the default text color works */
}

ul.tabbernav li a:hover {
    background: none repeat scroll 0 0 #000000;
    border-color: #505050; /* This should match your general choice of border color */
    color: #FFFFFF;
}

ul.tabbernav li.tabberactive a {
    background-color: #000000;
    color: #FFFFFF;
}

ul.tabbernav li.tabberactive a,
ul.tabbernav li.tabberactive a:hover,
ul.tabbernav li.tabberactive a:link {
    background-color: #000000;
    border-bottom: 1px none;
    padding: 2px 0.5em 4px;
    color: #fff;
}

ul.tabbernav {
    text-align:center; /* if you want the tabs to be centered rather than left-justified with respect to the tab content */
}

table.stylish td:first-child { box-shadow: 1px 1px 1px #000; }
table.stylish td:first-child a, table.stylish td:first-child a:visited { color:#fff; }

.fpbox .heading,
.fpbox .mainheading {
    border: 0;
    border-bottom: 1px solid #505050;
}

.fpbox {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid #505050;
    box-shadow: 0 2px 5px #505050;
}

.ClassLink a, .ProfLink a, div.RaceLink a { /* Template:Class, Template:Profession, Template:Race */
    color: #fff;
}

a.mw-collapsible-text { color: #fff; }

.mw-rcfilters-ui-filterMenuOptionWidget { background-color: #202020; }

#ca-purge { display:none; }

.mw-message-box-success {
	background-color: rgba(1,140,48,0.17);
	border-color: rgba(1,140,48,0.7);
	color: #fff
}
.mw-message-box-warning {
	background-color: rgba(138,104,0,0.15);
	border-color:rgba(138,104,0,0.7);
	color: #fff
}
.mw-message-box-error {
	background-color: rgba(154,0,0,0.24);
	border-color: rgba(154,0,0,0.7);
	color: #fff
}

/* Syntax Highlights, e.g. Modules */
.mw-highlight {
    --pygments-background:#282828;
    --pygments-err:#fe6666;
    --pygments-c:#52a5a5;
    --pygments-k:#00b200;
    --pygments-o:#999999;
    --pygments-ch:#52a5a5;
    --pygments-cm:#52a5a5;
    --pygments-cp:#d58a00;
    --pygments-cpf:#52a5a5;
    --pygments-c1:#52a5a5;
    --pygments-cs:#52a5a5;
    --pygments-gd:#ff6767;
    --pygments-gr:#fe6666;
    --pygments-gh:#8f8fff;
    --pygments-gi:#00b400;
    --pygments-go:#999999;
    --pygments-gp:#8f8fff;
    --pygments-gu:#ff38ff;
    --pygments-gt:#6796fe;
    --pygments-kc:#00b200;
    --pygments-kd:#00b200;
    --pygments-kn:#00b200;
    --pygments-kp:#00b200;
    --pygments-kr:#00b200;
    --pygments-kt:#fe5e98;
    --pygments-m:#999999;
    --pygments-s:#e77878;
    --pygments-na:#8ea32e;
    --pygments-nb:#00b200;
    --pygments-nc:#8e8efe;
    --pygments-no:#ff6464;
    --pygments-nd:#c973ff;
    --pygments-ni:#999;
    --pygments-ne:#e07d78;
    --pygments-nf:#8e8efe;
    --pygments-nl:#a0a000;
    --pygments-nn:#8e8efe;
    --pygments-nt:#00b200;
    --pygments-nv:#908eea;
    --pygments-ow:#c973ff;
    --pygments-w:#bbb;
    --pygments-mb:#999999;
    --pygments-mf:#999999;
    --pygments-mh:#999999;
    --pygments-mi:#999999;
    --pygments-mo:#999999;
    --pygments-sa:#e77878;
    --pygments-sb:#e77878;
    --pygments-sc:#e77878;
    --pygments-dl:#e77878;
    --pygments-sd:#e77878;
    --pygments-s2:#e77878;
    --pygments-se:#db8139;
    --pygments-sh:#e77878;
    --pygments-si:#c985a0;
    --pygments-sx:#00b200;
    --pygments-sr:#c985a0;
    --pygments-s1:#e77878;
    --pygments-ss:#908eea;
    --pygments-bp:#00b200;
    --pygments-fm:#8e8efe;
    --pygments-vc:#908eea;
    --pygments-vg:#908eea;
    --pygments-vi:#908eea;
    --pygments-vm:#908eea;
    --pygments-il:#999999;
    --pygments-hll:6,37,64;
}
.mw-highlight {
    background:none
}
.mw-highlight .err {
    border-color:var(--pygments-err)
}
.mw-highlight .c {
    color:var(--pygments-c)
}
.mw-highlight .k {
    color:var(--pygments-k)
}
.mw-highlight .o {
    color:var(--pygments-o)
}
.mw-highlight .ch {
    color:var(--pygments-ch)
}
.mw-highlight .cm {
    color:var(--pygments-cm)
}
.mw-highlight .cp {
    color:var(--pygments-cp)
}
.mw-highlight .cpf {
    color:var(--pygments-cpf)
}
.mw-highlight .c1 {
    color:var(--pygments-c1)
}
.mw-highlight .cs {
    color:var(--pygments-cs)
}
.mw-highlight .gd {
    color:var(--pygments-gd)
}
.mw-highlight .gr {
    color:var(--pygments-gr)
}
.mw-highlight .gh {
    color:var(--pygments-gh)
}
.mw-highlight .gi {
    color:var(--pygments-gi)
}
.mw-highlight .go {
    color:var(--pygments-go)
}
.mw-highlight .gp {
    color:var(--pygments-gp)
}
.mw-highlight .gu {
    color:var(--pygments-gu)
}
.mw-highlight .gt {
    color:var(--pygments-gt)
}
.mw-highlight .kc {
    color:var(--pygments-kc)
}
.mw-highlight .kd {
    color:var(--pygments-kd)
}
.mw-highlight .kn {
    color:var(--pygments-kn)
}
.mw-highlight .kp {
    color:var(--pygments-kp)
}
.mw-highlight .kr {
    color:var(--pygments-kr)
}
.mw-highlight .kt {
    color:var(--pygments-kt)
}
.mw-highlight .m {
    color:var(--pygments-m)
}
.mw-highlight .s {
    color:var(--pygments-s)
}
.mw-highlight .na {
    color:var(--pygments-na)
}
.mw-highlight .nb {
    color:var(--pygments-nb)
}
.mw-highlight .nc {
    color:var(--pygments-nc)
}
.mw-highlight .no {
    color:var(--pygments-no)
}
.mw-highlight .nd {
    color:var(--pygments-nd)
}
.mw-highlight .ni {
    color:var(--pygments-ni)
}
.mw-highlight .ne {
    color:var(--pygments-ne)
}
.mw-highlight .nf {
    color:var(--pygments-nf)
}
.mw-highlight .nl {
    color:var(--pygments-nl)
}
.mw-highlight .nn {
    color:var(--pygments-nn)
}
.mw-highlight .nt {
    color:var(--pygments-nt)
}
.mw-highlight .nv {
    color:var(--pygments-nv)
}
.mw-highlight .ow {
    color:var(--pygments-ow)
}
.mw-highlight .w {
    color:var(--pygments-w)
}
.mw-highlight .mb {
    color:var(--pygments-mb)
}
.mw-highlight .mf {
    color:var(--pygments-mf)
}
.mw-highlight .mh {
    color:var(--pygments-mh)
}
.mw-highlight .mi {
    color:var(--pygments-mi)
}
.mw-highlight .mo {
    color:var(--pygments-mo)
}
.mw-highlight .sa {
    color:var(--pygments-sa)
}
.mw-highlight .sb {
    color:var(--pygments-sb)
}
.mw-highlight .sc {
    color:var(--pygments-sc)
}
.mw-highlight .dl {
    color:var(--pygments-dl)
}
.mw-highlight .sd {
    color:var(--pygments-sd)
}
.mw-highlight .s2 {
    color:var(--pygments-s2)
}
.mw-highlight .se {
    color:var(--pygments-se)
}
.mw-highlight .sh {
    color:var(--pygments-sh)
}
.mw-highlight .si {
    color:var(--pygments-si)
}
.mw-highlight .sx {
    color:var(--pygments-sx)
}
.mw-highlight .sr {
    color:var(--pygments-sr)
}
.mw-highlight .s1 {
    color:var(--pygments-s1)
}
.mw-highlight .ss {
    color:var(--pygments-ss)
}
.mw-highlight .bp {
    color:var(--pygments-bp)
}
.mw-highlight .fm {
    color:var(--pygments-fm)
}
.mw-highlight .vc {
    color:var(--pygments-vc)
}
.mw-highlight .vg {
    color:var(--pygments-vg)
}
.mw-highlight .vi {
    color:var(--pygments-vi)
}
.mw-highlight .vm {
    color:var(--pygments-vm)
}
.mw-highlight .il {
    color:var(--pygments-il)
}
.mw-highlight pre {
    background-color:var(--pygments-background)
}
.mw-highlight .hll {
    background-color:rgba(var(--pygments-hll),.2)
}

.ext-replacetext-searchoptions { background-color:initial; }

.theme-dark .mw-inputbox-createbox:required:invalid ~ .mw-ui-button {
	background-color: #222;
	color: #555;
	border-color: #555;
}

/* The shadow behind the left buttons is too subtle in dark mode */
.theme-dark .page-side-tool { box-shadow: 0 3px 12px 0 rgba(0, 0, 0, .4); }

.theme-dark .newpage { color: hsl(120,80%,50%); }

/* Fix dark theme recent changes */
.theme-dark .mw-rcfilters-ui-changesListWrapperWidget-enhanced-grey td:not(:nth-child(-n+2)) {
	background-color: hsl(195, 11%, 15%);
}

.theme-dark .mw-plusminus-pos { color: hsl(120, 80%, 50%); }
.theme-dark .mw-plusminus-neg { color: hsl(0, 90%, 70%); }

.theme-dark .mw-rcfilters-highlighted { color: var(--theme-text-color); }
.theme-dark .mw-rcfilters-highlighted a { color: var(--theme-link-color); }
.theme-dark .mw-rcfilters-highlighted a.new { color: var(--theme-link-color-redlink); }
.theme-dark .unpatrolled { color: var(--theme-link-color-redlink); }
.theme-dark .autocomment,
.theme-dark .autocomment a,
.theme-dark .autocomment a:visited {
	color: #92999d;
}

/* Various dark mode color fixes/changes */
.theme-dark .CategoryTreeToggle { color: var(--theme-accent-color); } /* arrows next to subcategories */
.theme-dark .CategoryTreeEmptyBullet { color: #404040; }
.unified-search__advanced__checkbox input:checked ~ .unified-search__advanced__checkbox-wrap .wds-icon { color:var(--theme-accent-color); } /* checked checkboxes under advanced search options */
.theme-dark #wpSave:hover { background-color: #447FF5; border-color: #447FF5; } /* edit page save button */
.theme-dark #wpPreview:hover, .theme-dark #wpDiff:hover { color: white; } /* edit page preview button */

/* Math */
.theme-dark .mwe-math-fallback-image-inline { filter: invert(1); }

/* References highlight fix for dark mode */
.theme-dark ol.references > li:target,
.theme-dark sup.reference:target { background-color: hsl(235,60%,13%); }

/* Recent Changes - other review tools */
.client-js .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) {
	margin-left: 0;
	border-color: var(--theme-border-color);
}

/* Special:Search */
.mw-advancedSearch-fieldContainer, .mw-advancedSearch-namespace-selection {
	background: var(--theme-background-color--secondary);
	border-color: var(--theme-border-color);
}
.mw-advancedSearch-fieldContainer .oo-ui-labelElement > .oo-ui-fieldsetLayout-header > .oo-ui-labelElement-label {
	background: var(--theme-background-color--secondary);
	color: var(--theme-text-color);
}

/* WindowManager modal */
.oo-ui-windowManager-modal > .oo-ui-dialog {
	background-color: rgba(0,0,0,0.65);
}

.mw-editform .ace_search {
  background-color: #222;
  color: #999;
  border: 1px solid #666;
}
.ace_search_field {
    background-color: #181818;
    border-color: #444;
    color: #fafafa;
}
.ace_searchbtn, .ace_button {
    background-color: #181818;
    border-color: #444;
    color: #fafafa;
}
.ace_searchbtn:last-child {
    border-right: 1px solid #444;
}
.ace_searchbtn:hover, .ace_button:hover {
    background-color: #333;
}
.ace_search_form.ace_nomatch {
  outline: 1px solid #cd5c5c;
}