MediaWiki:Common.css

From SlapWiki
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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/*
	Contents...
		1  Variables
			1.1  Colors
			1.2  Day theme (default)
			1.3  Night theme
		2  Font import
		3  Global
		4  Wiki layout
			4.1  Head & page base
			4.2  Top navigation
			4.3  Panel navigation
			4.4  Body
			4.5  Footer
		5  Content elements
			5.1  Table of contents
			5.2  Tables, wikitables
			5.3  Lists
			5.4  Thumbnails
			5.5  Gallery
			5.6  Category links
		6  Page styles
			6.1  Main page
			6.2  Characters
			6.3  Story Mode
			6.4  Music
			6.5  Version history
		7  Templates
			7.1  Character navigation
			7.2  Character infobox
			7.3  Outfit grid
			7.4  Stage graph
			7.5  Version navigation
			7.6  Other
		8  Wiki pages
			8.1  Recent changes
			8.2  Upload file
			8.3  File pages
			8.4  Other
		9  Imported from Wikipedia
*/

/*  --------------------------------------------------------------------------
	1 - Variables															%%
	--------------------------------------------------------------------------  */

/*	1.1 -  Colors
	-----------------------  */
:root {
	--white: hsl(219.1, 82.3%, 99%);
	--white-d: hsl(219.1, 82.3%, 97%);
	--black: hsl(220, 16%, 16%);
	--ludo-blue: hsl(219.1, 82.3%, 64.5%);
	--ludo-blue-d: hsl(219.1, 76.3%, 32.25%);
	--ludo-blue-l: hsl(219.1, 52.3%, 70.5%);
	--ludo-orange: hsl(28.5, 100%, 58.2%);
	--ludo-red: hsl(0, 89.2%, 47.1%);
	--ludo-dark-red: hsl(0,64.2%,41.6%);
	--ludo-green: hsl(120,75.7%,45.1%);
	--ludo-grayblue: hsl(217.5,16.3%,80.8%);
}

/*	1.2 -  "Day" theme (default)
	----------------------------  */
   
.theme-light {
	--font-color-primary: var(--black);
	--font-color-2nd: hsl(220,16%,40%);
	--bg-color-primary: var(--white);
	--border-color-primary: var(--ludo-blue);
	--border-color-top-nav: var(--ludo-blue);
	--border-color-search: var(--ludo-blue);
	--shade: hsla(219.1, 100%, 24%, 0.16);
	--panel-bg: hsla(219.1,82.3%,97%,.9);
	--panel-h3: var(--shade);
	--toc-bg-color: var(--white-d);
	--toc-border-color: var(--ludo-grayblue);
	--toc-h2-color: var(--ludo-blue-d);
	--thumbnail-bg-color: #f1f3f7;
	--thumbnail-border-color: var(--ludo-grayblue);
	--changeslist-legend-bg: var(--white-d);
	--changeslist-legend-border: var(--shade);

	--wiki-border: rgb(162, 169, 177);
	--wiki-gray-d: rgb(234, 236, 240);
	--wiki-gray-l: rgb(248, 249, 250);
	--wiki-gray-w: #fcfcfc;
}



/* 1.3 -  "Night" theme
   --------------------  */
   
.theme-dark {
	--font-color-primary: hsl(217.5,27.6%,88.6%);
	--font-color-2nd: hsl(220,16%,40%); /**/
	--bg-color-primary: hsla(219.1,82.3%,4%,0.5);
	--border-color-primary: transparent;
	--border-color-top-nav: var(--ludo-blue);
	--border-color-search: var(--ludo-blue);
	--shade: hsla(218.7, 35.7%, 50.6%, 0.44);
	--panel-bg: hsla(219.1, 82.3%, 16%, 0.5);
	--panel-h3: hsl(217.5, 48.6%, 40.4%);
	--toc-bg-color: #001;
	--toc-border-color: var(--ludo-blue-d);
	--toc-h2-color: var(--ludo-blue-d);
	--thumbnail-bg-color: var(--ludo-blue-d);
	--thumbnail-border-color: transparent;
	--changeslist-legend-bg: var(--bg-color-primary);
	--changeslist-legend-border: var(--ludo-blue-d);

	--wiki-border: hsla(219.5, 57%, 29.2%, 0.5);
	--wiki-gray-d: var(--bg-color-primary);
	--wiki-gray-l: hsla(219.2, 39.2%, 24.5%, 0.25);
	--wiki-gray-w: hsla(219.2, 39.2%, 24.5%, 0.1);
}
/* don't display top navigation shadowing */
.theme-dark #mw-head .vector-menu-content-list::after {
	display: none;
}
/* remove box shadows */
.theme-dark #mw-panel, .theme-dark #content, .theme-dark #simpleSearch, .theme-dark .toctitle, .theme-dark .toc ul {
	box-shadow: none;
}
.theme-dark body {
	background:linear-gradient(hsla(219.1,82.3%,6%,0.5) 0%,rgba(0,0,0,0) 50%) repeat fixed center top/cover,#001 url(images/4/43/NightBG.png) no-repeat fixed center bottom/cover
}
.theme-dark ul {
	list-style-image:unset;
}
.theme-dark .mw-ui-input {
	background-color: var(--bg-color-primary);
	color: var(--font-color-primary);
	border-color: var(--ludo-blue-l)
}
/* link colors */
.theme-dark a, .theme-dark .vector-menu-portal .vector-menu-content li a, .theme-dark .vector-menu-dropdown .mw-list-item a { color:var(--ludo-blue); }
.theme-dark a:visited, .theme-dark .vector-menu-portal .vector-menu-content li a:visited, .theme-dark .vector-menu-dropdown .mw-list-item a:visited { color:var(--ludo-blue-l); }
.theme-dark .vector-menu-tabs .new a, .theme-dark .vector-menu-tabs .new a:visited { color:var(--ludo-dark-red); }
.theme-dark a.new {	color:var(--ludo-red); }
.theme-dark a.external { color:turquoise; }
.theme-dark a.external:visited { color:orchid; }

.theme-dark #content {
	border-color:transparent;
	border-radius:0 0 16px 16px;
}

/* sidebar stuff */
.theme-dark #mw-panel {
	border-color:transparent;
	box-shadow:none;
}
.theme-dark #p-logo a {
	filter:none;/*drop-shadow(1px 1px #eaeafe) drop-shadow(-1px -1px #eaeafe) drop-shadow(-1px 1px #eaeafe) drop-shadow(1px -1px #eaeafe);*/
}
.theme-dark .vector-menu-portal .vector-menu-heading {
	color:var(--font-color-primary);
	text-shadow:1px 1px var(--black);
}
.theme-dark #p-Slap .vector-menu-content-list, .theme-dark #p-tb .vector-menu-content-list {
	box-shadow:none;
}
@media (max-width:960px) {
	.theme-dark #p-Slap .vector-menu-content-list:hover, .theme-dark #p-tb .vector-menu-content-list:hover {
		background-color:hsl(218.5, 82.7%, 15.9%);
	}
}
@media (max-width:500px) {
	.theme-dark #mw-page-base {
		background: url(/images/4/43/NightBG.png) bottom 20% left;
	}
	.theme-dark #mw-head {
		border-color:#030827;
	}
	.theme-dark #p-namespaces .vector-menu-content-list, .theme-dark #p-views .vector-menu-content-list {
		height:1.5em !important;
	}
	.theme-dark #mw-panel .vector-menu-content-list, .theme-dark #mw-panel .vector-menu-content-list::after {
		box-shadow:none;
		background-color:hsl(219.1,76.3%,16.25%);
	}
	.theme-dark #mw-panel .mw-list-item a:hover {
		background-color:var(--shade);
	}
	.theme-dark #content {
		border-radius: 0;
	}
}
/* top navigation */
.theme-dark #p-namespaces .vector-menu-content-list, .theme-dark #p-views .vector-menu-content-list {
	border-image:linear-gradient(to bottom, var(--ludo-blue) 0%, transparent 100%);
	border-image-slice:1;
	height:calc(1.5em - 4px);
}
.theme-dark #mw-head .vector-menu-content-list {
	background-color:#030827;
}
.theme-dark .vector-search-box-input::placeholder {
	color:#95a7c6;
}
.theme-dark .vector-menu-tabs-legacy li a {
	color:var(--ludo-blue-l);
}
.theme-dark .vector-menu-tabs ul::after {
	display:none;
}
.theme-dark .vector-menu-dropdown {
	background:none;
	border:none;
}
.theme-dark #p-cactions-label {
	color:var(--white);
}
.theme-dark #p-cactions-label::after {
	filter:brightness(10);
}.theme-dark #searchInput {
	background-color: hsl(235.6, 87.3%, 12.4%);
	box-shadow: none;
	color: var(--white-d);
}
.theme-dark #searchInput:hover {
	box-shadow: none !important;
}
.theme-dark #searchButton, .theme-dark #searchButton:hover {
	filter: invert(1) !important;
}

/* toc stuff */
.theme-dark .toc .toctitle {
	box-shadow:none;
}
/* */
.theme-dark .thumbimage {
	border:0;
}

/* code highlighting */
.theme-dark code {
	background-color:var(--shade);
	border-color:var(--shade);
	color:var(--ludo-blue-l);
}

/* templates */
.theme-dark .chara-nav div:first-child img {
	background-color: var(--shade);
}
.theme-dark .chara-nav div:first-child img:hover {
  background-color: var(--ludo-blue);
}
.theme-dark .charbox {
	border: solid 2px var(--ludo-blue-d) !important;
	background:linear-gradient(to bottom, var(--ludo-blue-d) -133%, hsl(216.8, 75.6%, 16.1%) 100%) no-repeat center top / 100% 200px, hsl(216.8, 75.6%, 16.1%) !important;
}
.theme-dark .charbox-header, .theme-dark .stagebox-name {
	background-color:var(--ludo-blue-d) !important;
}
.theme-dark .stagebox {
	border:solid 2px var(--ludo-blue-d) !important;
	background-color:hsl(216.8, 75.6%, 16.1%) !important;
}
.theme-dark .stagebox-caption {
	background-color:hsl(219, 43%, 37.8%) !important;
}
.theme-dark .changelog {
	border: 1px solid var(--ludo-blue-d);
	background-color: var(--bg-color-primary);
	scrollbar-color: var(--ludo-blue) var(--ludo-blue-d);
}

/* stage navbox */
.theme-dark .navbox { border-color:var(--shade); }
.theme-dark .navbox, .theme-dark .navbox-subgroup { background-color:var(--wiki-gray-d); }
.theme-dark .navbox th, .theme-dark .navbox-title { background-color:var(--shade); }
.theme-dark .navbox-list { background-color:var(--wiki-gray-l); }
.theme-dark tr + tr > .navbox-abovebelow, .theme-dark tr + tr > .navbox-group, .theme-dark tr + tr > .navbox-image, .theme-dark tr + tr > .navbox-list { border-color:var(--wiki-gray-d); }

/* gallery image boxes */
.theme-dark #content .gallerybox .thumb {
	background-color: hsla(218.3, 34.8%, 26.5%, 0.5) !important;
	border-color: transparent;
}

/* music page */
.theme-dark .music-list > ul > li:nth-of-type(2n+1), .theme-dark .ost tr:first-child {
	background-color: hsla(218.3, 34.8%, 26.5%, 0.5);
}
.theme-dark .ost tr:nth-child(2n+3) {
	background-color: #e7e7fa0a;
}
.theme-dark .ost-info {
	background-color: var(--wiki-gray-l);
	border: solid 1px var(--wiki-border);
}
.theme-dark .ost-info th {
	background-color: var(--shade);
}

/* page history compare revisions highlighting */
.theme-dark #pagehistory li.selected {
	background-color: var(--shade);
	color: var(--font-color-primary);
	outline: 1px dashed var(--ludo-grayblue);
}

/* revision differences coloring */
.theme-dark .mw-plusminus-neg { color:var(--ludo-red); }
.theme-dark .mw-plusminus-pos { color:var(--ludo-green); }
.theme-dark .diff-deletedline .diffchange { background:#feeec85f; }
.theme-dark .diff-addedline .diffchange { background:#d8ecff5f; }

/* preview warning */
.theme-dark .mw-message-box-warning {
	background-color: #123456;
	border-color: var(--ludo-blue);
	color: var(--font-color-primary);
}
.theme-dark #mw-previewheader {
	color: var(--ludo-blue);
}

/* show changes */
.theme-dark .diff-context {
	border-color:var(--wiki-border);
	background-color:var(--wiki-gray-d);
	color:var(--font-color-primary);
}
.theme-dark .diff-addedline, .theme-dark .diff-deletedline {
	background-color:var(--shade)
}
.theme-dark .diff-marker {
	filter: brightness(4) saturate(20);
}

/* main page stuff */
.theme-dark .top div:first-child {
	border-bottom:none;
	padding-bottom:2px;
	background:linear-gradient(to right, transparent 0%, var(--ludo-blue) 51%, transparent 100%) bottom center / 100% 1px no-repeat;
}
.theme-dark .top div:nth-child(2), .top div:nth-child(3) { background-image:none; }
.theme-dark .featured h2 {
	background:hsl(219.5, 100%, 84.5%,.25);
	color:var(--ludo-blue);
	text-shadow:1px 1px #000;
}
.theme-dark .featured > div {
	background-color:hsla(240, 71.4%, 98.6%, 0.1);
	border:none;
}
.theme-dark .char-spot h2 {
	background:hsl(28.5,80%,80.2%,.25);
	color:hsl(28.5,100%,58.2%);
	text-shadow:1px 1px #000;
}
.theme-dark .char-spot > div {
	background:hsl(28.5,80%,58.2%,.1);
	border:none;
}
.theme-dark .stage-spot h2 {
	background:hsl(120,50.7%,82.1%,.25);
	color:hsl(120,75.7%,45.1%);
	text-shadow:1px 1px #000;
}
.theme-dark .stage-spot > div {
	border:none;
	background:hsl(120,50.7%,98.1%,.1);
}
.theme-dark .trivia h2 {
	background:hsl(268.8,60%,84.6%,.25);
	color:hsl(268, 81%, 69%);
	text-shadow:1px 1px #000;
	border:solid 1px hsl(268, 81%, 69%);
	border-width:0 0 0 4px;
}
.theme-dark .trivia > div {
	border:none;
	background:hsl(268.8,60%,98.6%,.1);
}
.theme-dark .news h2 {
	background:hsl(217.5,16.3%,85.8%,.25);
}
.theme-dark .news > div {
	background:hsl(217.5,40.3%,95.8%,.1);
}

/* atkprop angle icon */
.theme-dark .moveset-wrap span span:first-child {
	filter:invert(100%);
}

/* simple color inverts */
.theme-dark #editform, .theme-dark .limitreport, .theme-dark .mw-rcfilters-ui-overlay, .theme-dark .mw-highlight, .theme-dark .stagetable, .theme-dark #mw-indicator-mw-helplink a {
	filter:invert(1) hue-rotate(180deg);
}
.theme-dark .editOptions {
	color:#112;
}
.theme-dark .mw-rcfilters-ui-filterWrapperWidget {
	filter:invert(1) hue-rotate(180deg) saturate(10);
}



/*  --------------------------------------------------------------------------
	2 - Font import															%%
	--------------------------------------------------------------------------  */
@font-face {
	font-family: 'Roboto'; font-style: normal; font-weight: 300; font-display: swap;
	src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmSU5fBBc4.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap;
	src: url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto'; font-style: italic; font-weight: 400; font-display: swap;
	src: url(https://fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xIIzI.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: block;
	src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto'; font-style: italic; font-weight: 700; font-display: swap;
	src: url(https://fonts.gstatic.com/s/roboto/v30/KFOjCnqEu92Fr1Mu51TzBic6CsQ.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto Slab'; font-style: normal; font-weight: 400; font-display: swap;
	src: url(https://fonts.gstatic.com/s/robotoslab/v24/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmb2Rj.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto Slab'; font-style: normal; font-weight: 300; font-display: swap;
	src: url(https://fonts.gstatic.com/s/robotoslab/v24/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjo0oSmb2Rj.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/*  --------------------------------------------------------------------------
	3 - Global																%%
	--------------------------------------------------------------------------  */
	
/* Scroll offset for wiki.gg header */
html {
	scroll-padding-top: calc(35px + 0.3em);
}

/* Fonts */
html, body, #searchInput {
	font-family: 'Roboto', sans-serif;
}
.mw-body h1, .mw-body h2, .ns-special h1, .ns-special h2, .mw-body-content .mw-number-text h3 {
	font-family: 'Roboto Slab', sans-serif !important;
}
h1, h2, h3, h4, h5, h6, .mw-body, .messagebox, .errorbox, .warningbox, .successbox, .editOptions, .wikitable {
	color: var(--font-color-primary);
}

/* Set backgrounds in body */
@media (min-width:501px) {
	body {
		background: linear-gradient(rgba(0, 43, 122, 0.5) 39px, rgba(0, 0, 0, 0) 39px) no-repeat scroll 0% 0%, linear-gradient(rgba(233, 244, 255, 0.3) 0%, rgba(0, 0, 0, 0) 50%) repeat fixed center top / cover, rgba(0, 0, 0, 0) url("/images/5/54/MenuBG.png") no-repeat fixed center bottom / cover;
		min-height: 54em;
	}
}

/* Turn everything into flex elements to push wiki.gg footer to the bottom of the page */
body {
	display: flex;
	flex-flow: column;
}
#mw-page-base, #mw-head-base, .content-wrapper, footer {
	flex-shrink: 0
}
footer:last-of-type {
	margin-top: auto;
}

/* Make the theme toggle easier to click on mobile */
@media (max-width:961px) {
	body #p-personal li#p-themes > span {
		width:40px;
		height:40px;
		background:var(--theme-icon) center center no-repeat;
		position:absolute;
		top:calc(-40px - 1em);
		right:80px;
		margin:0;
		padding:0;
		border-radius: 0 0 8px 8px !important;
  }
}


/*  --------------------------------------------------------------------------
	4 - Wiki layout															%%
	--------------------------------------------------------------------------  */
	
/*	-----------------------
	4.1 -  Head & page base
	-----------------------  */

#mw-head-base {
	display: none;
   }
@media (min-width:501px) {
	#mw-page-base {
		background: none;
	}
}
@media (max-width:500px) {
	#mw-page-base {
		height: 9.25em;
		margin-top: calc(35px + 2.187rem);
		background: url(images/e/ee/MenuBG-500px.webp) left bottom;
	}
}
@media (min-width:501px) and (max-width:960px) {
	#mw-page-base {
		height: 11em;
	}
}



/*	--------------------
	4.2 - Top navigation
	--------------------  */

#mw-navigation h2 {
	display: none;
}

/* #mw-head */
@media (max-width:500px) {
	#mw-head {
		border-top: solid 4px var(--ludo-blue);
		position: relative;
		top: 0;
	}
}
@media (min-width:501px) and (max-width:960px) {
	#mw-head {
		top: 9.55em;
	}
}

/* left & right navigation */
#mw-head #left-navigation {
	margin-left: 12em;
}
#left-navigation, #right-navigation {
	margin-top: 3.56em;
}
@media (max-width:500px) {
	#mw-head #left-navigation {
		margin: calc(-1.55em - 1px) 0 0;
		}
	#right-navigation {
		width: 100%;
		background-color: var(--bg-color-primary);
		display: flex;
		justify-content: space-between;
		flex-flow: row wrap;
		padding: 0 0.8em;
		box-sizing: border-box;
	}
	#left-navigation, #right-navigation, #right-navigation .vector-menu-tabs, #right-navigation .vector-menu-content-list {
		float: unset;
	}
}
@media (max-width: 960px) {
	#left-navigation, #right-navigation { margin-top: 0; }
}

/* vector menu tabs - both*/
.vector-menu-tabs {
	background: none;
	padding: 0;
}
@media (max-width:500px) {
	.vector-menu-tabs {
		height: unset;
	}
}

/* vector menu content list (ul) */
#p-namespaces .vector-menu-content-list, #p-views .vector-menu-content-list {
	height: 1.5em;
	padding: 0 0.5em;
	background-color: var(--bg-color-primary);
	border: solid 1px var(--border-color-top-nav);
	border-width: 1px 1px 0;
	position: relative;
	font-size: 105%;
}
#mw-head .vector-menu-content-list::after {
	position: absolute;
	background-color: var(--shade);
	height: 18px;
	width: 4px;
	content: "";
	right: -4.7px;
	top: 3.4px;
}

/* list items (li) */
#mw-head .mw-list-item {
	background: none;
	line-height: 1.6em;
}
#p-namespaces .mw-list-item a, #p-views .mw-list-item a {
  padding: 0;
  background: none;
  display: inline;
  float: none;
}

/* top navigation link colors */
#mw-head .selected a {
	color: var(--font-color-primary);
}
#mw-head .new a {
	color:var(--ludo-dark-red);
}

#ca-talk::before {
	content: "/";
	color: var(--ludo-blue);
	margin: 0 0.25em;
	font-size: 1.4em;
	vertical-align: middle;
}

/* watch link */
.mw-watchlink {
	border: none;
	border-radius: 6px 6px 0 0;
	position: static;
	box-shadow: none;
}
.mw-watchlink a, .vector-menu-dropdown  {
	margin-top: -0.82em;
}
#p-views .mw-list-item:nth-child(n+2)::before  {
	content: "·";
	color: var(--ludo-blue);
	margin: 0 0.25em;
	font-size: 1.2em;
	vertical-align: middle;
}
#p-views .mw-watchlink a::before {
	top:1em;
}
#p-views .mw-watchlink a {
	display: block;
	padding: 3.07692308em 0 0;
	top: -1.85em;
	left: 0.7em;
}

/* dropdown 'more' menu */
#p-cactions-label {
	background: none !important;
	color:var(--ludo-blue-d);
}
#p-cactions-label::after {
	filter: saturate(90) contrast(2);
}
#p-cactions {
	height: 2.2em;
	background: linear-gradient(to top, var(--shade) 0%, rgba(0,0,0,0) 65%);
	margin-right: -0.5em;
}
#p-cactions .vector-menu-content {
	background-color: var(--white);
	border: solid 1px var(--ludo-blue);
	border-width: 4px 1px 1px;
	box-shadow: none;
}
.vector-menu-dropdown .mw-list-item a:hover {
	background-color:var(--shade);
}

/* search */
#p-search {
	position:relative;
	z-index:3;
	margin:-0.55em 1.5em 0 0.5em !important;
}
.vector-search-box h3 {
	display:none;
}
#simpleSearch {
	margin:0;
	padding:4px;
	background-color:var(--border-color-search);
	border-radius:4px;
	box-shadow:2px 2px var(--shade);
	transition:background-color 0.1s !important;
}
#simpleSearch:focus-within, #simpleSearch:hover {
	background-color:var(--ludo-orange);
}
#searchButton {
	right:4px;
	filter:saturate(80);
	transition:filter 0.1s;
}
#simpleSearch:hover #searchButton, #simpleSearch:focus-within #searchButton {
	filter:saturate(140) hue-rotate(190deg)
}
#searchInput {
	background-color:var(--white);
	border:none; border-radius:4px;
	transition:none;
	box-shadow:inset 2px 2px var(--shade);
}
#searchInput:focus, #simpleSearch:hover #searchInput:focus, #searchInput:hover, #simpleSearch:hover #searchInput {
	border:none;
	box-shadow:inset 2px 2px var(--shade);
}
#searchInput::placeholder {
	text-overflow:ellipsis;
}

/* responsive top navigation */
@media (max-width:500px) {
	#right-navigation .mw-list-item:nth-child(n+2)::before {
		margin:0 2vw !important;
	}
	#right-navigation .mw-list-item:not(.mw-watchlink, #p-cactions .mw-list-item) {
		height:1.7em;
		border-bottom:solid 3px var(--ludo-blue);
	}
	#right-navigation .mw-watchlink::before {
		content:"" !important;
	}
	#right-navigation .vector-menu-content-list {
		border:none;
		background-color:unset;
		padding:0;
		width:unset;
	}
	#right-navigation .vector-menu-content-list::after {
		display:none;
	}
	#right-navigation .vector-menu-dropdown {
		margin:0;
		background:none;
		position:absolute;
		right:0.8em;
		box-sizing:border-box;
	}
	#p-views {
		width:100vw;
		border-bottom:double 3px var(--ludo-blue);
		margin:0 -0.8em;
		height:calc(2em - 3px);
		padding-top:0.5em;
	}
	#p-views .vector-menu-content-list {
		margin-left:0.8em;
	}
	#p-cactions {
		top:0.5em;
		height:2em;
		border-bottom-width:3px;
	}
	#p-cactions-label {
		background:none !important;
		padding-top:0.5em;
		box-sizing:border-box;
	}
	#p-cactions-label::after {
		top:0.1em;
		position:relative;
		margin:0;
		filter:saturate(100) brightness(2);
	}
	#p-cactions .vector-menu-content {
		position:absolute;
		top:calc(2em - 3px);
		left:unset;
		right:0;
		border:solid 1px var(--ludo-blue);
		border-width:3px 1px 1px;
		background-color:var(--white-d)
	}
	#p-cactions .mw-list-item a {
		white-space:nowrap;
	}
		.vector-menu-dropdown:not(.vector-user-menu) li {
	font-size:unset;
	}
	#p-search {
		position:absolute !important;
		top:calc(-1.8em);
		right:0;
	}
	#simpleSearch {
		width:36vw !important;
		max-width:unset !important;
	}
}
@media (max-width: 960px) {
	#p-namespaces { margin-left:0.8em !important; }
	#p-search { margin-right:0.8em !important; }
	#simpleSearch {	max-width:24vw; }
}



/*	----------------------
	4.3 - Panel navigation
	---------------------- */

#mw-panel {
	position: absolute;
	top: 35px;
	width: 10.4em;
	margin: 0 0 0 0.8em;
	background-color: var(--panel-bg);
	border: solid 1px var(--border-color-primary);
	border-width:0 1px 4px 1px;
	border-radius: 0 0 1em 1em;
	box-sizing: border-box;
	box-shadow: 4px 4px var(--shade), 0 4px var(--shade) inset;
}
#p-logo {
	width: inherit;
	height: auto;
}
#p-logo a {
	width: inherit;
	height: 8em;
	margin-top: 0.5em;
	background-size: 95%;
	background-position: 35% 50%;
}
#p-navigation, #p-Slap, #p-tb {
	margin: 0;
	padding: 0;
}
#p-tb {
	margin-bottom: 1em;
}
#p-Slap-label {
	font-style:italic;
}
#p-Slap-label span::after {
	content:" City";
}
#n-Ittle-Dew, #n-Masked-Ruby, #n-Jenny-Fox, #n-Ultra-Fishbunjin-3000, #n-Princess-Remedy, #n-Business-Casual-Man, #n-Goddess-of-Explosions, #n-Asha, #n-Frallan, #n-Cruiser-Tetron, #n-Orka {
	line-height:0.9;
}
#n-Ittle-Dew::before, #n-Masked-Ruby::before, #n-Jenny-Fox::before, #n-Ultra-Fishbunjin-3000::before, #n-Princess-Remedy::before, #n-Business-Casual-Man::before, #n-Goddess-of-Explosions::before, #n-Asha::before, #n-Frallan::before, #n-Cruiser-Tetron::before, #n-Orka::before {
	content: "⇢";
	color: var(--ludo-blue);
	font-size: 1.25em;
	margin-right: 0.5ch;
}
.vector-menu-portal .vector-menu-heading {
	color: var(--ludo-blue-d);
	text-shadow: 1px 1px #dbddff;
	text-align: center;
	font-weight: bold;
	background-image: linear-gradient(to right,rgba(0,0,0,0) 0,var(--panel-h3) 33%,var(--panel-h3) 66%,rgba(0,0,0,0) 100%);
	background-repeat: repeat;
	margin: 0.5em 0 0;
}

/* prevent collapsing panel menus on regular layout */
@media (min-width:961px) {
	#mw-panel .vector-menu-heading {
		pointer-events:none;
	}
}
/* horizontal panel */
@media (max-width: 960px) {
	#mw-panel {
		top: 39px;
		right: 0;
		height: 6em;
		width: 100%;
		margin: 0;
		padding: 0 1em !important;
		border-width: 0 0 4px;
		border-radius: 0;
		box-shadow:0 4px var(--shade);
		display: flex;
		z-index: 4;
	}
	#p-logo, #p-navigation, #p-Slap, #p-tb {
		flex:25%;
	}
	#p-navigation, #p-Slap, #p-tb {
		transform:skewX(-9deg);
		padding:0 !important;
		overflow:clip;
	}
	#p-logo {
		margin-top:-1.75em;
	}
	#p-logo a {
		background-position:35% 90%;
		background-size:100%;
		margin-top:0;
		width:9em;
		height:7.4em;
	}
	.vector-menu-portal .vector-menu-heading {
		margin: 0 !important;
		pointer-events: none;
		position: relative;
	}
	#p-navigation .mw-list-item, #p-Slap .mw-list-item, #p-tb .mw-list-item {
		transform: skewX(9deg);
	}
	#mw-panel .vector-menu-content {
		margin-left: 0 !important;
	}
	#p-Slap .vector-menu-content, #p-tb .vector-menu-content {
		margin-top: -1.3em;	
	}
	#p-Slap .vector-menu-content-list, #p-tb .vector-menu-content-list {
		border:solid 1px var(--border-color-primary);
		border-width:1px 1px 4px;
		padding:1.3em 0.5em 0.5em;
		height:4.5em;
		box-shadow:4px 4px var(--shade);
		background-image:linear-gradient(to top, var(--shade) 0%, var(--panel-bg) 25%);
	}
	#p-Slap .vector-menu-content-list:hover, #p-tb .vector-menu-content-list:hover {
		background-image:none !important;
		background-color:var(--panel-bg);
		height:max-content !important;
	}
	#p-Slap .vector-menu-content-list::after, #p-tb .vector-menu-content-list::after {
		content: "▾";
		color: var(--ludo-blue-l);
		position: absolute;
		bottom: -0.1em;
		right: 0.3em;
		font-size: 1.25em;
	}
	#p-Slap .vector-menu-content-list:hover::after, #p-tb .vector-menu-content-list:hover::after {
		opacity:0;
	}
	#p-tb .vector-menu-content-list { margin-left:-1px; }
	#p-tb { margin-bottom:0 !important; }
	.expanded.portal, #p-navigation:hover, #p-Slap:hover, #p-tb:hover, #p-tb:active { overflow:visible !important; }
	#p-tb::after {
		content: "";
		width: 5px;
		height: 5.7em;
		position: absolute;
		top: 0;
		right: -5px;
		background-color: var(--panel-bg);
	}
}

/* mobile top bar navigation */
@media (max-width:500px) {
	#mw-panel {
		top:35px  !important;
		height:2.187rem !important;
		border-width:0 !important;
		background-color:var(--ludo-blue-d) !important;
	}
	#p-logo {
		flex:0 !important;
		margin-left:0;
		z-index:-1;
	}
	#p-logo a {
		position:absolute;
		left:0;
		top:2.187rem !important;
		margin:0.5em 0 !important;
		height:6.5em !important;
		width:100vw !important;
		background-position:50% 50% !important;
		background-size:contain !important;
		filter:drop-shadow(rgba(250, 252, 255, 0.55) 0.05em 0.05em) drop-shadow(rgba(250, 252, 255, 0.47) -0.05em -0.05em) drop-shadow(rgba(250, 252, 255, 0.5) 0.05em -0.05em) drop-shadow(rgba(250, 252, 255, 0.46) -0.05em 0.05em) drop-shadow(1px 2px var(--shade));
	}
	#p-navigation, #p-Slap, #p-tb, #p-navigation ul li, #p-Slap ul li, #p-tb ul li {
		transform:unset !important;
	}
	#p-logo + .mw-portlet .vector-menu-heading {
		display:block;
	}
	#p-navigation-label, #p-Slap-label, #p-tb-label {
		height:2.187rem;
		padding:0.5em;
		box-sizing:border-box;
		font-size:90%;
		font-family:'roboto slab';
		color:var(--white);
		text-shadow:1px 2px var(--black);
		text-transform:lowercase;
		background-color:var(--ludo-blue-d);
		background-image:none;
		pointer-events:all;
	}
	#p-Slap-label {
		text-transform:unset;
	}
	#p-Slap .vector-menu-content-list::after, #p-tb .vector-menu-content-list::after {
		display:none;
	}
	.vector-menu-heading::after {
		content:"▾";
		position:absolute;
		color:var(--ludo-blue-l);
		margin-left:0.25ch;
	}
	.expanded.portal .vector-menu-heading::after, .vector-menu-portal:hover .vector-menu-heading::after, #p-tb::after {
		display:none;
	}
	.expanded h3, #p-navigation:hover > #p-navigation-label, #p-Slap:hover > #p-Slap-label, #p-tb:hover > #p-tb-label {
		border:inset 7px var(--ludo-blue-d) !important;
		border-width:7px !important;
		padding:1px 0 0 1px !important;
		color:var(--white-d) !important;
	}
	.expanded .vector-menu-content-list, #p-navigation:hover .vector-menu-content-list, #p-Slap:hover .vector-menu-content-list, #p-tb:hover .vector-menu-content-list {
		display:flex !important;
		min-width:100%;
	}
	#mw-panel .vector-menu-content-list {
		display:none;
		padding:0.5em 1em !important;
		margin:0;
		position:absolute;
		top:2.187rem;
		left:0;
		border:none !important;
		background:none;
		height:unset !important;
		box-shadow:inset 0 4px var(--shade) !important;
		box-sizing:border-box;
		background-color:var(--white-d);
		background-image:none !important;
		font-size:110%;
		flex-flow:row wrap;
	}
	#mw-panel .vector-menu-content-list::after {
		content:"" !important;
		display:block;
		width:100vw !important;
		position:absolute;
		height:0.5rem !important;
		background-color: var(--white-d);
		left:0;
		bottom:-0.5rem !important;
		transform:skewY(-1deg) !important;
	 	border-bottom:solid 4px var(--ludo-blue-d);
		box-shadow:0 4px var(--shade);
		opacity:1 !important;
	}
	#p-Slap .vector-menu-content-list:hover, #p-tb .vector-menu-content-list:hover {
		background-color:var(--white-d);
	}
	#p-navigation .vector-menu-content-list {
		padding-top:0.5em !important;
	}
	#mw-panel .mw-list-item {
		flex:40%;
		min-width:16ch;
		padding:0;
		transform:skewY(-1deg) !important;
	}
	#mw-panel .mw-list-item a {
		padding:0.583333em;
		display:block;
		transform:skewY(1deg);
	}
	#mw-panel .mw-list-item a:hover {
		background-color:var(--white);
		box-shadow:inset -4px 0 var(--ludo-blue-l);
	}
	#feed-atom {
		background-position:3.5em center;
	}
	
	#p-Slap .vector-menu-content-list {
		flex-flow: column wrap;
		max-height: 19em;
		width: 100vw;
	}
	#p-Slap .vector-menu-content-list::before {
		display:block;
		content:"";
		background-color:var(--ludo-blue-l);
		width:2px;
		height:5em;
		position:absolute;
		top:0;
		left:calc(50% - 1em);
		height:calc(19em - 3px);
		transform:skewX(-0.2deg);
		z-index:1;
		pointer-events:none;
	}
	#n-Music {
		margin-bottom:12em;
	}

	/* 'Slap City' dropdown ordering */
	#n-Characters,
	#n-Stages,
	#n-Modes,
	#n-Mechanics,
	#n-Music {
		order:1;
	}
	#n-Ittle-Dew,
	#n-Masked-Ruby,
	#n-Jenny-Fox,
	#n-Ultra-Fishbunjin-3000,
	#n-Princess-Remedy,
	#n-Business-Casual-Man,
	#n-Goddess-of-Explosions,
	#n-Asha,
	#n-Frallan,
	#n-Cruiser-Tetron,
	#n-Orka {
		order:2;
	}
	#n-Ittle-Dew::before,
	#n-Masked-Ruby::before,
	#n-Jenny-Fox::before,
	#n-Ultra-Fishbunjin-3000::before,
	#n-Princess-Remedy::before,
	#n-Business-Casual-Man::before,
	#n-Goddess-of-Explosions::before,
	#n-Asha::before,
	#n-Frallan::before,
	#n-Cruiser-Tetron::before,
	#n-Orka::before {
		display:none;
	}
}



/*	----------
	4.4 - Body
	----------  */
   
#content {
	background-color:var(--bg-color-primary);
	border:1px solid var(--border-color-primary);
	border-width:4px 1px 4px 1px;
	box-shadow:4px 4px var(--shade);
	margin:-1px 1em 0 12em !important;
}
#content .mw-indicators {
	padding:0;
}
@media screen and (max-width: 960px) {
/* spacing */
	#content {
		padding: 1em 0.8em !important;
		border-width:4px 0;
	}
	#content, #left-navigation {
		margin-left:0 !important;
	}
	#content {
		margin-right:0 !important;
	}
}
@media screen and (max-width:500px) {
	.content-wrapper {
		flex-direction:column;
	}
	#content {
		border-width:0 0 4px !important;
	}
}



/*	------------
	4.5 - Footer
	------------  */
#footer {
	padding:0 !important;
	margin:1em 2em 1em 13em !important;
	position:relative;
	min-height:4em;
}
#footer-info-lastmod, #footer-info-copyright, #footer-places-about {
	padding:0;
	width: 100%;
	color:var(--font-color-primary);
}
#footer-info {
	max-width:max-content;
	margin-right:12em;
}
#footer-info-lastmod {
	border-bottom:dotted 1px var(--ludo-blue-d);
}
#footer-info-copyright img {
	position:absolute;
	right:calc(0.5em + 88px);
	height:31px;
	box-shadow:4px 4px var(--shade);
	top:0;
}
#footer-places-about a::before {
	content:"[";
	color:var(--ludo-blue);
	font-weight:bold;
}
#footer-places-about a::after {
	content:"]";
	color:var(--ludo-blue);
	font-weight:bold;
}
#footer-icons {
	position:absolute;
	top:0;
	right:0;
}
#footer-poweredbyico {
	border-radius:4px;
	box-shadow:4px 4px var(--shade);
	margin:0 !important;
	padding:0;
}

@media screen and (max-width: 960px) {
	#footer {
		margin-left:1em !important;
		margin-right:1em !important;
	}
}
@media screen and (max-width: 550px) {
	#footer {
		padding: 0 !important;
		text-align:center;
		min-height:6em;
	}
	#footer-info {
		margin-right:0 !important;
	}
	#footer-info-copyright img {
		right:unset;
		top:unset;
		bottom:0;
		left:1em;
	}
	#footer-icons {
		top:unset;
		bottom:0;
		right:1em;
	}
}



/*  --------------------------------------------------------------------------
	5 - Content elements													%%
	--------------------------------------------------------------------------  */

/* article title header */
#firstHeading {
	border-bottom:none;
	margin-bottom:0;
	line-height:0.98em;
	text-shadow:2px 0 var(--bg-color-primary), -2px 0 var(--bg-color-primary);
	display:inline-block;
	background:linear-gradient(45deg,var(--ludo-blue) 0%,var(--ludo-blue) 100%) repeat-x center bottom/100% 2px;
	font-weight:lighter;
	overflow-wrap:anywhere;
}

/* hide "From SlapWiki" underneath article title */
#siteSub {
	display: none !important;
}
/* sub-header text */
#contentSub, #contentSub2 {
	color:var(--font-color-2nd);
}
.mw-redirectedfrom, span.subpages {
	margin-top:2px;
	display:inline-block;
}

/* 'successful edit' notification */
.mw-notification-area-overlay {
	position:fixed;
	z-index:4;
}
#mw-notification-area {
	padding:0;
	top:calc(35px + 1.95em);
	right:50%;
	transform:translateX(50%);
	min-width:75%;
	font-size:1.25em;
	text-align:center;
}
.mw-notification {
	border:none;
	box-shadow:none;
	border-radius:0;
	background-image:linear-gradient(to right, transparent 0%, hsla(219.1,24%,24%,0.5) 50%,transparent 100%);
	padding:0.5rem 0;
	background-color:unset;
}

.oo-ui-messageWidget.oo-ui-flaggedElement-success:not(.oo-ui-messageWidget-block) {
	color:var(--white);
	text-shadow:1px 1px var(--black);
}
.mw-notification-area-overlay .oo-ui-iconElement-icon {
	transform:translateX(-12ch) translateY(-3px);
	filter:brightness(9) hue-rotate(60deg) drop-shadow(1px 1px black);
}



/*	-----------------------
	5.1 - Table of contents
	-----------------------  */
.toc {
	margin-top:1em;
	padding:0;
	border:none;
	background:none;
}
.toctitle {
	padding:0.5em 0;
	width:10em;
	border:solid 1px var(--toc-border-color);
	border-width:1px 1px 2px;
	background-color:var(--toc-bg-color);
	box-shadow:2px 2px 1px var(--shade);
}
#mw-toc-heading {
	color: var(--toc-h2-color);
	text-shadow: 1px 1px var(--shade);
}
.toctogglespan {
	color:var(--font-color-2nd);
	padding-left:1ch;
}
.toc ul {
	margin:-2px 1em 0 0 !important;
	padding:0.5em 0.4em 0.5em 1.6em !important;
	border:solid 1px var(--toc-border-color);
	border-width:0 1px 2px;
	background:linear-gradient(var(--toc-border-color) 0%, var(--toc-border-color) 100%) no-repeat 10em 0 / 100% 1px, var(--toc-bg-color);
	box-shadow:2px 2px 1px var(--shade);
	min-width:9.6em;
}
.toc ul ul {
	columns: 2;
	border: none;
	background: none;
	box-shadow: none;
}
.toc ul ul li:only-child {
	column-span: all;
}
.toc ul li {
	margin-right: 1ch;
	max-width: 30em;
}
.toc ul ul ul {
	columns: 1;
	break-inside: avoid;
}
.toclevel-2 {
	font-size: 95%;
}
.tocnumber {
	color: var(--font-color-2nd);
	text-decoration: none;
}
.toc ul a:hover .tocnumber {
	color: var(--font-color-primary);
}
@media (max-width: 960px) {
	.toc ul { margin-right: 0 !important; }
}
@media (max-width: 775px) {
	.toc ul { max-height: none; }
	.toc ul li { max-width: none; }
}
@media (max-width:500px) {
	/* ensure toc doesn't overflow */
	.toc ul {
		box-sizing: border-box;
		max-width: calc(100vw - 1.6rem);
	}
}



/*	------------------------
	5.2 - Tables, wikitables
	------------------------  */
	
/* Make tables scroll when screen size is too small.*/
table {
	white-space:initial;
}
table.wikitable {
	border-width:0 1px;
	max-width:max-content;
}
.wikitable :where(td,th):first-child {	
	border-left:none;
}
.wikitable :where(td,th):last-child {
	border-right:none;
}

/* Make wikitables use variables for border and background colors. */
.wikitable {
	background-color: var(--wiki-gray-l);
	border: 1px solid var(--wiki-border);
} 
.wikitable>tr>th, .wikitable>tr>td, .wikitable>*>tr>th, .wikitable>*>tr>td {
	border: 1px solid var(--wiki-border);
}
.wikitable>tr>th, .wikitable>*>tr>th {
	background-color: var(--wiki-gray-d);
}



/*	-----------
	5.3 - Lists
	-----------  */
	
/* reduce margins at small screen sizes */
@media screen and (max-width: 500px) {
	.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
		margin:0.3em 0 0 1.2em;
	}

	.mw-content-ltr dd, .mw-content-rtl .mw-content-ltr dd {
		margin-left:1em;
	}
}

/*	----------------
	5.4 - Thumbnails
	----------------  */
div.thumbinner {
	background-color:var(--thumbnail-bg-color);
	border-color:var(--thumbnail-border-color);
}
@media (max-width:960px) {
	div.tright {
		max-width:50%;
		margin:0.5em 0 0.5em 0.5em;
	}
		div.tleft {
		max-width:50%;
		margin:0.5em 0.5em 0.5em 0;
	}
	div.thumbinner {
		border:none;
		padding:0;
		font-size:90%;
		font-style:italic;
		max-width:100%;
		box-shadow:0 4px var(--shade);
	}
	html .thumbimage {
		border:none;
		max-width:100%;
		height:auto;
	}
	html .thumbcaption {
		padding:0.25em 0.5em;
		font-size:100%;
	}
}



/*	-------------
	5.5 - Gallery
	-------------  */
@media (max-width:500px) {
	.gallery-wrapper {
		margin:0.5em -0.9em 0;
		background-color:var(--shade);
		padding:0.9em;
		border:solid 1px var(--ludo-blue-l);
		border-width:1px 0;
		text-align:center;
	}
	.gallery-wrapper .gallery, .gallery-wrapper .mw-gallery-traditional {
		display:flex;
		flex-flow:row wrap;
		margin:0;
		padding:0;
		text-align:center;
	}
	.gallery-wrapper .gallerybox {
		width:auto !important;
		flex:25%;
		min-width:135px;
		max-width:50%;
	}
	.gallery-wrapper .gallerybox div, .gallery-wrapper .gallerybox .thumb {
		width:auto !important;
	}
	.gallery-wrapper .thumb {
		margin:0 !important;
		border:none !important;
	}
	.gallery-wrapper .gallerybox .thumb div {
		margin:0 !important;
	}
	.gallery-wrapper img {
		width:100%;
		height:auto;
	}
	.gallery-wrapper .gallerycaption {
		flex:100%;
		margin-bottom:0.5em;
		background-color:var(--shade);
	}
}



/*	--------------------
	5.6 - Category links
	--------------------  */
.catlinks {
	font-size:105%;
	padding:0;
	border:none;
	background-color:inherit;
}
.catlinks li {
	line-height:inherit;
	border:none;
	margin:0;
	padding:0;
}
.catlinks li:nth-last-child(n + 2)::after {
	content: "/";
	color:var(--ludo-blue-l);
    margin: 0 0.25em;
    font-size: 1.6em;
    vertical-align: middle;
    line-height: 1.6em;
}



/*  --------------------------------------------------------------------------
	6 - Page styles															%%
	--------------------------------------------------------------------------  */

/*	---------------
	6.1 - Main page
	---------------  */
.top {
	box-sizing:border-box;
	margin-bottom:-1.2em;
	text-align:center;
	position:relative;
}
.top div:first-child {
	font-size:1.8em;
	border-bottom:solid 2px #5a8eef;
	line-height:0.85em;
	font-family:'Roboto Slab',sans-serif;
	text-shadow:2px 0 var(--bg-color-primary), -2px 0 var(--bg-color-primary);
}
.top div:first-child a:hover { color:#5a8eef; text-decoration:none; }
.top div:nth-child(2) {
	position:relative;
	top:-2px;
	left:0;
	height:5px;
	margin-bottom:-5px;
	background-image:linear-gradient(to right,rgb(255,255,255) 0,rgba(0,0,0,0) 5%,rgba(0,0,0,0) 95%,rgb(255,255,255) 100%);
}
.top div:nth-child(3) {
	background-image:linear-gradient(to bottom,rgba(94,142,239,0.16) 0%,rgba(0,0,0,0) 16%);
}
.top ul {
	list-style:none;
	margin:0 auto;
}
.top li {
	display:inline-block;
	padding:0;
	position:relative;
	top:-1.6em;
}
.top li:first-child { right:6.2em; }
.top li:nth-child(2) { right:6em; }
.top li:nth-child(3) { left:6em; }
.top li:nth-child(4) { left:6.2em; }
.navi {
	position:relative;
	z-index:1;
	margin-bottom:-0.5em;
	border:solid 1px rgba(38,65,129,0.5);
	background-color:var(--bg-color-primary);
	box-shadow:0 0 4px rgba(38,65,129,0.16),inset 0 0 2px rgba(38,65,129,0.16);
	text-align:center;
	font-weight:bold;
}
.flex-box {
	display:flex;
	flex-flow:row wrap;
	margin:0 -2px 0 -2px;
}
.flex-box ul {
	margin:0 0 0 2ch;
}
.flex-left {
	display:flex;
	flex:65%;
	flex-flow:row wrap;
}
.flex-100 {
	flex:100%;
	margin:2px;
}
.flex-half {
	flex:35ch;
	margin:2px;
	display:flex;
	flex-flow:column;
}
.flex-half div {
	flex: 1 1 auto;
}
.flex-left h2, .flex-right h2 {
	margin:0 0 1px;
	padding:0.2em 0.5em;
	font-size:120%;
	font-weight:bold;
}
.flex-left > div > div, .flex-right > div > div {
	padding:0.5em;
}

.featured h2 {
	background:hsl(219.1,52.3%,84.5%);
	color:hsl(219.1,76.3%,32.25%);
	text-shadow:1px 1px hsl(219.1,82.3%,99%);
	border:solid 1px hsl(219.1,82.3%,64.5%);
	border-width:0 0 0 4px;
}
.featured > div {
	background-color:#f9f9fe;
	border:solid 1px hsl(219.1,52.3%,84.5%);
	min-height:115px;
}
.featured .floatleft {
	box-shadow:2px 2px hsla(219.1,100%,24%,0.16);
	margin:0 calc(0.5em + 2px) 0.5em 0;
}

.char-spot h2 {
	background:hsl(28.5,80%,80.2%);
	color:hsl(28.5,90%,30.2%);
	text-shadow:1px 1px hsl(219.1,82.3%,99%);
	border:solid 1px hsl(28.5,100%,58.2%);
	border-width:0 0 0 4px;
}
.char-spot > div {
	border:solid 1px hsl(28.5,80%,80.2%);
	background:hsl(28.5,80%,98.2%);
	min-height:120px;
}
.char-spot > div img {
	filter:drop-shadow(3px 3px hsla(219.1,100%,24%,0.16))
}

.stage-spot h2 {
	background:hsl(120,50.7%,82.1%);
	color:hsl(120,75.7%,26.1%);
	text-shadow:1px 1px hsl(219.1,82.3%,99%);
	border:solid 4px hsl(120,75.7%,45.1%);
	border-width:0 0 0 4px;
}
.stage-spot > div {
	border:solid 1px hsl(120,50.7%,82.1%);
	background:hsl(120,50.7%,98.1%);
}
.stage-spot > div img {
	box-shadow:2px 2px hsla(219.1,100%,24%,0.16);
}
.trivia h2 {
	background:hsl(268.8,60%,85.6%);
	color:hsl(268.8,65%,32.6%);
	text-shadow:1px 1px hsl(219.1,82.3%,99%);
	border:solid 1px hsl(268.8,60%,40.6%);
	border-width:0 0 0 4px;
}
.trivia > div {
	border:solid 1px hsl(268.8,60%,85.6%);
	background:hsl(268.8,60%,98.6%);
	padding:0.5em 0.25em;
	display:flex;
	flex-flow:row wrap;
}
.trivia > div ul {
	margin:0;
	flex:50%;
	min-width:30ch;
}
.trivia > div ul li {
	margin:0 0.25em;
	list-style-position:inside;
}
.flex-right {
	display:flex;
	flex:35%;
	flex-flow:row wrap;
	align-content:flex-start;
	min-width:240px;
}

.news h2 {
	background:hsl(217.5,16.3%,85.8%);
	color:hsl(219.1,82.3%,99%);
	text-shadow:1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
	border:solid 1px hsl(219.1,52.3%,70.5%);
	border-width:0 4px;
	border-radius:0.5em 0.5em 0 0;
}
.news > div {
	background:hsl(217.5,40.3%,95.8%);
	border:solid 4px hsl(219.1,52.3%,70.5%);
	border-width:0 4px;
	border-radius:0 0 0.5em 0.5em;
}
.community h2, .community > div {
	border-color:hsl(159.1,52.3%,58.5%);
}
.community > div ul {
	list-style-type:none;
	list-style-image:none;
	margin: 0;
}
.community > div li {
	margin-bottom:0.25em;
}
.community > div ul img {
	margin-right:0.25em;
	vertical-align:top;
}
.community > div > ul li div {
	display:flex;
}
.community > div > ul li div > div {
	flex:50%
}
.navigation h2, .navigation > div {
	border-color:hsl(6.1,52.3%,62.5%);
}



/*	----------------
	6.2 - Characters
	----------------  */
.chara {
	display:flex;
	flex-flow:row wrap;
	margin:0 -0.5em;
}
.chara > div {
	overflow:hidden;
	flex:45%;
	min-width:275px;
	margin:0 0.5em;
	position:relative;
}
.chara div:last-of-type { 
	position: absolute;
	top: 0;
	left: 0;
	clip-path: polygon(25px 16px, 134px 25px, 125px 134px, 16px 125px);
	height: 150px;
	width: 150px; z-index: -1;
}




/* ----------------
   6.3 - Story Mode
   ----------------  */
.em-img img {
	height:1.6em;
	width:1.6em;
	vertical-align:bottom;
}



/*	-----------
	6.4 - Music
	-----------  */
.music-list {
	counter-reset:music;
	display:flex;
	flex-flow:row wrap;
	margin:0 -0.25em;
}
.music-list > ul {
	margin:0 0.25em;
	padding:0;
	list-style-type:none;
	list-style-image:none;
	flex:100%;
}
.music-list > ul > li {
	counter-increment:music;
	padding:0.5em;
	margin:0;
	overflow:hidden;
}
.music-list > ul > li:nth-of-type(2n+1) {
	background-color:#e7e7fa;
}
.music-list > ul > li::before {
	content:counter(music) ". ";
	font-weight:bold;
}
.music-list .blank {
	counter-increment:music -1;
	display:none;
}
.music-list > ul span:first-of-type {
	font-weight:bold;
}
.music-list > ul span:nth-of-type(2) {
	font-size:90%;
	font-style:italic;
}
.music-list > ul span:nth-of-type(3) {
	float:right;
	font-size:90%;
	margin-top:1px;
}
.music-list div:first-of-type {
	display:inline-block;
}
.music-list div:nth-of-type(2) {
	float:right;
	font-size:90%;
	padding:0 0.5em;
}
.music-list div:nth-of-type(2)::before {
	height: 10px;
	width: 10px;
	background-color: hsl(219.1,82.3%,64.5%);
	content: "";
	display: inline-block;
	border-radius: 100%;
	margin-right: 0.5ch;
}
.music-list div:nth-of-type(3) {
	clear:both;
}
.music-list hr {
	clear:both;
}

/* unlockable story mode songs flex */
.story {
	flex: 45% !important;
	margin-top: calc(0.5em - 4px) !important;
	min-width: 300px;
}
.story > div {
	color:hsl(219.1,82.3%,99%);
	padding:0 0.5em;
	position:relative;
	top:4px;
}
.ittle > div { background-color:#4F9B68; }
.ittle li:first-of-type { border-top:solid 4px #4F9B68; }
.ittle li:last-of-type { border-bottom:solid 4px #4F9B68; }
.ruby > div { background-color:#BA3F15; }
.ruby li:first-of-type { border-top:solid 4px #BA3F15; }
.ruby li:last-of-type { border-bottom:solid 4px #BA3F15; }
.jenny > div { background-color:#D37D47; }
.jenny li:first-of-type { border-top:solid 4px #D37D47; }
.jenny li:last-of-type { border-bottom:solid 4px #D37D47; }
.fish > div { background-color:#7EBBC6; }
.fish li:first-of-type { border-top:solid 4px #7EBBC6; }
.fish li:last-of-type { border-bottom:solid 4px #7EBBC6; }
.rem > div { background-color:#C6A11E; }
.rem li:first-of-type { border-top:solid 4px #C6A11E; }
.rem li:last-of-type { border-bottom:solid 4px #C6A11E; }
.bcm > div { background-color:#BB956C; }
.bcm li:first-of-type { border-top:solid 4px #BB956C; }
.bcm li:last-of-type { border-bottom:solid 4px #BB956C; }
.goe > div { background-color:#E76473; }
.goe li:first-of-type { border-top:solid 4px #E76473; }
.goe li:last-of-type { border-bottom:solid 4px #E76473; }
.asha > div { background-color:#732F86; }
.asha li:first-of-type { border-top:solid 4px #732F86; }
.asha li:last-of-type { border-bottom:solid 4px #732F86; }
.mode {
	margin-bottom:1em !important;
}
.mode > div {
	margin-top: calc(0.5em - 4px);
	padding:0 0.5em;
	background-color: hsl(219.1,76.3%,32.25%);
	color:hsl(219.1,82.3%,99%);
	position:relative;
	top:4px;
}
.mode li:first-of-type { border-top:solid 4px hsl(219.1,76.3%,32.25%); }
.mode li:last-of-type { border-bottom:solid 4px hsl(219.1,76.3%,32.25%); }
.ost table {
	counter-reset:ost;
	border-spacing:0;
	text-align:left;
}
.ost tr:first-child {
	background-color:#e0e0fe;
}
.ost tr th:first-child, .ost tr td:first-child {
	width:2em;
	text-align:right;
	padding:0 0.8em;
}
.ost tr th:nth-child(2) {
	width:60%;
}
.ost tr th:nth-child(3) {
	width:40%;
}
.ost tr th:last-child, .ost tr td:last-child {
	width:4em;
	text-align:right;
	padding:0 0.8em;
}
.ost tr:nth-child(2n+3) {
	background-color:#e7e7fa;
}
.ost tr td:first-child::after {
	content:counter(ost) ".";
	counter-increment:ost;
	float:right;
}
.ost tr td:nth-child(2)::before, .ost tr td:nth-child(2)::after {
	content:"\0022";
}
.ost-info {
	background-color:#f4f4fe;
	border:solid 1px hsl(219.1,82.3%,80.5%);
	width:290px;
	float:right;
	font-size:90%;
	margin:0.5em 0 0.5em 1em;
	border-spacing:4px;
	border-collapse:initial;
}
.ost-info th {
	background-color:hsl(219.1,82.3%,80.5%);
	padding:0.1em 0;
	font-size:110%;
}
.ost-info td {
	padding:0;
	vertical-align:top;
}
.ost-info tr:nth-child(2) {
	text-align:center;
}
@media screen and (max-width: 600px) {
	.ost-info {
		width: 100%;
		display: table;
		float: none;
		margin: 0.5em auto;
	}
}



/*	---------------------
	6.5 - Version history
	---------------------  */
@media (max-width:500px) {
.version-history .wikitable tr { display:flex; flex-flow:row wrap; }
.version-history .wikitable { border-top-width:1px; }
.version-history .wikitable :where(td,th):first-of-type { flex:40%; border-width:0px 1px 0 0; }
.version-history .wikitable :where(td,th):nth-of-type(2n) { flex:40%; border-width:0px 0 0 0; }
.version-history .wikitable :where(td,th):nth-of-type(3n) { flex:100%; border-width:1px 0 1px; }
}


/*  --------------------------------------------------------------------------
	7 - Templates															%%
	--------------------------------------------------------------------------  */

/*	--------------------------
	7.1 - Character navigation
	--------------------------  */
.chara-nav {
	list-style:none;
	margin:1em auto 0 !important;
	display:table;
	letter-spacing:-0.05em;
	text-align:center;
	padding:0;
}
.chara-nav li {
	display:inline-block;
	vertical-align:top;
	margin-bottom:0.5em;
}
.chara-nav div:first-child {
	overflow:hidden;
	box-shadow:2px 2px 2px rgba(0,0,0,0.33),inset 1px 1px 1px rgba(0,0,0,0.33)
}
.chara-nav div:first-child img:hover {
	background-color:hsl(219.1,82.3%,64.5%);
}
.chara-nav div:first-child img:active {
	background-color:hsl(219.1,76.3%,32.25%);
}



/*	-----------------------
	7.2 - Character infobox
	-----------------------  */
@media screen and (max-width: 500px) {
	.charbox {
		float:none !important;
		margin:2em auto 1em !important;
		min-width:75%;
		}
}



/*	-----------------
	7.3 - Outfit grid
	-----------------  */
.outfit-grid {
	display:grid;
	grid-template-columns:repeat(auto-fit, 104px);
	list-style:none;
	padding:0;
	margin:1em 0 0 0 !important;
	position:relative;
	left:1px;
}
.outfit-grid li:first-child {
	border-width:1px;
	background-color:var(--wiki-gray-d);
	text-align:center;
	font-weight:bold;
	padding:0.2em 0.4em;
	grid-column:1 / -1
}
.outfit-grid li {
	background-color:var(--wiki-gray-l);
	border:solid 1px var(--wiki-border);
	border-width:0 1px 1px;
	margin:0 0 0 -1px;
}
.outfit-grid li div { padding:2px; }
.outfit-grid li div:nth-child(2) { border-top:solid 1px var(--wiki-border); }

.total-6 { max-width:630px; }
.total-7 { max-width:731px; }
.total-8 { max-width:832px; }
.total-9 { max-width:933px; }
.total-10 { max-width:1045px; }

@media screen and (max-width: 960px) {
	.outfit-grid {
		justify-content:center;
		margin:1em auto 0 !important;
	}
}



/*	-----------------
	7.4 - Stage graph
	----------------- */
@media screen and (max-width: 500px) {
	.stagetable {
		margin:1em auto !important; width:max-content !important;
		}	
} 
@keyframes ruins-plat {
  0% { left:31.25% }
  100% { left:68.75% }
}
@keyframes tower-rp {
	0% { margin-top:6% }
	20% { margin-top:6% }
	28.33% { margin-top:0 }
	53.33% { margin-top: 0 }
	61.67% { margin-top:6% }
	100% { margin-top:6% }
}
@keyframes tower-lp {
	0% { margin-top:6% }
	53.33% { margin-top:6% }
	61.67% { margin-top: 0 }
	86.67% { margin-top: 0 }
	95% { margin-top:6% }
}
@keyframes timer20 {
	0% {margin-top:0}
	5% {margin-top:-1em}
	10% {margin-top:-2em}
	15% {margin-top:-3em}
	20% {margin-top:-4em}
	25% {margin-top:-5em}
	30% {margin-top:-6em}
	35% {margin-top:-7em}
	40% {margin-top:-8em}
	45% {margin-top:-9em}
	50% {margin-top:-10em}
	55% {margin-top:-11em}
	60% {margin-top:-12em}
	65% {margin-top:-13em}
	70% {margin-top:-14em}
	75% {margin-top:-15em}
	80% {margin-top:-16em}
	85% {margin-top:-17em}
	90% {margin-top:-18em}
	95% {margin-top:-19em}
	100% {margin-top:-20em}
} 



/*	------------------------
	7.5 - Version navigation
	------------------------  */
.version-infobox {
	float: right;
	width: 300px;
	margin: 0 0 0.5em 0.5em;
	text-align: center;
}
.version-infobox-wrap {
	display: flex;
	flex-flow: row wrap;
	gap: 1px;
	background-color: var(--wiki-border);
	border: solid 1px var(--wiki-border);
}
.version-infobox-header {
	font-weight: bold;
}
.version-infobox-prev, .version-infobox-current, .version-infobox-next {
	flex: 30%;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-content: center;
	background-color: var(--wiki-gray-l);
	padding: 0.25rem 0;
}
.version-infobox-prev a::before {
  content: "← ";
}
.version-infobox-current {
	background-color: var(--wiki-gray-d);
}
.version-infobox-next a::after {
  content: " →";
}
.version-infobox-date {
	flex: 100%;
	font-size: 80%;
	font-style:italic;
}
.version-infobox-link {
	flex: 100%;
	background-color: var(--wiki-gray-l);
	padding-bottom: 1px;
	font-size: 95%;
}
.version-infobox table {
	display: table;
	position: relative;
	width: 100%;
	padding: 0 0.25rem;
}
.version-infobox .mw-collapsible-toggle {
	position: absolute;
	right: 0.25rem;
}
.client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child::before  {
	position: absolute;
	right: 0.4rem;
	font-weight: normal;
}
.version-infobox-timeline {
	display: flex;
	justify-content: space-between;
	background-image: linear-gradient(to bottom,var(--wiki-gray-d) -5%, var(--wiki-gray-l) 5%, var(--wiki-gray-l) 95%, var(--wiki-gray-d) 105%);
	border: solid 1px var(--wiki-border);
	border-width: 1px 0;
	padding: 0 0.25rem;
	max-height: calc(1.6em * 10 + .3em + (0.1em * 10));
	scrollbar-width: thin;
	overflow-y: scroll;
	text-align: left;
}
.version-infobox-timeline ul {
	list-style: none;
	margin-left: 0;
}
@media (max-width:500px) {
	.version-infobox {
		width: 100%;
		margin: 0 0 1em;
	}
}



/*	-----------
	7.6 - Other
	-----------  */
	
/* Changelog template style */
.changelog {
	max-height:300px;
	overflow-y:scroll;
	overflow-x:auto;
	padding:0 4px;
	margin:4px 0;
	border:1px solid #a2a9b1;
	box-sizing:border-box;
	background-color:#f1f6fc;
}

/* Wrapper for moveset templates */
.moveset-wrap {
	max-width:120ch;
}

/* stage navigation template */
.navbox-inner { display:table; }
@media (max-width:500px) {
	.StageNav .navbox-group {
		display: block;
		width: unset !important;
		text-align: center !important;
	}
	.StageNav .navbox-list {
		display: block;
	}
}


/* explain template hover for mobile */
@media screen and (max-width: 960px) {
	.explain {
		position:relative;
	}
	.explain:hover .hover {
		display:block !important;
	}
	.hover {
		position:absolute;
		top:-1em;
		left:1em;
		font-size:80%;
		background-color:var(--ludo-blue-l);
		box-shadow:2px 2px var(--shade);
	}
}

.hover-text:hover {
	box-shadow:0 0 4px hsl(219.1,100%,50%) !important;
}
.hover-text:hover div {
	display:inline !important;
}

/* Explain text */
.explain[title] {
	text-decoration:none;
	border-bottom:1px dotted;
}

/* Explain text for character pages */
.explain[title="armor frames"] {
  color: green;
  font-weight: bold;
}
.explain[title="intangibility frames"] {
  color: blue;
  font-weight: bold;
}
.explain[title="landing lag frames"] {
  color: slateblue;
  font-weight: bold;
}
.explain[title="counter frames"] {
  color: crimson;
  font-weight: bold;
}

/*  --------------------------------------------------------------------------
	8 - Wiki pages															%%
	--------------------------------------------------------------------------  */

/*  --------------------
	8.1 - Recent changes
	--------------------  */
@media (max-width:500px) {
	/* 'View new changes' link */
	.mw-rcfilters-ui-filterWrapperWidget-showNewChanges {
		text-align:center;
		margin:0;
	}
	.mw-rcfilters-ui-filterWrapperWidget-showNewChanges .oo-ui-labelElement-label {
		white-space:pre-line;
	}
	
	/* loading spinner */
	.client-js .mw-rcfilters-spinner {
		margin-left:0;
		transform:translateX(-50%);
	}
	.client-js .mw-rcfilters-spinner .mw-rcfilters-spinner-bounce, .client-js .mw-rcfilters-spinner::before, .client-js .mw-rcfilters-spinner::after {
		width:16px;
		height:16px;
		background-color:var(--ludo-blue);
		box-shadow:4px 4px var(--ludo-orange);
	}
/* Recent changes */
	.mw-rcfilters-ui-filterTagMultiselectWidget-views {
		display:flex;
		flex-flow:column-reverse;
	}
	.mw-rcfilters-ui-filterTagMultiselectWidget-views-select, .mw-rcfilters-ui-filterTagMultiselectWidget-views-input {
		display:block;
	}
	.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
		border-width:1px 1px 0;
	}
	.mw-rcfilters-ui-menuSelectWidget {
		max-width: calc(100% - 2.2em);
		font-size: 90%;
	}
	.mw-rcfilters-ui-menuSelectWidget-body {
		width: unset !important;
	}
	.mw-rcfilters-ui-itemMenuOptionWidget-itemCheckbox {
		width:100%;
	}
	.oo-ui-inputWidget-input::placeholder {
		letter-spacing:-0.05em;
		text-overflow:ellipsis;
	}
	.mw-rcfilters-ui-itemMenuOptionWidget-label-title, .mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
		display:inline;
	}
	.mw-rcfilters-ui-itemMenuOptionWidget-label-desc::before {
		content:" - ";
	}
}


 /* Recent changes collapsible legend */
.mw-changeslist-legend, .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
	background-color:var(--changeslist-legend-bg);
	border:solid 1px var(--changeslist-legend-border);
}
@media (max-width:500px) {
	.mw-changeslist-legend .mw-collapsible-toggle {
		width: 100%;
		position: absolute;
		right: 0;
		top:0;
		text-align: right;
		padding: 0.5em;
		box-sizing: border-box;
	}
	.mw-changeslist-legend {
		float:unset;
		margin-left:0;
	}
	.mw-changeslist-legend .mw-collapsible-content {
		margin-top: 0.5em;
		padding-top: 0.5em;
		border-top: solid 1px var(--changeslist-legend-border);
	}
	
	

	.mw-rcfilters-ui-filterWrapperWidget-bottom, .mw-rcfilters-ui-filterTagMultiselectWidget {
		margin-top:0.5em;
	}
	.mw-rcfilters-collapsed .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-tagMultiselectWidget-outlined {
		width:inherit;
	}
	.rcfilters-head.mw-rcfilters-head {
		min-height:unset !important;
	}
	.oo-ui-widget.oo-ui-widget-enabled.oo-ui-labelElement.mw-rcfilters-ui-filterMenuHeaderWidget {
		overflow-x:auto;
	}
	.oo-ui-optionWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
		font-size:14px;
	}
	.mw-rcfilters-ui-savedLinksListItemWidget-menu {
		width:auto !important;
		max-width:unset !important;
	}
	.mw-rcfilters-ui-filterMenuHeaderWidget-title {
		padding:0.75em 0.5em;
		white-space:nowrap;
	}

	.mw-rcfilters-ui-filterWrapperWidget-bottom {
		gap:0.5em;
	}
	.mw-rcfilters-ui-liveUpdateButtonWidget, .mw-rcfilters-ui-changesLimitAndDateButtonWidget {
		flex:40%;
	}
	.mw-rcfilters-ui-filterWrapperWidget-bottom .oo-ui-buttonElement-button, .mw-rcfilters-ui-filterWrapperWidget-bottom .oo-ui-popupButtonWidget{
		display:block;
	}
	.mw-rcfilters-ui-liveUpdateButtonWidget .oo-ui-buttonElement-button {
		padding: 5px 5px 5px 30px !important;
	}
	.mw-rcfilters-ui-changesLimitAndDateButtonWidget .oo-ui-buttonElement-button {
		padding:5px 22px 5px 30px !important;
	}
	.mw-rcfilters-ui-filterWrapperWidget-bottom .oo-ui-iconElement-icon {
		left:5px !important;
	}
	.mw-rcfilters-ui-changesLimitAndDateButtonWidget .oo-ui-indicator-down {
		right:5px !important;
	}


/* Recent changes list stuff */
	.mw-changeslist table.mw-enhanced-rc {
		margin-left:0 !important;
		margin-bottom:0.5em;
		padding-bottom:0.5em;
		display:block;
		overflow-y:hidden;
		line-height:1.2;
		border-bottom:dashed 1px var(--ludo-blue-d);
	}
	
	.mw-changeslist h4 {
		border-bottom:solid 1px var(--black);
		margin-bottom:0.5em;
	}
	
	.mw-changeslist tbody, .mw-changeslist tr, td.mw-enhanced-rc, .mw-changeslist-line-inner {
		display:block;
	}
/*	td.mw-enhanced-rc, .mw-changeslist-line-inner-articleLink, .mw-changeslist-line-inner-historyLink, .mw-changeslist-line-inner-userLink, .mw-changeslist-line-inner-userTalkLink, .comment.comment--without-parentheses {
		float:left;
	}*/
	
	.mw-changeslist-line-inner-separatorAfterLinks, .mw-changeslist-separator {
		display:none;
	}
	/*.mw-changeslist-line-inner-characterDiff, */.mw-changeslist-line-inner-rollback, .mw-rollback-link, .mw-enhanced-rc td:nth-of-type(4) {
		float:right;
	}
	.mw-changeslist-line-inner-separatorAftercharacterDiff {
		display:block;
		width:0;
		height:0;
		opacity:0;
	}
/*
	.mw-changeslist-links::before {
		content:" ~ ";
	}
	.mw-changeslist-links::after {
		display:none;
	}
*/
	.mw-changeslist-links > span:not(:first-child)::before {
		content:",";
		margin:0 0.4ch 0 -0.4ch;
	}
	.mw-changeslist-line-inner-historyLink, .mw-changeslist-line-inner-logLink {
		margin-right:0.4ch;
	}
	.mw-changeslist-line-inner-historyLink span:last-child::before {
		margin-left:0;
	}
	.mw-usertoollinks::before {
		content:"—";
		margin-right:0.4ch;
	}
	.mw-usertoollinks {
		margin-right:0.5ch;
	}
	.mw-usertoollinks::after {
		display:none;
	}
/*
	.mw-changeslist-line-inner-historyLink {
		margin:0 0.5ch;
	}
*/
	.mw-enhanced-rc td:nth-of-type(4) {
		max-width:10ch;
		min-width:5ch;
		overflow:hidden;
	}
/*
	table.mw-enhanced-rc td:first-child, table.mw-enhanced-rc td:nth-of-type(3) {
		display:none;
	}
*/
	table.mw-enhanced-rc td:nth-of-type(2) {
		float:left;
	}
	.mw-rcfilters-ui-highlights {
		position:absolute;
		left:4px;
		transform:translateY(8px);
	}
/*
	.mw-changeslist-line-prefix {
		display:none;
	}
*/
	.mw-enhancedchanges-arrow-space {
		width:0;
	}
	.mw-icon-arrow-collapsed, .mw-collapsible-arrow.mw-collapsible-toggle-collapsed, .mw-icon-arrow-expanded, .mw-collapsible-arrow.mw-collapsible-toggle-expanded {
		background-position:left center;
		width:15px;
	}
	/* fix "templates used on this page" width */
	.mw-templatesUsedExplanation {
		width:auto;
	}
/*
	.mw-changeslist-line-inner-userLink {
		clear:right;
	}
*/
	.mw-changeslist-line-inner-userLink::before {
		content:"";
		display:block;
	}
	span.changedby {
		white-space:pre;
	}
	.mw-enhanced-rc-nested .mw-userlink::before {
		content:"";
		display:block;
	}
	table.mw-enhanced-rc td.mw-enhanced-rc-nested {
		display:block;
		box-sizing:border-box;
		padding:0 0 0.5em 1em;
	}
	.mw-enhanced-rc-nested .mw-rollback-link {
		float:unset;
		display:block;
	}
	table.mw-enhanced-rc tr:nth-child(2) {
		border-top:solid 1px var(--shade);
		padding-top:0.25em;
		margin-top:0.5em;
	}
	.mw-changeslist-log-upload .mw-enhanced-rc-time {
		position:absolute;
		right:0;
	}
	.mw-changeslist-log-upload .mw-changeslist-log-upload {
		padding-right:6ch;
	}
}



/*	-----------
	8.2 - Other
	-----------  */

/* File pages */
#file img {
	max-width:100%;
	height:auto;
}
.mw_metadata, .quote {
	display:table;
}
.mw-metadata-show-hide-extended td {
	padding:0;
	background-color:var(--wiki-gray-d);
}
.mw-metadata-show-hide-extended a {
	display:block;
	padding:0.1em 5px;
	text-align:center;
}
.mw-metadata-show-hide-extended td, .mw_metadata td, .mw_metadata th, #filetoc {
    border-color:var(--wiki-border);
}
.mw_metadata th, #filetoc {
background-color:var(--wiki-gray-l);
}
.mw-metadata-collapsible td {
background-color:var(--wiki-gray-w);
}
@media screen and (max-width: 800px) {
	.messagebox {
		width:100% !important;
	}
	.mw_metadata {
		margin-left:0;
		width:min(400px, 100%);
	}	
}

/* Editing preview */
#mw-previewheader {
	border-bottom:none;
	color:var(--ludo-blue-d);
}
#mw-previewheader::after {
	content:"↴";
}
.warningbox {
	background-color:var(--white-d);
	border-color:var(--ludo-blue);
	border-width:1px 0;
	margin:0 -1.14em;
}
@media screen and (max-width: 960px) {
	.warningbox {
		margin:0 -0.91em;
	}
}

/* Edit preview footer */
.mw-limitReportExplanation {
	width:unset;
}
@media (max-width:600px) {
	.mw-editfooter-list {
		margin:0;
	}
}

/* Put 'templates used on this page' into a mode that's easier to view */
.templatesUsed .mw-editfooter-list {
	overflow-y:auto;
	max-height:18em;
	border:1px solid var(--wiki-border);
	background-color:var(--wiki-gray-l);
	padding:0.5em 0.5em 0.5em 1.5em;
	margin:0 0 1em;
}

/* "All pages" - redirect list hollow icon */
.allpagesredirect {
	list-style-type:circle;
	list-style-image:none;
}
.allpagesredirect::after {
	content:" — redirect";
	font-size:90%;
	color:rgba(10,10,40,0.65);
}

/* Fix search descriptions overflowing. */
.searchresult {
	word-wrap:anywhere;
}

@media (max-width:500px) {
/* 'Related changes' top widget dropdown */
	.mw-rcfilters-ui-filterWrapperWidget-top .mw-rcfilters-ui-cell {
		display: block;
	}
	.oo-ui-dropdownWidget {
		display: block;
		width: unset;
	}
	.mw-rcfilters-ui-rclTargetPageWidget {
		min-width: unset;
		margin-bottom: 0.5em;
	}
	.mw-rcfilters-ui-rclTopSectionWidget-savedLinks {
		text-align: right;
	}
	.mw-widget-titleWidget-menu-withDescriptions {
		max-height:16em;
	}

/* 'Difference between revisions' table fix & reduce spacing */
	.diff {
		display:table;
		border-spacing:1px;
	}
	.diff col.diff-marker {
		width:0;
	}
	.diff td.diff-marker {
		padding:0;
	}
	
/* 'Upload file' page */
	fieldset {
		border:solid 1px var(--ludo-blue);
		padding:0 0.5em 0.5em;
	}
	#mw-upload-form fieldset:first-child {
		display:flex;
		flex-flow:wrap;
	}
	#mw-upload-thumbnail {
		order:1;
	}
	#mw-upload-form .tright {
		max-width:unset;
	}
		#mw-upload-thumbnail {
		float: unset;
		margin: 0 0 1em;
	}
	.mw-htmlform-field-UploadSourceField .mw-label, .mw-htmlform-field-UploadSourceField .mw-input {
		display: block;
	}
	.mw-htmlform-field-UploadSourceField .mw-input {
		max-width: calc(100vw - 2.6rem - 6px);
		overflow-x: scroll;
		padding-bottom: 0.5em;
	}
	.mw-htmlform-field-HTMLInfoField .mw-label {
		display: none;
	}
	/* File description */
	#mw-htmlform-description td:not(#mw-license-preview td) {
		display:block;
	}
	 #wpDestFile, #wpUploadDescription, #wpLicense {
	 	width:100%;
	 	box-sizing:border-box;
	}

/* log in page */
	#userloginForm {
		max-width:290px;
		margin:0 auto !important;
	}
	.mw-ui-vform {
		width:unset;
	}
	.mw-ui-vform-field {
		max-width:290px;
	}
	#mw-createaccount-cta {
		width:unset;
	}

/* create account page */
	.mw-ui-container #userloginForm, .mw-createacct-benefits-container {
		float:unset;
	}
	.mw-createacct-benefits-container h2 {
		font-size:120%;
		text-align:center;
	}
	.mw-createacct-benefits-list .mw-number-text h3 {
		font-size:120%;
		color:var(--font-color-primary)
	}
	.mw-createacct-benefits-list {
		display:flex;
		flex-flow:row wrap;
	}
	.mw-createacct-benefits-list div {
		flex:30%;
	}
	.mw-createacct-benefits-list .mw-number-text {
		color: var(--ludo-blue-l);
		padding: 200px 0 0;
		margin-top: -100px;
		background-position-x: center
	}
}




/*  --------------------------------------------------------------------------
	9 - Imported from Wikipedia												%%
	--------------------------------------------------------------------------  */
	
/* BEGIN https://en.wikipedia.org/wiki/MediaWiki:Common.css */

/* Reset italic styling set by user agent */
cite, dfn {
	font-style: inherit;
}

/* Straight quote marks for <q> */
q {
	quotes: '"' '"' "'" "'";
}

/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
	overflow: hidden;
	margin: 1em 0;
	padding: 0 40px;
}

/* Consistent size for <small>, <sub> and <sup> */
small {
	font-size: 85%;
}
.mw-body-content sub,
.mw-body-content sup,
span.reference /* for Parsoid */ {
	font-size: 80%;
}

/* Same spacing for indented and unindented paragraphs on talk pages */
.ns-talk .mw-body-content dd {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

/* Main page fixes */
#interwiki-completelist {
	font-weight: bold;
}

/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message,
.client-js .NavFrame.collapsed .NavContent,
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child) {
	display: none;
}

/* Adds padding above Watchlist announcements where new recentchanges/watchlist filters are enabled */
.mw-rcfilters-enabled .mw-specialpage-summary {
	margin-top: 1em;
}

/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
	display: none;
}

/* Highlight linked elements (such as clicked references) in blue */
body.action-info .mw-body-content :target,
.citation:target {
	background-color: #def;  /* Fallback */
	background-color: rgba(0, 127, 255, 0.133);
}

/* Styling for citations. Breaks long urls, etc., rather than overflowing box */
.citation {
	word-wrap: break-word;
}

/* For linked citation numbers and document IDs, where the number need not be shown
   on a screen or a handheld, but should be included in the printed version */
@media screen, handheld {
	.citation .printonly {
		display: none;
	}
}

/* Make the list of references smaller */
/* Keep in sync with Template:Refbegin/styles.css */
ol.references,
div.reflist {
	font-size: 90%;            /* Default font-size */
	margin-bottom: 0.5em;
}
div.reflist ol.references {
	font-size: 100%;           /* Reset font-size when nested in div.reflist */
	margin-bottom: 0;          /* Avoid double margin when nested in div.reflist */
	list-style-type: inherit;  /* Enable custom list style types */
}

/* Allow hidden ref errors to be shown by user CSS */
/* TemplateStyles */
span.brokenref {
	display: none;
}

/* Reset top margin for lists embedded in columns */
div.columns {
	margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
	margin-top: 0;
}

/* Avoid elements breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid-column;
}

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 8 (2016-05-21)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	margin: 0;
	display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
	display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
	display: none;
}
/* Generate interpuncts */
.hlist dt:after {
	content: ": ";
}
/**
 * Note hlist style usage differd in
 * the Minerva skin. Remember .hlist is a class defined in core as well! Please check Minerva desktop (and Minerva.css) when changing
 * See https://phabricator.wikimedia.org/T213239
 */
.hlist dd:after,
.hlist li:after {
	content: " · ";
	font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}
.hlist ol > li {
	counter-increment: listitem;
}
.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}

/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0;
}
.plainlist ol li,
.plainlist ul li {
	margin-bottom: 0;
}

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
	margin: 1em auto 0;       /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
	margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
	margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
	width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;      /* Title, group and above/below styles */
	line-height: 1.5em;
	text-align: center;
}
th.navbox-group {             /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}
.navbox,
.navbox-subgroup {
	background-color: #fdfdfd; /* Background color */
}
.navbox-list {
	line-height: 1.5em;
	border-color: #fdfdfd;    /* Must match background color */
}
/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
	border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
	background-color: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background-color: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background-color: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
	background-color: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
	background-color: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}

/* Default styling for Navbar template */
.navbar {
	display: inline;
	font-size: 88%;
	font-weight: normal;
}
.navbar ul {
	display: inline-block;
	white-space: nowrap;
}
.mw-body-content .navbar ul {
	line-height: inherit;
}
.navbar li {
	word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
	font-variant: small-caps;
	border-bottom: none;
	text-decoration: none;
	cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
	font-size: 100%;
}
.navbox .navbar {
	display: block;
	font-size: 100%;
}
.navbox-title .navbar {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
	/* @noflip */
	margin-right: 0.5em;
}

/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
	font-weight: normal;
	/* @noflip */
	text-align: right;
	padding-right: 0.2em;
	padding-left: 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
}

/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
}
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}
.infobox td,
.infobox th {
	vertical-align: top;
	/* @noflip */
	text-align: left;
}
.infobox.bordered {
	border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0;
}

.infobox.sisterproject {
	width: 20em;
	font-size: 90%;
}

.infobox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
	border: 1px solid #c0c090;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #a2a9b1;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
	border-collapse: collapse;
	line-height: 1.2em;
	font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
	border: 0;
	padding: 0;
}

/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
	font-weight: normal;
	/* @noflip */
	text-align: left;
}

/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	/* @noflip */
	text-align: left;
}
/* ...unless they also use the hlist class */
.toc.hlist ul,
#toc.hlist ul,
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
	text-align: inherit;
}

/* Icons for medialist templates [[Template:Listen]],
   [[Template:Multi-listen_start]], [[Template:Video]],
   [[Template:Multi-video_start]] */
/* TemplateStyles */
div.listenlist {
	background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
	background-size: 30px;
	padding-left: 40px;
}

/* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
table.mw-hiero-table td {
	vertical-align: middle;
}

/* Change the external link icon to an Adobe icon for all PDF files */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
	background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right;
	/* @noflip */
	padding-right: 18px;
}

/* Messagebox templates */
.messagebox {
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	width: 80%;
	margin: 0 auto 1em auto;
	padding: .2em;
}
.messagebox.merge {
	border: 1px solid #c0b8cc;
	background-color: #f0e5ff;
	text-align: center;
}
.messagebox.cleanup {
	border: 1px solid #9f9fff;
	background-color: #efefff;
	text-align: center;
}
.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	width: 100%;
	margin: 2px 0;
	padding: 2px;
}
.messagebox.small {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: right;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em;
}
.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: right;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em;
	background-color: #f8eaba;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;     /* 0.9em left/right */
	width: 100%;               /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                /* The left image cell */
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}
td.mbox-imageright {           /* The right image cell */
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
	text-align: center;
}
td.mbox-empty-cell {           /* An empty narrow cell */
	border: none;
	padding: 0;
	width: 1px;
}

/* Article message box styles */
table.ambox {
	margin: 0 10%;                  /* 10% = Will not overlap with other elements */
	border: 1px solid #a2a9b1;
	/* @noflip */
	border-left: 10px solid #36c;  /* Default "notice" blue */
	background-color: #fbfbfb;
	box-sizing: border-box;
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
	margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text {            /* The message body cell(s) */
	padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
	/* @noflip */
	padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
	/* @noflip */
	padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
	/* @noflip */
	border-left: 10px solid #36c;       /* Blue */
}
table.ambox-speedy {
	/* @noflip */
	border-left: 10px solid #b32424;    /* Red */
	background-color: #fee7e6;          /* Pink */
}
table.ambox-delete {
	/* @noflip */
	border-left: 10px solid #b32424;    /* Red */
}
table.ambox-content {
	/* @noflip */
	border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
	/* @noflip */
	border-left: 10px solid #fc3;       /* Yellow */
}
table.ambox-move {
	/* @noflip */
	border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
	/* @noflip */
	border-left: 10px solid #a2a9b1;    /* Gray-gold */
}

/* Image message box styles */
table.imbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 3px solid #36c;    /* Default "notice" blue */
	background-color: #fbfbfb;
	box-sizing: border-box;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
	margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
	display: block;         /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
	margin: 4px;
}

table.imbox-notice {
	border: 3px solid #36c;       /* Blue */
}
table.imbox-speedy {
	border: 3px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}
table.imbox-delete {
	border: 3px solid #b32424;    /* Red */
}
table.imbox-content {
	border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
	border: 3px solid #fc3;       /* Yellow */
}
table.imbox-move {
	border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
	border: 3px solid #a2a9b1;    /* Gray-gold */
}
table.imbox-license {
	border: 3px solid #88a;       /* Dark gray */
	background-color: #f7f8ff;    /* Light gray */
}
table.imbox-featured {
	border: 3px solid #cba135;    /* Brown-gold */
}

/* Category message box styles */
table.cmbox {
	margin: 3px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;
	background-color: #dfe8ff;    /* Default "notice" blue */
	box-sizing: border-box;
}

table.cmbox-notice {
	background-color: #d8e8ff;    /* Blue */
}
table.cmbox-speedy {
	margin-top: 4px;
	margin-bottom: 4px;
	border: 4px solid #b32424;    /* Red */
	background-color: #ffdbdb;    /* Pink */
}
table.cmbox-delete {
	background-color: #ffdbdb;    /* Pink */
}
table.cmbox-content {
	background-color: #ffe7ce;    /* Orange */
}
table.cmbox-style {
	background-color: #fff9db;    /* Yellow */
}
table.cmbox-move {
	background-color: #e4d8ff;    /* Purple */
}
table.cmbox-protection {
	background-color: #efefe1;    /* Gray-gold */
}

/* Other pages message box styles */
table.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;    /* Default "notice" gray */
	background-color: #f8f9fa;
	box-sizing: border-box;
}

table.ombox-notice {
	border: 1px solid #a2a9b1;    /* Gray */
}
table.ombox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}
table.ombox-delete {
	border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
	border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
	border: 1px solid #fc3;       /* Yellow */
}
table.ombox-move {
	border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
	border: 2px solid #a2a9b1;    /* Gray-gold */
}

/* Talk page message box styles */
table.tmbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #c0c090;    /* Default "notice" gray-brown */
	background-color: #f8eaba;
	min-width: 80%;
	box-sizing: border-box;
}
.tmbox.mbox-small {
	min-width: 0;                /* reset the min-width of tmbox above        */
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
	margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
	width: 100%;                 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
	line-height: 1.5em;          /* also "nested", so reset styles that are   */
	font-size: 100%;             /* set in "mbox-small" above.                */
}

table.tmbox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}
table.tmbox-delete {
	border: 2px solid #b32424;    /* Red */
}
table.tmbox-content {
	border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
	border: 2px solid #fc3;       /* Yellow */
}
table.tmbox-move {
	border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
	border: 1px solid #c0c090;    /* Gray-brown */
}

/* Footer and header message box styles */
table.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;     /* Default "system" gray */
	box-sizing: border-box;
}
table.fmbox-system {
	background-color: #f8f9fa;
}
table.fmbox-warning {
	border: 1px solid #bb7070;  /* Dark pink */
	background-color: #ffdbdb;  /* Pink */
}
table.fmbox-editnotice {
	background-color: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning,
div.locked-warning {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background-color: #ffdbdb;
	padding: 0.25em 0.9em;
	box-sizing: border-box;
}

/* These mbox-small classes must be placed after all other
   ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
   they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
	/* @noflip */
	clear: right;
	/* @noflip */
	float: right;
	/* @noflip */
	margin: 4px 0 4px 1em;
	box-sizing: border-box;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}
html body.mediawiki .mbox-small-left {   /* For the "small=left" option. */
	/* @noflip */
	margin: 4px 1em 4px 0;
	box-sizing: border-box;
	overflow: hidden;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}

/* Style for compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
	display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
	border: none;
	border-collapse: collapse;
	background-color: transparent;
	margin: 0 0 0 1.6em !important;
	padding: 0 !important;
	width: auto;
	display: block;
}
body.mediawiki .compact-ambox table.mbox-small-left {
	font-size: 100%;
	width: auto;
	margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
	padding: 0 !important;
	margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
	display: list-item;
	line-height: 1.5em;
	list-style-type: square;
	list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
.skin-vector .compact-ambox table .mbox-text-span {
	list-style-type: disc;
	list-style-image: url(/w/skins/Vector/resources/skins.vector.styles/images/bullet-icon.svg);
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
	display: none;
}

/* Hide (formatting) elements from screen, but not from screenreaders */
.visualhide {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Remove underlines from certain links */
.nounderlines a,
.IPA a:link, .IPA a:visited {
	text-decoration: none !important;
}

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #a2a9b1;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}
div.NavFrame + div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}
div.NavFrame div.NavHead {
	line-height: 1.6em;
	font-weight: bold;
	background-color: #ccf;
	position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
	font-size: 100%;
}
a.NavToggle {
	position: absolute;
	top: 0;
	/* @noflip */
	right: 3px;
	font-weight: normal;
	font-size: 90%;
}

/* Hatnotes and disambiguation notices */
.hatnote {
	font-style: italic;
}
.hatnote i {
	font-style: normal;
}
div.hatnote {
	/* @noflip */
	padding-left: 1.6em;
	margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
	margin-top: -0.5em;
}

/* Allow transcluded pages to display in lists rather than a table. */
.listify td {
	display: list-item;
}
.listify tr {
	display: block;
}
.listify table {
	display: block;
}

/* Geographical coordinates defaults. See [[Template:Coord/link]]
   for how these are used. The classes "geo", "longitude", and
   "latitude" are used by the [[Geo microformat]]. */
/* TemplateStyles */
.geo-default, .geo-dms, .geo-dec {
	display: inline;
}
.geo-nondefault, .geo-multi-punct {
	display: none;
}
.longitude, .latitude {
	white-space: nowrap;
}

/* User block messages */
div.user-block {
	padding: 5px;
	margin-bottom: 0.5em;
	border: 1px solid #a9a9a9;
	background-color: #ffefd5;
}

/* Prevent line breaks in silly places:
   1) Where desired
   2) Links when we don't want them to
   3) Bold "links" to the page itself */
.nowrap,
.nowraplinks a,
.nowraplinks .selflink {
	white-space: nowrap;
}
.nowrap pre {
	white-space: pre;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
	white-space: normal;
}

/* For template documentation */
/* TemplateStyles */
.template-documentation {
	clear: both;
	margin: 1em 0 0 0;
	border: 1px solid #a2a9b1;
	background-color: #ecfcf4;
	padding: 1em;
}

/* Increase the height of the image upload box */
#wpUploadDescription {
	height: 13em;
}

/* Minimum thumb width */
.thumbinner {
	min-width: 100px;
}

/* Prevent floating boxes from overlapping any category listings,
   file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories, #mw-pages, #mw-category-media,
#filehistory, #wikiPreview, #wikiDiff {
	clear: both;
}

/* Selectively hide headers in WikiProject banners */
/* TemplateStyles */
.wpb .wpb-header {
	display: none;
}
.wpbs-inner .wpb .wpb-header {
	display: block;            /* for IE */
}
.wpbs-inner .wpb .wpb-header {
	display: table-row;        /* for real browsers */
}
.wpbs-inner .wpb-outside {
	display: none;             /* hide things that should only display outside shells */
}

/* Styling for Abuse Filter tags */
.mw-tag-markers {
	font-style: italic;
	font-size: 90%;
}

/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]],
   [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
   [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
	display: none;
}

/* Hide the images in editnotices to keep them readable in VE view.
   Long term, editnotices should become a core feature so that they can be designed responsive. */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
	display: none !important;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
	list-style: none none;
}
ul.permissions-errors {
	margin: 0;
}

/* Generic class for Times-based serif, texhtml class for inline math */
.times-serif,
span.texhtml {
	font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
	font-size: 118%;
	line-height: 1;
}
span.texhtml {
	white-space: nowrap;
}
span.texhtml span.texhtml {
	font-size: 100%;
}
span.mwe-math-mathml-inline {
	font-size: 118%;
}

/* Force tabular and lining display for digits and texhtml */
.digits,
.texhtml {
	-moz-font-feature-settings: "lnum", "tnum", "kern" 0;
	-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
	font-feature-settings: "lnum", "tnum", "kern" 0;
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none;
}

/* Make <math display="block"> be left aligned with one space indent for compatibility with style conventions */
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
	margin-left: 1.6em !important;
	margin-top: 0.6em;
	margin-bottom: 0.6em;
}
.mwe-math-mathml-display math {
	display: inline;
}

/* Fix styling of transcluded prefindex tables */
table#mw-prefixindex-list-table,
table#mw-prefixindex-nav-table {
	width: 98%;
}

/* Make it possible to hide checkboxes in <inputbox> */
.inputbox-hidecheckboxes form .inputbox-element,
.inputbox-hidecheckboxes .mw-ui-checkbox {
	display: none !important;
}

/* Work-around for [[phab:T25965]] / [[phab:T100106]] (Kaltura advertisement) */
.k-player .k-attribution {
	visibility: hidden;
}

/* Move 'play' button of video player to bottom left corner */
.PopUpMediaTransform a .play-btn-large {
	margin: 0;
	top: auto;
	right: auto;
	bottom: 0;
	left: 0;
}

/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced {
	display: none;
}

/* Force imgs in galleries to have borders by wrapping them in class=bordered-images */
.bordered-images img {
	border: solid #ddd 1px;
}

/* Gallery styles background changes are restricted to screen view. In printing we should avoid applying backgrounds. */
@media screen {
	/* The backgrounds for galleries. */
	#content .gallerybox div.thumb {
		/* Light gray padding */
		background-color: #f8f9fa;
	}

	/* Put a chequered background behind images, only visible if they have transparency.
	'.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
	.gallerybox .thumb img {
		background: url(/resources/src/mediawiki.action/images/checker.svg) repeat;
	}
	/* But not on articles, user pages, portals or with opt-out. */
	.ns-0 .gallerybox .thumb img,
	.ns-2 .gallerybox .thumb img,
	.ns-100 .gallerybox .thumb img,
	.nochecker .gallerybox .thumb img {
		background-image: none;
	}

}

.ambox {
    background-color: #eeeeee;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}

.ambox-gray {
    border-left-color: #383838;
}

.ambox.ambox-tiny {
    font-size: 90%;
    margin: 2px 0;
    width: auto;
}

.ambox + .ambox {
     margin-top: -2px;
}

.ambox-text {
     padding: 0.25em 0.5em;
}

.ambox-image {
     padding: 2px 0px 2px 0.5em;
     text-align: center;
     width: 60px;
}

.ambox-tiny .ambox-image {
     padding: 2px 0.5em;
     text-align: left;
     width: auto;
}

/* Ambox colors */
.ambox-blue {
     border-left: 10px solid #1e90ff;
}

.ambox-red {
     border-left: 10px solid #b22222;
}

.ambox-orange {
     border-left: 10px solid #f28500;
}

.ambox-yellow {
     border-left: 10px solid #f4c430;
}

.ambox-purple {
     border-left: 10px solid #9932cc;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}

/* Ambox small text */
.amsmalltext {
     font-size: smaller;
     margin-left:0.8em;
     margin-top:0.5em;
}