@import url('https://fonts.googleapis.com/css2?family=Cinzel&display=swap');

/***********/
/* Variables */
/***********/

:root {
    --accent-font: 'Cinzel';

    --main-bg-color: #0E0E0E;
    --main-bg-img: url("https://i.imgur.com/LtGyQCm.jpg");
    --main-accent-color: #A37130;
    --main-font-color: #C1C1C1;

    --content-bg-color: #1D1D1D;
    --content-bg-gradient: rgba(29, 29, 29, 0.7);
    --content-border-color: #292929;

    --main-link-color: #8A6D43;
    --main-link-hover-color: #faa700;

    --button-bg-color: #0E0E0E;
    --button-border-color: #292929;
    --button-font-color: #C1C1C1;

    --pagetitle-gradient: linear-gradient(90deg, rgba(60,74,83,.00), rgba(149,123,80,0.90), rgba(60,74,83,.00)) 1;
    --header-symbol: "\2619";
    --header-border-gradient: linear-gradient(90deg, rgba(149,123,80,0.90), rgba(60,74,83,.00)) 1;

    --table-border-color: #292929;
    --table-alt-bg-color: #292929;

    --toc-border-color: #292929;
    --toc-bg-color: #292929; 

    --mediacat-border-color: #292929;
    --mediacat-bg-color: #292929;

    --notebox-bg-color: rgba(149,123,80,0.05);
    --notebox-alt-bg-color: rgba(33, 171, 205, 0.05);
}

/***********/
/* General */
/***********/

html {box-sizing: border-box;}
*, *::before, *::after {box-sizing: inherit;}
/* Works on Firefox */
* {scrollbar-width: thin; scrollbar-color: var(--main-accent-color) var(--main-bg-color);}
/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {width: 12px;}
*::-webkit-scrollbar-track {background: var(--main-bg-color);}
*::-webkit-scrollbar-thumb {background-color: var(--main-accent-color); border-radius: 20px; border: 3px solid var(--main-bg-color);}

body {padding:0; margin:0; min-height: 100vh;background-image: var(--main-bg-img); background-repeat: no-repeat; background-color: var(--main-bg-color); font-size: 12px; font-family: sans-serif; color: var(--main-font-color);}

#topNavbar{display:flex; justify-content: space-between; width:100%; height:50px; padding: 10px 20px; background-color: var(--main-bg-color);position: fixed; top:0; z-index: 99;}
#topsearch {display:inline-block;}
#topsearch form {font-size: 13px;}
#topsearch .searchbox {border-radius: 20px; border: 1px solid var(--main-link-color); width:200px;padding: 5px; color: var(--main-font-color); background-color: var(--button-bg-color);}
#topsearch .searchbox:focus {outline: none;}
#topsearch .searchbutton {border: 0; font-size: 16px; font-weight:bold; background: transparent; width: 20px; color: var(--main-link-color);}

#contentContainer {display:flex;padding:0; margin:0; min-height: 100vh;margin-top: 50px;}

#sideHide {display:none;}
#hiddenSidebar {width: 0; visibility: hidden; opacity: 0; transition: all 0.5s; background-color: var(--main-bg-color);}
#sideButton { display: inline-block; color: var(--main-link-color); font-size: 16px; }
#sideHide:checked ~ #hiddenSidebar {flex: 0 0 20em; visibility: visible; opacity: 1;}
#sidebarContent {position:fixed; width: 200px; padding-top: 10px;padding-right: 30px; min-height: 0; height: 100vh; overflow-y: scroll; transform: scaleX(-1);}
#sidebarContentFlip {transform: scaleX(-1);}

#pageLogo {text-align:center;margin:150px;}

#mainColumn {flex-grow: 1; padding: 20px 50px;}
#wikiContainer {border-radius: 30px; background: linear-gradient(var(--content-bg-gradient), 20%, var(--content-bg-color)); border-top: 1px solid var(--content-border-color);}
.navTree {padding: 20px 25px;}
.navTree .home {display: inline-block; font-size: 13px; font-family: var(--accent-font); font-weight: bold; border-right: 1px solid var(--main-accent-color); padding-right: 10px; margin-right: 10px; }
#wikitext {overflow: auto; position: relative;z-index: 1; border-left: 1px solid var(--content-border-color); border-bottom: 1px solid var(--content-border-color); padding: 0 24px calc(24px - 4px) 24px; font-size: 14px; line-height: 1.6;}

#pagetitle {overflow: auto; padding: 10px 20px; border-left: 1px solid var(--content-border-color);}
#pagetitle h1 {display:block; margin: 0px; margin-bottom: 30px; font-family: var(--accent-font); font-weight: bold; font-size: 2em; padding-bottom: 2px; border: 2px solid var(--content-border-color); border-left: none; border-top: none; border-right: none; letter-spacing: 3px; text-align: left;}
#pagetitle h1::after {bottom: 0px; display: block; width: 150px; height: 3px; margin-bottom: -4px; content: ''; background-color: var(--main-accent-color);}
#pagetitle .lastEdit {position: relative; top: -25px; text-align: right;font-size: 10px;}

/***********/
/* Sidebar */
/***********/

#sidebarContent ul {list-style-type: none; padding: 0;}
#sidebarContent .sidehead {font-family: var(--accent-font); letter-spacing: 2px; font-size: 14px;text-transform: uppercase; font-weight: bold; margin-top: 16px; margin-bottom: 5px; border: 0;}
#sidebarContent .sidehead a {color: var(--main-accent-color);}
#sidebarContent p {margin-top: 12px;}
#sidebarContent li {border-bottom: 1px solid var(--content-border-color); padding: 3px 0;}

/**********/
/* Footer */
/**********/

#footer {overflow: hidden; height: 100px; padding: 24px 24px 0 24px; background-color: var(--main-bg-color);}
@media only screen and (max-width: 841px) {#footer {height: 80px; padding: 12px 12px 0 12px;}}
#footer ul {padding: 0px;}
#footer ul, #footer li {display: inline-block;}
#footer p {margin: 0 0 12px 0;}
#footer li {margin: 0 20px 0 0;}
@media only screen and (max-width: 841px) {#footer li:first-of-type {display: none;}}
#footer .navbox a {border: 1px dotted var(--main-accent-color);}
#footer .navbox a:hover {border: 1px solid var(--main-accent-color); text-decoration: none;}

/*****************************************************************************/
/* Header (actions, search, article/talk selector; also logo, in mobile view */
/*****************************************************************************/

#header {position: absolute;top: 100px;left: 180px;right: 100px;height: 40px;padding: 0px;text-align: right;overflow: hidden;z-index: 1;}
@media only screen and (max-width: 841px) {#header {left: 0px; height: 90px; font-size: 14px; top: 1px;}}
#header #pagelogo {display: none;}
@media only screen and (max-width: 841px) {#header #pagelogo {height: calc(90px - 40px);text-align: left;padding-left: calc(12px - 6px);padding-top: 6px;display: block;}}
#header ul {display: inline-block;height: 100%;}
@media only screen and (max-width: 841px) {#header ul {height: 40px;}}
#header ul, #header p, #footer ul {margin: 0;}
#header li {display: inline-block;height: 100%; border-left: 0.5px solid var(--content-border-color); background: var(--content-border-color);}
@media only screen and (min-width: 842px) {#header ul#article-talk-selector li:first-of-type {border-left: 1px solid transparent;} #header #article-talk-selector li:last-of-type {border-right: 0.5px solid transparent;} #header #pageactions li:nth-last-of-type(2) {border-right: 0.5px solid transparent;}}
@media only screen and (max-width: 1149px) {#header #pageactions li:nth-last-of-type(2) {border-right: none;}}
@media only screen and (max-width: 841px) {#header ul#article-talk-selector li:first-of-type {border-left: 1px solid #fff;} #header li:last-of-type {border-right: 0.5px solid transparent;}}
#header li a, #header li p.active {display: block; height: 100%; padding: 18px 8px 6px 8px;}
#header li a {border-bottom: 1px solid var(--content-border-color); background: var(--content-border-color);}
#header li p.active {background-color: var(--content-bg-color); border-bottom: 1px solid var(--content-bg-color);}
#header ul#article-talk-selector {float: left; padding-left: 0; display: none;}
@media only screen and (max-width: 841px) {#header #pageactions {padding: 0;} #header #pageactions li.upload, #header #pageactions li.print, #header #pageactions li.backlinks, #header #pageactions li.source, #header #pageactions li.attr, #header #pageactions li.search {display: none;}}
@media all and (max-width: 1149px) and (min-width: 842px) {#header li.search {display: inline-block;}}


/**************************************************/
/* In-page search form (e.g. on Site.Search page) */
/**************************************************/

form.wikisearch {height: 36px; margin-bottom: 21px; position: relative;}
@media only screen and (max-width: 841px) {form.wikisearch {margin-bottom: 14px;}}
form.wikisearch .searchbox {font-size: 1em; width: 600px;
	border: 1px solid #a2a9b1;
	border-radius: 2px; padding: 0.625em 0.625em 0.625em 2.75em; height: 100%;
}
@media only screen and (max-width: 841px) {form.wikisearch .searchbox {width: 100%; display: block;}}
form.wikisearch .searchbox:focus {outline: 0; border-color: var(--main-link-hover-color);}
form.wikisearch::before {content: ""; background-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%20%20%3Cg%20id%3D%22search%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20id%3D%22magnifying-glass%22%20d%3D%22M10.5%204a6.5%206.5%200%201%200%202.844%2012.344L16%2019c1.4%201.4%202.5%201.5%204%200l-4.438-4.438A6.426%206.426%200%200%200%2017%2010.5%206.5%206.5%200%200%200%2010.5%204zm0%202a4.5%204.5%200%201%201%200%209%204.5%204.5%200%200%201%200-9z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A); background-position: center center; background-size: contain; background-repeat: no-repeat; position: absolute; left: 7px; top: 4px; width: 28px; height: 28px;}
table.searchexamples {width: 700px; margin-left: 2px;}
@media only screen and (max-width: 841px) {table.searchexamples {width: 100%;line-height: 1.4;}}
table.searchexamples th {text-align: left;}
@media only screen and (max-width: 841px) {table.searchexamples th {padding: 0 0 4px 0;}}
table.searchexamples td {padding: 0px;}
@media only screen and (max-width: 841px) {
	table.searchexamples td {
		padding: 4px 0 4px 0;
		border-top: 1px dotted #ccc;
	}
}
table.searchexamples td:first-of-type {font-family: monospace; font-size: 0.9em;}
@media only screen and (max-width: 841px) {table.searchexamples td:first-of-type {padding-right: 2em;}}

div.wikisearch {border: 1px solid var(--content-border-color); background-color: transparent; margin: 14px 0; padding: 8px 10px;}
#wikitext div.wikisearch + ul {margin-top: 21px;}
#wikitext div.wikisearch > p:first-of-type {font-weight: bold; font-size: 1.1em; margin: 0 0 14px 0;}
#wikitext div.wikisearch > p:last-of-type {font-style: italic; margin: 14px 0 0 0;}
#wikitext div.wikisearch > p:only-child {font-style: normal; font-weight: bold; margin: 0;}
#wikitext div.wikisearch ul {list-style-type: none; list-style-image: none; margin-left: 0; -webkit-column-count: 6; -moz-column-count: 6; column-count: 6; -webkit-column-width: 15em; -moz-column-width: 15em; column-width: 15em; -webkit-column-gap: 1em; -moz-column-gap: 1em; column-gap: 1em;}
#wikitext div.wikisearch ul li {margin-left: 1.75em;}
#wikitext div.wikisearch .fpltemplate p {margin: 14px 0 0 0;font-weight: bold;}



/*********/
/* Links */
/*********/

a {text-decoration: none; color: var(--main-link-color);}
a:visited, a:active {color: var(--main-link-color);}
#wikitext a:visited {color: var(--main-link-color);}
#wikitext a:active {color: var(--main-link-hover-color);}
a:hover {color: var(--main-link-hover-color) !important; text-shadow: 0 0 40px var(--main-link-hover-color), 0 0 10px var(--main-link-hover-color), 0 0 20px var(--main-link-hover-color);}
a.urllink {background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAMAAAC67D+PAAAAB3RJTUUH1gEeFxU4g8u38QAAAAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAAVUExURf///wBmzP///5nM/wBm/2aZzDOZzDevZ3cAAAABdFJOUwBA5thmAAAAOUlEQVR42i3MwREAQQgCQRQ0/5AP3JuH1Q8VcLqinXZHaI/lxEcPNvcYSRNyqMIiC1RXriuPfr6sDzHOANG31+CEAAAAAElFTkSuQmCC') center right no-repeat; padding-right: 13px;}

/***********/
/* Headers */
/***********/

h1 {margin-bottom: 50px; font-family: var(--accent-font); font-size: 2.5em; font-weight: normal; padding-bottom: 2px; border: 2px solid; border-image: var(--pagetitle-gradient); border-left: none; border-top: none; border-right: none; letter-spacing: 3px; text-align: center;}
h2 {font-size: 1.5em; font-family: var(--accent-font); font-weight: bold; line-height: 1.5em; border: 1px solid; border-image: var(--header-border-gradient); border-right:none;border-left:none; letter-spacing: 2px; color: var(--main-accent-color);}
h2::before {content: var(--header-symbol); display: inline-block; padding-right:.5em;}
h3 {font-size: 1.3em; color: var(--main-accent-color); font-family: var(--accent-font); letter-spacing: 2px;}
#wikitext h3 + p {margin-top: 0;}
h4, h5, h6 {font-size: 1.1em; line-height: .5; font-family: var(--accent-font); color: var(--main-accent-color); letter-spacing: 1px;}
h6 {font-weight: normal; font-style: italic;}
h1, h2, h3, h4, h5, h6 {margin: 1.33em 0 0 0;}
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {margin: 0.33em 0 0 0;}

/*************/
/* Edit page */
/*************/

#wikiedit {border: 1px solid var(--main-accent-color); background-color: var(--notebox-bg-color); padding-bottom: 17px;}
#wikiedit textarea {font-size: 14px; width: 100%; height: 500px; margin-bottom: 7px; border-color: var(--main-accent-color); border-width: 1px 0;}
#wikiedit p {margin-top: 0; margin-bottom: 0;}
#wikiedit textarea + p {padding-bottom: 0.325em;}
#wikiedit p.buttons {margin-top: 11px;}
@media only screen and (max-width: 841px) {#wikiedit p.buttons {margin-top: 21px;} #wikiedit p.buttons input {width: 46%;} #wikiedit p.buttons input:nth-of-type(1) {margin-bottom: 14px;} #wikiedit p.buttons input:nth-of-type(2n+1) {margin-left: calc((8% - 0.9375em) / 2);}}
#wikiedit input[name="csum"] {width: 100%; border: 1px solid var(--button-border-color); border-radius: 2px; font-size: 14px; padding: 0.625em; margin-bottom: 10px;}
#wikiedit input[name="author"] {width: 200px; font-size: 12px; border-radius: 2px; border: 1px solid var(--button-border-color); padding: 0.625em;}
#wikiedit input[type="text"]:focus {outline: none; border-color: var(--main-link-hover-color);}
#wikiedit input[name="diffclass"] {position: relative; visibility: hidden; vertical-align: baseline; margin-left: 7px;}
@media only screen and (max-width: 841px) {#wikiedit input[name="diffclass"] {display: block; margin-top: 21px;}}
#wikiedit input[name="diffclass"]::before {content: ""; display: inline-block; position: absolute; top: -5px; left: 0; width: 2em; height: 2em; visibility: visible; border-radius: 2px; border: 1px solid var(--button-border-color); background-color: #FFF;}
#wikiedit input[name="diffclass"]:checked::before {background-image: url('data:image/gif;base64,R0lGODdhCgAKAKIAAAAAADMzM11dXWhoaMnJyefn5////wAAACH5BAkAAAcALAAAAAAKAAoAAAMgSFPXV0MFwZ4I69KiGZ+d801VM1KiFn5bN5DmFS3OEyUAOw=='); background-position: center center; background-repeat: no-repeat;}
#wikiedit input[name="diffclass"]:active::before {background-color: #FFF;}
#wikiedit input[name="diffclass"]::after {content: "This is a minor edit"; display: inline-block; position: absolute; top: .1em; left: 2.5em; white-space: nowrap; visibility: visible; font-size: 13px; color: var(--main-accent-color);}
#wikiedit input[type="submit"], form.wikisearch .searchbutton {font-size: 14px; font-weight: bold; padding: 0.625em 0.9375em; border: 1px solid var(--button-border-color); border-radius: 2px; margin-right: 7px; background-color: var(--button-bg-color); color: var(--button-font-color);}
form.wikisearch .searchbutton {height: 36px; padding-top: 0.5375em; vertical-align: top; margin-left: 14px;}
@media only screen and (max-width: 841px) {form.wikisearch .searchbutton {width: 12em; margin: auto; display: block; margin-top: 14px;}}
#wikiedit input[type="submit"]:active {background-color: var(--button-bg-color); color: var(--main-link-hover-color);}
#wikiedit input[type="submit"][name="post"], form.wikisearch .searchbutton {background-color: var(--button-bg-color); border-color: var(--button-border-color); color: var(--button-font-color);}
#wikiedit input[type="submit"]:hover, #wikiedit input[type="submit"][name="post"]:hover, form.wikisearch .searchbutton:hover {color: var(--main-link-hover-color); text-shadow: 0px 0px 10px var(--main-link-hover-color);}
#wikiedit input[type="submit"]:focus {border-color: var(--main-link-hover-color); outline: none;}
#wikiedit input[type="submit"][name="post"]:focus, form.wikisearch .searchbutton:focus {border-color: var(--main-link-hover-color); color: var(--main-link-hover-color); outline: none;}
#wikiedit input[type="submit"]:active {background-color: var(--button-bg-color); color: var(--main-link-hover-color); border-color: var(--main-link-hover-color); box-shadow: none;}
#wikiedit input[type="submit"][name="post"]:active, form.wikisearch .searchbutton:active {background-color: var(--button-bg-color); color: var(--main-link-hover-color); border-color: var(--main-link-hover-color); box-shadow: none;}
#wikiedit input[type="submit"][name="cancel"] {color: #c00;}
#wikiedit input[type="submit"][name="cancel"]:hover {color: #f00; text-shadow: 0px 0px 10px #f00;}
#wikiedit input[type="submit"][name="cancel"]:active {color: #b32424; border-color: #b32424;}

#wikiedit textarea ~ * {margin-right: 14px; margin-left: 14px;}
#wikiedit .guibuttons {display: block; background-image: linear-gradient(#ffffff 0%, #e8f2f8 100%); background-repeat: repeat-x; line-height: 0.1;}
#wikiedit .guibuttons a:focus {outline: none;}
#wikitext .preview-warning {margin-left: 40px;}
#wikitext .preview-warning + hr {margin-bottom: 14px;}

.frame h2 {font-family: sans-serif; font-weight: bold; border: none; margin: 4px 0 8px 0;}

#wikitext .quickref {margin-top: 12px; border: none !important;}
#wikitext .quickref p {margin: 2px;}

code {
	background-color: #292929;
	border: 1px dotted #8A6D43;
	border-radius: 2px; padding: 1px 4px; font-size: 0.95em;
}
code code {background-color: initial; border: none; padding: initial; font-size: inherit;}
code.escaped {white-space: pre-wrap;}
#wikitext .wikisearch code a.varlink,
#wikitext .wikisearch code a.varlink:visited {pointer-events: none; color: inherit;}
.wikisearch code {cursor: text;}

pre {
	background-color: #f8f9fa;
	border: 1px solid #eaecf0;
	padding: 1em;
	font-size: 0.95em;
	white-space: pre-wrap;
}
table.markup pre {padding: 0; border: none; background-color: transparent;}
@media only screen and (max-width: 841px) {#wikitext table.markup {width: calc(100% - 16px); margin-left: 8px; margin-right: 8px; font-size: 0.95em;} #wikitext table.horiz td.markup1, #wikitext table.horiz td.markup2 { width: auto; padding: 0;}}

/*************/
/* Tables & Miscellaneous */
/*************/

#wikitext img {padding:5px; border: 3px double var(--table-border-color);}
.caption {display:inline-block;width:100%;text-align:center;font-size: 75%;}

#wikitext hr {
    width: 80%;
    margin-bottom:20px;
    height:10px; border: 2px solid;  border-image: var(--pagetitle-gradient); border-left: none; border-top: none; border-right: none;
}
#wikitext strong {color: var(--main-accent-color); font-weight: 750;}
#wikitext u {text-decoration: none; border-bottom: 1px solid var(--main-accent-color); }

.listicon {width: 18px; background-color: transparent !important;}
.listicon img {display: block; height: 18px; margin: auto; border-radius: 50%; opacity: .4; border:0 !important; padding: 0 !important;}

caption {text-align:left; font-weight:bold; letter-spacing: 2px; font-family: var(--accent-font);}

table {font-size: inherit; width:100%; padding: 5px; border-collapse: separate; border: 3px solid var(--table-border-color);}
table td, table th {border: 0; padding: 4px;}
table tr td {border-right: 0;}
table tr:last-child td {border-bottom: 0;}
table tr td:first-child, table tr th:first-child {border-left: 0;}
table tr td{border-top: 0;}
td {vertical-align: top;}
tr:nth-child(even) {background-color: var(--table-alt-bg-color);}
table img {border:0 !important;}

#wikitext ul {margin: 0 0 0 1.6em; padding: 0px; list-style-type: none;}
#wikitext ul li::before {content: "\25AA"; color: var(--main-accent-color); display: inline-block; width: 1em; margin-left: -0.9em; font-weight: bold; font-size: 1.2rem;}

blockquote {
	background-color: #f5f8fc;
	padding: 9px 12px;
	border: 1px solid #e0e8ef;
	margin-left: 30px; margin-right: 30px; font-size: 0.95em;
}
#wikitext blockquote p:first-child {margin-top: 0;}
#wikitext blockquote p:last-child {margin-bottom: 0;}

#wikitext .talkpageheader {text-align: center; margin: auto; background-color: #f8eaba; border: 1px solid #cc9; width: 500px; padding: 4px 8px;}
@media only screen and (max-width: 841px) {#wikitext .talkpageheader {width: 300px;}}
#wikitext .diffbox {width: 100%; max-width: 700px;}
@media only screen and (max-width: 841px) {#wikitext .diffbox {max-width: 570px;}}
#wikitext .diffrestore {font-size: 85%; margin: 1em 0;}

/***************/
/* Custom Styles */
/***************/

.feature, .note, .subclass-feature, .statblock {border:1px solid; border-image: var(--pagetitle-gradient); padding: 10px; margin: 10px; text-align: justify;}
.feature, .note, .statblock {background-color: var(--notebox-bg-color);}
.subclass-feature {background-color: var(--notebox-alt-bg-color);}
.statblock {margin:50px;}
.note h3 {text-align:center}

.introduction p::first-letter{font-size:4em; font-weight:bold; margin-right: 0.5rem; font-family: var(--accent-font); color: var(--main-accent-color);float:left; margin-top: 0.5rem; line-height: 3rem;}
sup {font-variant: small-caps;}

.quote{font-size: 1.3em;margin:50px;font-family: Open Sans;font-style:italic;color: #7f7f7f;padding:0 50px 0 60px;border-left:2px solid var(--main-accent-color);line-height:1.6;position: relative;}
.quote::before{font-family: Georgia, 'Times New Roman', Times, serif;content: "\201C";color: var(--main-accent-color);font-size:3.7em;position: absolute;left: 10px;top:-25px;}

/*****************/
/* For Infoboxes */
/*****************/

.infobox {width:350px; float:right; margin-left:15px;}
.infobox img {width:350px; display:block;border-radius: 60px 0 0 0;}
.infobox .info{background-color: var(--content-border-color); border:1px solid; border-image: var(--pagetitle-gradient); padding: 10px; font-size: 87%; text-align: justify;}
.info .head {display: block; font-size: 1.3em; font-weight: bold; color: var(--main-accent-color); border-bottom: 1px solid var(--main-accent-color); font-family: var(--accent-font); letter-spacing: 2px; text-align: center; line-height: 1; margin-bottom: 10px;}

.infobox dl {margin: 0; padding: 0;}
.infobox dt {font-weight: bold; color:var(--main-accent-color);}
.infobox dd {margin-left: 15px;}

.infobox th{font-size:15px;padding:5px;}
.infobox table{border-collapse:collapse;width:100%;}

/***************/
/* For Default TOC */
/***************/

.PmTOCdiv {border: 1px solid var(--toc-border-color) !important; background-color: var(--toc-bg-color) !important; padding: 15px !important;}
.pmTOCtable {color: var(--main-font-color);}
.PmTOCtable a {padding: 3px 0 !important; line-height:1 !important;}

/*******************/
/* For SectionEdit */
/*******************/

span.sectionedit {font-size: 13px; margin-left: 1em; font-weight: normal; font-style: normal;}
span.sectionedit::before {content: "[\2009";}
span.sectionedit::after {content: "\2009]";}
span.sectionedit a[href]::before {content: "edit";}
div.sectionedit {float: right; display: inline; position: relative; bottom: -1.5em;}

/***********************/
/* For MediaCategories */
/***********************/

div.category {margin-top: 1em; clear: both; border: 1px solid var(--mediacat-border-color); background-color: var(--mediacat-bg-color); padding: 10px;}

/*****************/
/* For DictIndex */
/*****************/

#dictindexheader {border: 1px solid var(--toc-border-color) !important; background-color: var(--toc-bg-color) !important; padding: 15px !important;}
.fpldictindex {-webkit-column-count: 6; -moz-column-count: 6; column-count: 6; -webkit-column-width: 18em; -moz-column-width: 18em; column-width: 18em; -webkit-column-gap: 1em; -moz-column-gap: 1em; column-gap: 1em; margin-top: 7px;}
.fplindex_letter_block {page-break-inside: avoid;}
.fplindex_letter_block dt {font-size: 1.2em;font-weight: bold;margin-top: 16px;}
.fplindex_letter_block:first-of-type dt {margin-top: 0;}
.fplindex_letter_block dd {margin: 0;}

/*****************/
/* For Footnotes */
/*****************/

div.footnotes-with-start-line::before {
	content: '';
	display: block;
	width: 12em; 
	border-bottom: 1px solid var(--main-accent-color);
	margin-bottom: 0.75em;
}

/*****************/
/* For Toggle */
/*****************/

.togglelink {font-weight:bold;}
.togglelink::before {
  content: "\2630";
  /* Place it at the top-left */
  top: 0;
  left: 0;
  margin-right:5px;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--main-accent-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.event {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the } */
.event::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: var(--content-border-color);
  border: 4px solid var(--main-accent-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--content-border-color);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--content-border-color);
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--content-border-color);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--content-border-color) transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.event-content {
  padding: 20px 30px;
  background-color: var(--content-border-color);
  position: relative;
  border-radius: 6px;
}

/*****************/
/* For Statblocks */
/*****************/

.stat-array-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
}
.stat-array-box {
    text-align: center;
    padding: 10px;
    width: 100px;
    border: 3px solid var(--mediacat-border-color);
    background: var(--notebox-bg-color);
}
.stat-array-name {
    font-weight: bold;
    font-variant: small-caps;
    font-size: 80%;
}
.stat-array-score {
    font-size: 150%;
    color: var(--main-accent-color);
}
.stat-array-mod {
    padding: 0px;
    margin-bottom:-20px;
    border: 1px solid var(--main-accent-color);
    background: var(--mediacat-bg-color);
    border-radius:20%;
}

/*****************/
/* For Location Images */
/*****************/

.page-banner {
    border:1px solid; 
    border-image: var(--pagetitle-gradient);
    width:100%;
    height:200px;
    background-repeat:no-repeat;
    background-size: cover;
}



/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .event {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .event::before {
    left: 60px;
    border: medium solid var(--content-border-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--content-border-color) transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}