MediaWiki:Timeless.css: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Work on galleries)
Tag: Shouting
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 71: Line 71:
--accent-9: #3d5a8d;
--accent-9: #3d5a8d;
--accent-10: #798db2;
--accent-10: #798db2;
--accent-11: #b3a68e; /*temporary?*/
--link-color-2: #bfb2a0;
--link-color-2: #bfb2a0;
--alt-text-color: #000000;
--alt-text-color: #000000;
Line 94: Line 95:
     --contrast-color-14: #707a8f;
     --contrast-color-14: #707a8f;
     --contrast-color-15: #9ca2aa;
     --contrast-color-15: #9ca2aa;
    --contrast-color-16: #8f9eb7; /* temporary? */
--border-shade: #d2e2ff;
--border-shade: #d2e2ff;
--border-shade-2: #5d6b84;
--border-shade-2: #5d6b84;
Line 1,110: Line 1,112:
         box-shadow: 17.8vw 12vw 10vw inset var(--primary-5);
         box-shadow: 17.8vw 12vw 10vw inset var(--primary-5);
         position: relative;
         position: relative;
         top: 5.88px;
         top: 5.88px!important;
         right: -2px;
         right: -2px;
     }
     }
Line 1,120: Line 1,122:
         position: relative;
         position: relative;
         left: 44%;
         left: 44%;
         left: 39%;
         left: 39%!important;
         /* margin-right: 25vw; */
         /* margin-right: 25vw; */
     }
     }
Line 4,016: Line 4,018:
.MediaTransformError {
.MediaTransformError {
     visibility: hidden;
     visibility: hidden;
}
/* To be incorporated */
<pre>
div#inline-box {
    float: left;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--accent-7);
    width: 246px;
    margin: 9px 14px 5px 5px;
    line-height: 1.1em;
    font-size: .8em;
    font-weight: 400;
    font-style: normal;
    /* background-color: #0c1d3e; */
    color: var(--text-color);
    position: relative;
    left: -3px;
    top: -4.28px;
}
#mw-related-navigation {
    margin-top: 1px;
    /* margin-left: 1px; */
}
@media screen and (min-width: 851px) {
    :root.theme-dark #mw-site-navigation .sidebar-chunk/*, #mw-related-navigation .sidebar-chunk*/ {
        /*width: 12.194em;
        position: relative;
        right: 0.052em;
        border-color: var(--contrast-color-3);*/
        border-right-color: var(--primary-2);
        border-radius: 18px 4.3px 4.3px 18px / 14px 7px 7px 14px;
        border-radius: 20px 4.3px 4.3px 18px / 14px 7px 7px 14px;
    }
}
@media screen and (min-width: 1340px) {
   
    :root.theme-dark #mw-site-navigation .sidebar-chunk {
        -moz-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        -webkit-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        -o-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        -ms-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-1.78px 0 0 var(--primary-2),-3.78px 0 0 var(--primary-4),1px 0px 0 4px var(--primary-17), 0px -1px 0 2px var(--primary-3);
        box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-1.78px 0 0 var(--primary-2),-3.78px 0 0 var(--primary-4),1px 0px 0 4px var(--primary-17), 1px 0px 0 2px var(--primary-3);
        /* box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-3.28px 0 0 var(--primary-9),-3.78px 0 0 var(--primary-2),-4.78px 0 0 var(--primary-4),2px 0px 0 4px var(--primary-17), 1px 0px 0 2px var(--primary-3); */
        /* border-top-right-radius: 17px; */
        /* border-bottom-right-radius: 18px; */
    }
   
    #mw-site-navigation .sidebar-chunk#site-navigation {
        font-size: 0.9626em;
        left: 0.068em;
        top: -0.4288em;
        border-bottom-left-radius: 3px;
    }
    /*
    #mw-related-navigation .sidebar-chunk {
        right: -0.438em;
        /* right: -0.348em; */
        /* right: -0.598em; */
        /* right: -0.348em; */
    }/*
    #mw-related-navigation .sidebar-chunk {
        border-left-color: var(--primary-3);
        border-left-width: 3.28px;
        border-right-color: var(--contrast-color-3);
        box-shadow: 2px 0 0 var(--primary-7) inset,2.22px 0 0 var(--primary-7),5.42px 0 0 var(--primary-4),1px 1px 0 4px var(--primary-17), 1px -1px 0 4px var(--primary-2);
        border-radius: 4.3px 18px 18px 4.3px / 1px 14px 14px 7px;
    }  */
    :root.theme-dark #mw-related-navigation .sidebar-chunk {
        box-shadow: 2px 0 0 var(--primary-7) inset,1.22px 0 0 var(--primary-7),4.42px 0 0 var(--primary-4), -2px 0 0 var(--accent-9);
        right: -0.408em;
        right: -0.25289em;
    }
   
}
:root.theme-dark .mw-ui-button.mw-ui-progressive:not(:disabled) {
    outline: solid 4px var(--primary-26);
    background: var(--primary-28)!important;
}
table.wikitable, #smwtable, table.smwtable {
    border: solid 3px #555b66;
    border: solid 3px #3e4e6c;
    border: solid 3px var(--TEXT-B-H2);
    border: solid 3px hsl(220deg 60% 22%);
    border: solid 3px var(--primary-6);
    outline: solid 3px var(--accent-10);
    outline: solid 3px var(--contrast-color-14);
    /* outline: solid 3px #6f81a5; */
    outline-color: var(--contrast-color-13);
    outline-color: #6d809b;
    outline-color: #8497b3;
    outline-color: #8691a1;
    outline-color: #909caf;
    outline-color: #869bbb;
    outline-color: #778daf;
    /* outline-color: hsl(216deg 23% 55%); */
    outline-color: #8d99ab;
    /* outline-color: #8b9ebb; */
    border-radius: 14px;
    box-shadow: 0 0 0 6px var(--primary-3), 0 0 0 6px var(--TEXT-A-H1);
    box-shadow: 0 0 0 5px var(--primary-3), 0px 0 0 6px #0b1f42, 1px 0 0 9px var(--primary-25), -9px 21px 15px 2px var(--primary-4), -12px 12px 15px -2px var(--primary-5), 0px 3px 20px 6px var(--primary-5), 63px 62px 30px -30px var(--primary-18);
    box-shadow: 0 0 0 4px var(--primary-25), 0 0 0 7px var(--primary-3), 0px 0 0 8px #0b1f42, 1px 0 0 9px var(--primary-25), -9px 21px 15px 2px var(--primary-4), -12px 12px 15px -2px var(--primary-5), 0px 3px 20px 6px var(--primary-5), 63px 62px 30px -30px var(--primary-18);
    margin: 24.4px auto 16px auto;
    max-width: 96.88%;
    min-width: 62%;
    font-family: "Nunito","Rubik",sans-serif;
    font-size: 0.84em;
    position: relative;
    top: -11.08px;
    left: 4.82px;
    z-index: 0;
    /* z-index: -1; */
}
h2 ~ .content-table-wrapper table.wikitable,
h2 ~ .content-table-wrapper #smwtable,
h2 ~ .content-table-wrapper table.smwtable {
    left: 7.82px;
}
@media screen and (min-width: 1340px) {
    h2 ~ .content-table-wrapper table.wikitable,
    h2 ~ .content-table-wrapper #smwtable,
    h2 ~ .content-table-wrapper table.smwtable {
        max-width: 57.48vw;
    }
}
h2 + .content-table-wrapper table.wikitable,
h2 + .content-table-wrapper #smwtable,
h2 + .content-table-wrapper table.smwtable {
    top: -5.08px;
    left: 2.82px;
    left: 5.48px;
}
h3 + .content-table-wrapper table.wikitable,
h3 + .content-table-wrapper #smwtable,
h3 + .content-table-wrapper table.smwtable {
    top: -10.42px;
}
h3 + h4 + .content-table-wrapper table.wikitable,
h3 + h4 + .content-table-wrapper #smwtable,
h3 + h4 + .content-table-wrapper table.smwtable {
    top: -9.22px;
}
h4 + .content-table-wrapper table.wikitable,
h4 + .content-table-wrapper #smwtable,
h4 + .content-table-wrapper table.smwtable {
    top: -8.44px;
}
:root.theme-dark table.wikitable > tr:nth-child(n+2) > th,
:root.theme-dark table.wikitable > * > tr:nth-child(n+2) > th,
:root.theme-dark #smwtable tr:nth-child(n+2) > th,
:root.theme-dark table.smwtable > * > tr:nth-child(n+2) > th {
    background: #162a4c;
    background: #1d3158;
    background: #17294c;
    background: #1d3158;
    background: #091836;
    /* background: #162b4c; */
    /* background: #1f3154; */
    /* background: #23375a; */
    /* font-size: 1.1em; */
}
:root.theme-dark .mw_metadata>tr>th, :root.theme-dark .mw-datatable>tr>th, :root.theme-dark .wikitable>tr>th, :root.theme-dark .mw_metadata>tr>td, :root.theme-dark .mw-datatable>tr>td, :root.theme-dark .wikitable>tr>td, :root.theme-dark .mw_metadata>*>tr>th, :root.theme-dark .mw-datatable>*>tr>th, :root.theme-dark .wikitable>*>tr>th, :root.theme-dark .mw_metadata>*>tr>td, :root.theme-dark .mw-datatable>*>tr>td, :root.theme-dark .wikitable>*>tr>td {
    background: #0c1d3c;
    background: var(--primary-6);
    background: var(--primary-12);
    background: #15223c;
    background: #091d43;
    background: #16284a;
    background: var(--primary-18);
    background: #11203c;
    background: #0e2140;
    background: #0a1e3e;
    /* background: #091d3c; */
    /* background: #0a1d3a; */
    /* background: #081832; */
    background: #081a38;
    background: #081b3c;
    background: #081938;
    background: #0c1d3e;
    border: solid 2px #555b66;
    border: solid 2px #555a64;
}
:root.theme-dark table.wikitable>tr>th,
:root.theme-dark table.wikitable>*>tr>th,
:root.theme-dark #smwtable tr>th,
:root.theme-dark table.smwtable>*>tr>th {
    background: var(--primary-9);
    background: #0f2140;
    background: #091a36;
    background: #081a38;
    background: #071834;
    background: #081832;
    background: #0a1932;
    /* background: #081938; */
    /* background: #0a162c; */
    /* background: #09162e; */
    border: solid 3px var(--primary-21);
    /* border: solid 3px #1d335c; */
    color: var(--text-color-2);
}
table.wikitable tbody tr:hover td a, :root.theme-dark #smwtable tbody tr:hover td a, :root.theme-dark table.smwtable tbody tr:hover td a, :root.theme-dark table.wikitable tbody tr:hover td, :root.theme-dark #smwtable tbody tr:hover td, :root.theme-dark table.smwtable tbody tr:hover td {
    background: #162a4c;
    background: #0c182e;
    background: #0f1b32;
    /* background: #1d3158; */
    /* background: #162b4c; */
    /* background: #1f3154; */
    background: #23375a;
    background: #091b38;
    background: #0a1d3a;
    background: #1a3054;
    outline: solid 2px var(--primary-21);
}
table.wikitable tbody tr:hover td a,
#smwtable tbody tr:hover td a,
table.smwtable tbody tr:hover td a {
    color: var(--accent-1);
}
table.wikitable tbody tr:hover td a:hover,
#smwtable tbody tr:hover td a:hover,
table.smwtable tbody tr:hover td a:hover {
    color: var(--accent-2);
    color: var(--alt-link-color-1b);
    text-decoration-color: var(--accent-7);
}
:root.theme-dark ul#filetoc,
:root.theme-dark .toc,
:root.theme-dark .toccolours,
:root.theme-dark .mw-warning {
    /* background: #0c1d3e; */
    background: var(--primary-4);
    /* background: #0a1932; */
    border-color: var(--primary-26);
    box-shadow: 0 0 0 2px var(--primary-4), 0px 0 28px 1px var(--primary-5), -2px -5px 28px 5px inset var(--primary-10), 0 0 0 3px var(--primary-9);
    max-width: 238px;
    padding: 1.888em;
    top: -7px;
    left: 7.8px;
    margin-left: 0.88em;
    /* top: -39px; */
    /* top: -34px; */
}
:root.theme-dark ul#filetoc,
:root.theme-dark .toc,
:root.theme-dark .toccolours,
:root.theme-dark .mw-warning {
    /* background: #0c1d3e; */
    /* background: var(--primary-10); */
    background: var(--primary-4);
    border-color: #8d99ab;
    border-color: var(--contrast-color-10);
    border-color: var(--primary-26);
    max-width: 238px;
    padding: 1.888em;
    top: -14px;
    left: 3.8px;
    left: 7.8px;
    margin-left: 1.16em;
}
:root.theme-dark ul#filetoc > ul,
:root.theme-dark .toc > ul,
:root.theme-dark .toccolours > ul {
    filter: invert(1) hue-rotate(180deg);
}
.mw-body .toctitle {
    border-bottom: solid 3.4px var(--primary-26);
    border-bottom: solid 3.4px var(--primary-3);
}
.mw-body .toctitle h2 {
    color: #585f64!important;
    filter: invert(1) hue-rotate(190deg);
}
.toctogglelabel {
    color: #a8a191;
    font-weight: bold;
    position: relative;
    top: -.983px;
    right: 2px;
}
.toclevel-1 a .tocnumber {
    filter: invert(1) hue-rotate(180deg);
}
.toclevel-1 a,
.toclevel-1 a:visited {
    /* color: #afa286!important; */
    color: var(--accent-2)!important;
    filter: invert(1) hue-rotate(180deg);
}
.toclevel-1 > a {
    /* font-weight: bold; */
}
.toclevel-1 a:hover,
.toclevel-1 a:visited:hover {
color: var(--accent-11)!important;
    text-decoration: none;
}
.toclevel-1 a:hover .tocnumber {
    text-decoration: none;
}
.toclevel-1 a:hover .toctext {
    text-decoration: underline;
}
@media screen and (min-width: 1100px) {
    .mw-parser-output > h3 {
        margin-left: -0.972px;
        font-variant: unset;
    }
}
@media screen and (min-width: 851px) {
   
    .pullout-content div#article-type {
        max-width: 54.82em;
        position: relative;
        border-right: solid 1em var(--accent-5);
    }
   
    #subpage-article ~ .portable-infobox ~ .portable-infobox, .subpage-tabs-main ~ .portable-infobox ~ .portable-infobox {
        margin-top: 2px;
    }
}
}

Latest revision as of 02:18, 20 November 2024

/* All CSS here will be loaded for users of the Timeless skin */

/* =============================
   Version 2.0 March 2024
   ============================= 
   
   The desktop skin, originally designed by 
   [[User:Bongolium500]] and [[User:SOTO]],
   builds on the Timeless skin.
   
   Latest updates by SOTO.

   */
   
/*  ===================
    Dark theme by default 
    =================== */

/* dark theme - bundled */
:root.theme-dark {
	--H-1: 222deg;
    --H-2: 219deg;
    --H-2b: 219.23deg;
    --H-3: 220deg;
    --H-4: 40deg;
    --H-4c: 39deg;
    --H-5: 216deg;
    --H-5b: 215.77deg;
    --H-6: 218deg;
	--text-color: #ffffff;
    --text-color-2: #bec7d9;
    --text-color-3: #dadfe8;
    --text-color-4: #f3f4f7;
	--primary-1: #0e2348;
	--primary-2: #0f2651;
	--primary-3: #1a2e53;
	--primary-4: #0a1b3c;
	--primary-5: #14294f;
	--primary-6: #081937;
	--primary-7: #44587f;
    --primary-8: #182d52;
    --primary-9: #192e53;
    --primary-10: #0b1e3f;
    --primary-11: #091c3c;
    --primary-12: #0c1d3a;
    --primary-13: #4e6083;
    --primary-14: #3c4d6e;
    --primary-15: #475e88;
    --primary-16: #bacff4;
    --primary-17: #102242;
    --primary-18: #102244;
    --primary-19: #192c4d;
    --primary-20: #122547;
    --primary-21: #2a3f64;
    --primary-22: #6981ad;
    --primary-23: #3f5680;
    --primary-24: #192f56;
    --primary-25: #14294d;
    --primary-26: #14284b;
    --primary-27: #223454;
    --primary-28: #112549;
	--background-shade: #11357a; /* Same for both */
	--accent-1: #c7b286;
	--accent-2: #e9bd65;; /* d5ac59 / d7b36a? */
	--accent-3: #bfa773;
	--accent-4: #e5c076;
	--accent-5: #dcd697;
	--accent-6: #e5c687;
	--accent-7: #a39372;
	--accent-8: #8d7b58; /* 918162 */
	--accent-9: #3d5a8d;
	--accent-10: #798db2;
	--accent-11: #b3a68e; /*temporary?*/
	--link-color-2: #bfb2a0;
	--alt-text-color: #000000;
	--alt-text-color-2: #1c222c;
	--alt-text-color-3: #121212;
	--alt-text-color-4: #1d2634;
	--alt-link-color: #ddcfae;
	--alt-link-color-1b: #ddcca4;
	--contrast-color-1: #8595b5;
	--contrast-color-1--rgb: 133,149,181;
	--contrast-color-2: #e3e5e7;
	--contrast-color-3: #526586;
    --contrast-color-4: #aec2da;
    --contrast-color-5: #687a99;
    --contrast-color-6: #bec7d9;
    --contrast-color-7: #4a628c;
    --contrast-color-8: #a6b1c7; /*b8c2d4*/
    --contrast-color-9: #3f4a5c;
    --contrast-color-10: #0d1524;
    --contrast-color-11: #a6adb9;
    --contrast-color-12: #95a6c9;
    --contrast-color-13: #7b8a9f;
    --contrast-color-14: #707a8f;
    --contrast-color-15: #9ca2aa;
    --contrast-color-16: #8f9eb7; /* temporary? */
	--border-shade: #d2e2ff;
	--border-shade-2: #5d6b84;
	--background-contrast-shade: #012667;
	--stub-tab: -3.5px -1px 0 5px var(--primary-1),3.7px -1px 0 5px var(--primary-1),-3.5px -1px 0 7px var(--primary-3),3.7px -1px 0 7px var(--primary-3);
	--shade-design: -35px 12px 0 0 #1b3056,0px 0 0 0 #11264a inset,-35px 0 0 0 #11264a,-35px -10px 0 0 var(--primary-11),-35px -35px 0 #08193491,-31.5px 8px 0 #0e2348bf,30px 0 0 #182846,30px -20px 0 #0b1d3dd9,-35px -3px 0 #0b1d3dd9,-35px -37px 0 #06152e,68.4em -47px 0 #061d44;
	--category-box-1: 0 12px 0 0 #1b3056,-73px 0 0 0 #11264a inset,0 -10px 0 0 var(--primary-11),0 -35px 0 #08193491,-240px 8px 0 #0e2348a3,30px 0 0 #182846,30px -20px 0 #0b1d3dd9,-30px -3px 0 #0b1d3dd9,-30px -37px 0 #06152e,68.4em -47px 0 #061d44;
	--category-box-2: -99em 3.12em #13294d4f, -33em 2.02em #13294de3, -99em 1.396em 0 -1.26em #061f466e, 0 -0.91em 0 #081f42a3 inset;
	--category-box-3: 143px 56px 0 -24px #1b3056;
	--category-box-4: 0 -0.91em 0 #0e2348 inset, 0 2.81em 0 #0e2348;
	--category-box-5: 0 12px 0 0 #152c56, 0 28px 0 #162b50, -73px 0 0 0 #304d7e inset, 0 -10px 0 0 #162e56, 0 -19px 0 #0c2044, 0 -30px 0 #112a56, 0 -33px 0 #0c2044;
	--footer-1: 0 -6px 0 0 #394c6c, 0 -15px 0 0 #13284c, 0 -21px 0 0 #203860, 0 23px 0 0 #384864, 0 29px 0 0 #071c41, 0 34px 0 #374760, 0 49px 0 #213354;
	--footer-1b: 0 -6px 0 0 #394c6c, 0 -15px 0 0 #13284c, 0 -21px 0 0 #203860, 0 5px 0 0 #384864, 0 9px 0 0 #071c41, 0 14px 0 #374760, 0 49px 0 #213354;
	--footer-1c: 0 -6px 0 0 #394c6c, 0 -15px 0 0 #13284c, 0 -21px 0 0 #203860, 0 5px 0 0 #384864, 0 9px 0 0 #071c41, 0 4px 0 #374760, 0 49px 0 #213354;
	--footer-1d: 0 -6px 0 0 #394c6c, 0 -15px 0 0 #13284c, 0 -21px 0 0 #203860, 0 23px 0 0 #3e5377, 0 29px 0 0 #071c41, 0 340px 0 #374760, 0 48px 0 #213354;
	--footer-2: 0 -6px 0 0 #394c6c,0 -10px 0 0 #13284c,0 -16px 0 0 #203860,0 3px 0 0 #384864,0 9px 0 0 #071c41,0 14px 0 #374760,0 29px 0 #213354;
	
}
:root.theme-dark, :root.theme-light {
	--background-image: url(https://tardis.wiki/w/images/Tardis_Images/d/de/Background_grey.png);
	
    --TEXT-A-H1: hsl(var(--H-1) 16% 31%);
	--TEXT-A-H2: hsl(var(--H-3) 55% 4%);
    --TEXT-A-H3: hsl(var(--H-2) 65% 9%);
    --TEXT-B-H2: hsl(var(--H-3) 28% 25%);
    --TEXT-B-H1: hsl(var(--H-1) 21% 24%);
    
}
#mw-content-container {
    background: var(--background-shade); /* Same for both skins */
	border-bottom: 4px solid var(--border-shade) !important;
}
@media screen and (min-width: 1100px) {

  #mw-content-container {
	background: var(--background-shade); /* Same for both skins */
	border-bottom: 4px solid var(--border-shade) !important;
  }
  #menus-cover {
    background: var(--background-image); /* Same for both skins */
    opacity: .5;
    filter: invert(1);
    margin-bottom: auto;
    position: fixed;
    width: 100%;
    height: 100%;
    background-position: 50%;
    background-size: cover;
    z-index: 0;
    display: block !important;
  }
  :root.theme-dark #menus-cover {
    background-color: #e9e3d8; /*  FALLBACK while image loads
    NOTE: For other themes, "hsl(calc(261deg - var(--H-1)) 28% 88%)" will generate this value.*/
  }
  #mw-content-wrapper, #mw-site-navigation, #mw-related-navigation, #mw-footer {
    z-index: 2;
    position: relative;
  }
}
@media screen {
	:root.theme-dark pre, :root.theme-dark .mw-code {
		filter: invert(1) hue-rotate(180deg);
		/*color: var(--text-color);
		background-color: #373737;
		border: 1px solid #4f4f4f;*/
	}
}
:root.theme-dark .CodeMirror-code {
	filter: invert(1) hue-rotate(180deg);
}
:root.theme-dark .CodeMirror-gutters {
	background-color: unset;
}
.mw-indicators {
	position: relative;
    z-index: 4;
}
:root.theme-dark .wikiEditor-ui, 
:root.theme-dark .wikiEditor-ui-toolbar .tabs span.tab a,
:root.theme-dark .oo-ui-fieldLayout-field,
:root.theme-dark .oo-ui-fieldLayout-field .oo-ui-labelElement,
:root.theme-dark .oo-ui-labelWidget,
:root.theme-dark .oo-ui-labelWidget p,
:root.theme-dark .oo-ui-labelWidget code span,
:root.theme-dark mw-redirectedfrom,
:root.theme-dark mw-redirectedfrom a,
:root.theme-dark .mw-editsection, 
:root.theme-dark div.magnify a,
:root.theme-dark .mw-editsection a, 
:root.theme-dark .suggestions,
:root.theme-dark #personal h2,
:root.theme-dark #personal-extra,
:root.theme-dark #site-tools h2,
:root.theme-dark #site-navigation h2,
:root.theme-dark #page-tools h2,
:root.theme-dark #other-languages h2,
:root.theme-dark #catlinks-sidebar h2,
:root.theme-dark .mw-indicators,
:root.theme-dark .mwe-math-element,
:root.theme-dark .oo-ui-iconWidget {
	filter: invert(1) hue-rotate(180deg);
}
:root.theme-dark .oo-ui-labelWidget#mw-input-wpintro {
    filter: none;
}
:root.theme-dark .oo-ui-labelWidget #tech {
    border-color: var(--contrast-color-3);
}
:root.theme-dark #p-search {
    filter: invert(0.1) hue-rotate(-180deg);
}
:root.theme-dark .mw-ui-button.mw-ui-progressive:not(:disabled) {
    background-color: var(--primary-15);
    border: solid 4px var(--contrast-color-5);
}
:root.theme-dark .mw-ui-button.mw-ui-progressive:not(:disabled):hover {
    background-color: var(--accent-9);
}
form:not(.oo-ui-layout) button,
form:not(.oo-ui-layout) input[type="submit"] {
    background-color: var(--accent-9);
    border-color: var(--contrast-color-1);
}

:root.theme-dark #site-tools h2,
:root.theme-dark #site-navigation h2,
:root.theme-dark #page-tools h2,
:root.theme-dark #other-languages h2,
:root.theme-dark #catlinks-sidebar h2  {
	color: var(--alt-text-color);
}
:root.theme-dark #mw-indicator-mw-helplink a {
    color: var(--contrast-color-9);
}
:root.theme-dark .oo-ui-messageDialog-message {
	filter: none;
}
/* for the icons on the little tabs below the page title. Each element is inverted, and then the text inside it is inverted back. This leaves only the icon inverted */
:root.theme-dark #ca-nstab-main a,
:root.theme-dark #ca-nstab-main a span,
:root.theme-dark #ca-nstab-user a,
:root.theme-dark #ca-nstab-user a span,
:root.theme-dark #ca-nstab-project a,
:root.theme-dark #ca-nstab-project a span,
:root.theme-dark #ca-nstab-image a,
:root.theme-dark #ca-nstab-image a span,
:root.theme-dark #ca-nstab-mediawiki a,
:root.theme-dark #ca-nstab-mediawiki a span,
:root.theme-dark #ca-nstab-template a,
:root.theme-dark #ca-nstab-template a span,
:root.theme-dark #ca-nstab-help a,
:root.theme-dark #ca-nstab-help a span,
:root.theme-dark #ca-nstab-category a,
:root.theme-dark #ca-nstab-category a span,
:root.theme-dark #ca-nstab-property a,
:root.theme-dark #ca-nstab-property a span,
:root.theme-dark #ca-nstab-form a,
:root.theme-dark #ca-nstab-form a span,
:root.theme-dark #ca-nstab-forum a,
:root.theme-dark #ca-nstab-forum a span,
:root.theme-dark #ca-nstab-howling a,
:root.theme-dark #ca-nstab-howling a span,
:root.theme-dark #ca-nstab-theory a,
:root.theme-dark #ca-nstab-theory a span,
:root.theme-dark #ca-nstab-transmat a,
:root.theme-dark #ca-nstab-transmat a span,
:root.theme-dark #ca-nstab-thread a,
:root.theme-dark #ca-nstab-thread a span,
:root.theme-dark #ca-nstab-guide a,
:root.theme-dark #ca-nstab-guide a span,
:root.theme-dark #ca-nstab-module a,
:root.theme-dark #ca-nstab-module a span,
:root.theme-dark #ca-nstab-gadget a,
:root.theme-dark #ca-nstab-gadget a span,
:root.theme-dark #ca-nstab-gadget_definition a,
:root.theme-dark #ca-nstab-gadget_definition a span,
:root.theme-dark #ca-nstab-map a,
:root.theme-dark #ca-nstab-map a span,
:root.theme-dark #ca-nstab-video a,
:root.theme-dark #ca-nstab-video a span,
:root.theme-dark #ca-talk a,
:root.theme-dark #ca-talk a span,
:root.theme-dark #ca-watch a,
:root.theme-dark #ca-watch a span,
:root.theme-dark #ca-view a,
:root.theme-dark #ca-view a span,
:root.theme-dark #ca-viewsource a,
:root.theme-dark #ca-viewsource a span,
:root.theme-dark #ca-formedit a,
:root.theme-dark #ca-formedit a span,
:root.theme-dark #ca-ve-edit a,
:root.theme-dark #ca-ve-edit a span,
:root.theme-dark #ca-edit a,
:root.theme-dark #ca-edit a span,
:root.theme-dark #ca-addsection,
:root.theme-dark #ca-addsection a span,
:root.theme-dark #ca-undelete a,
:root.theme-dark #ca-undelete a span,
:root.theme-dark #ca-history a,
:root.theme-dark #ca-history a span,
:root.theme-dark #ca-purge a,
:root.theme-dark #ca-purge a span,
:root.theme-dark #t-contributions a,
:root.theme-dark #t-contributions a span,
:root.theme-dark #ca-more span,
:root.theme-dark #ca-more::after,
:root.theme-dark #ca-languages span,
:root.theme-dark #ca-languages::after {
	filter: invert(1) hue-rotate(180deg);
}
:root.theme-dark .mw-changeslist-legend,
:root.theme-dark .mw-changeslist-legend dl, 
:root.theme-dark .mw-body fieldset#mw-searchoptions,
:root.theme-dark .search-types .current a {
	color: var(--text-color);
}
:root.theme-dark .mw-changeslist-legend a {
	color: var(--accent-2);
}
:root.theme-dark .mw-rcfilters-ui-overlay,
:root.theme-dark .mw-rcfilters-head,
:root.theme-dark .mw-rcfilters-head .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement>.oo-ui-buttonElement-button {
	color: var(--alt-text-color);
	filter: invert(1) hue-rotate(180deg);
}

/* General */

body {
	color: var(--text-color);
	background: var(--primary-2);
}
:root.theme-dark body {
    color: var(--text-color-2);
}

.mw-first-heading {
    color: var(--text-color);
}
:root.theme-dark #contentSub {
    color: var(--contrast-color-1);
}
:root.theme-dark body p,
:root.theme-dark body dl,
:root.theme-dark .mw-parser-output > h2,
:root.theme-dark .mw-parser-output > h3 {
    color: var(--text-color-3);
}
:root.theme-dark .mw-parser-output > h4,
:root.theme-dark h5, :root.theme-dark h6, :root.theme-dark .mw-footer {
    color: var(--text-color-2);
}

.sidebar-chunk#site-navigation .sidebar-inner > .mw-portlet > .mw-portlet-body > ul > li:last-child {
    pointer-events: none;
}

#mw-content, #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
	border: solid var(--primary-3);
	background: var(--primary-1);
}
.sidebar-chunk h3 {
    border-bottom: solid 3px var(--primary-7)!important;
}
.mw-portlet-body a {
    color: var(--alt-link-color);
}
:root.theme-dark .sitenotice a,
:root.theme-dark .smw-callout-warning a {
    color: #d3b98d;
}
:root.theme-dark .mw-parser-output a.new,
:root.theme-dark .mw-parser-output .new a {
    /*color: #f39c9c;*/
    /*color: #ff8787;*/
    color: #e18d8d;
}
:root.theme-dark a.new:hover,
:root.theme-dark .new a:hover {
    color: #f7a6a6;
}
:root.theme-dark .mw-headline a {
    color: var(--accent-3);
}

.sidebar-chunk#site-navigation .sidebar-inner > .mw-portlet > .mw-portlet-body > ul > li:last-child {
    pointer-events: none;
}

@media screen and (min-width: 851px) and (max-width: 1339px) {
    #menus-cover {
        background-size: 98%;
    }
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        border: solid 3px var(--contrast-color-3);
        border-radius: 3px;
        background: var(--primary-5);
        margin-top: 2px;
        padding-left: 8px;
        padding-right: 1px;
        padding-bottom: 6px;
    }
    #site-navigation h2,
    #site-tools h2 {
        filter: none;
        color: #222731;
    }
}
@media screen and (min-width: 1100px) and (max-width: 1339px) {
    #content-bottom-stuff {
        margin-left: 13.4em;
    }
}
.mw-wiki-logo.timeless-logo img {
    margin-left: -2px;
    padding-bottom: 1px;
}

#mw-header-container {
	background: var(--primary-3);
}
#simpleSearch {
    border-radius: 5px;
}
#personal h2 {                
   font-family:"Nunito","Rubik",sans-serif;
}
#personal h2 span {
   position: relative;
   top: -4px;
}
#p-banner.mw-wiki-title {
	font-family:"Della Respira","Ysabeau Office","Nunito","Rubik",sans-serif!important;
    /* opacity: 0; */
}
/* #p-logo-text {
    background-image: url("https://tardis.wiki/w/images/Tardis_Images/thumb/a/aa/Tardis_Wiki_sign.png/798px-Tardis_Wiki_sign.png");
    background-size: cover;
} */
#personal .dropdown {
	border: solid var(--primary-3);
	background: var(--primary-1);
	color: var(--text-color);
}
#personal .dropdown::after {
    border-bottom-color: var(--primary-1);
}
#personal .dropdown::before, #personal .dropdown::after {
	border-bottom: 10px solid var(--primary-1);
}

a, .mw-parser-output a.external, .mw-parser-output a.extiw {
	color: var(--accent-2);
}
a:visited, .mw-parser-output a.external:visited, .mw-parser-output a.extiw:visited {
	color: var(--accent-1);
}
a:hover, .mw-parser-output a.external:hover, .mw-parser-output a.extiw:hover {
	color: var(--accent-1);
}
a:visited:hover, .mw-parser-output a.external:visited:hover, .mw-parser-output a.extiw:visited:hover {
	color: var(--accent-3);
}
.tools-inline li.selected a {
	color: var(--text-color);
}
#editpage-copywarn a,
#editpage-copywarn a:hover, 
#editpage-copywarn a:visited, 
#editpage-copywarn a:hover:visited {
	color: var(--alt-text-color);
	text-decoration: underline;
}
.mw-parser-output a.external, .link-mailto, .link-ftp, .link-irc, .link-audio, .link-video, .link-document {
	background: none;
	padding-right: 0;
}

.mw-body h1.firstHeading {
    border-bottom: solid 7px var(--primary-3);
}
#contentSub {
    margin-bottom: 26px;
}
.mw-body .mw-category-generated h2 {
    margin-top: 2px;
    padding-bottom: 7px;
    border-bottom: solid 7px var(--primary-3);
}

.mw-parser-output h2 .mw-headline {
    font-size: 1.5625rem; /* 25px at normal font size */
    margin-left: -1px;
}
.mw-editsection a {
    color: var(--contrast-color-8);
    text-transform: none;
    font-variant: all-small-caps;
}


.mw-body h1, .mw-body h2, .mw-body h3,
.mw-body h4, .mw-body h5, .mw-body h6 {
	position: relative;
	z-index: 3;
}

.mw-body .mw-parser-output > h2:after {
    margin-top: 1px;
    border: 2px solid var(--primary-3);
}

.mw-parser-output > h3 {
	margin-left: 2px;
    margin-top: 3px;
    font-size: 1.228125rem; /* 19.65px at normal font size */
    padding-bottom: 1px;
	font-family:"Della Respira","Nunito","Rubik",sans-serif;
	font-variant: unset;
}
.mw-parser-output > h4 {
    margin-top: 14px;
    margin-bottom: -2.4px;
    margin-left: 3px;
    font-family: "Nunito","Rubik",sans-serif;
    font-weight: 700;
    font-size: 1.2885rem; /* 20.616px at normal font size */
    font-variant: all-small-caps;
}
.mw-parser-output > h3 + h4 {
    margin-top: 0;
}
.mw-parser-output > h5 {
	margin-top: 18px;
    margin-bottom: 9.12px;
   	margin-left: 3px;
    font-family: "Nunito","Rubik",sans-serif;
    font-weight: 500;
   	font-size: 1.0885rem; /* 17.416px at normal font size */
   	font-variant: all-small-caps;
}
.mw-parser-output > h6 {
	margin-top: 12.6px;
    margin-bottom: 0;
    margin-left: 3px;
    top: -3px;
    font-family: "Nunito","Rubik",sans-serif;
    font-size: 0.698rem; /* 11.168px at normal font size */
    font-weight: 800;
    text-transform: uppercase;
}
.mw-parser-output > h4 + h5 {
	margin-top: 16px;
    top: -2px;
}

.mw-parser-output > .content-table-wrapper:has(.wikitable) + h2 {
    top: -8px;
}

.mw-parser-output > p + h3 {
    margin-top: 15.42px!important;
    position: relative;
    top: 7px;
}
.mw-parser-output > ul + h3 {
    margin-top: 23.42px!important;
    position: relative;
    top: -0.2px;
}
.mw-parser-output > .content-table-wrapper:has(.wikitable) + h3 {
    top: -2px;
}
.mw-parser-output > .content-table-wrapper:has(.wikitable) + h3 + ul {
    margin-top: -8.2px;
    margin-left: 31.08px;
    position: relative;
    top: 2px;
    left: 1px;
}
.mw-parser-output > dl + h5 {
    margin-top: 18px;
}
.mw-parser-output > ul + h5 {
    margin-top: 17px;
    margin-top: 13px;
    top: 2px;
}
.mw-parser-output > .content-table-wrapper:has(.wikitable) + h5 {
    margin-top: 18px;
    top: -1px;
}


/*#subpage-article #subpage-article-tab {
	display: none;
}*/

.mw-parser-output > p {
    font-size: 1.0182em; /* 16.29px at normal font size */
}
.mw-parser-output > p:nth-of-type(2) {
    margin-top: 14.4px;
    font-size: 1.045em; /* 16.72px at normal font size */
}
@media screen and (max-width: 850px) {
    .mw-parser-output p {
        font-size: 1.035em; /* 16.56px at normal font size */
    }
}

:root.theme-dark .dabtag,
:root.theme-dark #dabtag {
    border-color: var(--accent-3);
}

.tools-inline li.selected {
    border: none;
    border-radius: 8px;
    background: var(--primary-6);
    padding: 4px;
}
.tools-inline .mw-list-item a {
    color: var(--contrast-2);
}

#ca-nstab-user.selected a,
#ca-talk.selected a {
    color: var(--contrast-color-15)!important;
}
#ca-addsection a,
#t-contributions a,
.ns-talk:not(.ns-3) #ca-talk.selected a {
    font-weight: 800;
}
#ca-nstab-user.selected a,
#ca-nstab-user + #ca-talk.selected a {
    color: var(--contrast-color-11)!important;
}

ul#filetoc, .toc, .toccolours, .mw-warning {
	background: var(--accent-1);
	border: solid var(--accent-7);
	border-radius: 13px;
	color: var(--alt-text-color);
	position: relative;
	z-index: 399;
    font-family: "Maven Pro","Nunito","Rubik",sans-serif;
}
#filetoc a, .toc a, .toccolours a, .mw-warning a,
#filetoc a:visited, .toc a:visited, .toccolours a:visited, .mw-warning a:visited,
#filetoc a:hover, .toc a:hover, .toccolours a:hover, .mw-warning a:hover, 
#filetoc a:visited:hover, .toc a:visited:hover, .toccolours a:visited:hover, .mw-warning a:visited:hover{
	color: var(--alt-text-color)!important;
}
.mw-body .toctitle {
    border-bottom: solid 3.4px var(--accent-1);
}

#archstrip, .archstrip {
    background: var(--primary-18);
}
:root.theme-dark #tech {
    border-color: #1a2e53!important;
    background-color: #081d3f!important;
}
:root.theme-dark .ns-3 #tech + #tech {
    background-color: #132b55!important;
}
:root.theme-dark .ns-3 #glow,
:root.theme-dark #glow-2 {
    background: var(--primary-4)!important;
    border: solid 2.9px var(--primary-9)!important;
    box-shadow: 0px 0px 29px 0px var(--primary-8)!important;
}
.mw-message-box-error {
    background-color: #794c4a;
    border-color: #b68f8f;
    color: var(--text-color-2);
    margin-top: -4px;
}
:root.theme-dark .mw-message-box-error #tech {
    background-color: #04132b63!important;
    border: solid 2px #c5b0b4!important;
}
.ns-14 div#article-type {
    border-radius: 6px;
}
:root.theme-dark .ns-14 div#article-type {
    border-color: var(--primary-2);
    box-shadow: 0 0 0 3px var(--primary-21);
}

:root.theme-dark .mw-ui-button.mw-ui-progressive:not(:disabled) {
    background-color: var(--primary-15);
    border: solid 4px var(--contrast-color-5);
}
:root.theme-dark .mw-ui-button.mw-ui-progressive:not(:disabled):hover {
    background-color: var(--accent-9);
}

:root.theme-dark #pagehistory li.selected {
    background-color: var(--primary-24);
    outline-width: 1.4px;
    color: var(--accent-4);
}
/* SOURCE EDITOR */
.wikiEditor-ui-toolbar .tabs span.tab a {
	color: var(--accent-2);
}
.wikiEditor-ui-toolbar .tabs span.tab a.current, .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
	color: var(--text-color);
}
.wikiEditor-ui {
    position: relative;
    top: 5.3px;
    right: 8.7px;
}
div.editOptions {
	border: solid var(--primary-2);
	background: var(--primary-3);
	color: var(--text-color);
    position: relative;
    right: 8.7px;
    top: 14.1px;
    margin-bottom: 50px;
}
.mw-editTools {
    position: relative;
    right: 14px;
}

:root.theme-dark .wikiEditor-ui-text {
    border-radius: 3px;
     -moz-box-shadow: 0 14px 0 12px var(--primary-16), 0 -34px 0 12px var(--primary-16);
  -webkit-box-shadow: 0 14px 0 12px var(--primary-16), 0 -34px 0 12px var(--primary-16);
       -o-box-shadow: 0 14px 0 12px var(--primary-16), 0 -34px 0 12px var(--primary-16);
      -ms-box-shadow: 0 14px 0 12px var(--primary-16), 0 -34px 0 12px var(--primary-16);
          box-shadow: 0 14px 0 12px var(--primary-16), 0 -34px 0 12px var(--primary-16);
}
:root.theme-dark div.editOptions {
     -moz-box-shadow: 0 0 0 12px var(--primary-15);
  -webkit-box-shadow: 0 0 0 12px var(--primary-15);
       -o-box-shadow: 0 0 0 12px var(--primary-15);
      -ms-box-shadow: 0 0 0 12px var(--primary-15);
          box-shadow: 0 0 0 12px var(--primary-15);
}
:root.theme-dark textarea {
    background: #e6ecf6;
    border-color: white;
    color: var(--alt-text-color);
}
:root.theme-dark .editOptions input {
    background: #f0f3f8;
    border-color: #a3bef0;
    color: var(--alt-text-color);
}
:root.theme-dark div.editOptions {
    border: solid var(--primary-14);
    background: #1b2f51;
}
.mw-editform #editpage-copywarn {
    margin-top: 0.592em;
    font-family: "Maven Pro","Nunito",sans-serif;
    color: var(--text-color-2);
}
:root.theme-dark .mw-editform #editpage-copywarn a {
    color: var(--text-color-3);
    font-weight: bold;
    text-decoration: none;
}
:root.theme-dark .editOptions input {
    background: #98a5bf;
    border-color: #546c98;
    color: #010918;
}
.editOptions input#wpSummary {
    font-family: "Maven Pro","Nunito",sans-serif;
}
:root.theme-dark .editOptions input#wpSummary {
    filter: invert(1) hue-rotate(180deg);
    background: var(--primary-15);
    border-color: var(--contrast-color-7);
    color: var(--text-color);
}
:root.theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    background: var(--primary-23);
    border: solid 2.92px var(--contrast-color-12);
}
:root.theme-dark form .oo-ui-checkboxInputWidget input[type="checkbox"]:not([checked="checked"]) + span {
    background-color: var(--primary-22);
    border-color: var(--contrast-color-7);
}

:root.theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
    color: #ed6b6b;
    background: none;
    border-radius: 20.5%;
    margin-left: 0.188em;
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button::after {
    content: "?";
    visibility: hidden;
}
:root.theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
    color: #e27878;
    background: #142748;
    transition: background 2s, color 2.5s, box-shadow 3s;
}
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover::after {
    visibility: visible;
}

/* Visual editor fixes */
.oo-ui-popupWidget-popup {
    background: var(--primary-3);
    border-radius: 22px;
    margin-top: 5px;
}

.oo-ui-popupWidget-popup .oo-ui-popupWidget-head {
    margin-bottom: 6px;
}
.oo-ui-popupWidget-popup .oo-ui-popupWidget-head .oo-ui-labelElement-label {
    display: none;
}
.oo-ui-popupWidget-popup .oo-ui-popupWidget-head .oo-ui-buttonWidget {
    margin-top: 2px;
    filter: invert(1) hue-rotate(180deg);
}

/* Removing Spotify from VE preview until problems can be addressed */
.spotify-thumb.ve-ce-leafNode.ve-ce-focusableNode.ve-ce-mwTransclusionNode {
    display: none;
}

/* PREVIEW PAGE */
#mw-previewheader {
    font-family: "Nunito","Rubik",sans-serif;
    font-size: 1.83em; /* 29.28px at normal font size */
    text-transform: uppercase;
    text-align: center;
    color: var(--text-color-3);
    margin: -1.77em 0.27em 0.81em 0.0534em;
    padding: 6px 0.41em 0.1702em 0.0093em;
    border-bottom-color: var(--text-color-2);
}
.mw-newarticletext + #wikiPreview #mw-previewheader {
    margin-top: -0.13em;
    margin-left: 2px;
    width: calc(98% + 5px);
    background: var(--primary-3);
    border-top: solid 3.6px var(--contrast-color-1);
    box-shadow: -2.7px 0 var(--contrast-color-1),12px 0 15px var(--primary-7) inset,-12px 0 15px var(--primary-7) inset,0.2px -1.3px var(--primary-7),3px 0.4px var(--contrast-color-1);
    border-radius: 0 0 27.4px 29px;
    z-index: 400;
    position: relative;
}

:root.theme-dark .action-edit #article-type {
    position: relative;
    top: 0.62px;
    border: solid 2.9px var(--contrast-color-4)!important;
}
:root.theme-dark .action-edit .mw-newarticletext + #article-type,
:root.theme-light .action-edit .mw-newarticletext + #article-type{
    position: relative;
    top: 4.88px;
    margin-top: 2px;
    border: solid 2.9px var(--contrast-color-1)!important;
}
:root.theme-dark .action-edit .mw-newarticletext + #article-type {
    box-shadow: 0px 0px 29px 0px var(--contrast-color-1)!important;
}
:root.theme-dark .action-submit #article-type {
    position: relative;
    top: -0.16em;
    border: solid 2.9px var(--contrast-color-5)!important;
    margin-bottom: 3.14em;
}
:root.theme-dark #article-type + #wikiPreview #mw-previewheader,
:root.theme-dark #article-type + #wikiPreview .mw-message-box {
    border-color: var(--contrast-color-5);
    background: var(--primary-9);
}

.mw-message-box-warning {
    background: var(--primary-4);
    border-color: var(--contrast-color-1);
    color: var(--text-color-2);
    font-family: "Maven Pro","Nunito","Rubik",sans-serif;
    font-size: 1.056em; /* 16.896px at normal font size */
    margin: 11px 12.4px 34.48px 12.4px;
}
:theme.theme-dark .mw-message-box-warning a {
    font-size: 1.1778em; /* 18.8448px at normal font size */
    margin-left: 7.8px;
}
.smw-callout-warning {
    background: var(--primary-3);
    border-left: solid 6px var(--primary-5);
    box-shadow: 0 0 0 2px var(--primary-21);
}
.ns-14 .smw-callout-warning {
    margin-bottom: 21.8px;
}

:root.theme-dark .mw-revslider-container {
    background: var(--primary-28);
    border-color: var(--accent-5);
    border-color: var(--primary-1);
    box-shadow: 0 0 0 2px var(--primary-13);
}
:root.theme-dark .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement>.oo-ui-buttonElement-button {
    background: var(--primary-3);
    border: solid 2px var(--primary-25);
    color: var(--text-color-5);
}
:root.theme-dark .mw-revslider-container .oo-ui-buttonElement-button .oo-ui-iconElement-icon,
:root.theme-dark .mw-revslider-container .oo-ui-buttonElement-button .oo-ui-indicatorElement-indicator {
    filter: invert(1) brightness(0.88);
}
:root.theme-dark .mw-revslider-slider-wrapper {
    border-top-color: #a4b5d5;
}

#wikiPreview .stub-type, #wikiPreview #stub-type {
    margin-top: -19.74px;
    margin-left: 3.11px;
}

#p-banner.mw-wiki-title {
	font-family: sans-serif;
	font-weight: bold;
	color: var(--text-color);
}

/*#p-banner.mw-wiki-title {
	font-family: sans-serif;
	font-weight: bold;
	color: transparent;
}
#p-logo-text {
	background-image: url(https://static.wikia.nocookie.net/tardis/images/2/23/TARDIS_logo_pitch_1.png/);
	background-size: 160px auto;
	background-repeat: no-repeat;
	background-position: center center;
}*/

#mw-header-container {
	outline: 4px solid var(--contrast-color-1);
	margin-bottom: 3px;
}
#p-logo-text a {
	white-space: nowrap;
}

/* Hide default lines under header */
.color-left, .color-right, .color-middle {
	height: 0em;
}

.toc, .toccolours, .mw-warning {
	float: right;
	clear: right;
	margin-left: 0.8em;
	max-width: 250px;
	margin-right: -0.94em;
    top: -6px;
    left: 6px;
}

@media screen and (min-width: 1100px) and (max-width: 1339px) {
    .toc, .toccolours, .mw-warning {
        max-width: 212px;
    }
}

@media screen and (max-width: 850px) {
    .toc, .toccolours, .mw-warning {
        float: initial;
        margin: auto;
        clear: both;
        max-width: 255px;
    }
}

.thumb {
    position: relative;
    z-index: 9000;
}
.thumbinner {
	background: unset;
	border: unset;
	 -moz-box-shadow: unset;
  -webkit-box-shadow: unset;
       -o-box-shadow: unset;
      -ms-box-shadow: unset;
          box-shadow: unset;
}
.thumbinner .thumbimage, .thumbborder {
	border: unset;
}
@media screen and (min-width: 851px) and (max-width: 1099px) {
	.toc, .toccolours, .mw-warning {
    	width: 160px;
		right: -17px;
		top: -7.8px;
    	margin-bottom: 19px;
	}
	.ns-0 .thumbinner, .ns-0 .thumbimage {
    	max-width: 255px!important;
	}
	.ns-0 h2 + .thumb .thumbinner, .ns-0 h2 + .thumb .thumbimage,
	.ns-0 h2 + div + .thumb .thumbinner, .ns-0 h2 + div + .thumb .thumbimage,
	.ns-0 h2 + dl + div + .thumb .thumbinner, .ns-0 h2 + dl + div + .thumb .thumbimage,
	.ns-0 h3 + .thumb .thumbinner, .ns-0 h3 + .thumb .thumbimage,
	.ns-0 h3 + div + .thumb .thumbinner, .ns-0 h3 + div + .thumb .thumbimage,
	.ns-0 h3 + dl + div + .thumb .thumbinner, .ns-0 h3 + dl + div + .thumb .thumbimage {
    	max-width: 272px!important;
	}
}

/* TABLES FOR TIMELESS */
table.wikitable, table.metadata. table.mw-datatable {
    max-width: 1194.68px;
    margin-left: auto!important;
    margin-right: auto!important;
}
:root.theme-dark table.wikitable, :root.theme-dark table.metadata. :root.theme-dark table.mw-datatable {
    border: solid 3px var(--primary-7);
    box-shadow: 0 0 0 3px var(--primary-3);
}
:root.theme-dark .mw_metadata>tr>th, :root.theme-dark .mw-datatable>tr>th, :root.theme-dark .wikitable>tr>th, :root.theme-dark .mw_metadata>tr>td, :root.theme-dark .mw-datatable>tr>td, :root.theme-dark .wikitable>tr>td, :root.theme-dark .mw_metadata>*>tr>th, :root.theme-dark .mw-datatable>*>tr>th, :root.theme-dark .wikitable>*>tr>th, :root.theme-dark .mw_metadata>*>tr>td, :root.theme-dark .mw-datatable>*>tr>td, :root.theme-dark .wikitable>*>tr>td {
    background: var(--primary-10);
    /* background: #122443; */
    background: #0b1d3d;
    border: solid 2px var(--primary-21);
}
:root.theme-dark table.wikitable>tr>th, :root.theme-dark table.wikitable>*>tr>th, :root.theme-dark #smwtable tr>th, :root.theme-dark table.smwtable>*>tr>th {
    /* background: var(--primary-1);
    background: var(--primary-4); */
    background: var(--primary-9);
    border: solid 3px var(--primary-21);
    color: var(--text-color-2);
}

table.wikitable tbody tr:hover td a, :root.theme-dark #smwtable tbody tr:hover td a, :root.theme-dark table.smwtable tbody tr:hover td a, :root.theme-dark table.wikitable tbody tr:hover td, :root.theme-dark #smwtable tbody tr:hover td, :root.theme-dark table.smwtable tbody tr:hover td {
    background: var(--primary-1);
    background: var(--primary-18);
    background: var(--primary-25);
}

blockquote {
    border-bottom: solid 4px var(--primary-7);
}
blockquote::before {
    color: var(--primary-3);
}

/* GALLERIES */
ul.gallery {
    min-width: 94.68%;
    background: var(--primary-4);
    box-shadow: 17.8vw 12vw 10vw inset var(--primary-6);
}
li.gallerybox {
    max-width: 18vw;
    /* max-width: 24vw; */
}
li.gallerybox div {
    max-width: 100%;
}   
li.gallerybox div.thumb {
    width: 100%;
}
 
@media screen and (max-width: 1099px) {
    ul.gallery {
        min-width: 88.468vw;
        background: var(--primary-6);
        margin-right: 30.5px!important;
    }
}
@media screen and (max-width: 923px) {
    li.gallerybox {
        max-width: 27.4vw;
    }
}
@media screen and (max-width: 849px) {
    ul.gallery {
        min-width: 95.888vw;
        background: var(--primary-6);
        background: var(--primary-3);
    }
    li.gallerybox {
        max-width: 29.88948vw;
    }
}
@media screen and (max-width: 699px) {
    li.gallerybox {
        max-width: 33.88948vw;
    }
}
@media screen and (max-width: 629px) {
    li.gallerybox {
        max-width: 52.88948vw;
    }
}
@media screen and (max-width: 600px) {
    ul.gallery {
        min-width: 88.468vw;
        background: var(--primary-19);
        box-shadow: 17.8vw 12vw 10vw inset var(--primary-5);
        position: relative;
        top: 5.88px!important;
        right: -2px;
    }
    li.gallerybox {
        min-width: 49.8vw;
        margin-top: 0.8vw;
        margin-left: -0.7vw;
        margin-bottom: 0.8vw;
        position: relative;
        left: 44%;
        left: 39%!important;
        /* margin-right: 25vw; */
    }
}

@media screen and (min-width: 851px) {
	.mw-wiki-logo.timeless-logo img {
    	width: 13em;
    	min-width: 10vw;
	}
	.floatright, .tright {
    	padding: 0.483em 0 0.61em .69em;
	}
	.floatleft, .tleft {
    	padding: 0.34em 0.575em 0.834em 0.23em;
	}
	.mw-parser-output > .portable-infobox:nth-of-type(3) ~ .tleft:nth-of-type(1),
	.mw-parser-output > div:nth-of-type(1) ~ .portable-infobox:nth-of-type(3) ~ .tleft:nth-of-type(2),
	.mw-parser-output > div:nth-of-type(2) ~ .portable-infobox:nth-of-type(3) ~ .tleft:nth-of-type(3) {
	    margin-top: -15px;
	}
	.mw-parser-output > .portable-infobox:nth-of-type(3) ~ p:nth-of-type(7) ~ .tleft:nth-of-type(1),
	.mw-parser-output > div:nth-of-type(1) ~ .portable-infobox:nth-of-type(3) ~ p:nth-of-type(7) ~ .tleft:nth-of-type(2),
	.mw-parser-output > div:nth-of-type(2) ~ .portable-infobox:nth-of-type(3) ~ p:nth-of-type(7) ~ .tleft:nth-of-type(3) {
	    margin-top: 0.86em;
	}
	.mw-parser-output > .portable-infobox:nth-of-type(3) ~ p:nth-of-type(7) ~ h3 + .tleft:nth-of-type(1),
	.mw-parser-output > div:nth-of-type(1) ~ .portable-infobox:nth-of-type(3) ~ p:nth-of-type(7) ~ h3 + .tleft:nth-of-type(2),
	.mw-parser-output > div:nth-of-type(2) ~ .portable-infobox:nth-of-type(3) ~ p:nth-of-type(7) ~ h3 + .tleft:nth-of-type(3) {
	    margin-top: 0.2em;
	}
	table.navbox {
    	position: relative;
    	top: 9.02px;
	}
	/* Fix for automatic reflists */
	.content-table-wrapper:has(.navbox) + .mw-references-wrap {
    	position: relative;
    	top: 11px;
    	margin-top: 15px;
    	margin-bottom: 5px;
	}
}

.mw-parser-output > .content-table-wrapper:has(.navbox):last-child {
    margin-bottom: 6px;
}

/* https://www.mediawiki.org/wiki/Skin:Timeless#Indefinite_content_width - CC BY-SA 4.0 */
/* Indefinite content width */
@media screen and (min-width: 851px) {
    .color-middle-container,
    .ts-inner { max-width: none; }
}

#mw-header-nav-hack {
	background: var(--primary-1);
	z-index: 0;
}
#content-bottom-stuff {
 	background: var(--primary-3);
}

#mw-content-container {
    border-bottom-color: var(--border-shade);
}
.mw-footer-container {
    display: inline-flex;
    background: var(--background-contrast-shade);
    color: var(--text-color);
    padding-right: calc(94.18% - 700px);
    padding-left: 5.82%;
    font-weight: 500;
}
.mw-footer {
    min-width: 700px;
}
.mw-footer-container a,
.mw-footer-container a:visited,
.mw-footer-container a:hover,
.mw-footer-container a:visited:hover {
    color: var(--text-color);
}

@media screen and (min-width: 851px) {

    .mw-footer #footer-places {
        position: relative;
        top: -3.8708em;
        margin-top: -1.88em;
        margin-bottom: -0.8em;
    }
    .mw-footer #footer-places:only-child {
        top: 0;
        margin-top: 0;
        margin-bottom: 2.4em;
    }
    .mw-footer #footer-info-copyright {
        position: relative;
        top: -0.5616em;
    }
    .mw-footer #footer-info-lastmod {
    	width: 91%;
        position: relative;
        top: 0.186em;
        left: 44vw;
        margin-bottom: -1.18em;
    }
    .mw-footer #footer-bbc-copyright {
        font-size: 0.8em; /* 12.8px at normal font size */
        position: relative;
        top: -0.5428em;
    }
    .mw-footer #footer-independent-copyright {
        font-size: 0.8em; /* 12.8px at normal font size */
        position: absolute;
        top: 3.7842em;
    }
    #footer-icons #footer-copyrightico {
        position: absolute;
        right: -33.869vw;
        top: 0.774em;
        /* right: 9.6vw;
        top: 1.534em; */
    }
}

@media screen and (max-width: 1099px) {
	#mw-site-navigation {
		transition: margin-right 6s;
	}
	#mw-related-navigation {
		transition: left 5s;
	}
	#mw-site-navigation .sidebar-inner,
	#mw-related-navigation .sidebar-inner {
        border-radius: 6px 2px 14px 24px;
        margin-left: 11px;
        margin-top: 7px;
        padding-left: 25px;
		background: var(--primary-1);
		border: solid var(--contrast-color-3);
         -moz-box-shadow: 0 0px 0 3px var(--contrast-color-1);
      -webkit-box-shadow: 0 0px 0 3px var(--contrast-color-1);
           -o-box-shadow: 0 0px 0 3px var(--contrast-color-1);
          -ms-box-shadow: 0 0px 0 3px var(--contrast-color-1);
              box-shadow: 0 0px 0 3px var(--contrast-color-1);
		color: var(--text-color);
	}
	#mw-site-navigation:nth-child(1) .sidebar-inner {
        width: 148px;
        min-height: 135px;
        margin-left: 2px;
        padding-top: 20px;
        padding-left: 20px;
    }
    #mw-site-navigation:nth-child(2) .sidebar-inner {
        margin-left: -10px;
    }
	#mw-site-navigation .sidebar-inner:after,
	#mw-related-navigation .sidebar-inner:after {
		border-bottom-color: var(--primary-1);
	}
	#mw-site-navigation .dropdown-active h2 span:before,
	.client-nojs #mw-site-navigation .sidebar-chunk:hover h2 span:before,
	#mw-site-navigation .dropdown-active h2 span:after,
	.client-nojs #mw-site-navigation .sidebar-chunk:hover h2 span:after,
	#mw-related-navigation .sidebar-inner:before,
	#mw-related-navigation .sidebar-inner:after,
	#mw-site-navigation .sidebar-inner:before,
	#mw-site-navigation .sidebar-inner:after {
		border-bottom: 10px solid var(--primary-1);
	}
	
}
@media screen and (min-width: 851px) and (max-width: 1099px) {
    #mw-site-navigation .sidebar-inner,
    #mw-related-navigation .sidebar-inner {
        border-radius: 6px 1px 4px 14px;
        border-radius: 6px 2px 14px 24px;
        margin-left: 11px;
        margin-top: 7px;
        padding-left: 25px;
        border-color: var(--primary-3);
         -moz-box-shadow: 0 0px 0 3px var(--contrast-color-1);
      -webkit-box-shadow: 0 0px 0 3px var(--contrast-color-1);
           -o-box-shadow: 0 0px 0 3px var(--contrast-color-1);
          -ms-box-shadow: 0 0px 0 3px var(--contrast-color-1);
              box-shadow: 0 0px 0 3px var(--contrast-color-1);
    }
}

code {
	color: var(--text-color);
}


/* NEED TO INCORPORATE THE WORK BELOW
	INTO APPROPRIATE PLACES ABOVE */
	
@media screen and (min-width: 851px) {
    .mw-parser-output > h3 {
        margin-top: 12.42px!important;
        /* margin-bottom: 11.96px; */
        margin-bottom: 21.96px;
        margin-left: 0.42px;
        /* font-size: 1.301875rem; */ /* 20.83px at normal font size */
        font-size: 1.231875rem; /* 18.87px at normal font size */
    }
    .mw-parser-output > h2 + h3 {
        margin-top: 10.62px!important;
    }
    .mw-parser-output > h4 {
    	margin-top: -2.5px;
    	margin-left: 0.58px;
    	margin-bottom: -3.14px;
        margin-top: -0.5px;
    }
    .mw-parser-output > h3 + h4 {
        margin-top: -9px;
        margin-bottom: 9px;
    }
    .mw-parser-output > ul + h4 {
	    margin-top: 12.26px;
	}
    
    .mw-parser-output > ul {
    	margin-top: 8.4px;
        margin-left: 14.42px;
    }
    .mw-parser-output > h3 + ul,
    .mw-parser-output > h3 + div + ul,
    .mw-parser-output > h3 + dl + ul,
    .mw-parser-output > h3 + div + dl + ul,
    .mw-parser-output > h3 + dl + div + ul {
        margin-left: 30.08px;
    	margin-right: 28.5px;
        margin-bottom: 11.2px;
    }
    .mw-parser-output > h4 + ul,
    .mw-parser-output > h4 + div + ul,
    .mw-parser-output > h4 + dl + ul,
    .mw-parser-output > h4 + div + dl + ul,
    .mw-parser-output > h4 + dl + div + ul {
        margin-top: 10.4px;
        margin-left: 32.08px;
        margin-right: 28.5px;
        margin-bottom: 11.2px;
    }
    .mw-parser-output > h5 + ul,
    .mw-parser-output > h5 + div + ul,
    .mw-parser-output > h5 + dl + ul,
    .mw-parser-output > h5 + div + dl + ul,
    .mw-parser-output > h5 + dl + div + ul {
        margin-top: 5.4px;
        margin-left: 37.08px;
        margin-right: 28.5px;
        margin-bottom: 20.2px;
    }
}

@media screen and (min-width: 1100px) {
	.mw-parser-output > h3 {
		margin-left: -0.972px;
    	font-variant: unset;
	}
}

@media screen and (min-width: 851px) {    
    .tools-inline li {
        font-family: "Maven Pro","Nunito","Rubik",sans-serif;
    }
    
    .dabtag, #dabtag {
        margin-top: 0.74em;
        padding-top: 7.25px;
        padding-bottom: 0px;
        padding-left: 0.36px;
        margin-left: -0.43px;
        /* border-left-width: 3px; */
        /* border-right-width: 3px; */
        /* box-shadow: 0px 5px 20px -6px #161105 inset; */
        /* border-color: var(--accent-3); */
    }
    .dabtag, #dabtag {
	    margin-top: 8px;
    	position: relative;
    	top: -14px;
    	left: -6px;
	}
    .stub-type ~ #dabtag,
    .stub-type ~ .dabtag,
    #stub-type ~ .dabtag,
    #stub-type ~ #dabtag {
        /* top: -3.48px; REVISIT? */
        top: -5.48px;
    	margin-bottom: 0.2em;
    }
    .dabtag ~ h2:first-of-type,
    #dabtag ~ h2:first-of-type {
        clear: left;
    }
    
    #mw-site-navigation {
        width: 14em;
        left: -0.177em;
        top: -1.58em;
    }
    
    #mw-site-navigation .timeless-logo {
        margin-top: 3.95em;
        margin-bottom: 0em;
    }
    #mw-site-navigation .timeless-logo img {
        width: 12.579em;
        margin-left: -3.04em;
        position: relative;
        right: -34.9121px;
        top: 3.629em;
        margin-bottom: 4.22em;
        margin-top: -48px;
        filter: drop-shadow(-1px 3px 3.9px #0e2348) saturate(.98) brightness(1.29) opacity(0.93) hue-rotate(338deg);
    }
    
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        width: 12.194em;
        position: relative;
        right: 0.052em;
        /* right: 0.062vw; */
        border-color: var(--contrast-color-3);
        border-right-color: var(--primary-6);
         -moz-box-shadow: -2px 0 0 var(--contrast-color-5) inset;
      -webkit-box-shadow: -2px 0 0 var(--contrast-color-5) inset;
           -o-box-shadow: -2px 0 0 var(--contrast-color-5) inset;
          -ms-box-shadow: -2px 0 0 var(--contrast-color-5) inset;
              box-shadow: -2px 0 0 var(--contrast-color-5) inset;
        background: var(--primary-8);
        padding-top: 0.23em!important;
        padding-left: 1.05em;
        border-radius: 18px 4.3px 4.3px 18px / 14px 7px 7px 14px;
        /* font-family: "Della Respira","Nunito","Rubik",sans-serif; */
    }
    #mw-site-navigation .sidebar-chunk h3,
    #mw-related-navigation .sidebar-chunk h3 {
        /* font-family: "Maven Pro","Nunito","Rubik",sans-serif; */
        font-weight: 500;
        font-size: 1.05em; /* 16.8px at normal font size */
        text-transform: uppercase;
        color: #e3e9f3;
        color: #d3d9e3;
        margin-left: -9px;
        padding-left: 6px;
        margin-top: 10.9px;
        margin-top: 24px;
        padding-bottom: 8.3px;
        margin-bottom: 9px;
    }
    #mw-site-navigation .sidebar-chunk a,
    #mw-related-navigation .sidebar-chunk a {
        color: #c8d3e6;
        letter-spacing: 0.75px;
        font-weight: 100;
        margin-left: 1.1px;
    }
    
    .sidebar-chunk#page-tools .mw-inputbox-centered {
        top: -479.92px;
    }
}

#mw-site-navigation .sidebar-chunk#site-navigation {
    font-family: "Maven Pro","Nunito","Rubik",sans-serif!important;
    text-transform: uppercase;
}

.sidebar-chunk#page-tools .mw-inputbox-centered .mw-ui-button {
    margin-left: 1.224em;
    width: 85%;
    background: var(--primary-7);
    color: var(--border-shade);
    text-transform: uppercase;
}

:root.theme-dark .mw-inputbox-centered .mw-ui-button {
    background: var(--primary-1);
    border-color: #697a9b;
    border-color: #8da4d0;
}
#mw-related-navigation {
    margin-top: -0.7px;
}

@media screen and (min-width: 1100px) {
	.mw-dismissable-notice-body .no-mobile {
        display: block;
    }
    .sidebar-chunk#page-tools #p-userpagetools-label {
        margin-top: 31px;
    }
    .sidebar-chunk#page-tools :not(.emptyPortlet) + #p-pagemisc:nth-child(3) #p-pagemisc-label {
        margin-top: 6.1px;
    }
}
@media screen and (min-width: 1100px) and (max-width: 1339px) {
    .sidebar-chunk#site-navigation .mw-list-item a {
        margin-left: -6px;
        position: relative;
        top: 1.1px;
        left: 6px;
    }
    .sidebar-chunk#site-navigation .mw-portlet:nth-of-type(n+3) .mw-list-item a {
        top: -0.3px;
    }
}
@media screen and (min-width: 1340px) {
	#mw-content {
    	margin-left: 1vw;
    	margin-right: -0.995vw;
    	position: relative;
    	left: 0.044vw;
	}
	#mw-site-navigation .sidebar-chunk {
    	left: 0.258em;
		right: -0.307em;
    	top: -0.4023em;
	}
	#mw-related-navigation .sidebar-chunk {
    	right: -0.408em;
	}
	#mw-site-navigation .sidebar-chunk#site-navigation {
		font-size: 0.9626em; /* 15.4016px at normal font size */
    	left: 0.068em;
    	top: -0.4288em;
	}
	#mw-related-navigation {
		margin-top: 1px;
    	padding-top: 1.989em;
	}
	.sidebar-chunk#page-tools {
    	margin-top: 99.9px!important;
	}
	.sidebar-chunk#site-tools {
    	margin-top: 1.22em;
	}
}
@media screen and (min-width: 1100px) and (max-width: 1339px) {
	#mw-content {
    	margin-left: 13.3em;
    	/* margin-right: 24px; */
		margin-right: 1.856vw;
	}
	#mw-site-navigation .timeless-logo img {
    	margin-left: -0.04em;
    	/* right: -0.798px; */
    	/* top: 2.546em; */
    	/* margin-bottom: 3.56em; */
    	/* margin-top: -42px; */
    	right: -1.848px;
    	top: 2.547em;
    	margin-bottom: 3.37em;
    	margin-top: -71.12px;
	}
	.sidebar-chunk#site-tools {
		margin-top: 125.9px;
	}
	
	.mw-cookiewarning-container {
    	margin-left: 6.3em;
	}
}


@media screen and (min-width: 1860px) {
    #mw-content {
        max-width: 70.216vw!important;
    	left: 1.378%;
        margin: auto;
        /*font-size: max(1em,0.838vw);*/
    }
    :root.theme-dark #mw-content {
    	background: var(--primary-20);
    }
    
    #mw-site-navigation .timeless-logo img {
        right: -2.48em;
        margin-right: -11.5px;
        top: 1.28em;
        margin-bottom: 2.24em;
    }
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        font-size: max(1.078em,0.79038vw)!important;
        max-width: 9.48vw;
        margin-left: -0.368vw;
        left: 0.474vw;
    }
    #mw-site-navigation {
        margin-right: 0.432em;
    }
    #mw-site-navigation .sidebar-chunk {
        border: solid 4px var(--primary-1);
        border-right: solid 3.4px var(--primary-5);
        left: 0.884vw;
    }
    #mw-site-navigation .sidebar-chunk#site-navigation {
    	margin-top: 0.82412em;
        left: 0.538em!important;
    }
    
    #mw-related-navigation {
        padding-top: 4.084em;
        margin-left: 1.924em;
        margin-right: -0.9em;
        right: 0.42em;
    }
    .mediawiki:not(.action-edit):not(.action-submit) #mw-related-navigation {
        margin-top: -1.98648em;
    }
    #mw-related-navigation .sidebar-chunk {
        margin-left: -1.168em;
        border-left-color: var(--primary-1);
        border-top-color: var(--primary-1);
        border-bottom-color: var(--primary-12);
    }
    .sidebar-chunk#page-tools #ca-delete {
    	top: 50.465px!important;
	}
    .sidebar-chunk#page-tools #ca-move:first-child {
    	margin-top: -0.8em!important;
    	top: 1.4em!important;
	}
    .sidebar-chunk#other-languages {
        margin-top: 1.388em;
        top: -0.88em;
    }
	
    #mw-header-container {
        z-index: 7000;
    }
    
    .portable-infobox {
        min-width: 15.28vw;
    	font-size: max(0.9em,0.756vw)!important;
    }
    .portable-infobox .pi-image img {
        width: 99.035%;
    }
    .mw-parser-output > h2,
    .mw-parser-output > h2 + h3 {
    	background: none;
    	box-shadow: none;
    }
    .mw-parser-output > h3 {
        margin-left: 3.158px;
    }
}

@media screen and (min-width: 851px) {
	.mw-first-heading {
        position: relative;
        padding-top: 0.231em;
        padding-left: 0.08em;
        padding-bottom: 0.26em;
        top: 0.35em;
        left: -0.1em;
    }
    .mw-first-heading i {
        font-size: 1.02em; /* 16.32px at normal font size */
        margin-left: -3.3px;
        margin-right: 4.6px;
    }
    
    :root.theme-dark .mw-parser-output > #article-type.type-conjecture {
    	border-color: var(--accent-9);
	}
    .mw-parser-output > #article-type {
    	margin-bottom: 27px;
	}
	.mw-parser-output > #article-type ~ .dabtag {
    	margin-top: -11px;
	}
    .mw-parser-output > #article-type ~ .stub-type ~ .dabtag,
    .mw-parser-output > #article-type ~ #stub-type ~ .dabtag {
        margin-top: 0px;
    }
    
    .mw-parser-output > #subpage-article > .content-table-wrapper,
    .mw-parser-output > .content-table-wrapper:first-child {
        z-index: 25;
        position: relative;
    }
    #subpage-article #subpage-article-tab .mw-selflink span {
        opacity: 0.845;
    }
    
    #subpage-article ~ .portable-infobox,
    .subpage-tabs-main ~ .portable-infobox {
        margin-top: 1px;
        margin-right: 8.05px;
        position: relative;
    	z-index: 200;
    }
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + .portable-infobox {
        margin-top: -16.5px;
        margin-right: 3px;
        z-index: 400;
        position: relative;
    }
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) ~ .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ .portable-infobox ~ :not(#subpage-article) ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + .portable-infobox ~ .portable-infobox {
        margin-top: -2.196px!important;
        padding-bottom: 11px;
        border-radius: 8.2px 8.2px 12px 13px;
    }
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) ~ .portable-infobox ~ .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ .portable-infobox ~ :not(#subpage-article) ~ .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + .portable-infobox ~ .portable-infobox ~ .portable-infobox,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + .portable-infobox ~ .portable-infobox ~ .portable-infobox {
        margin-top: -3.9px;
    }
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) ~ .portable-infobox ~ .portable-infobox:last-of-type,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox:last-of-type,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox:last-of-type,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + :not(#subpage-article) + .portable-infobox ~ .portable-infobox:last-of-type,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ .portable-infobox ~ :not(#subpage-article) ~ .portable-infobox:last-of-type,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + :not(#subpage-article) + .portable-infobox ~ .portable-infobox:last-of-type,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child + .portable-infobox ~ .portable-infobox:last-of-type {
        padding-bottom: 13.4px;
    }
    .portable-infobox .pi-title p {
        font-size: 0.97em; /* 15.52px at normal font size */
        font-weight: 700;
        position: relative;
        margin-top: -5.8px;
        padding-top: 1.5px;
        margin-top: -1.7px;
        top: -1px;
    }
    #subpage-article ~ .portable-infobox .pi-title p,
    .subpage-tabs-main ~ .portable-infobox .pi-title p {
        top: 0;
    }
    
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt),
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .ns-9 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p,
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p,
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p {
        margin-top: 14.2px;
        /*position: relative;
        top: -12.8px;
        left: 0.036em;*/
        width: 69.5%;
    }
    .mediawiki.short-page .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mediawiki.short-page .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mediawiki.short-page .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .mediawiki.short-page .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p,
    .mediawiki.short-page .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p,
    .mediawiki.short-page .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p {
    	text-align: left;
    }
    .stub-type, #stub-type {
        margin-top: -15.56px;
    	margin-bottom: 11px;
    	position: relative;
    	left: -6px;
    	bottom: -3px;
    	z-index: 4;
    }
    .dabtag {
        margin-bottom: 1.2em;
    }
}
@media screen and (min-width: 851px) {
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) {
        margin-top: 19.8px;
        margin-left: 5.8px;
        width: calc(27.12% + 1em + 28.2199vw);
        /*background: var(--primary-20);
         -moz-box-shadow: 0 1px 0 37px var(--primary-20);
      -webkit-box-shadow: 0 1px 0 37px var(--primary-20);
           -o-box-shadow: 0 1px 0 37px var(--primary-20);
          -ms-box-shadow: 0 1px 0 37px var(--primary-20);
              box-shadow: 0 1px 0 37px var(--primary-20);*/
        /* position: relative; */
        /* z-index: -1; */
    }
    
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
	.mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:not(.mw-empty-elt) ~ p:not(.mw-empty-elt) {
        margin-left: 5.8px;
        width: calc(27.12% + 1em + 28.2199vw);
        /*background: var(--primary-28);*/
    }

    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt) ~ h2 ~ p,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ h2 ~ p,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ h2 ~ p,
    .mw-parser-output > #subpage-article ~ p:not(.mw-empty-elt) ~ h2 ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p:not(.mw-empty-elt) ~ h2 ~ p:not(.mw-empty-elt) {
        margin: 1em 0!important;
        margin-left: -0.012em!important;
        width: initial!important;
        text-align: left!important;
    }
    .mw-parser-output > #subpage-article ~ p:not(.mw-empty-elt) ~ h2 ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p:not(.mw-empty-elt) ~ h2 ~ p:not(.mw-empty-elt) {
    	/* position: relative; */
    	margin-left: 0.08em!important;
    }
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p:nth-of-type(2):not(.mw-empty-elt) ~ h2:first-of-type,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p:nth-of-type(3):not(.mw-empty-elt) ~ h2:first-of-type {
        margin-top: 27.7px;
        margin-left: -0.032em;
    }
    .mw-parser-output > #subpage-article ~ p:nth-of-type(2):not(.mw-empty-elt) ~ h2,
    .mw-parser-output > .subpage-tabs-main ~ p:nth-of-type(3):not(.mw-empty-elt) ~ h2 {
        margin-top: 1.1em;
        margin-left: 0.12em;
    }
    
    .mw-parser-output > #subpage-article ~ h2 + h3,
    .mw-parser-output > .subpage-tabs-main ~ h2 + h3 {
        margin-bottom: 21.4px;
    }
    
    .mw-parser-output > #subpage-article ~ .stub-type,
    .mw-parser-output > #subpage-article ~ #stub-type,
    .mw-parser-output > .subpage-tabs-main ~ .stub-type,
    .mw-parser-output > .subpage-tabs-main ~ #stub-type {
    	    margin-top: 0.74em;
    		margin-left: 0.59em;
    		margin-bottom: 0.48em;
	}
    .mw-parser-output > #subpage-article ~ .dabtag,
    .mw-parser-output > .subpage-tabs-main ~ .dabtag {
        margin-top: 5px;
        top: 0.52px;
        margin-bottom: 9px;
    }
    
    #subpage-article + #article-type,
    .subpage-tabs-main + #article-type {
    	z-index: 2;
    	position: relative;
    	top: 12px;
    	background-color: var(--primary-18);
    	border-radius: 4px;
    }
    
    
    .mw-parser-output > .pullout-wrapper {
        margin-bottom: 28px;
        margin-right: 7px;
        margin-top: 2.5px;
        margin-right: -46px;
    }
    .mw-parser-output > #subpage-article ~ .pullout-wrapper,
    .mw-parser-output > .content-table-wrapper ~ .pullout-wrapper {
        margin-bottom: 10px;
        background: var(--primary-18);
         -moz-box-shadow: -20px 0 0 0 var(--primary-1) inset;
      -webkit-box-shadow: -20px 0 0 0 var(--primary-1) inset;
           -o-box-shadow: -20px 0 0 0 var(--primary-1) inset;
          -ms-box-shadow: -20px 0 0 0 var(--primary-1) inset;
              box-shadow: -20px 0 0 0 var(--primary-1) inset;
        border-radius: 0 100px 100px 0;
        margin-bottom: 5px;
        position: relative;
        top: 2px;
        margin-left: 2.48em;
    }
	
    .pullout-wrapper .pullout-spacer:not(.mw-collapsed) {
        max-height: 20px;
    }
    .pullout-handle {
        margin-right: -9px;
        margin-bottom: -36.64px;
    }
    
    .pullout-wrapper .pullout-content {
        margin-right: 53px;
        margin-bottom: 15.1px;
    }
    
    .pullout-wrapper ~ .portable-infobox {
        position: relative;
        z-index: 200;
        top: -19px!important;
    }
    
    .pullout-wrapper ~ .stub-type,
    .pullout-wrapper ~ #stub-type {
    	margin-top: -6.6px;
    	margin-bottom: 4px;
	}
	.pullout-wrapper ~ .dabtag,
	.pullout-wrapper ~ #dabtag {
	    margin-top: -7px!important;
	    margin-bottom: 1.2em;
	}
	.pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type ~ .dabtag,
	.pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type ~ #dabtag,
	.pullout-wrapper:has([aria-expanded="true"]) ~ #stub-type ~ #dabtag,
	.pullout-wrapper:has([aria-expanded="true"]) ~ #stub-type ~ .dabtag {
        margin-top: -20px!important;
    	top: 9.52px;
    	margin-bottom: 33px;
	}
	.pullout-wrapper:has([aria-expanded="false"]) ~ .stub-type ~ .dabtag,
	.pullout-wrapper:has([aria-expanded="false"]) ~ .stub-type ~ #dabtag,
	.pullout-wrapper:has([aria-expanded="false"]) ~ #stub-type ~ #dabtag,
	.pullout-wrapper:has([aria-expanded="false"]) ~ #stub-type ~ .dabtag {
        margin-top: 13px!important;
    	top: -0.48px;
    }
    
    
    .mw-parser-output > #subpage-article ~ .pullout-wrapper:has([aria-expanded="false"]) ~ .stub-type,
    .mw-parser-output > .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="false"]) ~ .stub-type {
        top: 14px;
    }
    .mw-parser-output > #subpage-article ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type,
    .mw-parser-output > .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type {
        top: -3px;
    }
    .mw-parser-output:has(.dabtag) > #subpage-article ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type,
    .mw-parser-output:has(.dabtag) > .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type {
        top: -14px;
    }
    
    
    .mw-parser-output > #subpage-article ~ .pullout-wrapper:has([aria-expanded="false"]) ~ .stub-type ~ .dabtag,
    .mw-parser-output > .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="false"]) ~ .stub-type ~ .dabtag {
        margin-top: 28px!important;
    }
    
    #subpage-article ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type ~ .dabtag,
    #subpage-article ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type ~ #dabtag,
    #subpage-article ~ .pullout-wrapper:has([aria-expanded="true"]) ~ #stub-type ~ #dabtag,
    #subpage-article ~ .pullout-wrapper:has([aria-expanded="true"]) ~ #stub-type ~ .dabtag,
    .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type ~ .dabtag,
    .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type ~ #dabtag,
    .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="true"]) ~ #stub-type ~ #dabtag,
    .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="true"]) ~ #stub-type ~ .dabtag {
        margin-top: -18px!important;
        top: calc(9.52px - 0.38em);
    }
	
	
    .mw-parser-output:has(.dabtag) > #subpage-article ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type ~ .dabtag,
    .mw-parser-output:has(.dabtag) > .subpage-tabs-main ~ .pullout-wrapper:has([aria-expanded="true"]) ~ .stub-type ~ .dabtag {
        margin-top: -10px!important;
    }
    
    
    .pullout-wrapper ~ p:nth-of-type(1).mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .pullout-wrapper ~ p:nth-of-type(1).mw-empty-elt ~ p:nth-of-type(2).mw-empty-elt ~ p:nth-of-type(3):not(.mw-empty-elt) {
        margin-top: 3px!important;
    	position: relative;
    	top: 9px;
    }
	.pullout-wrapper:has([aria-expanded="false"]) ~ p:nth-of-type(1).mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
	.pullout-wrapper:has([aria-expanded="false"]) ~ p:nth-of-type(1).mw-empty-elt ~ p:nth-of-type(2).mw-empty-elt ~ p:nth-of-type(3):not(.mw-empty-elt) {
	    top: 5px;
	}
    .mw-parser-output > #subpage-article ~ .pullout-wrapper ~ p:nth-of-type(1).mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt), #subpage-article ~ .pullout-wrapper ~ p:nth-of-type(1).mw-empty-elt ~ p:nth-of-type(2).mw-empty-elt ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ .pullout-wrapper ~ p:nth-of-type(1).mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt), #subpage-article ~ .pullout-wrapper ~ p:nth-of-type(1).mw-empty-elt ~ p:nth-of-type(2).mw-empty-elt ~ p:nth-of-type(3):not(.mw-empty-elt) {
        top: -2px;
    }
    .mw-parser-output > #subpage-article + .pullout-wrapper ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main + .pullout-wrapper ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article + .pullout-wrapper ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main + .pullout-wrapper ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) {
        padding-top: 22px;
    }
}

@media screen and (min-width: 851px) and (max-width: 1339px) {
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt),
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) {
        /* margin-top: -14.8px; */
        margin-bottom: 16.8px;
    }
    .ns-9 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p,
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p,
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p {
        margin-top: -2.8px;
        margin-bottom: 18.4px;
    }
    
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p:nth-of-type(2):not(.mw-empty-elt)~h2:first-of-type,
    .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p:nth-of-type(3):not(.mw-empty-elt)~h2:first-of-type {
        margin-top: 17px;
    }
}
@media screen and (min-width: 1100px) and (max-width: 1339px) {
	#subpage-article ~ .stub-type,
	#subpage-article ~ #stub-type,
	.subpage-tabs-main ~ .stub-type,
	.subpage-tabs-main ~ #stub-type {
    	/* margin-left: -4px; */
    	margin-top: -1px;
    	right: -2.11em;
    	transform: rotate(90deg) translate(-5px, -6px);
    	transform-origin: 40% 308%;
    	-webkit-transform-origin: 40% 308%;
    	position: absolute;
    /* transform: none; */
    /* top: 29px; */
    /* right: 27em; */
	}
	#subpage-article ~ .stub-type ~ .stub-type,
	#subpage-article ~ .stub-type ~ #stub-type,
	#subpage-article ~ #stub-type ~ .stub-type,
	.subpage-tabs-main ~ .stub-type ~ .stub-type,
	.subpage-tabs-main ~ .stub-type ~ #stub-type,
	.subpage-tabs-main ~ #stub-type ~ .stub-type {
    	margin-top: 115.1px;
    	margin-top: 140.76px;
    	/* right: 17em; */
	}
	#subpage-article ~ .stub-type ~ .stub-type ~ .stub-type,
	#subpage-article ~ .stub-type ~ .stub-type ~ #stub-type,
	#subpage-article ~ .stub-type ~ #stub-type ~ .stub-type,
	#subpage-article ~ #stub-type ~ .stub-type ~ .stub-type,
	#subpage-article ~ #stub-type ~ #stub-type ~ .stub-type,
	#subpage-article ~ .stub-type ~ #stub-type ~ #stub-type,
	#subpage-article ~ #stub-type ~ #stub-type ~ #stub-type,
	.subpage-tabs-main ~ .stub-type ~ .stub-type ~ .stub-type,
	.subpage-tabs-main ~ .stub-type ~ .stub-type ~ #stub-type,
	.subpage-tabs-main ~ .stub-type ~ #stub-type ~ .stub-type,
	.subpage-tabs-main ~ #stub-type ~ .stub-type ~ .stub-type,
	.subpage-tabs-main ~ #stub-type ~ #stub-type ~ .stub-type,
	.subpage-tabs-main ~ .stub-type ~ #stub-type ~ #stub-type,
	.subpage-tabs-main ~ #stub-type ~ #stub-type ~ #stub-type {
    	right: 120px;
    	margin-top: 293.4px;
	}
	.mw-parser-output > #subpage-article ~ .dabtag {
    	margin-top: 14px;
	}
}

@media screen and (min-width: 1100px) and (max-width: 1619px) {
    .mw-parser-output > #subpage-article ~ p:nth-of-type(2):not(.mw-empty-elt) ~ h2,
    .mw-parser-output > .subpage-tabs-main ~ p:nth-of-type(3):not(.mw-empty-elt) ~ h2 {
       margin-top: 0.92em;
        margin-bottom: 0.672em;
    }
}
@media screen and (min-width: 1340px) and (max-width: 1619px) {
    h2 + .tright {
        margin-top: -0.658em;
    }
}
@media screen and (min-width: 1620px) {
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p:not(.mw-empty-elt) {
        width: calc(27.12% + 1em + 28.0724vw);
    }
	.toc, .toccolours, .mw-warning {
		margin-left: 1em;
	}
    .mw-parser-output > #subpage-article ~ p:nth-of-type(2):not(.mw-empty-elt) ~ h2,
    .mw-parser-output > .subpage-tabs-main ~ p:nth-of-type(3):not(.mw-empty-elt) ~ h2 {
        margin-top: 1.02em;
        margin-bottom: 0.742em;
    }
    h2 + .tright {
        margin-top: -2.6824em;
    }
	.floatleft, .tleft {
    	padding-bottom: 0;
    	margin-right: 0.32em;
	}
	.floatright, .tright {
    	margin-left: 0.688em;
	}
}

@media screen and (min-width: 1685px) {
    .mw-parser-output > #subpage-article ~ .stub-type {
        margin-top: 0.65em;
    }
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) {
        margin-top: 1.118em;
        top: 0.2em;
        margin-bottom: 1.04em;
        background: none;
        box-shadow: none;
        width: calc(28.12% + 1em + 30.0724vw);
    }
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p:not(.mw-empty-elt) {
        width: calc(28.12% + 1em + 30.0724vw);
        /* background: none; */
        /* box-shadow: none; */
    }
}
@media screen and (min-width: 1720px) {
    .subpage-tabs-main {
        position: relative;
        /* right: 13px; */
        right: 7.8px;
    }
    #subpage-article ~ .portable-infobox,
    .subpage-tabs-main ~ .portable-infobox {
        /* margin-right: 4.28px; */
        margin-right: -0.98px;
        margin-top: 14px;
    }
    .mw-parser-output > #subpage-article ~ .stub-type,
    .mw-parser-output > .subpage-tabs-main ~ .stub-type {
        margin-top: 1.05em;
        margin-left: 0.46778em;
        margin-right: 0.4081em;
    }
}
@media screen and (min-width: 1860px) {
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) ~ p:not(.mw-empty-elt) {
        width: calc(27.12% + 1em + 30.96614vw);
        margin-left: -0.08em
    }
}
    
@media screen and (min-width: 1100px) and (max-width: 1339px) {
	#subpage-article ~ .pullout-wrapper ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ #stub-type {
    	margin-top: 58px;
    	margin-right: 13.4px;
        -moz-box-shadow: -3.5px -1px 0 5px var(--primary-6),3.7px -1px 0 5px var(--primary-4),-3.5px -1px 0 7px var(--primary-3),3.7px -1px 0 7px var(--primary-3);
     -webkit-box-shadow: -3.5px -1px 0 5px var(--primary-6),3.7px -1px 0 5px var(--primary-4),-3.5px -1px 0 7px var(--primary-3),3.7px -1px 0 7px var(--primary-3);
          -o-box-shadow: -3.5px -1px 0 5px var(--primary-6),3.7px -1px 0 5px var(--primary-4),-3.5px -1px 0 7px var(--primary-3),3.7px -1px 0 7px var(--primary-3);
         -ms-box-shadow: -3.5px -1px 0 5px var(--primary-6),3.7px -1px 0 5px var(--primary-4),-3.5px -1px 0 7px var(--primary-3),3.7px -1px 0 7px var(--primary-3);
             box-shadow: -3.5px -1px 0 5px var(--primary-6),3.7px -1px 0 5px var(--primary-4),-3.5px -1px 0 7px var(--primary-3),3.7px -1px 0 7px var(--primary-3);
    	border-radius: 8px 8px 0 0;
    	z-index: 30;
	}
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ #stub-type,
	#subpage-article ~ .pullout-wrapper ~ #stub-type ~ .stub-type {
    	margin-top: 197.1px;
    	z-index: 30;
	}
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ .stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ .stub-type ~ #stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ #stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ #stub-type ~ .stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ #stub-type ~ #stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ #stub-type ~ #stub-type,
	#subpage-article ~ .pullout-wrapper ~ #stub-type ~ #stub-type ~ #stub-type {
    	margin-top: 336px;
	}
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ .stub-type ~ .stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ .stub-type ~ .stub-type ~ #stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ .stub-type ~ #stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ .stub-type ~ #stub-type ~ #stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ #stub-type ~ .stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ #stub-type ~ .stub-type ~ #stub-type,
	#subpage-article ~ .pullout-wrapper ~ #stub-type ~ .stub-type ~ .stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ #stub-type ~ .stub-type ~ .stub-type ~ #stub-type,
	#subpage-article ~ .pullout-wrapper ~ #stub-type ~ #stub-type ~ .stub-type ~ .stub-type,
	#subpage-article ~ .pullout-wrapper ~ .stub-type ~ #stub-type ~ #stub-type ~ .stub-type {
	    margin-top: 110px;
	    margin-right: -20px;
         -moz-box-shadow: var(--stub-tab);
      -webkit-box-shadow: var(--stub-tab);
           -o-box-shadow: var(--stub-tab);
          -ms-box-shadow: var(--stub-tab);
              box-shadow: var(--stub-tab);
	    z-index: 28;
	}
	
    :root.theme-dark .mw-parser-output > #subpage-article ~ h2 + h3:first-of-type,
    :root.theme-dark .mw-parser-output > .subpage-tabs-main ~ h2 + h3:first-of-type {
        margin-top: 5px;
    /*     -moz-box-shadow: var(--shade-design);
        -webkit-box-shadow: var(--shade-design);
             -o-box-shadow: var(--shade-design);
            -ms-box-shadow: var(--shade-design);
                box-shadow: var(--shade-design); */
        max-width: 54vw;
    }
}

@media screen and (min-width: 851px) and (max-width: 1339px) {
    .tright .thumbimage,
    .tright .thumbcaption {
        max-width: 16.48em!important;
    }
    .tright {
        margin-top: -1.84em;
        margin-right: -3.528em;
    }
    .tleft .thumbimage,
    .tleft .thumbcaption {
        max-width: 18.62878em!important;
    }
    .tleft {
        position: relative;
        top: 1.1725em;
        margin-left: -.8648em;
        margin-right: 0.12em;
        margin-bottom: -.48em;
    }
    div#inline-box {
        margin-left: 10.6px;
        margin-right: 18.4px;
    }
}

@media screen and (min-width: 1100px) and (max-width: 1339px) {
    .mw-parser-output > p:not(.mw-empty-elt) {
        margin: 0.614em 0;
    }
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p.mw-empty-elt:nth-of-type(3) ~ p:nth-of-type(4):not(.mw-empty-elt) {
        margin-top: 17.89px;
        margin-left: 2.68px;
        width: calc(27.41% + 1em + 29.71vw);
        /*box-shadow: 3px 9px 0 37px var(--primary-18);
        background: var(--primary-18);*/
    }
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:not(.mw-empty-elt) ~ p:not(.mw-empty-elt) {
        margin-top: 0.684em;
        margin-left: 2.68px;
        width: calc(27.41% + 1em + 29.71vw);
    }
    .tleft {
        top: 0.1725em;
    }
}

@media screen and (min-width: 1340px) and (max-width: 1619px) {
    .tright {
        margin-top: -0.34em;
        margin-right: -1.828em;
    }
    .tright .thumbimage,
    .tright .thumbcaption {
        max-width: 18em!important;
    }
    .tleft {
        position: relative;
        top: 1.7205em;
        margin-left: -1.46483em;
        left: -2.1px;
    }
    .tleft .thumbimage,
    .tleft .thumbcaption {
        max-width: 19.72878em!important;
    }
}

@media screen and (min-width: 1340px) {
	.stub-type, #stub-type {
    	margin-top: -17.46px;
	}
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt),
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .ns-9 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(1) ~ p:nth-of-type(2):not(.mw-empty-elt) ~ p,
    .ns-0 .mw-parser-output > :not(#subpage-article):not(.subpage-tabs-main):first-child ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) ~ p {
        width: calc(100vw - 37.486em - 262.97px);
    }
    
	.mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:not(.mw-empty-elt) ~ p:not(.mw-empty-elt),
	.mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:not(.mw-empty-elt) ~ p:not(.mw-empty-elt) {
    	margin-left: -1.2px;
	}
	.mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
	.mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
	.mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
	.mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) {
    	margin-left: 0.73em;
	}
    .mw-parser-output:has(.dabtag):has(.pullout-wrapper [aria-expanded="true"]) > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output:has(.dabtag):has(.pullout-wrapper [aria-expanded="true"]) > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output:has(.dabtag):has(.pullout-wrapper [aria-expanded="true"]) > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output:has(.dabtag):has(.pullout-wrapper [aria-expanded="true"]) > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) {
        /* margin-left: 0.63em; */
    }
    
	.floatleft, .tleft {
		margin-top: 0.86em;
        margin-right: -6px;
	}
	.thumb + p + .thumb {
    	top: 0.02em;
    	margin-bottom: -0.22em;
	}
	.tleft + p + p + p + .tleft {
		margin-top: -0.972em;
	}
    div#inline-box {
        width: 277px;
        margin-right: 20px;
        margin-top: 10.5px;
    }
    div#inline-box + .tleft {
        margin-top: -12.4px;
        margin-bottom: 12px;
        margin-right: -6px;
    }
	h3 + .tleft {
    	margin-top: 0.2em;
	}
	
	table.navbox {
        top: 25.018px;
    }
	/* Fix for automatic reflists */
	.content-table-wrapper:has(.navbox) + .mw-references-wrap {
    	top: 30px;
    	margin-top: 25px;
    	margin-bottom: 10px;
	}
}

.mw-portlet-body a {
    color: #ddd5c2;
}

/* SEARCH PAGE */

#powersearch {
    background: var(--primary-24);
}
.mw-body .mw-search-profile-tabs {
    background: var(--primary-9);
    border: solid 3px var(--primary-21);
}

:root.theme-dark .mw-rcfilters-head .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement>.oo-ui-buttonElement-button,
:root.theme-dark .mw-rcfilters-ui-rcTopSectionWidget-topLinks-top .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement>.oo-ui-buttonElement-button {
    background: var(--primary-3);
    outline: solid 2px #425b87;
    color: var(--text-color-3);
    font-weight: 600;
}

:root.theme-dark .mw-rcfilters-ui-rcTopSectionWidget-topLinks-top .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement>.oo-ui-buttonElement-button:hover,
:root.theme-dark .mw-rcfilters-head .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement>.oo-ui-buttonElement-button {
    background: #182c4e;
    outline-color: #465979;
}
:root.theme-dark .mw-rcfilters-head .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement>.oo-ui-buttonElement-button .oo-ui-indicatorElement-indicator,
:root.theme-dark .mw-rcfilters-ui-rcTopSectionWidget-topLinks-top .oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement>.oo-ui-buttonElement-button .oo-ui-indicatorElement-indicator {
    filter: invert(1) hue-rotate(180deg) brightness(.65);
}
:root.theme-dark .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) {
    background: var(--primary-26);
    border: solid 2px var(--primary-26);
    outline: solid 2px var(--primary-2);
    box-shadow: 0 0 0 4px #2a3c5e;
    border-radius: 8px;
}
:root.theme-dark .mw-recentchanges-toplinks:not(.mw-recentchanges-toplinks-collapsed) a {
    color: #b0bfdb; /*#73829e accent-10*/
}
.mw-recentchanges-toplinks-content {
    float: right;
    padding-right: 3.82vw;
    margin-top: -8px;
}

:root.theme-dark .mw-rcfilters-head .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined > div {
    background: hsl(var(--H-2b) 100% 89.8%);
    border: solid 2px hsl(var(--H-2) 31.03% 71.57%);
}
:root.theme-dark .mw-rcfilters-head .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
    background: hsl(var(--H-6) 81.82% 87.06%);
    border: solid 1px hsl(var(--H-6) 35.09% 65.06%);
}
:root.theme-dark .mw-rcfilters-head .oo-ui-tagMultiselectWidget.oo-ui-tagMultiselectWidget-outlined .oo-ui-inputWidget-input {
    background: var(--contrast-color-14);
    color: var(--TEXT-A-H2);
}
:root.theme-dark .mw-rcfilters-head .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background: hsl(var(--H-2) 71% 85%); /*tentative*/
}
:root.theme-dark .mw-rcfilters-head .mw-rcfilters-ui-savedLinksListWidget-button.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
    background: hsl(var(--H-6) 73% 85%); /*tentative*/
}

.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,
.mw-changeslist-legend,
.mw-body fieldset#mw-searchoptions,
.mw_metadata, .mw-datatable {
    background: var(--primary-10);
    border: solid 3px var(--primary-21);
}
.results-info {
	color: var(--text-color);
}

@media screen and (max-width: 850px) {
	.mw-recentchanges-toplinks-content {
	    padding-right: 3.2vw;
	}
}

/* CATEGORIES */

@media screen and /*(min-width: 851px) and*/ (max-width: 1339px) {
	.mediawiki:not(.ns-8):not(.action-edit) #content-bottom-stuff {
		background: #0e2348bf;
		padding-bottom: 22px;
		margin-top: 5px;
         -moz-box-shadow: var(--category-box-3);
      -webkit-box-shadow: var(--category-box-3);
           -o-box-shadow: var(--category-box-3);
          -ms-box-shadow: var(--category-box-3);
              box-shadow: var(--category-box-3);
		margin-bottom: 10px;
		z-index: -2;
		overflow: hidden;
	}
	.mediawiki.short-page:not(.ns-8):not(.action-edit) #content-bottom-stuff {
		margin-left: 13.34em;
    	border-left: solid 4px var(--primary-3);
    	border-right: solid 4.4px var(--primary-3);
    	width: 78.5%;
	}
	.mediawiki:not(.ns-8):not(.action-edit) #content-bottom-stuff {
        margin-top: 10.7px;
         -moz-box-shadow: -5em 0 0 var(--primary-5) inset, var(--category-box-5), 1.54em -2em 0 var(--primary-10), 1.54em 1.7em 0 var(--primary-10), 1.76em -2em 0 var(--primary-9), 1.76em 2.05em 0 var(--primary-9), -0.06em -2em 0 var(--primary-3), -0.06em 2.05em 0 var(--primary-3)!important;
      -webkit-box-shadow: -5em 0 0 var(--primary-5) inset, var(--category-box-5), 1.54em -2em 0 var(--primary-10), 1.54em 1.7em 0 var(--primary-10), 1.76em -2em 0 var(--primary-9), 1.76em 2.05em 0 var(--primary-9), -0.06em -2em 0 var(--primary-3), -0.06em 2.05em 0 var(--primary-3)!important;
           -o-box-shadow: -5em 0 0 var(--primary-5) inset, var(--category-box-5), 1.54em -2em 0 var(--primary-10), 1.54em 1.7em 0 var(--primary-10), 1.76em -2em 0 var(--primary-9), 1.76em 2.05em 0 var(--primary-9), -0.06em -2em 0 var(--primary-3), -0.06em 2.05em 0 var(--primary-3)!important;
          -ms-box-shadow: -5em 0 0 var(--primary-5) inset, var(--category-box-5), 1.54em -2em 0 var(--primary-10), 1.54em 1.7em 0 var(--primary-10), 1.76em -2em 0 var(--primary-9), 1.76em 2.05em 0 var(--primary-9), -0.06em -2em 0 var(--primary-3), -0.06em 2.05em 0 var(--primary-3)!important;
              box-shadow: -5em 0 0 var(--primary-5) inset, var(--category-box-5), 1.54em -2em 0 var(--primary-10), 1.54em 1.7em 0 var(--primary-10), 1.76em -2em 0 var(--primary-9), 1.76em 2.05em 0 var(--primary-9), -0.06em -2em 0 var(--primary-3), -0.06em 2.05em 0 var(--primary-3)!important!important;
		overflow: visible;
	}
	.mediawiki:not(.ns-8):not(.action-edit) #content-bottom-stuff:before {
	    content: " ";
	    display: block;
	    height: 45.29px;
	    width: 90vw;
	    position: relative;
	    bottom: 5.602em;
	    right: 9.6em;
	    bottom: 4.44em;
         -moz-box-shadow: var(--category-box-4);
      -webkit-box-shadow: var(--category-box-4);
           -o-box-shadow: var(--category-box-4);
          -ms-box-shadow: var(--category-box-4);
              box-shadow: var(--category-box-4);
	    z-index: -1;
	    margin-bottom: 0;
	}
	.mediawiki.long-page:not(.ns-8):not(.action-edit) #content-bottom-stuff:before {
         -moz-box-shadow: var(--category-box-3);
      -webkit-box-shadow: var(--category-box-3);
           -o-box-shadow: var(--category-box-3);
          -ms-box-shadow: var(--category-box-3);
              box-shadow: var(--category-box-3);
	}
	
	.mediawiki:not(.ns-8):not(.action-edit) #catlinks {
		display: block !important;
		border-width: 1px 1px 0.2em;
		background: #0e2348cc;
		border: solid 2px #445b81;
        border-top-color: #6d83aa;
        border-left-color: #647798;
        border-bottom-color: #5a6f92;
		border-radius: 16px;
		padding: 1.2em 1.5em 2px;
		margin: -37px 102px -4px 16px;
		line-height: 1.1;
		word-wrap: break-word;
	}
	
	.mediawiki #catlinks.catlinks-allhidden {
    	visibility: hidden;
    	margin-bottom: -2.05em!important;
	}
	
	#catlinks > div {
	    margin-bottom: 1.5em;
	}
	#catlinks a {
	    color: var(--contrast-color-8);
	}
	.catlinks li {
    	border-left-color: #3c495f;
	}
	#catlinks ul li a {
		padding: 5px 7px 5px 6px;
		border-radius: 10px;
        color: var(--link-color-2);
	}
	#catlinks ul li a:hover {
		background: #132952;
        outline: solid 1px #20365d;
		text-decoration: none;
	}
	.catlinks li > a.new {
    	border: dashed 2.8px rgba(255, 255, 255, 0.08);
    	border-radius: 10px;
	}
	#catlinks-sidebar {
		display: none;
	}
}

@media screen and (min-width: 1340px) {
	.action-edit #mw-content-container {
	    padding-bottom: 6.8vh;
	}
	.action-edit #mw-content {
	    padding-bottom: 58.4px;
	}
}

@media screen and (min-width: 851px) {
    .mw-footer-container {
        background: #112a56ad; /*112a5696 0629686b*/
        border-top: none;
         -moz-box-shadow: 0 -9px 0 0 #061c43a3;
      -webkit-box-shadow: 0 -9px 0 0 #061c43a3;
           -o-box-shadow: 0 -9px 0 0 #061c43a3;
          -ms-box-shadow: 0 -9px 0 0 #061c43a3;
              box-shadow: 0 -9px 0 0 #061c43a3;
        position: relative;
        margin-top: 0;
        padding-bottom: 12px;
    }

    #mw-content-container {
        border-bottom-width: 1px!important;
        border-bottom-color: #f2f6ff!important;
        padding-bottom: 26px;
        margin-bottom: -5px;
    }
}

@media screen and (max-width: 1099px) {
    #menus-cover {
        background: #2f4262;
        z-index: 0;
    }
    /*#menus-cover {
        background: #2f4262 var(--background-image);
        background-size: contain;
        filter: brightness(1.05) saturate(2) hue-rotate(110deg);
        opacity: 0.84;
        z-index: 0;
    } */
    #p-logo-text {
        z-index: 2;
    }
    /*.mw-first-heading {
        position: relative;
        z-index: 1;
    } */
    
    .mw-footer-container {
        background: var(--background-image)!important;
        height: 100%;
    }
    .mw-footer {
        background: #102651b3;
    }
}
@media screen and (max-width: 850px) {
    
    .mediawiki:not(.ns-8):not(.action-edit) #content-bottom-stuff {
        margin-left: 0;
        width: 149%!important;
        padding-right: 22.2vw;
        /* margin-top: 1.7em; */
        margin-bottom: -6.14em;
    }
    
    .mw-footer-container {
        width: calc(100% + 3em);
        padding-left: initial;
    }
    .mw-footer {
    	padding-top: 6.508em;
        padding-left: 1.04em;
        min-width: initial;
        max-width: 850px;
    }
    
    #footer-icons {
        position: relative;
    	margin-top: 1em;
    	top: -2.22em;
    	margin-left: 2em;
    	right: -3em;
    }
    #footer-icons .footer-icons:first-child {
        position: relative;
        margin-top: 2em;
        top: 0.9em;
        margin-left: 2em;
    }
    #footer-icons .footer-icons:nth-child(2):last-child {
        margin-right: -12.44vw;
    }
    #footer-icons .footer-icons + .footer-icons {
        margin-top: calc(-1.58em - 0.44px);
        margin-right: 6.96em;
    }
    #footer-icons .footer-icons:nth-child(3) {
        margin-top: calc(-2.48em - 0.1px);
        margin-right: 13.84em;
    }
    
    #footer-list {
        margin-top: -8.5em;
        position: relative;
        top: 0.96em;
    }
    #footer-info-lastmod .full-version {
        display: none;
    }
    #footer-info-lastmod .short-version {
        display: block!important;
        font-size: 0.89em; /* 14.24px at normal font size */
        color: var(--text-color-3);
    }
    #footer-list #footer-places {
        position: relative;
        top: -6.6em;
        margin-bottom: 2.82em;
    }
    #footer-list #footer-info-copyright {
        /* position: relative;
        top: 1.6em;
        margin-top: -4em;
        font-size: 0.886em; 
        display: none; */
    	position: relative;
    	top: 3.02em;
        margin-bottom: -3em;
    	font-size: 0.9em; /* 14.4px at normal font size */
    }
    .mw-footer #footer-info-lastmod a {
        color: var(--text-color-3)!important;
    }
    .mw-footer #footer-bbc-copyright,
    .mw-footer #footer-independent-copyright {
        position: relative;
        top: 4.4em;
        font-size: 0.7em; /* 11.2px at normal font size */
        line-height: 1.45em;
        display: block;
    }
    .mw-footer #footer-bbc-copyright {
        max-width: calc(100vw - 1em);
        padding-right: 14.7em;
    }
    .mw-footer #footer-independent-copyright {
        top: 4.3em;
    }
    .mw-footer #footer-independent-copyright .short-version {
    	margin-bottom: -1.5em;
	}
    
}
@media screen and (min-width: 851px) and (max-width: 1099px) {
    #mw-content-container {
        background: #243b62;
        padding-bottom: 1.8em!important;
    }
    :root.theme-dark .mw-dismissable-notice,
    :root.theme-dark #localNotice {
    	background-color: var(--primary-5);
	}
    .mediawiki:not(.ns-8):not(.action-edit) #content-bottom-stuff {
        width: 107%!important;
        margin-left: 0!important;
        margin-bottom: 1.018%;
    }
    .mw-footer {
        background: #011e56b3; /*0a265bb3 001a4bb3*/
        width: 100vw;
        margin-left: -5.8vw;
        padding-left: 2.2vw!important;
        padding-bottom: 1.5em;
        margin-bottom: -0.8em;
    }

    .mw-ui-vform {
        margin: auto;
    }
}
@media screen and (max-width: 1099px) {
    .mediawiki:not(.ns-8):not(.action-edit) #content-bottom-stuff {
        margin-top: 10.7px;
         -moz-box-shadow: var(--category-box-5)!important;
      -webkit-box-shadow: var(--category-box-5)!important;
           -o-box-shadow: var(--category-box-5)!important;
          -ms-box-shadow: var(--category-box-5)!important;
              box-shadow: var(--category-box-5)!important;
    }
    .mediawiki:not(.ns-8):not(.action-edit) #catlinks {
        margin: -38px 148px -4px 18px;
        border-color: #656f81;
        position: relative;
        left: 25.18px;
        top: 10.5718px;
    }
    .mw-footer-container {
    	max-width: 102vw;
        margin-top: 1.7px;
        margin-bottom: 2.68em;
         -moz-box-shadow: var(--footer-1d)!important;
      -webkit-box-shadow: var(--footer-1d)!important;
           -o-box-shadow: var(--footer-1d)!important;
          -ms-box-shadow: var(--footer-1d)!important;
              box-shadow: var(--footer-1d)!important;
    }
    .ns-special .mw-footer-container {
        margin-bottom: 2.2462em;
         -moz-box-shadow: var(--footer-1b)!important;
      -webkit-box-shadow: var(--footer-1b)!important;
           -o-box-shadow: var(--footer-1b)!important;
          -ms-box-shadow: var(--footer-1b)!important;
              box-shadow: var(--footer-1b)!important;
    }
    .ns-8 .mw-footer-container {
         -moz-box-shadow: var(--footer-1c)!important;
      -webkit-box-shadow: var(--footer-1c)!important;
           -o-box-shadow: var(--footer-1c)!important;
          -ms-box-shadow: var(--footer-1c)!important;
              box-shadow: var(--footer-1c)!important;
    }
    .action-edit .mw-footer-container {
        margin-bottom: 2.468em;
    }
    .mw-footer #footer-places:only-child {
        /* margin-top: 1em; */
        margin-bottom: 1.50048em;
        position: relative;
        top: -0.062em;
    }
    .ns-special .mw-footer #footer-places:only-child {
        top: -0.034em;
    }
}
@media screen and (max-width: 850px) {
	.mediawiki:not(.ns-8):not(.action-edit) #catlinks {
	    margin: -51px 148px -6px -4.08vw;
	    width: 84vw;
	    padding: 1.4em 1em 0.2em 1.8em;
	    border-color: #354a6e;
	}
    .mw-footer-container {
         -moz-box-shadow: var(--footer-2)!important;
      -webkit-box-shadow: var(--footer-2)!important;
           -o-box-shadow: var(--footer-2)!important;
          -ms-box-shadow: var(--footer-2)!important;
              box-shadow: var(--footer-2)!important;
    }
}

@media screen and (min-width: 1340px) {
	.mediawiki.long-page #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after,
	.special-Recentchanges #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after,
	.special-Recentchangeslinked #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after,
	.special-Watchlist #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after {
    	content: " ";
    	display: block;
    	width: 14.8em;
    	height: 337px;
    	background: url(https://tardis.wiki/w/images/Tardis_Images/4/43/TardisSilhouette.png) -12.02px no-repeat;
    	background-size: contain;
    	filter: invert(1) saturate(0.2) brightness(1.032);
    	opacity: 0.4;
    	position: absolute;
    	top: 119.7%;
    	left: 0.584em; /*-0.22em*/
    	z-index: -1;
	}
	.action-edit.long-page #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after {
	    top: 109.7%;
	    left: 1.78em;
	}
}

@media screen and (min-width: 1100px) and (max-width: 1339px) {
	.ns-8 .sidebar-chunk#site-tools {
        margin-top: 23px;
    }
    .ns-8 #mw-related-navigation .sidebar-chunk:last-child {
        margin-bottom: 88px;
    }
	.mediawiki.long-page .ns-0 #mw-related-navigation .sidebar-chunk:nth-last-of-type(2):after,
	.mediawiki.long-page .ns-0 #mw-related-navigation .sidebar-chunk:nth-last-of-type(1):after,
	.mediawiki.long-page .ns-8 #mw-related-navigation .sidebar-chunk:nth-last-of-type(1):after {
    	content: " ";
    	display: block;
		width: 14.8em;
    	height: 337px;
    	background: url(https://tardis.wiki/w/images/Tardis_Images/4/43/TardisSilhouette.png) -12.02px no-repeat;
    	background-size: contain;
    	filter: invert(1) saturate(0.2) brightness(1.032);
    	opacity: 0.4;
    	position: absolute;
    	top: 105.7%;
    	left: -0.23em;
    	z-index: -1;
	}
    .ns-0 #mw-site-navigation .sidebar-chunk#site-tools {
        top: -7.56em;
    }
    .ns-0 #mw-related-navigation .sidebar-chunk#other-languages {
        top: 26.28em;
    }
    .ns-0 #mw-related-navigation .sidebar-chunk#other-languages + .sidebar-chunk#page-tools {
        /* top: 6.44em; */
        top: -27.4em;
    }
    .ns-0 #mw-related-navigation .sidebar-chunk#other-languages + .sidebar-chunk#page-tools .mw-inputbox-centered {
        /* top: -24.81em; */
        top: -7.5368em;
    }
    .ns-0 #mw-related-navigation .sidebar-chunk#page-tools:first-child {
        top: -0.38em;
    }
    .ns-0 #mw-related-navigation .sidebar-chunk#page-tools:first-child .mw-inputbox-centered {
        top: -7.312em;
    }
    .sidebar-chunk#page-tools .mw-inputbox-centered .mw-ui-input {
        margin-left: 0.88em;
    }
    .sidebar-chunk#page-tools .mw-inputbox-centered .mw-ui-button {
        margin-left: 1.4728em;
    }
	.mw-special-Recentchanges .sidebar-chunk#page-tools .mw-inputbox-centered,
	.mw-special-Recentchangeslinked .sidebar-chunk#page-tools .mw-inputbox-centered {
		top: -19.33em;
	}
	/*#content-bottom-stuff {
        margin-left: 13.588em;
        margin-right: 28px;
    }*/
}

/*.sidebar-inner .interlanguage-link a {
	text-transform: uppercase; 
}
.sidebar-inner .interwiki-ru a {
    font-family: Georgia,Garamond,"Maven Pro","Nunito",serif;
    font-size: 1.094em;
    font-weight: 500!important;
}
.sidebar-inner .interwiki-bg a,
.sidebar-inner .interwiki-cs a,
.sidebar-inner .interwiki-uk a {
    font-family: Garamond,Georgia,"Maven Pro","Nunito",serif;
    font-size: 1.213em;
    line-height: 0.8em;
    font-weight: 500!important;
}
.sidebar-inner .interwiki-he a {
    font-family: Tahoma,Noto,"Gentium Book Basic","Nunito",serif;
    font-size: 1.213em;
    line-height: 0.8em;
    font-weight: 500!important;
}
.sidebar-inner .interwiki-zh a {
    font-family: Songti,"Songti SC Black","Noto Serif","Nunito",serif;
    font-size: 1.213em;
    line-height: 0.8em;
    font-weight: 500!important;
}*/

.sidebar-chunk#other-languages {
    margin-top: 1.68em;
    top: -1.98em;
    margin-bottom: 5.18em;
}
.mediawiki:not(.action-edit):not(.action-submit) .sidebar-chunk#other-languages {
    margin-top: 1.144em;
    top: -0.568em;
}
/* Necessary for this to be here, for order of operations */
:root.theme-light .mediawiki:not(.action-edit):not(.action-submit) .sidebar-chunk#other-languages {
    top: 2.332em;
}
.sidebar-chunk#page-tools .mw-inputbox-centered {
    /* position: relative; */
    /* top: -39.54em; */
    position: absolute;
    top: 24.67em;
    left: -9.3px;
	width: 104.2%;
	margin-bottom: -175px;
}
.ns-8 .sidebar-chunk#page-tools .mw-inputbox-centered {
    top: 21.63em; /*19.16em 16.06em*/
}
.ns-8 .sidebar-chunk#page-tools #p-pagemisc .mw-portlet-body {
    margin-bottom: 1.6em;
}
.action-edit .sidebar-chunk#page-tools .mw-inputbox-centered,
.action-delete .sidebar-chunk#page-tools .mw-inputbox-centered,
.action-protect .sidebar-chunk#page-tools .mw-inputbox-centered {
    top: 19.16em;
}
.mw-special-Movepage .sidebar-chunk#page-tools .mw-inputbox-centered {
    top: 14.47em
}
#mw-related-navigation .sidebar-chunk#page-tools:not(:last-child) .mw-inputbox-centered {
    top: -7.03em;
}
#mw-related-navigation .sidebar-chunk#page-tools:not(:last-child) {
    margin-top: 5.2em!important;
}
#mw-related-navigation .sidebar-chunk#page-tools:first-child:not(:last-child) {
    margin-top: 5.98em!important;
}
.sidebar-chunk#other-languages + .sidebar-chunk#page-tools:not(:last-child) .mw-inputbox-centered {
    top: -6.83em;
}
.sidebar-chunk#page-tools {
 /* padding-top: 93px!important; */
	margin-top: 6.8px!important;
}
.sidebar-chunk#page-tools #p-pagemisc-label p {
	display: none;
}
.sidebar-chunk#page-tools #p-pagemisc {
	margin-top: -26px;
}

.sidebar-chunk#page-tools #t-introedit {
    position: absolute;
    top: 62px;
}
.sidebar-chunk#page-tools #ca-move:first-child {
    position: relative;
    top: 23px;
}
.sidebar-chunk#page-tools #ca-delete {
    position: relative;
    top: 47px;
}
.sidebar-chunk#page-tools #ca-protect:first-child {
    top: 24px;
}
.ns-8 .sidebar-chunk#page-tools #ca-delete,
.mediawiki:not(.mw-editable) .sidebar-chunk#page-tools #ca-delete {
	margin-top: -24px;
}
.ns-8 .sidebar-chunk#page-tools #t-introedit,
.action-delete .sidebar-chunk#page-tools #t-introedit,
.mediawiki:not(.mw-editable) .sidebar-chunk#page-tools #t-introedit {
   	display: none;
}
.ns-8 .sidebar-chunk#page-tools #ca-protect:first-child,
.action-delete .sidebar-chunk#page-tools #ca-delete,
.mw-special-Movepage .sidebar-chunk#page-tools #ca-delete,
.mw-special-Block .sidebar-chunk#page-tools #ca-delete {
    margin-top: -24px;
}
.ns-8 .sidebar-chunk#page-tools #ca-move:first-child:nth-last-child(2),
.mediawiki:not(.mw-editable) .sidebar-chunk#page-tools #ca-move:first-child:nth-last-child(2),
.action-delete .sidebar-chunk#page-tools #ca-move:first-child:nth-last-child(2),
.sidebar-chunk#page-tools #ca-move:only-child {
    margin-top: -24px;
    margin-bottom: -12px;
}
.ns-8 .sidebar-chunk#page-tools #t-introedit:only-child,
.mediawiki:not(.mw-editable) .sidebar-chunk#page-tools #t-introedit:only-child {
    display: block;
    position: initial;
    visibility: hidden;
    margin-bottom: -93px;
}
.sidebar-chunk#page-tools #ca-protect,
.sidebar-chunk#page-tools #ca-unprotect {
    position: relative;
    top: 23px;
}
@media screen and (min-width: 1860px) {
    .sidebar-chunk#page-tools #t-introedit {
        top: 66.96px;
    }
}
.sidebar-chunk#page-tools .emptyPortlet {
    display: none!important;
}
.sidebar-chunk#page-tools .mw-portlet:nth-of-type(2),
.sidebar-chunk#page-tools .mw-portlet:nth-of-type(3) {
    margin-top: -12px;
    display: flow-root;
}
.sidebar-chunk#page-tools .mw-portlet:nth-of-type(2):not(.emptyPortlet) .mw-portlet#p-pagemisc:nth-of-type(3) {
    margin-top: -34px;
}

@media screen and (min-width: 851px) and (max-width: 1099px) {
    #mw-site-navigation {
        margin-top: -0.308em;
    }             
    #mw-site-navigation .sidebar-chunk h2,
    #mw-related-navigation .sidebar-chunk h2 {
        font-family: "Maven Pro","Nunito","Rubik",sans-serif;
        text-transform: uppercase;
        min-width: 38em;
    }
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        border-radius: 18px / 14px;
        border-right-color: var(--contrast-color-3);
         -moz-box-shadow: none;
      -webkit-box-shadow: none;
           -o-box-shadow: none;
          -ms-box-shadow: none;
              box-shadow: none;
    }
    #mw-site-navigation .sidebar-chunk#site-navigation {
        top: -30px;
        left: 0.8em;
    }
    #mw-site-navigation .sidebar-chunk#site-navigation .sidebar-inner {
        left: 0.3em;
        min-width: 11.84em;
    }
    #mw-site-navigation .sidebar-chunk#site-tools {
        top: -85px;
        left: 14.8em;
    }
    #mw-related-navigation .sidebar-chunk {
        top: 8px;
        left: 1.7em;
    }
    #mw-related-navigation .sidebar-chunk#page-tools:first-child:not(:last-child) {
        margin-top: 0.2em!important;
    }
    .sidebar-chunk#page-tools .mw-inputbox-centered {
        position: absolute;
        top: -3.34em!important;
    }
    .ns-8 .sidebar-chunk#page-tools .mw-inputbox-centered {
        top: calc(-2.4901em - 14.18px)!important;
    }
    .sidebar-chunk#page-tools .mw-inputbox-centered .mw-ui-button {
        width: 96%;
        margin-left: -0.196em;
    }
    #mw-related-navigation .sidebar-chunk#other-languages {
        min-width: 13em;
        left: 1.42em;
    }
    #mw-related-navigation .sidebar-chunk#catlinks-sidebar {
        margin-top: -0.982em!important;
    }
    
    #mw-related-navigation .sidebar-chunk:nth-child(2) .sidebar-inner {
        right: 0.82em;
    }
    
    #mw-site-navigation .sidebar-chunk h3,
    #mw-related-navigation .sidebar-chunk h3 {
        margin-top: -0.8px;
    }
    .sidebar-chunk#page-tools #t-introedit {
        top: 56px;
    }
    .sidebar-chunk#page-tools #p-pagemisc {
        margin-top: -3px;
    }
    
    .mw-dismissable-notice {
        margin-top: 0.682em;
    }
    .stub-type, #stub-type {
        margin-top: -13.6px;
    	margin-bottom: 14px;
    	margin-left: 0.3px;
    }
    #subpage-article ~ .portable-infobox,
    .subpage-tabs-main ~ .portable-infobox {
        margin-top: 4.5px;
    }
}

@media screen and (min-width: 1100px) and (max-width: 1200px) {
	#mw-site-navigation .timeless-logo img {
    	width: 12.519em;
        right: -0.615px;
        top: 3.896em;
        margin-bottom: 4.16em;
	}
}
@media screen and (min-width: 1200px) and (max-width: 1255px) {
	#mw-site-navigation .timeless-logo img {
    	right: -0.798px;
        top: 2.846em;
        margin-bottom: 3.26em;
	}
}
@media screen and (min-width: 1255px) and (max-width: 1278px) {
	#mw-site-navigation .timeless-logo img {
    	right: -1.398px;
	}
}
@media screen and (min-width: 1278px) and (max-width: 1338px) {
	#mw-site-navigation .sidebar-chunk,
	#mw-related-navigation .sidebar-chunk {
    	width: 12.298em;
    	right: -0.051em;
	}
}
@media screen and (min-width: 1340px) {
	
	#mw-site-navigation .sidebar-chunk {
         -moz-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
      -webkit-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
           -o-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
          -ms-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
              box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
	}
	#mw-related-navigation .sidebar-chunk {
    	border-radius: 4.3px 18px 18px 4.3px / 7px 14px 14px 7px;
    	border-left-color: var(--primary-3);
    	border-right-color: var(--contrast-color-3);
         -moz-box-shadow: 2px 0 0 var(--primary-7) inset,1.22px 0 0 var(--primary-7),4.42px 0 0 var(--primary-4);
      -webkit-box-shadow: 2px 0 0 var(--primary-7) inset,1.22px 0 0 var(--primary-7),4.42px 0 0 var(--primary-4);
           -o-box-shadow: 2px 0 0 var(--primary-7) inset,1.22px 0 0 var(--primary-7),4.42px 0 0 var(--primary-4);
          -ms-box-shadow: 2px 0 0 var(--primary-7) inset,1.22px 0 0 var(--primary-7),4.42px 0 0 var(--primary-4);
              box-shadow: 2px 0 0 var(--primary-7) inset,1.22px 0 0 var(--primary-7),4.42px 0 0 var(--primary-4);
	}
}

@media screen and (min-width: 851px) and (max-width: 1099px) {
    #mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
        margin-top: -0.8px;
    }
    .sidebar-chunk#page-tools #t-introedit {
        top: 56px;
    }
    .sidebar-chunk#page-tools #p-pagemisc {
        margin-top: -3px;
    }
    #mw-site-navigation .sidebar-chunk h2,
    #mw-related-navigation .sidebar-chunk h2 {
        font-family: "Maven Pro","Nunito","Rubik",sans-serif;
        text-transform: uppercase;
        min-width: 38em;
    }
    #mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        border-radius: 18px / 14px;
        border-right-color: var(--contrast-color-3);
         -moz-box-shadow: none;
      -webkit-box-shadow: none;
           -o-box-shadow: none;
          -ms-box-shadow: none;
              box-shadow: none;
    }
    #mw-site-navigation .sidebar-chunk#site-navigation {
        top: -30px;
        left: 0.8em;
    }
    #mw-site-navigation .sidebar-chunk#site-navigation .sidebar-inner {
        left: 0.3em;
        min-width: 11.84em;
    }
    #mw-site-navigation .sidebar-chunk#site-tools {
        top: -85px;
        left: 14.8em;
    }
    #mw-related-navigation .sidebar-chunk {
        top: 8px;
        left: 1.7em;
    }
    #mw-related-navigation .sidebar-chunk#page-tools:last-child {
    	left: 1.2em;
    }
    #mw-related-navigation .sidebar-chunk#other-languages {
        min-width: 13em;
        left: 1.42em;
    }
    
    #mw-related-navigation .sidebar-chunk#catlinks-sidebar:nth-child(2) h2 {
    	min-width: 0;
	}

	/* THESE ONLY APPLY FOR IP USERS */
    #mw-related-navigation .sidebar-chunk#catlinks-sidebar:nth-child(2) {
        display: block!important;
        left: -12.2em;
        top: -29.48px;
    }
    .ns-8 #mw-related-navigation .sidebar-chunk#catlinks-sidebar:nth-child(2) {
        display: none!important; /*All users*/
    }
    
    /*#mw-related-navigation .sidebar-chunk#page-tools:first-child:nth-last-child(3) {
        top: -12px;
    }*/
    #mw-related-navigation .sidebar-chunk#page-tools + .sidebar-chunk#other-languages:nth-child(2) {
        top: -0.72em;
        left: 1.03em;
    }
    #mw-related-navigation .sidebar-chunk#page-tools + .sidebar-chunk#other-languages:nth-child(2) + .sidebar-chunk#catlinks-sidebar {
        display: block;
        min-width: 13em;
        top: -4.49em;
        left: 15.69em;
    }
    
    /* AND ALL USERS AGAIN */
    #mw-related-navigation .sidebar-chunk:nth-child(2) .sidebar-inner {
        right: 0.82em;
    }
    
    #siteNotice {
        margin: 1.4em auto 0.58em; /*For IP users*/
    }
    .mw-dismissable-notice {
        margin-top: 0.682em;
    }
    .stub-type, #stub-type, div#stub-type {
        margin-top: 3px;
        margin-top: 11px;
    }
    #subpage-article ~ .portable-infobox,
    .subpage-tabs-main ~ .portable-infobox {
        margin-top: 4.5px;
    }
}

@media screen and (min-width: 1620px) {
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) {
        width: calc(27.12% + 1em + 28.0724vw);
    }
    div.mw-editinginterface {
        width: 30.056em;
        min-width: 24.8vw;
        margin: -0.34em 0 1.8px calc(4.096em - 7.71px);
        padding-left: 62.67px;
        padding-top: 21px;
        z-index: 10;
        position: relative;
    }
}
@media screen and (min-width: 1685px) {
    .mw-parser-output > #subpage-article ~ .stub-type {
        margin-top: 0.92em;
    }
    .mw-parser-output:has(.stub-type ~ .stub-type) > #subpage-article ~ .stub-type {
        margin-top: .65em;
    }
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) {
        margin-top: 1.118em;
        width: calc(28.12% + 1em + 30.0724vw);
        background: none;
        box-shadow: none;
    }
}
@media screen and (min-width: 1860px) {
    .mw-parser-output > #subpage-article ~ .stub-type img {
        min-width: 7.62vw;
        margin-left: -0.3vw;
        margin-top: 0.12818vh;
    }
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt ~ p:nth-of-type(2):not(.mw-empty-elt),
    .mw-parser-output > #subpage-article ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt),
    .mw-parser-output > .subpage-tabs-main ~ p.mw-empty-elt:nth-of-type(2) ~ p:nth-of-type(3):not(.mw-empty-elt) {
        width: calc(27.12% + 1em + 30.96614vw);
        margin-left: -0.08em
    }
    .floatleft, .tleft {
    	margin-top: 0.86em;
		margin-right: -0.92px;
	}
}
/* DEFAULT STYLING FOR WARNINGS
        IS OVER AT COMMON.CSS. */
        
div.mw-warning-with-logexcerpt {
    padding: 4px 14px 18px 69px;
    background-position: 0px 68px;
    max-height: 208.4px;
    transform: scale(0.98);
    margin-bottom: 1px;
    transition: background-position 1.4s, max-height 2.2s;
}
:root.theme-dark div.mw-edit-longpagewarning,
:root.theme-dark div.mw-editinginterface,
:root.theme-dark div.mw-warning-with-logexcerpt {
    background-color: hsl(var(--H-3) 62% 81%);
    color: var(--TEXT-B-H2);
    filter: invert(1) hue-rotate(180deg);
}
div.mw-warning-with-logexcerpt p,
:root.theme-dark div.mw-edit-longpagewarning,
:root.theme-dark div.mw-editinginterface {
    color: var(--TEXT-A-H2)!important;
}
div.mw-warning-with-logexcerpt a,
div.mw-edit-longpagewarning a,
div.mw-editinginterface a {
    color: hsl(var(--H-3) 21% 96%);
}
:root.theme-dark div.mw-warning-with-logexcerpt a:not(.new),
:root.theme-dark div.mw-edit-longpagewarning a:not(.new),
:root.theme-dark div.mw-editinginterface a:not(.new) {
    filter: invert(1) hue-rotate(180deg);
}
div.mw-warning-with-logexcerpt > div > a {    
    margin-top: -3px;
    display: block;
    width: 96.98%;
    text-align: right;
    color: var(--TEXT-B-H1);
    filter: none;
    font-family: "Nunito","Maven Pro","Rubik",sans-serif;
    font-style: italic;
    font-weight: bold;
}
div.mw-warning-with-logexcerpt > div > a:hover {
    color: var(--TEXT-A-H3)!important;
    text-decoration: none;
}
div.mw-warning-with-logexcerpt:has(.mw-logline-protect):not(:hover),
div.mw-edit-longpagewarning,
div.mw-editinginterface {
    padding-left: 69px;
    max-height: 87.0px;
    background-position: 0px 9px;
}
:root.theme-dark .mw-body-content:has(.mw-editinginterface ~ .mw-newarticletext ~ .mw-message-box-warning) .mw-editinginterface {
    box-shadow: 0 0 0 0.31em var(--contrast-color-13);
}
:root.theme-dark .mw-editinginterface ~ .mw-newarticletext ~ .mw-message-box-warning {
    box-shadow: 0 0 0 0.4em var(--contrast-color-13), 0.83em 0 0 0 var(--primary-16);
}

@media screen and (max-width: 850px) {
    #mw-related-navigation .sidebar-chunk#page-tools:not(:last-child),
    #mw-related-navigation .sidebar-chunk#page-tools:first-child:not(:last-child) {
        margin-top: -11.2px!important;
    }
	div.mw-edit-longpagewarning, div.mw-editinginterface, div.mw-warning-with-logexcerpt {
        margin-left: -0.76em;
    }
    .wikiEditor-ui {
	    right: -1.8px;
	}
	div.editOptions {
		right: 3.7px;
	}
	.mw-editTools {
	    right: 10px;
	}
	.mediawiki:not(.ns-8):not(.action-edit) #content-bottom-stuff {
    	background: #0e2348f2;
	}
	.mediawiki:not(.ns-8):not(.action-edit) #catlinks {
		margin-right: 16px;
	}
	#mw-site-navigation .sidebar-chunk,
    #mw-related-navigation .sidebar-chunk {
        border-color: var(--contrast-color-3);
        background: var(--primary-8);
        /* font-family: "Della Respira","Nunito","Rubik",sans-serif; */
    }
    #mw-site-navigation .sidebar-chunk h3,
    #mw-related-navigation .sidebar-chunk h3 {
        /* font-family: "Maven Pro","Nunito","Rubik",sans-serif; */
        font-weight: 500;
        font-size: 1.05em; /* 16.8px at normal font size */
        text-transform: uppercase;
        /* color: #d3d9e3; */
    	color: #dadce4;
    }
    #mw-site-navigation .sidebar-chunk a,
    #mw-related-navigation .sidebar-chunk a {
        color: #c8d3e6;
        letter-spacing: 0.75px;
        font-weight: 100;
    }
}

:root.theme-dark #glow-3,
:root.theme-dark #editpage-specialchars,
:root.theme-dark .mw-newarticletext #glow,
:root.theme-dark .mw-edit-tools,
:root.theme-dark .mw-newarticletext,
:root.theme-dark .mw-newarticletext #tech {
    border: solid 2.9px var(--contrast-color-1)!important;
    box-shadow: 0px 0px 29px 0px var(--contrast-color-1)!important;
}
:root.theme-dark .mw-newarticletext #tech {
	background: var(--primary-17)!important;
    margin-top: 0.7em;
    margin-bottom: 1.36em;
}
:root.theme-dark .mw-newarticletext #glow > span:first-child {
    color: var(--contrast-color-6)!important;
}
:root.theme-dark .mw-editTools #warning,
:root.theme-dark .mw-newarticletext #glow span#warning {
    color: ##f94f4f!important;
}
:root.theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
    background-color: var(--primary-15);
    border: solid 2.92px var(--contrast-color-1);
}
:root.theme-dark .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
    background-color: var(--primary-7);
    border: solid 2.92px var(--text-color-2);
}
.editOptions button,
.editOptions input {
    transition: background-color 0.48s ease 0s, color 0.58s ease 0s;
}
form:not(.oo-ui-layout) button:not(:disabled):hover,
form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover,
form:not(.oo-ui-layout) button:not(:disabled):active,
form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active {
    background-color: var(--contrast-color-3);
    border: solid 2.2px var(--text-color-2);
    color: white;
    transition: background-color 0.18s, color 0.08s;
}
:root.theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
    color: #e48e8e;
    background: #0f2346;
    border-radius: 20.5%;
}
:root.theme-dark .oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
    color: #f19f9f;
    background: #182b4c;
    /* box-shadow: 0 0 9px #091a37, 0 0 9px #af6869 inset; */
    box-shadow: 0 0 9px #091a37, 0 0 9px #af6869 inset;
}
:root.theme-dark .mw-editTools {
    margin: -9.2px 0 0 8.4px;
}
#editpage-specialchars {
    padding: 14px!important;
    margin-top: -0.1px!important;
    background: #bdbdbd21!important;
    border-color: var(--contrast-color-7)!important;
}
:root.theme-dark #editpage-specialchars hr {
    border-color: var(--primary-23)!important;
}
:root.theme-dark .smw-callout-error {
    background: #3f1716;
}

@media screen and (min-width: 1340px) {
    #mw-site-navigation .timeless-logo img {
        width: 13.93em;
     /* right: -2.28em; */
    	right: -2.246283em;
    	top: 3.7689em;
     /* top: 2.9689em; */
    }
    
	#mw-related-navigation .mw-inputbox-centered {
    	margin-left: .276em;
	}
	#mw-related-navigation .mw-inputbox-centered .mw-ui-input {
    	margin-left: 1.35em;
	}
    
    .mw-special-Newimages #mw-content {
        max-width: none!important;
        margin-left: 1.48em;
    }
    .mw-special-Newimages #mw-site-navigation .sidebar-chunk {
        margin-left: 0.92em!important;
    }
    .mw-special-Newimages #mw-related-navigation {
    	position: absolute;
    	left: -0.1em;
        top: 132.78em;
    }
    .mw-special-Newimages #mw-related-navigation .sidebar-chunk {
        left: 1.64em;
        border: solid 4px var(--primary-1);
        border-right: solid 3.4px var(--primary-5);
    }
	.mw-special-Newimages #mw-content {
		margin-left: 1.559em;
    	margin-right: 1.704vw;
    }
    .mw-special-Newimages #mw-content,
    .mw-special-Listfiles #mw-content {
    	margin-left: 1.18em;
    }
    .mw-special-Newimages #mw-content .gallery {
    	width: 91.1%;
	}
	.mw-special-Newimages #mw-related-navigation .sidebar-chunk,
	.mw-special-Listfiles #mw-related-navigation .sidebar-chunk {
        border-color: var(--contrast-color-3);
        border-right-color: var(--primary-6);
        -moz-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
     -webkit-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
          -o-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
         -ms-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
             box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        border-radius: 4.3px 18px 18px 4.3px / 7px 14px 14px 7px;
        margin-top: -19.54em!important;
    	left: 0.18em;
    }
    .mw-special-Newimages #mw-site-navigation .sidebar-chunk#site-tools {
    	margin-top: 1.21em!important;
	}
	.mw-special-Newimages #mw-site-navigation .sidebar-chunk#site-tools::after {
    	top: 105%;
    	filter: invert(1) brightness(2) hue-rotate(8deg);
	}
	.mw-special-Newimages #mw-related-navigation .sidebar-chunk {
    	margin-top: -14.8em!important;
        -moz-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
     -webkit-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
          -o-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
         -ms-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
             box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
    	border-radius: 18px 4.3px 4.3px 18px / 14px 7px 7px 14px;
	}
	
	.mw-special-Recentchanges #mw-site-navigation .timeless-logo img,
	.mw-special-Recentchangeslinked #mw-site-navigation .timeless-logo img {
		top: 2.629em;
	}
	.mw-special-Newimages .sidebar-chunk#page-tools .mw-inputbox-centered {
		top: 103.2px;
    	left: -4.3px;
	}   
	.mw-special-Recentchanges .sidebar-chunk#page-tools .mw-inputbox-centered,
	.mw-special-Recentchangeslinked .sidebar-chunk#page-tools .mw-inputbox-centered {
    	top: -84.32em;
    	left: -0.382em;
    	opacity: 0.89;
	}
	.mw-special-Recentchanges .sidebar-chunk#page-tools .mw-inputbox-centered .mw-ui-input,
	.mw-special-Recentchangeslinked .sidebar-chunk#page-tools .mw-inputbox-centered .mw-ui-input {
    	width: 12.35em;
    	margin-left: 0.71em;
        border-radius: 5px;
	}
	.mw-special-Recentchanges .sidebar-chunk#page-tools .mw-inputbox-centered .mw-ui-button,
	.mw-special-Recentchangeslinked .sidebar-chunk#page-tools .mw-inputbox-centered .mw-ui-button {
    	margin-top: -2px;
    	margin-left: 1.08em!important;
    	background-color: var(--primary-2);
    	color: #dbe3ef;
    	border: solid 3px var(--primary-11);
    	border-radius: 10px;
	}
	.mw-special-Recentchanges .sidebar-chunk#site-navigation,
	.mw-special-Recentchangeslinked .sidebar-chunk#site-navigation {
    	margin-top: -1.228em;
    	top: -1.658em;
    	left: 0.2195em;
    	font-size: 0.98em; /* 15.68px at normal font size */
	}
	.mw-special-Recentchanges .sidebar-chunk#site-tools,
	.mw-special-Recentchangeslinked .sidebar-chunk#site-tools {
		margin-top: -1.1em;
	}
	.ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-site-navigation {
    	z-index: 20;
	}
	.ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-site-navigation .sidebar-chunk#site-tools {
    	position: absolute;
    	top: 9.082em;
    	right: -82.04vw;
    	left: auto;
        -moz-box-shadow: -2px 0 0 var(--contrast-color-7) inset,-2.18px 0 0 var(--primary-7),-4.88px 0 0 var(--primary-3),3.72px 0 0 var(--primary-9);
     -webkit-box-shadow: -2px 0 0 var(--contrast-color-7) inset,-2.18px 0 0 var(--primary-7),-4.88px 0 0 var(--primary-3),3.72px 0 0 var(--primary-9);
          -o-box-shadow: -2px 0 0 var(--contrast-color-7) inset,-2.18px 0 0 var(--primary-7),-4.88px 0 0 var(--primary-3),3.72px 0 0 var(--primary-9);
         -ms-box-shadow: -2px 0 0 var(--contrast-color-7) inset,-2.18px 0 0 var(--primary-7),-4.88px 0 0 var(--primary-3),3.72px 0 0 var(--primary-9);
             box-shadow: -2px 0 0 var(--contrast-color-7) inset,-2.18px 0 0 var(--primary-7),-4.88px 0 0 var(--primary-3),3.72px 0 0 var(--primary-9);
    	border-radius: 4.3px 18px 18px 4.3px / 7px 14px 14px 7px;
    	border-left: none;
	}
	.ns-special .sidebar-chunk#page-tools .mw-portlet.emptyPortlet + .mw-portlet.emptyPortlet + #p-pagemisc {
    	margin-top: -19px;
	}
	.ns-special .sidebar-chunk#page-tools .mw-portlet.emptyPortlet + .mw-portlet.emptyPortlet + #p-pagemisc .mw-portlet-body {
    	margin-bottom: 19px;
	}
	.mw-special-Preferences #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after,
	.mw-special-Upload #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after,
	.mw-special-Newimages #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after {
		display: none;
	}
	
	.ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-site-navigation .sidebar-chunk:last-of-type:not(:first-of-type):after {
    	left: 0.07em;
	}
    .ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-related-navigation .sidebar-chunk#page-tools {
        right: -0.56722vw;
        filter: drop-shadow(2px 4px 6px var(--primary-1));
    }
    .ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-site-navigation .sidebar-chunk#site-tools {
        right: calc(-3.82em - 85.048vw + 94.33px);
        filter: drop-shadow(2px 4px 6px var(--primary-1));
    }
    .ns-special #mw-site-navigation .sidebar-chunk:last-of-type:after,
    .ns-1 #mw-site-navigation .sidebar-chunk:last-of-type:after,
    .ns-2 #mw-site-navigation .sidebar-chunk:last-of-type:after,
    .ns-4 #mw-site-navigation .sidebar-chunk:last-of-type:after,
    .ns-12 #mw-site-navigation .sidebar-chunk:last-of-type:after,
    .ns-14 #mw-site-navigation .sidebar-chunk:last-of-type:after,
    .ns-118 #mw-site-navigation .sidebar-chunk:last-of-type:after,
    .ns-119 #mw-site-navigation .sidebar-chunk:last-of-type:after {
        filter: invert(1) saturate(1.378) hue-rotate(190deg) brightness(0.965) drop-shadow(-4.6px -3.1px 7.6px var(--primary-1));
        margin-top: 15.73px;
        transition: filter 0.518s;
    }
    .ns-special #mw-site-navigation .sidebar-chunk:last-of-type:hover:after,
    .ns-1 #mw-site-navigation .sidebar-chunk:last-of-type:hover:after,
    .ns-2 #mw-site-navigation .sidebar-chunk:last-of-type:hover:after,
    .ns-4 #mw-site-navigation .sidebar-chunk:last-of-type:hover:after,
    .ns-12 #mw-site-navigation .sidebar-chunk:last-of-type:hover:after,
    .ns-14 #mw-site-navigation .sidebar-chunk:last-of-type:hover:after,
    .ns-118 #mw-site-navigation .sidebar-chunk:last-of-type:hover:after,
    .ns-119 #mw-site-navigation .sidebar-chunk:last-of-type:hover:after {
        filter: invert(1) saturate(0.038) hue-rotate(190deg) brightness(3.39) drop-shadow(-4.6px -3.1px 7.6px var(--primary-1));
        transition: filter 0.11s;
    }
    .ns-special #mw-site-navigation:hover .sidebar-chunk:last-of-type:after,
    .ns-1 #mw-site-navigation:hover .sidebar-chunk:last-of-type:after,
    .ns-2 #mw-site-navigation:hover .sidebar-chunk:last-of-type:after,
    .ns-4 #mw-site-navigation:hover .sidebar-chunk:last-of-type:after,
    .ns-12 #mw-site-navigation:hover .sidebar-chunk:last-of-type:after,
    .ns-14 #mw-site-navigation:hover .sidebar-chunk:last-of-type:after,
    .ns-118 #mw-site-navigation:hover .sidebar-chunk:last-of-type:after,
    .ns-119 #mw-site-navigation:hover .sidebar-chunk:last-of-type:after {
        filter: invert(1) saturate(0.038) hue-rotate(190deg) brightness(1.19) drop-shadow(-4.6px -3.1px 7.6px var(--primary-1));
        transition: filter 0.63s;
    }
    .ns-110 .sidebar-chunk#page-tools .mw-inputbox-centered,
    .ns-111 .sidebar-chunk#page-tools .mw-inputbox-centered,
    .ns-112 .sidebar-chunk#page-tools .mw-inputbox-centered,
    .ns-113 .sidebar-chunk#page-tools .mw-inputbox-centered,
    .ns-118 .sidebar-chunk#page-tools .mw-inputbox-centered,
    .ns-119 .sidebar-chunk#page-tools .mw-inputbox-centered {
        display: none;
    }
}

@media screen and (min-width: 1620px) {
	#footer-icons #footer-copyrightico {
    	right: -34.263vw;
	}
    .ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-related-navigation .sidebar-chunk#page-tools {
        right: -0.4502vw;
    }
    .ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-site-navigation .sidebar-chunk#site-tools {
        right: calc(-3.82em - 87.048vw + 104.33px);
    }
}
@media screen and (min-width: 1720px) {
    #mw-site-navigation .timeless-logo img {
        right: calc(-2.38em - 2px);
    	top: 1.3199em;
    }
    #mw-site-navigation .sidebar-chunk .mw-portlet-body,
    #mw-related-navigation .sidebar-chunk .mw-portlet-body {
        font-size: 0.94288em; /* 15.08608px at normal font size */
    }
    #footer-icons #footer-copyrightico {
    	right: -44.883vw;
    }
    .ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-related-navigation .sidebar-chunk#page-tools {
        right: -0.7vw;
    }
    .ns-special:not(.mw-special-Recentchanges):not(.mw-special-Recentchangeslinked):not(.mw-special-Log):not(.mw-special-Newimages):not(.mw-special-Listfiles):not(.mw-special-Contributions):not(.mw-special-Movepage):not(.mw-special-Block):not(.mw-special-Userrights) #mw-site-navigation .sidebar-chunk#site-tools {
        right: calc(-3.82em - 88.048vw + 104.33px);
    }
}
@media screen and (min-width: 2020px) {
    #mw-content {
        max-width: 70.216vw!important;
    	left: 1.378%;
    }
    #mw-site-navigation {
    	margin-right: 1.672em;
	}
    #mw-site-navigation .timeless-logo img {
    	left: 4.8em;
    	right: -2.702vw;
    	top: 4.679vh;
    }
    #mw-site-navigation .sidebar-chunk#site-navigation {
    	margin-top: 1.68em;
    	left: 0.948em!important;
    }
    #mw-site-navigation .sidebar-chunk {
    	left: 0.474vw;
    }
    #mw-related-navigation {
        padding-top: 4.74em;
        margin-left: 2.884em;
        margin-right: 0;
    	right: 0.47em;
    }
    #mw-related-navigation .sidebar-chunk {
        margin-left: -3.069vw;
    }
    .sidebar-chunk#page-tools #ca-move {
    	position: relative;
    	top: 1px;
	}
    .sidebar-chunk#page-tools #ca-delete {
    	top: 63px;
	}
    .sidebar-chunk#page-tools #ca-protect {
    	top: 26.8px;
	}
    .mw-parser-output > h2 .mw-headline {
    	font-size: 0.68em; /* 10.88px at normal font size */
    }
	.mw-parser-output > h3 .mw-headline {
    	font-size: 0.94em; /* 15.04px at normal font size */
	}
	.mw-parser-output > h4 .mw-headline {
    	font-size: 1.04em; /* 16.64px at normal font size */
	}
    .floatleft, .tleft {
    	margin-top: 0.86em;
    	margin-right: 8.08px;
	}
	.mw-footer {
    	font-size: 1.2em; /* 19.2px at normal font size */
    	margin-bottom: 0.58em;
	}
	.mw-footer #footer-places {
    	margin-bottom: -1.2em;
	}
    .wikiEditor-ui-text .editor {
        font-size: 0.8022vw;
    }
}

:root.theme-dark .mw-dismissable-notice .mw-dismissable-notice-close a {
    color: var(--text-color-2);
}
:root.theme-dark #mw-content:has(.usermessage) #siteNotice {
    background-color: var(--primary-10);
}
.usermessage {
    background: var(--primary-9);
    border: solid 3px var(--primary-21);
    font-family: "Nunito","Maven Pro","Rubik",sans-serif;
    padding: 5.86px;
    padding-left: 1.51em;
    border-radius: 10px / 3px;
    margin-bottom: 0.826em;
}
.usermessage a:first-of-type {
	font-family: "Maven Pro","Nunito","Rubik",sans-serif;
    font-weight: 900;
}
.usermessage a {
    color: var(--accent-3)!important;
}
.usermessage a:last-of-type {
    font-style: italic;
	font-size: 1.0576em; /* 16.9216px at normal font size */
}

.client-js .mw-charinsert-item[data-mw-charinsert-start="<blockquote>"],
.client-js .mw-charinsert-item[data-mw-charinsert-start="<references/>"] {
    display: none;
}


:root.theme-dark .oo-ui-widget > .oo-ui-fieldLayout:first-child,
:root.theme-dark .oo-ui-widget > .oo-ui-fieldLayout:first-child img {
    filter: invert(1);
}
:root.theme-dark .oo-ui-widget .oo-ui-fieldLayout:not(.oo-ui-widget > .oo-ui-fieldLayout:first-child) a:not(.new),
:root.theme-dark .oo-ui-widget .oo-ui-fieldLayout:not(.oo-ui-widget > .oo-ui-fieldLayout:first-child) a:hover:not(.new) {
    filter: hue-rotate(180deg);
}

.oo-ui-tabSelectWidget-framed {
    background-color: var(--primary-12);
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget[aria-selected="false"] span {
    color: #d4d9e1;
}
.oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget[aria-selected="true"] {
    background: #93a6c7;
    background: #b7c6e0;
}
.mw-prefs-buttons .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button:hover {
    background: #324567;
}
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed,
.mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
    border: solid 2px #344562;
    background: var(--primary-10);
    border-radius: 0 26px 0 0px;
}

.mw-prefs-buttons {
    /* filter: invert(1) hue-rotate(180deg); */
    /* background: #cbe0ff; */
}
:root.theme-dark .mw-prefs-buttons {
    background: var(--primary-1);
    border: solid 3px #344562;
}
.mw-prefs-buttons .oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
    cursor: pointer;
    background: var(--primary-21);
    transform: scale(1.188);
    position: absolute;
    right: 1.68em;
    bottom: -2px;
}

.mw-cookiewarning-container {
    background-color: var(--primary-3);
    box-shadow: -36px 0 var(--primary-5), 18px 0 var(--primary-5), 23px -6px var(--primary-9), -32px -6px var(--primary-9), -32px -11px var(--primary-5), 0 7.8px var(--primary-5), -32.535px 6.8px var(--primary-5), 30px -10px var(--primary-5), 23px 1px var(--primary-8), 30px 1px var(--primary-5);
    bottom: 12px;
    z-index: 20000;
}

.oo-ui-messageDialog-content {
    box-shadow: 0 0 0 8px var(--contrast-color-4);
}
:root.theme-dark .oo-ui-messageDialog-content {
    box-shadow: 0 0 0 8px var(--primary-27);
}
.oo-ui-messageDialog-text.oo-ui-layout.oo-ui-panelLayout {
    background: var(--contrast-color-9);
}
:root.theme-dark .oo-ui-messageDialog-text.oo-ui-layout.oo-ui-panelLayout {
    background: #c2d3ef;
    filter: invert(1) hue-rotate(180deg);
}
.oo-ui-messageDialog-text.oo-ui-layout.oo-ui-panelLayout label {
    color: var(--alt-text-color-4);
}
.oo-ui-window-foot .oo-ui-buttonElement-button {
    background: #4d5d7c!important;
    color: #c8cacb!important;
}
.oo-ui-window-foot .oo-ui-buttonWidget:nth-child(2) .oo-ui-buttonElement-button {
    background: #4c5e81!important;
}
.oo-ui-window-foot .oo-ui-buttonWidget:nth-child(1) .oo-ui-buttonElement-button:hover {
    background: #4f6289!important;
}


.mw-rcfilters-ui-overlay {
	z-index: 9000;
}

/* Notifications */
.mw-echo-ui-overlay .oo-ui-popupWidget-popup {
	background-color: var(--primary-1);
	border-color: var(--primary-3);
}
.mw-echo-ui-placeholderItemWidget {
	background-color: var(--primary-8);
}
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head,
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-footer {
	border-color: var(--primary-3);
}
.mw-echo-ui-overlay .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	background-color: var(--accent-1);
}

/* (likely) temporary donations link in sidebar CSS */
.sidebar-inner .mw-list-item#n-Donate {
    padding: 10px 13px;
    text-shadow: 0 0 10px var(--accent-1),0 0 20px var(--accent-2),0 0 30px var(--accent-3),0 0 40px var(--accent-4);
    border-top: 2px solid var(--accent-1);
    border-bottom: 2px solid var(--accent-1);
    background: #161f2c;
    color: #bec7d9; /* Needed for light mode */
    margin: 8px -5px 5px -4px;
    position: relative;
    right: 6px;
    text-align: center;
    background-image: url(https://tardis.wiki/w/images/Tardis_Images/8/8b/GoldenTardis.png);
    background-repeat: no-repeat;
    background-position-x: 10px;
    background-size: 20px;
    background-position-y: 3px;
}
#mw-site-navigation .sidebar-inner .mw-list-item#n-Donate a {
	font-weight: bolder;
	color: #bec7d9; /* Needed for light mode */
}
#mw-site-navigation .sidebar-inner .mw-list-item#n-Donate a::after {
    content: " ";
    width: 24px;
    height: 31px;
    position: absolute;
    top: -7px;
    left: -57px;
    top: 4px;
    left: 9px;
}
.sidebar-inner .mw-list-item#n-Donate::after {
	content: "HELP US FULFILL OUR MONTHLY $60 FUNDING GOAL TO HELP KEEP THE WIKI UP AND AD-FREE!";
	clear: both;
	display: block;
	text-shadow: none;
	font-weight: bold;
	margin-top: 8px;
}

@media screen and (min-width: 1340px) {
	#mw-site-navigation .sidebar-inner .mw-list-item#n-Donate a::after {
    	top: 4px;
    	left: 7.8px;
	}	
}

/* Hiding thumbnail errors
	during read-only times */
	
.MediaTransformError {
    visibility: hidden;
}


/* To be incorporated */
<pre>

div#inline-box {
    float: left;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--accent-7);
    width: 246px;
    margin: 9px 14px 5px 5px;
    line-height: 1.1em;
    font-size: .8em;
    font-weight: 400;
    font-style: normal;
    /* background-color: #0c1d3e; */
    color: var(--text-color);
    position: relative;
    left: -3px;
    top: -4.28px;
}

#mw-related-navigation {
    margin-top: 1px;
    /* margin-left: 1px; */
}

@media screen and (min-width: 851px) {
    :root.theme-dark #mw-site-navigation .sidebar-chunk/*, #mw-related-navigation .sidebar-chunk*/ {
        /*width: 12.194em;
        position: relative;
        right: 0.052em;
        border-color: var(--contrast-color-3);*/
        border-right-color: var(--primary-2);
        border-radius: 18px 4.3px 4.3px 18px / 14px 7px 7px 14px;
        border-radius: 20px 4.3px 4.3px 18px / 14px 7px 7px 14px;
    }
}


@media screen and (min-width: 1340px) {
    
    :root.theme-dark #mw-site-navigation .sidebar-chunk {
        -moz-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        -webkit-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        -o-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        -ms-box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-4.78px 0 0 var(--primary-4);
        box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-1.78px 0 0 var(--primary-2),-3.78px 0 0 var(--primary-4),1px 0px 0 4px var(--primary-17), 0px -1px 0 2px var(--primary-3);
        box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-2.28px 0 0 var(--primary-9),-1.78px 0 0 var(--primary-2),-3.78px 0 0 var(--primary-4),1px 0px 0 4px var(--primary-17), 1px 0px 0 2px var(--primary-3);
        /* box-shadow: -2px 0 0 var(--contrast-color-7) inset,3.78px 0 0 var(--primary-7),-3.28px 0 0 var(--primary-9),-3.78px 0 0 var(--primary-2),-4.78px 0 0 var(--primary-4),2px 0px 0 4px var(--primary-17), 1px 0px 0 2px var(--primary-3); */
        /* border-top-right-radius: 17px; */
        /* border-bottom-right-radius: 18px; */
    }
    
    #mw-site-navigation .sidebar-chunk#site-navigation {
        font-size: 0.9626em;
        left: 0.068em;
        top: -0.4288em;
        border-bottom-left-radius: 3px;
    }

    /*
    #mw-related-navigation .sidebar-chunk {
        right: -0.438em;
        /* right: -0.348em; */
        /* right: -0.598em; */
        /* right: -0.348em; */
    }/*

    #mw-related-navigation .sidebar-chunk {
        border-left-color: var(--primary-3);
        border-left-width: 3.28px;
        border-right-color: var(--contrast-color-3);
        box-shadow: 2px 0 0 var(--primary-7) inset,2.22px 0 0 var(--primary-7),5.42px 0 0 var(--primary-4),1px 1px 0 4px var(--primary-17), 1px -1px 0 4px var(--primary-2);
        border-radius: 4.3px 18px 18px 4.3px / 1px 14px 14px 7px;
    }  */

    :root.theme-dark #mw-related-navigation .sidebar-chunk {
        box-shadow: 2px 0 0 var(--primary-7) inset,1.22px 0 0 var(--primary-7),4.42px 0 0 var(--primary-4), -2px 0 0 var(--accent-9);
        right: -0.408em;
        right: -0.25289em;
    }
    
}



:root.theme-dark .mw-ui-button.mw-ui-progressive:not(:disabled) {
    outline: solid 4px var(--primary-26);
    background: var(--primary-28)!important;
}




table.wikitable, #smwtable, table.smwtable {
    border: solid 3px #555b66;
    border: solid 3px #3e4e6c;
    border: solid 3px var(--TEXT-B-H2);
    border: solid 3px hsl(220deg 60% 22%);
    border: solid 3px var(--primary-6);
    outline: solid 3px var(--accent-10);
    outline: solid 3px var(--contrast-color-14);
    /* outline: solid 3px #6f81a5; */
    outline-color: var(--contrast-color-13);
    outline-color: #6d809b;
    outline-color: #8497b3;
    outline-color: #8691a1;
    outline-color: #909caf;
    outline-color: #869bbb;
    outline-color: #778daf;
    /* outline-color: hsl(216deg 23% 55%); */
    outline-color: #8d99ab;
    /* outline-color: #8b9ebb; */
    border-radius: 14px;
    box-shadow: 0 0 0 6px var(--primary-3), 0 0 0 6px var(--TEXT-A-H1);
    box-shadow: 0 0 0 5px var(--primary-3), 0px 0 0 6px #0b1f42, 1px 0 0 9px var(--primary-25), -9px 21px 15px 2px var(--primary-4), -12px 12px 15px -2px var(--primary-5), 0px 3px 20px 6px var(--primary-5), 63px 62px 30px -30px var(--primary-18);
    box-shadow: 0 0 0 4px var(--primary-25), 0 0 0 7px var(--primary-3), 0px 0 0 8px #0b1f42, 1px 0 0 9px var(--primary-25), -9px 21px 15px 2px var(--primary-4), -12px 12px 15px -2px var(--primary-5), 0px 3px 20px 6px var(--primary-5), 63px 62px 30px -30px var(--primary-18);
    margin: 24.4px auto 16px auto;
    max-width: 96.88%;
    min-width: 62%;
    font-family: "Nunito","Rubik",sans-serif;
    font-size: 0.84em;
    position: relative;
    top: -11.08px;
    left: 4.82px;
    z-index: 0;
    /* z-index: -1; */
}
h2 ~ .content-table-wrapper table.wikitable,
h2 ~ .content-table-wrapper #smwtable,
h2 ~ .content-table-wrapper table.smwtable {
    left: 7.82px;
}
@media screen and (min-width: 1340px) {
    h2 ~ .content-table-wrapper table.wikitable,
    h2 ~ .content-table-wrapper #smwtable,
    h2 ~ .content-table-wrapper table.smwtable {
        max-width: 57.48vw;
    }
}
h2 + .content-table-wrapper table.wikitable,
h2 + .content-table-wrapper #smwtable,
h2 + .content-table-wrapper table.smwtable {
    top: -5.08px;
    left: 2.82px;
    left: 5.48px;
}
h3 + .content-table-wrapper table.wikitable,
h3 + .content-table-wrapper #smwtable,
h3 + .content-table-wrapper table.smwtable {
    top: -10.42px;
}
h3 + h4 + .content-table-wrapper table.wikitable,
h3 + h4 + .content-table-wrapper #smwtable,
h3 + h4 + .content-table-wrapper table.smwtable {
    top: -9.22px;
}
h4 + .content-table-wrapper table.wikitable,
h4 + .content-table-wrapper #smwtable,
h4 + .content-table-wrapper table.smwtable {
    top: -8.44px;
}

:root.theme-dark table.wikitable > tr:nth-child(n+2) > th,
:root.theme-dark table.wikitable > * > tr:nth-child(n+2) > th,
:root.theme-dark #smwtable tr:nth-child(n+2) > th,
:root.theme-dark table.smwtable > * > tr:nth-child(n+2) > th {
    background: #162a4c;
    background: #1d3158;
    background: #17294c;
    background: #1d3158;
    background: #091836;
    /* background: #162b4c; */
    /* background: #1f3154; */
    /* background: #23375a; */
    /* font-size: 1.1em; */
}

:root.theme-dark .mw_metadata>tr>th, :root.theme-dark .mw-datatable>tr>th, :root.theme-dark .wikitable>tr>th, :root.theme-dark .mw_metadata>tr>td, :root.theme-dark .mw-datatable>tr>td, :root.theme-dark .wikitable>tr>td, :root.theme-dark .mw_metadata>*>tr>th, :root.theme-dark .mw-datatable>*>tr>th, :root.theme-dark .wikitable>*>tr>th, :root.theme-dark .mw_metadata>*>tr>td, :root.theme-dark .mw-datatable>*>tr>td, :root.theme-dark .wikitable>*>tr>td {
    background: #0c1d3c;
    background: var(--primary-6);
    background: var(--primary-12);
    background: #15223c;
    background: #091d43;
    background: #16284a;
    background: var(--primary-18);
    background: #11203c;
    background: #0e2140;
    background: #0a1e3e;
    /* background: #091d3c; */
    /* background: #0a1d3a; */
    /* background: #081832; */
    background: #081a38;
    background: #081b3c;
    background: #081938;
    background: #0c1d3e;
    border: solid 2px #555b66;
    border: solid 2px #555a64;
}


:root.theme-dark table.wikitable>tr>th,
:root.theme-dark table.wikitable>*>tr>th,
:root.theme-dark #smwtable tr>th,
:root.theme-dark table.smwtable>*>tr>th {
    background: var(--primary-9);
    background: #0f2140;
    background: #091a36;
    background: #081a38;
    background: #071834;
    background: #081832;
    background: #0a1932;
    /* background: #081938; */
    /* background: #0a162c; */
    /* background: #09162e; */
    border: solid 3px var(--primary-21);
    /* border: solid 3px #1d335c; */
    color: var(--text-color-2);
}


table.wikitable tbody tr:hover td a, :root.theme-dark #smwtable tbody tr:hover td a, :root.theme-dark table.smwtable tbody tr:hover td a, :root.theme-dark table.wikitable tbody tr:hover td, :root.theme-dark #smwtable tbody tr:hover td, :root.theme-dark table.smwtable tbody tr:hover td {
    background: #162a4c;
    background: #0c182e;
    background: #0f1b32;
    /* background: #1d3158; */
    /* background: #162b4c; */
    /* background: #1f3154; */
    background: #23375a;
    background: #091b38;
    background: #0a1d3a;
    background: #1a3054;
    outline: solid 2px var(--primary-21);
}



table.wikitable tbody tr:hover td a,
#smwtable tbody tr:hover td a,
table.smwtable tbody tr:hover td a {
    color: var(--accent-1);
}
table.wikitable tbody tr:hover td a:hover,
#smwtable tbody tr:hover td a:hover,
table.smwtable tbody tr:hover td a:hover {
    color: var(--accent-2);
    color: var(--alt-link-color-1b);
    text-decoration-color: var(--accent-7);
}



:root.theme-dark ul#filetoc,
:root.theme-dark .toc,
:root.theme-dark .toccolours,
:root.theme-dark .mw-warning {
    /* background: #0c1d3e; */
    background: var(--primary-4);
    /* background: #0a1932; */
    border-color: var(--primary-26);
    box-shadow: 0 0 0 2px var(--primary-4), 0px 0 28px 1px var(--primary-5), -2px -5px 28px 5px inset var(--primary-10), 0 0 0 3px var(--primary-9);
    max-width: 238px;
    padding: 1.888em;
    top: -7px;
    left: 7.8px;
    margin-left: 0.88em;
    /* top: -39px; */
    /* top: -34px; */
}
:root.theme-dark ul#filetoc,
:root.theme-dark .toc,
:root.theme-dark .toccolours,
:root.theme-dark .mw-warning {
    /* background: #0c1d3e; */
    /* background: var(--primary-10); */
    background: var(--primary-4);
    border-color: #8d99ab;
    border-color: var(--contrast-color-10);
    border-color: var(--primary-26);
    max-width: 238px;
    padding: 1.888em;
    top: -14px;
    left: 3.8px;
    left: 7.8px;
    margin-left: 1.16em;
}

:root.theme-dark ul#filetoc > ul,
:root.theme-dark .toc > ul,
:root.theme-dark .toccolours > ul {
    filter: invert(1) hue-rotate(180deg);
}
.mw-body .toctitle {
    border-bottom: solid 3.4px var(--primary-26);
    border-bottom: solid 3.4px var(--primary-3);
}
.mw-body .toctitle h2 {
    color: #585f64!important;
    filter: invert(1) hue-rotate(190deg);
}
.toctogglelabel {
    color: #a8a191;
    font-weight: bold;
    position: relative;
    top: -.983px;
    right: 2px;
}

.toclevel-1 a .tocnumber {
    filter: invert(1) hue-rotate(180deg);
}
.toclevel-1 a, 
.toclevel-1 a:visited {
    /* color: #afa286!important; */
    color: var(--accent-2)!important;
    filter: invert(1) hue-rotate(180deg);
}
.toclevel-1 > a {
    /* font-weight: bold; */
}
.toclevel-1 a:hover,
.toclevel-1 a:visited:hover {
	color: var(--accent-11)!important;
    text-decoration: none;
}
.toclevel-1 a:hover .tocnumber {
    text-decoration: none;
}
.toclevel-1 a:hover .toctext {
    text-decoration: underline;
}


@media screen and (min-width: 1100px) {
    .mw-parser-output > h3 {
        margin-left: -0.972px;
        font-variant: unset;
    }
}


@media screen and (min-width: 851px) {
    
    .pullout-content div#article-type {
        max-width: 54.82em;
        position: relative;
        border-right: solid 1em var(--accent-5);
    }
    
    #subpage-article ~ .portable-infobox ~ .portable-infobox, .subpage-tabs-main ~ .portable-infobox ~ .portable-infobox {
        margin-top: 2px;
    }
}