/* general */
*|*:any-link {
	text-decoration: none;
}
code {
    padding: 0.25em 0.5em;
    border-radius: 0.25em;
    color: #424242;
    background-color: #F1F1F1;
}

/* Edit Action */
#wikitext,
#wikititle {
    margin: 0.5em;
}

/* Main Containers */
#wikihead,
#wikimid,
#wikifoot {
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    padding: 0;
    margin: 0;
}

#wikihead {
    z-index: 1;
    top: 0;
    /*height: 4em;*/
    height: 2rem;
}

#wikimid {
    top: 4em;
    top: 2rem;
    bottom: 0;
    /*padding-bottom: 4em;*/
    margin-bottom: 2rem;
}

#wikifoot {
    z-index: 1;
    bottom: 0;
    padding-right: 1em;
    text-align: right;
}

#wikilogo {
    display: inline-block;
    margin: 0;
    padding: 0;
    height: 2rem;
}

#wikisidebar {
    display: none;
    position: absolute;
    padding: 0.25em;
    z-index: 6;
    min-width: 15em;
    height: 100%;
    overflow: auto;
    opacity: 0;
}

#wikihead-search-toggle,
#wikileft-toggle,
#wikicmds-toggle {
    display: none;
}

#wikihead-search-toggle-label {
    background-image: url(xsearch.svg);
}

#wikileft-toggle-label {
    background-image: url(xmenu.svg);
}

#wikicmds-toggle-label {
    background-image: url(xwrench.svg);
}

#wikihead-search-toggle-label,
#wikileft-toggle-label,
#wikicmds-toggle-label {
    position: fixed;
    display: block;
    z-index: 3;
    margin: 0;
    width: 22px;
    height: 22px;
    background-size: cover;
    background-repeat: no-repeat;
}

#wikihead-search-toggle-label {
    top: 6px;
    right: 6px;
}

#wikileft-toggle-label {
    top: 6px;
    left: 72px;
}

#wikicmds-toggle-label {
    top: 6px;
    right: 28px;
}

#wikihead-search-toggle:checked+label,
#wikileft-toggle:checked+label,
#wikicmds-toggle:checked~#wikimid #wikicmds-toggle-label {
    background-image: url(xclose.svg);
}

#wikileft-toggle:checked~* #wikileft,
#wikileft-toggle:checked~* #wikisidebar,
#wikihead-search-toggle:checked~* #wikihead-searchform,
#wikicmds-toggle:checked~* #wikicmds {
    display: block;
    opacity: 1;
    animation: fadein 1s;
}

/*                           ~~~>>> overlay <<<~~~                           */
#wikioverlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, .2);
    z-index: 0;
    display: none;
}

#wikileft-toggle:checked~#wikioverlay,
#wikihead-search-toggle:checked~#wikioverlay,
#wikicmds-toggle:checked~#wikioverlay {
    display: block;
}

/* These are for the left-sidebar. */
#wikileft .vspace {
    margin-top: 20px;
}

#wikileft ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#wikileft li {
    margin: 8px 0px;
    padding-left: 6px;
}

.sidehead {
    margin: 0px;
    padding: 4px 2px 2px 2px;
    font-weight: bold;
    font-style: normal;
}

.sidehead a {
    font-weight: bold;
    font-style: normal;
}

#wikileft a {
    text-decoration: none;
    padding: 8px 0;
}

#wikileft a:hover {
    text-decoration: underline;
    color: blue;
}

#wikicmds ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

#wikicmds li {
    padding: 8px;
    border-top: 1px solid #ccc;
}

#wikicmds li:first-child {
    border-top: none;
}

#wikicmds li a {
    text-decoration: none;
    border: none;
}

#wikicmds li a.createlink {
    display: none;
}

#wikicmds li a:hover {
    text-decoration: underline;
}

#wikihead-content {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}

/*#wikileft, */
#wikihead-searchform,
#wikicmds {
    opacity: 0;
    display: none;
    position: fixed;
    top: 0;
    right: 34px;
    right: 56px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.75);
}

#wikihead-searchform {
    display: block;
    /*position: absolute;*/
    z-index: 6;
    /*right: 0;*/
    /*bottom: 0;*/
}

#wikicmds {
    padding: 0px;
    z-index: 6;
    white-space: nowrap;
    /*right: 30px;*/
    /*background-color: inherit;*/
}

#wikisidebar {
    /*display: block;*/
    /*position: fixed;*/
    /*z-index: 8;*/
    /*top: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    /*left: 0;*/
    /*opacity: 0;*/
    /*background-color: inherit;*/
}

#wikibody {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

#bodywrap {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#wikileft {
    top: 0;
    left: 0;
}

#wikileft dd {
    margin-inline-start: 10px;
}

img {
    max-width: 100%;
}

#text {
    position: relative;
    width: 90%;
    height: 60vh;
    max-height: 100vh;
}

var {
    font-family: monospace;
}

strong a var {
    font-style: normal;
    font-weight: bolder;
}

/*@media screen and (prefers-color-scheme: light) {*/
html,
body,
#bodywrap,
#wikibody,
#wikimid {
    color: #212121;
    background-color: #FAFAFA;
}

#wikisidebar,
#wikileft,
#wikihead,
#wikicmds,
#wikifoot {
    color: #212121;
    background-color: #EEEEEE;
}

var {
    color: #BF360C;
}

strong var {
    color: #E65100;
}

.categorylink:link {
    color: #00796B;
}

.categorylink:visited {
    color: #0097A7;
}

/*}*/
@media screen and (prefers-color-scheme: dark) {

    html,
    body,
    #bodywrap,
    #wikibody,
    #wikimid {
        color: #FAFAFA;
        background-color: #212121;
    }

    #wikihead,
    #wikifoot,
    #wikisidebar,
    #wikicmds,
    #wikileft,
    #wikihead-searchform {
        background-color: #424242;
    }

    .sidehead a {
        color: #424242;
    }

    #wikileft a,
    #wikicmds li a,
    a:link {
        color: #B0BEC5;
    }

    #wikileft a:hover,
    #wikicmds li a:hover,
    a:link:hover {
        color: #90CAF9;
    }

    .editconflict {
        color: #A5D6A7;
    }

    .difftime {
        background-color: #E0E0E0;
    }

    .diffmarkup del {
        background: #FFF59D;
    }

    .diffmarkup ins {
        background: #C5E1A5;
    }

    table.simpletable tr:nth-child(odd) {
        background-color: #E0E0E0;
    }

    table.simpletable th {
        background-color: #BDBDBD;
    }

    table.simpletable th,
    table.simpletable td {
        border: 1px solid #888;
    }

    var {
        color: #FFAB91;
    }

    strong var {
        color: #FFCC80;
    }
}

/*============================================================================*/
.GUIButton {
    display: table-cell;
    position: relative;
    /*top: -0.1em;*/
    margin: 2px;
    /*border-width: 1px;*/
    /*border-style: ridge;*/
    /*border-color: #000;*/
    border-radius: 3px;
    padding: 0;
    width: 22px;
    height: 22px;
    text-align: center;
    vertical-align: middle;
    box-shadow: 0 1px 3px -1px #0000007f, inset 0 -1px 3px -1px #0000007f, inset 0 0 3px 1px #00000021, inset 0 0 9px 1px #0001;
    cursor: pointer;
}

.PmTOCtable::before {
    display: block;
    content: "Table of Contents";
    text-align: center;
}

.PmTOCtable {
    padding: 1em;
    background-color: #E0E0E0;
    width: 50%;
    text-align: left;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0.5em;
    /*border: thick groove aliceblue; */
    border: thick outset #B0BEC5;
}

/*============================================================================*/