/*
** Dark theme for MonoBook
** Originally from ZeldaWiki.org and modified by Skizzerz <skizzerz@shoutwiki.com> for ShoutWiki
**
** @date 1 November 2014
*/
div#content {
	background: #1c3855;
	color: #d2d2d2;
	border: 2px solid #6f7b87;
}

body {
	background: #0a2139;
	color: #d2d2d2;
}

table {
	background-color: #1c3855;
}

a {
	color: #e9eda6;
}

a:visited {
	color: #e6ed79;
}

a:active {
	color: #eaeda6;
}

a.stub {
	color: #eaeda6;
}

a.new, #p-personal a.new {
	color: #fe6060;
}

a.new:visited, #p-personal a.new:visited {
	color: #fe6060;
}

hr {
	background-color: #6f7b87;
	color: #6f7b87;
}

h1, h2, h3, h4, h5, h6 {
	border-bottom: 1px solid #485d73;
	color: #d2d2d2;
}

legend {
	background: #1c3855;
}

code {
	background-color: #2f6fab;
}

pre {
	background-color: #1f4973;
	border: 1px dashed #3b587e;
	color: #d2d2d2;
}

/* user notification thing */
.usermessage {
	background-color: #2f6fab;
	border: 1px solid #eaeda6;
}

.catlinks {
	border: 2px solid #3b587e;
	background-color: #1f4973;
}

/*
** content styles
*/
#toc,
.toc,
.mw-warning {
	border: 2px solid #3b587e;
	background-color: #1f4973;
}

div.thumbinner {
	background-color: #1f4973;
	border: 2px solid #3b587e;
}

html .thumbimage {
	border: 1px solid #3b587e;
	background-color: #1c3855;
}

.toccolours {
	border: 2px solid #3b587e;
	background-color: #1f4973;
}

/* Interwiki styling */
#bodyContent a.extiw,
#bodyContent a.extiw:active {
	color: #e9eda6;
}

#bodyContent a.external {
	color: #e9eda6;
}

#bodyContent a.new {
	color: #fe6060;
}

.portlet h6 {
	background: #6f7b87;
}

.pBody {
	background-color: #1d3855;
	border: 1px solid #59697a;
	color: #d2d2d2;
}

#p-personal li {
	color: #1f4973;
}

#p-personal li a {
	color: #e9eda6;
}

#p-personal li a:hover {
	background-color: #1f4973;
}

#p-cactions li {
	border: 1px solid #6f7b87;
	background: #1d3855;
}

#p-cactions li.selected {
	border-color: #eaeda6;
}

#p-cactions li a {
	background-color: #1d3855;
	color: #eaeda6;
}

#p-cactions li.selected a {
	background-color: #1d3855;
}

#p-cactions .new a {
	color: #fd6060;
}

#p-cactions li a:hover {
	background-color: #254b73;
}

/*
** footer
*/
div#footer {
	background-color: #1c3855;
	border-top: 1px solid #e1eda6;
	border-bottom: 1px solid #e1eda6;
}

/* js pref toc */
#preftoc li {
	background-color: #1f4973;
	border: 1px solid #3b587e;
}

#preftoc li.selected {
	background-color: #1f4973;
	border: 1px solid #3b587e;
}

#preftoc > li.selected {
	border-color: #3b587e;
}

#preftoc a,
#preftoc a:active {
	color: #e9eda6;
}

#preftoc li.selected a {
	color: #d2d2d2;
}

#preferences {
	border: 1px solid #3b587e;
	background-color: #1f4973;
}

.prefsection fieldset {
	border: 1px solid #3b587e;
}

.prefsection table, .prefsection legend {
	background-color: #1f4973;
	border-color: #1f4973;
}

div.prefsectiontip {
	color: #d2d2d2;
}

div#userloginForm form,
div#userlogin form#userlogin2 {
	background-color: #1f4973;
	border: 1px solid #3b587e;
}

div#userloginForm table,
div#userlogin form#userlogin2 table {
	background-color: #1c3855;
	border: 1px solid #3b587e;
}

/* @todo FIXME: review and remove unnecessary styles, this is verbatim copy of the old file */
table.gallery {
	border: 2px solid #3b587e;
	margin: 2px;
	padding: 2px;
	background-color: #1f4973;
}

table.gallery tr {
	vertical-align: top;
}

table.gallery td {
	vertical-align: top;
	background-color: #1f4973;
	border: solid 2px #3b587e;
}
/* Keep this temporarily so that cached pages will display right */
table.gallery td.galleryheader {
	text-align: center;
	font-weight: bold;
}
table.gallery caption {
	font-weight: bold;
}

div.gallerybox {
	margin: 2px;
}

div.gallerybox div.thumb {
	text-align: center;
	border: 1px solid #3b587e;
	background-color: #1c3855;
	margin: 2px;
}
/* </fixme> */

/* Classes for EXIF data display */
table.mw_metadata {
	width: 300px; /* @todo CHECKME: still needed? shared.css has 400px */
}

/* filetoc */
ul#filetoc {
	border: 1px solid #3b587e;
	background-color: #1f4973;
}

/* noarticletext */
.noarticletext {
	background: #0A2139;
	border: #59697A 1px solid;
	color: #59697A;
}

div.multipageimagenavbox {
	border: 1px solid #3b587e;
	background: #1f4973;
}

/** Special:Version */
table#sv-ext, table#sv-hooks, table#sv-software {
	margin: 1em;
	padding: 0em;
}

#sv-ext td, #sv-hooks td, #sv-software td,
#sv-ext th, #sv-hooks th, #sv-software th {
	border: 1px solid #A0A0A0;
	padding: 0 0.15em 0 0.15em;
}
#sv-ext th, #sv-hooks th, #sv-software th {
	background-color: #1F4973;
	color: #CBD2D2;
	padding: 0 0.15em 0 0.15em;
}
tr.sv-space {
	height: 0.8em;
	border: none;
}
tr.sv-space td { display: none; }

/* also used on Special:Version */
table.wikitable {
	background-color: transparent !important;
	color: #d2d2d2;
}

/* Recreating-deleted-page/reupload file warning and log entries */
div#mw-upload-deleted-warn,
div#mw-recreate-deleted-warn {
	padding: 3px;
	margin-bottom: 3px;
	border: 2px solid #2F6FAB;
}

/* Special:Search */
.mw-search-interwiki-project {
	background: #cae8ff;
}

span.searchmatch {
	color: #fe6060;
}

/* SendToAFriend extension */
#staf a {
	color: #002bb8;
}

/* The message that is shown after a page is deleted */
#deletedtextmessage {
	background: transparent;
}

/* AJAX pagewatch / unwatch */
div#mw-js-message {
	background: transparent;
}

/* Images */
div.thumb {
	border-color: transparent;
}
div.thumb div {
	background-color: transparent;
}

/* Captcha on Special:UserLogin/signup (ConfirmEdit extension) */
div#userlogin .captcha, div#userloginForm .captcha {
	background-color: transparent;
}

/* @todo FIXME: correct place for these rules! */
#bodyContent h4.mw-specialpagesgroup {
	background-color: #1f4973;
	border: 1px solid #3b587e;
}
#bodyContent table#sv-ext th, table#sv-software th, table.filehistory th {
	background-color: #1F4973;
	color: #CBD2D2;
	border: 1px solid #3b587e;
}
#bodyContent table#sv-ext td, table#sv-software td, table.filehistory td {
	border: 1px solid #3b587e;
}
#bodyContent ul#pagehistory li {
	background: #1f4871;
	border-color: #3b587e;
}
#bodyContent ul#pagehistory li.selected {
	background: #0a2139;
	border: 1px solid #3b587e;
}
#bodyContent table#allmessagestable {
	border: 1px solid #3b587e;
}
#bodyContent table#allmessagestable th {
	background: #0a2139;
	border: 1px solid #3b587e;
}
#bodyContent table#allmessagestable td {
	background: #1f4871;
	border: 1px solid #3b587e;
}
#bodyContent div.noarticletext {
	color: #d2d2d2;
	background: #1f4871;
	border: 2px solid #3b587e;
}
table.diff, td.diff-otitle, td.diff-ntitle {
	background: none;
}
td.diff-context {
	background: #6f7b87;
}
td.diff-deletedline {
	background: #e6ed78;
	color: #1c3855;
}
td.diff-addedline {
	background: #76e983;
	color: #1c3855;
}
td.diff-addedline ins, td.diff-deletedline del {
	color: #a33d3d;
}

/* Make diffs readable */
table.diff,
td.diff-otitle,
td.diff-ntitle,
td.diff-context {
	background-color: transparent !important;
	color: #d2d2d2;
}

/**
 * This class appears to be the new version of TablePager, I guess?
 * Everywhere where I see that this is used, the element also has the TablePager
 * class, but all CSS definitions are on this class and its children.
 * Anyway, Special:ListFiles, Special:AbuseFilter, etc. use this class.
 */
table.mw-datatable th, table.mw-datatable tr:hover td, table.mw-datatable td {
	background-color: transparent;
}