/*

  __  __    ____    _   _    ____   __   __  _____   _____    ______
 |  \/  |  / __ \  | \ | |  / __ \  \ \ / / |_   _| |  __ \  |  ____|
 | \  / | | |  | | |  \| | | |  | |  \ V /    | |   | |  | | | |__   
 | |\/| | | |  | | | . ` | | |  | |   > <     | |   | |  | | |  __|  
 | |  | | | |__| | | |\  | | |__| |  / . \   _| |_  | |__| | | |____
 |_|  |_|  \____/  |_| \_|  \____/  /_/ \_\ |_____| |_____/  |______|

  Monoxide Theme
  [2023 Wikidot Theme]
  Created by OxygenNine

*/

@import url(http://paraarc-sandbox.wikidot.com/local--files/files/Montserrat-Medium.otf);
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap');
@import url('http://tea-room.wikidot.com/local--files/files/OxygenMono-Regular.otf');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css');
/**
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css');
**/
@font-face {
  font-family: "Oxygen Mono";
  src: url("http://tea-room.wikidot.com/local--files/files/OxygenMono-Regular.otf") format("otf");
}

/* ROOT */

:root {

    --mox-theme-color: #0031F5;
    --mox-theme-dark-color: #0025B8;
    --mox-theme-light-color: #335CFF;
    --mox-bg-color: #FAFAFA;
    --mox-text-color: #141414;

    --mox-layer-dark-1: #262626;
    --mox-layer-dark-2: #404040;
    --mox-layer-dark-3: #595959;

    --mox-layer-light-1: #F2F2F2;
    --mox-layer-light-2: #D9D9D9;
    --mox-layer-light-3: #BFBFBF;
    --mox-bgblur-front-color: rgba(255,255,255,0.85);

    --mox-warn-color: #FF335C;
    --mox-accept-color: #33FF70;
    --mox-alter-color: #FFD633;
    
    --mox-header-title: "Note-WD";
    --mox-header-subtitle: "note.ms的替代品！";
    --mox-header-logo: url('/favicon.png');

    --mox-page-width: 75vw;

}

body {
    font-family: 'Segoe UI','Noto Sans SC',sans-serif;
    font-size: 0.95em;
    background-color: var(--mox-bg-color);
    color: var(--mox-text-color);
    overflow-x: hidden;
}
 
::selection {
    background: var(--mox-layer-dark-3);
    color: var(--mox-bg-color);
}
 
.page-source, tt {
    font-family: "Oxygen Mono","Consolas","Noto Sans SC",MONOSPACE;
}
 
.font-montserrat {
    font-family: 'Montserrat', 'Noto Sans SC', sans-serif;;
}
 
/* Header */
 
#header {
    position: fixed;
    z-index: 1;
    height: 4rem;
    display: grid;
    box-sizing: unset;
    grid-template-rows: 1fr;
    direction: rtl;
    grid-template-columns: 1fr;
    grid-template-areas: 'search topbar subtitle title user menu';
    justify-items: start;
    align-items: center;
    justify-content: end;
    background-color: var(--mox-layer-light-1);
    border-bottom: solid 2px var(--mox-layer-light-2);
    left: 0px;
    top: 0px;
    width: 100%;
    grid-gap: 0px 0px;
}
 
#header h1 {
    margin: 0;
    grid-area: title;
    display: block;
    padding: 0rem 0rem 0.6rem 1rem;
    border-left: solid 2px var(--mox-layer-light-3);
}
 
#header h1 a span {
    font-size: 0;
}
 
#header h2 {
    margin: 0;
    padding: 0;
    grid-area: title;
    display: block;
    transform: translateY(1rem);
    width: calc(100% - 3rem);
    text-align: left;
}
 
#header h2 span {
    font-size: 0;
}
 
#header h2 span::before {
    content: var(--mox-header-subtitle);
    font-size: 0.8rem !important;
    font-weight: normal;
}
 
#search-top-box {
    position: relative;
    right: 0em;
    top: 0em;
    z-index: 10;
    grid-area: search;
}
 
#login-status {
    position: relative;
    right: 0px;
    top: 0px;
    overflow: visible;
    z-index: 25;
    grid-area: user;
    font-size: 0px;
    margin-right: 0.5rem;
}
 
#login-status > * {
    font-size: 0.65rem !important
}
 
#search-top-box input.empty {
    color: #AAA;
    display: none;
}
 
#header #login-status .printuser {
    font-size: 0 !important;
}
 
#login-status a#my-account {
    display: none;
}

#login-status>a[href="https://www.wikidot.com/account/messages"]{
    position: absolute;
    background-color: var(--mox-warn-color);
    color: transparent;
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    transform: translateX(-0.2rem) translateY(-0.5rem);
    box-shadow: 0px 0px 0px 0.1rem var(--mox-layer-light-1);
    z-index: 100;
}
 
#login-status img.small {
    width: 2rem;
    height: 2rem;
    background-image: none !important;
    border-radius: 0%;
    position: relative;
}

a#account-topbutton:hover {
    box-shadow: 0px 0px 0px 0.5rem var(--mox-layer-light-2);
    border-radius: 0%;
}
#account-topbutton {
    font-weight: bold;
    padding: 0 5px;
    border: none;
    left: 4.2rem;
    text-decoration: none;
    background-color: transparent;
    width: 1.3rem;
    display: block;
    text-align: center;
    color: transparent !important;
    direction: ltr;
    top: 1rem;
    position: fixed;
    height: 2rem;
    transition: all 0.2s;
}
 
#account-options {
    position: fixed;
    box-sizing: border-box;
    width: 15rem;
    right: 0;
    padding: 0;
    z-index: 40;
    background-color: var(--mox-layer-dark-1);
    border: none;
    direction: ltr;
    left: 0px;
    color: var(--mox-bg-color);
}
 
#account-options li a {
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    z-index: 0;
    color: var(--mox-layer-light-1) !important;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    position: relative;
    text-align: center;
    transition: all 0.2s;
}
 
#account-options li a:hover {
    color: var(--mox-layer-dark-1) !important;
    font-weight: bold;
    background-color: var(--mox-layer-light-1);
    box-shadow: 0px 0px 0px 6px var(--mox-layer-light-1);
}
 
#account-options ul {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    grid: auto-flow / 1fr 1fr;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
}
 
#header #search-top-box input#search-top-box-input {
    display: none;
}
 
#header #search-top-box input.button {
    margin-left: 0.6rem;
    padding: 0;
    text-decoration: none;
    background-color: transparent;
    border: none;
    color: #000;
    font-size: 0;
    display: block;
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    transition: all 0.2s;
    z-index: 1;
    position: relative;
    backdrop-filter: grayscale(1);
}
 
#header #search-top-box input.button:hover {
    cursor: pointer;
    backdrop-filter: grayscale(0);
    box-shadow: 0px 0px 0px 0.5rem var(--mox-layer-light-2);
}
 
form#search-top-box-form::after {
    content: "\f002";
    font-family: 'FontAwesome';
    position: absolute;
    right: 1.5rem;
    top: 0.5rem;
    font-size: 2rem;
    color: var(--mox-theme-color);
}
 
#header h1 a span::before {
    content: var(--mox-header-title);
    font-size: 1.6rem !important;
    color: var(--mox-layer-dark-1);
}
 
div#header h1 a:hover {
    background: transparent;
}

/* fuck u safari */
 
#header h1 a span::after {
    display: inline;
    padding: 0.8rem 1.7rem;
    content: '';
    border: none;
    position: relative;
    background-image: var(--mox-header-logo);
    background-repeat: no-repeat !important;
    background-size: contain;
    background-position: center;
    background-origin: border-box;
    margin-right: 0.8rem;
    font-size: 1rem !important;
}
 
div#header .top-bar ul:first-child>li>a, {
    color: var(--mox-text-color);
}
 
div#header a:hover {
    text-decoration:none;
}
 
#header-extra-div-1 {
    grid-area: menu;
    display: block;
    width: 4rem;
    height: 4rem;
    position: relative;
    background: transparent;
}
 


 
/* Top Bar */

#top-bar {
    font-family: 'Montserrat', 'Noto Sans SC', sans-serif;
}

#top-bar ul li a:hover {
    text-decoration: none;
    box-shadow: inset 0 4.2rem var(--mox-layer-dark-2) , inset 0 6rem var(--mox-layer-light-3);
    color: var(--mox-layer-light-1);
}

#top-bar .mobile-top-bar ul:first-child>li>ul {
    top: 3rem;
    transform: translateX(0.4rem);
}
 
.mobile-top-bar {
    display: none;
}

#top-bar li {
    list-style: none;
    float: left;
    margin: 0px 0px;
    padding: 0px 4px;
    height: 4rem;
    line-height: 4rem;
}
 
#top-bar li a {
    transition: all 0.2s;
    text-align: center;
    display: block;
    margin: 0;
    padding: 1px 0.4rem;
    text-decoration: none;
    color: var(--mox-layer-dark-3);
    font-weight: bold;
    word-break: keep-all;
}
 
#top-bar {
    position: relative;
    right: -1rem;
    bottom: 0rem;
    z-index: 0;
}
 
.top-bar {
    display: grid;
    /* grid-area: topbar; */
}
 
#top-bar ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    grid-area: topbar;
    justify-content: space-evenly;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    flex-direction: row-reverse;
}
 
#top-bar li ul {
    padding: 0;
    margin: 0;
    width: auto;
    border: unset;
    box-shadow: 0.4rem 0rem var(--mox-theme-color);
    display: block;
    top: 4rem;
    position: absolute;
    transform: translateX(-0.4rem);
}

#top-bar li ul li {
    display: block;
    float: none;
    height: fit-content;
    line-height: 2rem;
}
 
#top-bar li ul li a {
    width: 10em;
    text-align: left;
    background-color: var(--mox-bgblur-front-color);
    border: none;
    color: var(--mox-layer-dark-2);
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    backdrop-filter: blur(5px);
}
 
#top-bar li ul li a:hover {
    background-color: var(--mox-layer-light-1);
    text-decoration: none;
    color: var(--mox-layer-light-1);
    scale: 1;
    box-shadow: inset 15em 0 0 var(--mox-theme-color);
}
 

 
/* Main Content */
 
#main-content {
    max-width: var(--mox-page-width) !important;
    padding: 0px 0em;
    margin-top: 5.6em;
    margin: 5rem auto;
}
 

 
/* Side Bar */

.open-menu {
    display: none;
}
 
#side-bar {
    float: none;
    width: 20rem;
    padding: 0.7rem;
    margin: 0 0 0em 0;
    clear: left;
    position: fixed;
    max-height: calc(100% - 4rem);
    overflow-y: scroll;
    top: 4rem;
    background: var(--mox-bg-color);
    font-size: 90%;
    left: -22rem;
    transition: left 0.4s , box-shadow 0.4s;
    z-index: 10;
    direction: rtl;
    font-family: 'Montserrat', 'Noto Sans SC', sans-serif;
}
 
#side-bar h2, #side-block h1, .heading {
    background: var(--mox-layer-light-2);
    color: var(--mox-layer-dark-1);
    width: calc(100% + 1rem);
    display: inline-block;
    transform: translateX(-1rem);
    padding: 0.3rem 0rem 0.3rem 1rem;
    font-weight: bold;
}
 
.menu-item {
    font-size: 0;
}

div.menu-item p {
    width: 100%;
    display: flex;
}

#side-bar .side-block .menu-item a {
    display: inline-block;
    flex-grow: 1;
    width: max-content;
}
 
#side-bar .side-block .menu-item {
    display: flex;
    justify-content: flex-start;
}
 
#side-bar .side-block .menu-item a {
    display: inline-block;
    flex-grow: 1;
}
 
div#side-bar::before {
    display: table-cell;
    width: 20rem;
    height: 10rem;
    background: var(--mox-layer-light-1);
    content: var(--mox-header-subtitle);
    background-image: var(--mox-header-logo);
    background-position: center 1rem;
    background-repeat: no-repeat;
    background-size: 7rem;
    text-align: center;
    font-size: 1rem;
    vertical-align: bottom;
    font-weight: 600;
    padding-bottom: 0.5rem;
    direction: ltr;
}
 
.side-block {
    padding: 0.5rem 1rem;
    margin: 0.4rem 0;
    background-color: var(--mox-layer-light-1) !important;
    box-shadow: none;
    direction: ltr;
}
 
div#side-bar p {
    margin: 0;
}
 
#side-bar .side-block a:hover {
    box-shadow: inset 20rem 0rem var(--mox-theme-color) !important;
    color: var(--mox-layer-light-1) !important;
}
 
#side-bar .side-block a {
    display: block;
    border-left: solid 0.2rem var(--mox-layer-light-2);
    font-size: 0.8rem;
    padding: 0.5rem 0.5rem;
    color: var(--mox-layer-dark-2) !important;
}
 
div#side-bar::after {
    position: fixed;
    content: "\f0c9";
    display: block;
    top: 0rem;
    left: 0rem;
    z-index: 100;
    background: transparent;
    color: var(--mox-text-color);
    font-family: 'FontAwesome';
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    text-align: center;
    line-height: 4rem;
    transition: all 0.4s;
}
 
div#side-bar:hover {
    left: 0rem;
    box-shadow: 0.3rem 0px 0px 0rem var(--mox-layer-light-1);
}
 
div#side-bar:hover::after {
    color: var(--mox-layer-light-1);
    transform: unset;
    font-family: 'FontAwesome';
    cursor: pointer;
    box-shadow: inset 0rem 0rem 0 2rem var(--mox-layer-dark-2);
}
 
/* Page Content */
 
h1,h2,h3,h4,h5,h6 {
    font-family: 'Montserrat','Noto Sans SC',sans-serif;
    font-weight: 600;
    margin: 0.5rem 0;
}
 
hr {
    margin: 1em 2em;
    padding: 0;
    height: 2px;
    border: none;
    color: transparent;
    background-color: var(--mox-layer-light-2);
}
 
#main-content h1 {
    font-size: 230%;
    font-weight: 600;
    margin: 0.5rem 0rem;
}
 
#main-content h2,#main-content h3,#main-content h4,#main-content h5,#main-content h6 {
    font-weight: bold;
    margin: 0.3rem 0rem;
}
 
#main-content h2 {
    font-size: 180%;
}
 
#main-content a, #side-bar a, .owindow a, .hovertip a {
    color: var(--mox-theme-color);
    text-decoration: none;
    transition: all 0.2s;
}
 
#main-content a:hover,#side-bar a:hover, .owindow a:hover .hovertip a:hover {
    background-color: transparent;
    text-decoration: none;
    box-shadow: 0px 1px 0px 0px var(--mox-theme-light-color);
}
 
#main-content a:visited,#side-bar a:visited,  .hovertip a:visited {
    color: var(--mox-theme-dark-color);
    text-decoration: none;
}
 
#main-content a.newlink,#side-bar a.newlink,  .hovertip a.newlink {
    color: var(--mox-warn-color);
}
 
div.blockquote, blockquote {
    border: none;
    padding: 0.5rem 1rem;
    background-color: var(--mox-bg-color);
    box-shadow: -0.2rem 0px 0px var(--mox-layer-dark-2), 0.2rem 0 0 var(--mox-layer-light-1);
    border-bottom: solid 0.2rem var(--mox-layer-light-1);
    border-top: solid 0.2rem var(--mox-layer-light-1);
}
 
.footnotes-footer .title {
    margin: 0.5em 0;
    font-size: 150%;
    font-weight: bold;
    background: var(--mox-layer-dark-2);
    color: var(--mox-layer-light-1);
    padding: 0.3rem 1.5rem;
    transform: translateX(-2rem);
    box-shadow: 4rem 0 0 var(--mox-layer-dark-3);
}
 
.footnotes-footer {
    margin: 0;
    padding: 0.5rem 1rem;
    border-top: none;
    height: auto;
    background: var(--mox-layer-light-1);
    box-shadow: -0.4rem 0 0 var(--mox-layer-light-2);
}
 
.page-tags span {
    padding-top: 2px;
    border-top: solid 2px var(--mox-layer-light-2);
    font-size: 80%;
}
 
.page-tags a {
    margin: 0.2rem 0.4rem;
    display: inline-block;
    padding: 0.3rem 0.6rem;
}
 
.page-tags a::before {
    content: "#";
    font-family: 'Montserrat';
    color: var(--mox-layer-light-3);
    font-weight: 900;
}
 
#main-content .page-tags a:hover {
    box-shadow: inset 0rem 0rem 0rem 1.1rem var(--mox-theme-color);
    color: var(--mox-bg-color);
    padding: 0.3rem 0.6rem;
    border-radius: 0rem 1rem;
    scale: 1.1;
}

#toc {
    margin: 1em auto 1em 0;
    padding: 0.5rem 1rem;
    border: dashed 2px var(--mox-layer-light-3);
    background-color: var(--mox-bg-color);
    display: table;
}
 
/* Ratebox */
 
.page-rate-widget-box {
    margin: unset;
    border-radius: 0;
    border: none;
    box-shadow: 3px 0px 0px 0px var(--mox-theme-color);
    background-color: var(--mox-layer-dark-2);
    margin-top: 14px;
    margin-bottom: 4px;
    margin-right: 0px;
    display: inline-block;
    padding: 0.4rem 0.2rem;
}

.creditRate .page-rate-widget-box {
    margin: 0;
    padding: 0.4rem 0.2rem !important
}

.page-rate-widget-box .rate-points {
    background-color: transparent;
    border: none;
    color: var(--mox-layer-light-1) !important;
    font-family: "Montserrat";
}

#page-content .creditRate {
    margin-right: 0;
}
 
span.rateup.btn.btn-default {
    font-size: 0;
}
 
div.page-rate-widget-box span.rateup a::before {
    content: "\f067";
    font-family: 'FontAwesome';
    color: var(--mox-layer-light-1);
    font-size: 1rem;
    transition: all 0.2s;
}

div.page-rate-widget-box span.rateup a:hover::before {
    color: var(--mox-accept-color) !important;
    box-shadow: 0rem 0.1rem 0 -0.01rem var(--mox-accept-color);
}
 
span.rateup.btn.btn-default a:hover::before {
    color: var(--mox-theme-color);
}
 
span.ratedown.btn.btn-default {
    font-size: 0;
}
 
span.ratedown.btn.btn-default a:hover::before {
    color: var(--mox-theme-color);
}

div.page-rate-widget-box span.ratedown a::before {
    content: "\f068";
    font-family: 'FontAwesome';
    color: var(--mox-layer-light-1);
    font-size: 1rem;
    transition: all 0.2s;
}

div.page-rate-widget-box span.ratedown a:hover::before {
    color: var(--mox-warn-color) !important;
    box-shadow: 0rem 0.1rem 0 -0.01rem var(--mox-warn-color);
}
 
span.cancel.btn.btn-default a {
    color: var(--mox-layer-light-1) !important;
    background: var(--mox-layer-dark-2);
    font-size: 0;
}

span.cancel.btn.btn-default a::before {
    content: "\f00d";
    font-family: 'FontAwesome';
    font-size: 1rem;
    transition: all 0.3s;
    color: var(--mox-layer-dark-3);
}
 
div.page-rate-widget-box span.cancel a:hover::before {
    color: var(--mox-layer-light-1);
    box-shadow: 0rem 0.1rem 0 -0.01rem var(--mox-layer-light-1);
}
 
.rateBox .rate-box-with-credit-button {
    background-color: var(--mox-layer-light-1);
    border: none;
    border-radius: 0;
    box-shadow: 0.2rem 0 0 var(--mox-theme-color);
}

.rate-box-with-credit-button .page-rate-widget-box {
    box-shadow: none;
    padding: 0.4rem 0.2rem;
}
 
.rateBox .rate-box-with-credit-button .creditButton p a {
    width: 27px;
    text-decoration: none;
    border: none;
}
 
a.fa.fa-info:hover {
    box-shadow: none !important;
    color: var(--mox-theme-light-color);
}

a.back {
    color: var(--mox-theme-color) !important;
}
 
#page-content div.modalbox {
    background: var(--mox-bg-color);
    border: solid 2px var(--mox-layer-light-2);
    border-radius: 0;
    box-shadow: none;
    padding: 4px;
    max-height: 50vh;
    pointer-events: auto !important;
}
 
/* Custom Divs */
 
.mox-modal, .modal {
    position: relative;
    background: var(--mox-bg-color);
    border: solid 2px var(--mox-layer-light-2);
    width: 90%;
    margin: 1rem auto;
    padding: 0.5rem 0.7rem;
}
 
.mox-note, .notation {
    position: relative;
    background: var(--mox-layer-light-1);
    width: 90%;
    margin: 1rem auto;
    padding: 0.5rem 0.7rem;
    border-left: solid 5px var(--mox-layer-light-3);
    border-right: solid 5px var(--mox-layer-light-3);
}
 
.mox-notice, .jotting, .papernote {
    position: relative;
    background: var(--mox-layer-light-1);
    width: 80%;
    margin: 1rem auto;
    padding: 0.5rem 0.7rem;
    border: dashed 0.1rem var(--mox-layer-light-2);
}
 
.mox-card, .document {
    position: relative;
    background: var(--mox-bg-color);
    border: none;
    width: 90%;
    margin: 1rem auto;
    padding: 1.5rem 0.7rem 0.7rem 0.7rem;
    box-shadow: inset 0rem 0.5rem 0 var(--mox-layer-dark-3), inset 0rem 1.3rem 0 var(--mox-layer-light-1), 0.6rem 0.6rem 0 var(--mox-layer-light-1);
}
 
.mox-dark {
    box-shadow: inset 0rem 0.5rem 0 var(--mox-layer-dark-3), inset 0rem 1.3rem 0 var(--mox-layer-dark-2), 0.6rem 0.6rem 0 var(--mox-layer-light-1), 0rem 0rem 0.7rem 0rem var(--mox-layer-light-2);
    background: var(--mox-layer-dark-1);
    color: var(--mox-layer-light-1);
}
 
.mox-float {
    max-width: 45%;
    background: var(--mox-bg-color);
    padding: 0.5rem 0.7rem;
    margin: 0.5rem 0.5rem 1.5rem 0.5rem;
    border: solid 2px var(--mox-layer-light-2);
    box-shadow: 1rem 0.6rem 0rem var(--mox-layer-light-2);
}
 
.mox-f-left {
    float: left;
    margin-right: 0;
}
 
.mox-f-right {
    float: right;
    margin-left: 0;
}
 
/* Tables */
 
tr {
    background-color: var(--mox-bg-color);
}
 
table.wiki-content-table td {
    border: solid 2px var(--mox-layer-light-2);
    padding: 0.3em 0.7em;
}
 
table.wiki-content-table th {
    border: solid 1px var(--mox-layer-dark-2);
    padding: 0.4rem 0.7rem;
    background-color: var(--mox-layer-dark-2);
    color: var(--mox-layer-light-1);
}
 
/* Tabs */
 
.yui-navset .yui-nav { border-color: var(--mox-layer-light-3); }
 
.yui-navset.yui-navset-top .yui-nav li {
    flex-grow: 1;
}
.yui-navset.yui-navset-top .yui-nav li a {
    border-width: 0;
}
 
.yui-navset .yui-content {
    padding: 0.5rem 0.7rem;
    border: solid 2px var(--mox-layer-light-1);
    background-color: var(--mox-bg-color);
    box-shadow: none;
}
 
.yui-navset {
    position: relative;
    zoom: 1;
    box-shadow: none;
    margin: 1rem auto;
}
 
.yui-navset .yui-nav li a em, .yui-navset-top .yui-nav li a em, .yui-navset-bottom .yui-nav li a em {
    display: block;
    border-top: none;
    box-shadow: 0rem -0.1rem var(--mox-layer-light-2);
}
 
.yui-navset .yui-nav {
    border-color: var(--mox-layer-dark-1);
    display: flex;
}
 
.yui-navset.yui-navset-top .yui-nav li {
    flex-grow: 1;
    border: none;
    box-shadow: none;
}
 
.yui-navset .yui-nav .selected, .yui-navset .yui-navset-top .yui-nav .selected {
    margin: 0 0 -3px 0;
}
 
.yui-navset .yui-nav li, .yui-navset .yui-navset-top .yui-nav li {
    margin: 0 0 0 0;
    padding: 1px 0 0;
    zoom: 1;
}
 
div.yui-navset ul.yui-nav .selected a, div.yui-navset ul.yui-nav .selected a:focus, div.yui-navset ul.yui-nav .selected a:hover {
    background: var(--mox-layer-dark-2) !important;
    color: var(--mox-layer-light-2) !important;
    text-align: center;
    font-weight: 600;
    border: none;
    box-shadow: none;
}
 
div.yui-navset ul.yui-nav a, div.yui-navset div.yui-navset-top ul.yui-nav a {
    background: var(--mox-layer-light-1);
    color: var(--mox-layer-dark-1) !important;
    width: 100%;
    text-align: center;
    font-weight: 400;
    transition: all 0.35s;
    border: none;
}
 
div.yui-navset ul.yui-nav a:hover, div.yui-navset ul.yui-nav a:focus {
    background: var(--mox-layer-light-1) !important;
    color: var(--mox-layer-light-1) !important;
    box-shadow: inset 20rem 0rem var(--mox-layer-dark-2) !important;
}
 
#page-title {
    margin: 0 0 0.5em 0;
    padding-top: 0.5rem;
    font-size: 210%;
    border-bottom: solid 2px var(--mox-layer-light-2);
    padding-bottom: 0.5rem;
    font-weight: 600;
    font-family: 'Montserrat','Noto Sans SC',sans-serif;
    color: var(--mox-layer-dark-2);
}
 
.code {
    border: solid 2px var(--mox-layer-light-1);
    background-color: #000000;
    font-family: "Oxygen Mono","Consolas","Noto Sans SC",MONOSPACE;
    padding: 0 1em;
    margin: 0.4em 0;
    overflow: auto;
    border-radius: 1em 1em 1em 1em;
    color: var(--lightGray);
    background-image: linear-gradient(var(--mox-layer-dark-1) 1.7em,var(--mox-bg-color) 1.7em);
    box-shadow: none;
}
 
.code,pre,.code * {    font-family: "Oxygen Mono","Consolas","Noto Sans SC",MONOSPACE;}
 
.code::before {
    content: '● ● ●';
    background-image: linear-gradient(90deg, #FF0000 0%,#FF0000 33%,#FFFF00 33%,#00FF00 33%,#00FF00 68%,#FFFF00 68%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    transform: translateY(0px);
    display: inline-block;
    z-index: 0;
    position: relative;
    font-family: 'Noto Sans SC';
}
 
#page-content .collapsible-block-folded, #page-content .collapsible-block-unfolded-link {
    background: var(--mox-layer-dark-2);
    transition: background 0.25s linear;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: min-content;
    white-space: nowrap;
    overflow: hidden;
    margin: auto;
}
 
a.collapsible-block-link:hover {
    box-shadow: none !important;
}
 
#page-content .collapsible-block-folded .collapsible-block-link::before {
    content: "\f103";
    font-family: 'FontAwesome';
    display: inline-block;
    width: 1rem;
    transition: all 0.3s;
}
 
#page-content .collapsible-block-folded .collapsible-block-link:hover::before, #page-content .collapsible-block-unfolded .collapsible-block-link:hover::before {
    transform: rotateX(-180deg);
}
 
#page-content .collapsible-block-unfolded .collapsible-block-link::before {
    content: "\f102";
    font-family: 'FontAwesome';
    display: inline-block;
    width: 1rem;
    transition: all 0.3s;
}
 
#page-content .collapsible-block-link {
    text-decoration: none;
    color: var(--mox-layer-light-1);
    font-weight: bold;
}
 
#page-content .collapsible-block-folded:hover, #page-content .collapsible-block-unfolded-link:hover {
    background: var(--mox-theme-color);
    box-shadow: none;
}
 
#page-content .collapsible-block-unfolded-link {
    box-shadow: none;
}
 
#page-content .collapsible-block-folded, #page-content .collapsible-block-unfolded-link {
    margin-top: 10px;
    margin-bottom: 10px;
}
 
/* Others */

 
.owindow .content {
    padding: 0.5em 1em;
    display: flex;
    justify-items: start;
    justify-content: start;
    flex-direction: column;
}

div.owindow.owait {
    top: calc(100% - 57.5vh) !important;
}

.owindow.owait .content {
    margin: 1rem;
    padding: 0;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-image: none;
    text-align: center;
    display: grid;
    justify-content: space-evenly;
    grid-template: '.';
}

div.owindow.owait {
    top: calc(100% - 57.5vh) !important;
    width: 45vw !important;
    margin: 0 auto;
    display: block;
    left: calc(100% - 73.5vw) !important;
}
 
.page-options-bottom {
    margin: 0.3rem 0;
    text-align: center;
    height: 1%;
    line-height: 2rem;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: var(--mox-bg-color);
    padding: 0.5rem 0.1rem;
    border: solid 2px var(--mox-layer-light-1);
}
 
a#more-options-button, a#site-tools-button {
    grid-column: span 4 / auto;
}
 
a#print-button, a#rename-move-button, a#delete-button {
    grid-column: span 2 / auto;
}

.page-tags span::before {
    content: '标签';
    color: var(--mox-layer-dark-3);
}
 
.page-options-bottom a {
    margin: 0px 0px;
    font-size: 100%;
    padding: 0;
    border-bottom: solid 2px var(--mox-layer-light-2);
    background: var(--mox-layer-light-1);
    color: var(--mox-theme-light-color)  !important;
}
 
.page-options-bottom a:hover {
    background-color: transparent;
    text-decoration: none;
    box-shadow: inset 0px 2rem 0px 0px var(--mox-theme-color) !important;
    color: var(--mox-bg-color)  !important;
    font-weight: bold;
}

#footer a {
    color: var(--mox-layer-light-1);
    text-decoration: none;
    transition: all 0.2s;
}

#footer {
    margin-top: 5px;
    padding: 1rem;
    clear: both;
    overflow: hidden;
    background: var(--mox-layer-dark-1);
    color: var(--mox-layer-light-3);
}
 
#footer a:hover {
    color: var(--mox-theme-light-color);
    text-decoration: none;
    background: none;
}

div#footer::before {
    content: var(--mox-header-title);
    display: block;
    position: relative;
    margin: 1rem auto;
    width: 80%;
    height: 4rem;
    background-image: var(--mox-header-logo);
    filter: invert(1);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-origin: content-box;
    text-align: center;
    line-height: 10rem;
    font-size: 1rem;
    font-weight: bolder;
    padding-bottom: 1rem;
    color: var(--mox-layer-dark-3);
    font-family: 'Montserrat','Noto Sans SC',sans-serif;
}
 
#license-area {
    color: var(--mox-layer-light-3);
    text-align: center;
    background: var(--mox-layer-dark-1);
}
 
#license-area a {
    color: var(--mox-layer-light-3);
    text-decoration: none;
    transition: all 0.2s;
}
 
#license-area a:hover {
    background: transparent;
    color: var(--mox-layer-light-1);
}
 

 

 
/* Action Area */
 
#action-area {
    width: 85vw;
    background: var(--mox-layer-light-1);
    border: solid 3px var(--mox-layer-light-2);
    padding: 1rem;
    margin: 1rem auto;
    color: var(--mox-text-color);
    position: relative;
    right: 6vw;
}
 
#action-area h1 {
    color: var(--mox-theme-color);
}

form#edit-page-form {
    display: grid;
    grid-template:
        'edittitle '
        'editpanel'
        'textarea'
        'changesize'
        'edithelp'
        'bottomtable'
        'uselessbtn'
        'captcha'
        'ui';
}

div#action-area>div+form[onkeypress*="disableEnterKey"]#edit-page-form :nth-child(4) {
    width: 100%;
    margin: 0 auto !important;
    padding: 0;
    grid-area: edittitle;
}

table.form tbody tr td:nth-child(1) {
    background: transparent !important;
}
 
input.text {
    border: solid 2px var(--mox-layer-light-3);
    margin: 0 0px;
    padding: 0.2rem;
    background-color: var(--mox-layer-light-1);
    color: var(--mox-layer-dark-1);
    text-align: left;
    width: 100%;
    transition: border 0.2s;
}
 
table.form {
    margin: 0 auto !important;
    padding: 0;
}
 
table.form td, table.form th {
    vertical-align: top;
    padding: 0;
    font-size: 1.2rem;
}
 
.wd-editor-toolbar-panel {
    align-items: center;
    background: var(--mox-layer-light-1);
    border: solid 2px var(--mox-layer-light-3);
    margin: 0;
    position: relative;
    width: 99% !important;
    margin: 0em 0em !important;
    display: flex;
    height: auto;
    justify-content: center;
    flex-direction: column;
    grid-area: editpanel;
    flex-wrap: nowrap;
    height: max-content;
}

.wd-editor-toolbar-panel ul {
    padding: 0;
    margin: 0 auto;
    float: left;
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
 
.wd-editor-toolbar-panel ul li a {
    height: 2.3rem;
    width: 2.3rem;
    padding: 0px;
    margin: 0em 0em 0em 0em;
    display: block;
    transition: box-shadow 0.2s , filter 0.3s !important;
}

.wd-editor-toolbar-panel ul li a::before {
    content:'';
    font-size: 1.2rem;
    display: inline-block;
    background: var(--mox-layer-light-1);
    color: var(--mox-layer-dark-1);
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 2.3rem;
    font-family: 'FontAwesome';
    transition: color 0.2s, box-shadow 0.2s;
}

.wd-editor-toolbar-panel div {
    height: 3rem;
}

.wd-editor-toolbar-panel ul li ul {
    position: absolute;
    width: auto !important;
    left: -999em;
    background-color: var(--mox-layer-light-1);
    z-index: 30;
}

/* icons */

:where(a.weditor-h1,a.weditor-h2,a.weditor-h3,a.weditor-h4,a.weditor-h5,a.weditor-h6,a.weditor-raw,a.weditor-hr,a.weditor-div,a.weditor-clearfloat,a.weditor-clearfloatleft,,a.weditor-clearfloatright,a.weditor-toc)::before {
    font-family: 'Montserrat' !important;
}

:where(a.weditor-imagewiz, a.weditor-codewiz, a.weditor-uriwiz, a.weditor-pagelinkwiz, a.weditor-incindent, a.weditor-decindent, a.weditor-eqref,a.weditor-bibcite)::after {
    content: '\f02b';
    font-family: 'FontAwesome';
    display: inline-block;
    transform: translateX(1.2rem) translateY(-1.1rem);
    color: var(--mox-layer-light-1);
    background: var(--mox-layer-dark-1);
    width: 1rem;
    height: 1rem;
    line-height: 1rem;
    text-align: center;
    border-radius: 0.25rem;
}

:where(a.weditor-imagewiz, a.weditor-codewiz, a.weditor-uriwiz, a.weditor-pagelinkwiz, a.weditor-incindent, a.weditor-decindent, a.weditor-eqref,a.weditor-bibcite):hover::after {
    color: var(--mox-layer-dark-2);
    background: var(--mox-layer-light-1);
}

a.weditor-h1::before {content:'H1' !important;}
a.weditor-h2::before {content:'H2' !important;}
a.weditor-h3::before {content:'H3' !important;}
a.weditor-h4::before {content:'H4' !important;}
a.weditor-h5::before {content:'H5' !important;}
a.weditor-h6::before {content:'H6' !important;}
a.weditor-bold::before {content:"\f032" !important;}
a.weditor-italic::before {content:"\f033" !important;}
a.weditor-underline::before {content:"\f0cd" !important;}
a.weditor-strikethrough::before {content:"\f0cc" !important;}
a.weditor-teletype::before {content:"tt" !important;font-family: 'Oxygen Mono' !important;}
a.weditor-quote::before {content:"\f10d" !important;}
a.weditor-superscript::before {content:"\f12b" !important;}
a.weditor-subscript::before {content:"\f12c" !important;}
a.weditor-raw::before {content:'@' !important;}

a.weditor-hr::before {content:'---' !important;}
a.weditor-div::before {content:'div' !important;}
a.weditor-clearfloat::before {content: '◀▣▶' !important;    font-size: 100% !important;}
a.weditor-clearfloatleft::before {content:'◀▣f' !important;    font-size: 100% !important;}
a.weditor-clearfloatright::before {content:'f▣▶' !important;    font-size: 100% !important;}
a.weditor-table::before {content:'\f0ce' !important;}
a.weditor-toc::before {content:'toc' !important;}
a.weditor-code::before,a.weditor-codewiz::before {content:'\f121' !important;}
a.weditor-uri::before,a.weditor-uriwiz::before {content:'\f08e' !important;}
a.weditor-pagelink::before,a.weditor-pagelinkwiz::before {content:'\f0c1' !important;}
a.weditor-image::before,a.weditor-imagewiz::before {content:'\f03e' !important;}
a.weditor-html::before {content:'\f13b' !important;}

a.weditor-numlist::before {content:'\f0cb' !important;}
a.weditor-bullist::before {content:'\f0ca' !important;}
a.weditor-incindent::before,a.weditor-decindent::before {content:'\f03a' !important;}
a.weditor-incindent::after {content:'\f067' !important;}
a.weditor-decindent::after {content:'\f068' !important;}
a.weditor-deflist::before {content:'\f022' !important;}
a.weditor-footnote::before {content:'\f129' !important;}
a.weditor-math::before {content:'LaTeX' !important;    font-size: 65% !important; font-family: math !important;}
a.weditor-mathinline::before {content:'Σ' !important;}
a.weditor-eqref::before {content:'Eq' !important;}
a.weditor-bib::before,a.weditor-bibcite::before {content:'\f02d' !important;}
a.weditor-bibcite::after {content:'\f069'}


/* icons end */

 
.wd-editor-toolbar-panel li.hseparator {
    width: 2px;
    height: 33px;
    margin: 0 5px;
    background-color: #efefef;
}

 
#edit-page-comments {
    width: 100%;
    height: 4rem;
}
 
.wd-editor-toolbar-panel a {
    background-image: none;
}
 
.wd-editor-toolbar-panel a:hover {
    background-image: none;
    filter: none;
    box-shadow: none !important;
}

.wd-editor-toolbar-panel a:hover::before {
    box-shadow: inset 3rem 0 var(--mox-layer-dark-2) !important;
    color: var(--mox-layer-light-1);
}
 
.wd-editor-toolbar-panel ul {
    padding: 0;
    margin: 0 auto;
    float: left;
    list-style: none;
}
 
form#edit-page-form :nth-child(6) {
    grid-area: textarea;
}
 
textarea {
    padding: 0.5rem;
    font-size: 105%;
    border: solid 2px var(--mox-layer-light-3);
    background-color: var(--mox-layer-light-2);
    color: var(--mox-layer-dark-2);
    width: 97% !important;
    position: relative;
    margin: 0 auto;
    display: block;
    font-family: 'Oxygen Mono','Noto Sans SC';
    transition: border 0.2s;
}

textarea:focus-visible, input:focus-visible {
    outline: none;
    border: solid 2px var(--mox-theme-color);
}
 
#new-post-div textarea#np-text {width:93%}
 
div#new-post-form-container {
    background-color: var(--mox-layer-light-1);
    border: solid 5px var(--mox-layer-light-2);
    padding: 1em;
}

.change-textarea-size {
    display: grid;
    grid-template: 'incrsize decrsize';
    grid-area: changesize;
    width: 98.5%;
    margin: 0;
    padding: 0;
}

div.change-textarea-size :nth-child(1) {
    grid-area: incrsize;
}

div.change-textarea-size :nth-child(2) {
    grid-area: decrsize;
}
 
.change-textarea-size a {
    width: 100%;
    text-align: center;
    display: block;
    height: 2rem;
    line-height: 2rem;
    font-size: 1.5rem;
    color: var(--mox-layer-dark-1) !important;
    background: var(--mox-layer-light-1);
    outline: solid 2px var(--mox-layer-light-2);
    border: none;
    position: relative;
    top: 2px;
}

#main-content #action-area .change-textarea-size a:hover {
    background: var(--mox-layer-light-1) !important;
    box-shadow: inset 0 3rem var(--mox-layer-dark-2) !important;
    color: var(--mox-layer-light-2) !important;
}

.edit-help-34 {
    margin-top: 0px;
    grid-area: edithelp;
    padding: 1rem;
}

table.edit-page-bottomtable {
    grid-area: bottomtable;
}

table.edit-page-bottomtable tbody {
    width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}

table.edit-page-bottomtable tbody tr {
    display: grid;
    grid-template: 'lockinfo editinfo';
    grid-gap: 0rem;
}

table.edit-page-bottomtable tbody tr td:nth-child(1) {
    grid-area: lockinfo;
    transform: translateY(-1rem);
}

table.form td div.sub, form div.sub {
    font-size: 90%;
    color: var(--mox-layer-dark-3);
}

table.edit-page-bottomtable tbody tr td:nth-child(2) {
    grid-area: editinfo;
}

#edit-page-comments {
    width: 100%;
    height: 4rem;
    width: 90% !important;
}
 
#lock-info {
    background-color: var(--mox-layer-light-1);
    border-color: #ededed;
    border: solid 2px var(--mox-theme-color);
    display: block;
    position: relative;
    left: 0rem;
    margin: 0.1rem 0;
    padding: 0.4rem 0.8rem;
    margin-left: 0rem;
    height: auto;
    top: 1.4rem;
}

.checkbox.do-not-notify {
    grid-area: uselessbtn;
    text-align: center;
}

div.wd-editor-toolbar-panel table {
    empty-cells: show;
    display: inline-grid;
}

div#edit-page-captcha {
    grid-area: captcha;
}

.buttons.alignleft {
    grid-area: ui;
}

table.edit-page-bottomtable tbody {
    width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}

table.edit-page-bottomtable tbody tr {
    display: grid;
    grid-template: 'editinfo lockinfo';
    grid-gap: 1rem;
    background: transparent;
}

table.edit-page-bottomtable tbody tr td:nth-child(1) {
    grid-area: lockinfo;
}

table.edit-page-bottomtable tbody tr td:nth-child(2) {
    grid-area: editinfo;
}

.form tbody tr {
    background: transparent;
    height: 2.5rem;
    line-height: 2.5rem;
}
 
div#lock-info > strong {
    font-size: 0.82rem;
    color: var(--mox-theme-color);
    font-family: "Oxygen Mono","Consolas","Noto Sans SC",MONOSPACE;
}
 
#edit-save-button {
    color: var(--mox-accept-color);
    border: solid 2px var(--mox-accept-color);
    transition: color 0.15s linear;
}
 
#edit-save-button:hover {
    color: var(--mox-layer-dark-1);
    background-color: var(--mox-accept-color);
}
 
#edit-cancel-button {
    color: var(--mox-warn-color);
    border: solid 2px var(--mox-warn-color);
    transition: color 0.15s linear;
}
 
#edit-cancel-button:hover {
    color: var(--mox-layer-dark-1);
    background-color: var(--mox-warn-color);
}
 
.buttons .btn {
    width: 7em;
    display: inline;
}
 
div.buttons.alignleft {
    text-align: center;
}
 
div.buttons input, input.button, button, file, a.button {
    margin: 0 2px;
    padding: 0.5em 0.4em;
    text-decoration: none;
    background-color: var(--mox-layer-light-1);
    border: solid 2px var(--mox-layer-light-3);
    color: var(--mox-layer-dark-1);
    cursor: pointer;
    font-weight: 900;
    font-size: 90%;
    transition: all 0.25s;
}

/* Action Area Other Elements */

.owindow {
    background-color: var(--mox-bg-color);
    width: 50em;
    border: solid 5px var(--mox-layer-light-2);
    text-align: left;
    position: fixed;
    width: 75vw !important;
    left: calc(100% - 87vw) !important;
    top: 15vh !important;
}

.owindow .title {
    cursor: default;
    font-size: 140%;
    font-weight: bold;
    padding: 0.2rem 1rem;
    background-color: var(--mox-layer-light-2);
    height: 1%;
    color: var(--mox-text-color);
}

.odialog-shader {
    background-color: var(--mox-bg-color);
    opacity: 0.8;
    position: fixed;
    z-index: 10;
    height: 100%;
    width: 100%;
}

.owindow .content {
    padding: 0.5em 1em;
    display: grid;
    justify-items: start;
    justify-content: start;
    align-items: start;
}

div.content.modal-body>img {
    height: 5rem;
    float: none !important;
    border-radius: 0rem;
    position: relative;
    background: transparent !important;
}

div.content.modal-body h1 {
    display: block;
    width: 100%;
    height: 5rem;
    font-size: 2rem;
    line-height: 6rem;
}

div.content.modal-body table.table {
    width: 72vw;
}

div.content.modal-body table.table tbody tr {
    width: 100%;
    display: table-row;
    margin-top: 0.3rem;
    background: transparent;
    box-shadow: 0 0.2rem var(--mox-layer-light-1);
}

div.modal-body.content>div:nth-child(4) {
}

a.btn.btn-danger {
    color: var(--mox-warn-color) !important;
}

a.btn.btn-primary, .owindow .button-bar a, #login-status a.login-status-create-account.btn {
    color: var(--mox-layer-dark-2);
}

a.btn.btn-primary, a.btn.btn-danger, .owindow .button-bar a {
    display: inline-block;
    margin: 0.25rem;
    background: var(--mox-layer-light-1);
    padding: 0.35rem 0.45rem;
    text-decoration: none !important;
    border: solid 2px var(--mox-layer-light-2);
    transition: 0.15s;
}

a.btn.btn-primary:hover, a.btn.btn-danger:hover, .owindow .button-bar a:hover {
    background: var(--mox-layer-light-2) !important;
    color: var(--mox-layer-light-1) !important;
    box-shadow: inset 0 2rem var(--mox-layer-dark-2) !important;
}

a.btn.btn-danger[onclick*="dialog.cleanAll()"] {
    display: block;
    z-index: -1;
    position: fixed;
    background: transparent;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vw;
    font-size: 0;
}

a.btn.btn-danger[onclick*="dialog.cleanAll()"]:hover {
    box-shadow: none !important;
    background: transparent !important;
}

a#show-upload-button {
    font-size: 0.9rem;
    scale: 1.2;
}

div#owindow.error div.content p:nth-child(2) {
    grid-area: para1;
}
div#owindow.error div.content p:nth-child(1) {
    grid-area: para2;
}

div#owindow.error div.content {
    display: grid;
    justify-items: start;
    grid-template:
        'username username'
        'para1 para1'
        'para2 para2'
        'ui ui';
}

table.page-history {
    width: 100%;
}

/* Hovertip & Footnotes */

.hovertip {
    width: max-content;
    max-width: 25rem;
    background: var(--mox-bg-color) !important;
    border: solid 4px var(--mox-layer-light-2) !important;
    outline: none;
}

.footnote .f-heading, .equation .e-heading, .reference .r-heading {
    font-weight: bold;
    font-family: 'Montserrat';
    background: var(--mox-layer-dark-2);
    color: var(--mox-layer-light-1);
    padding: 0.3rem 0.5rem;
    display: inline-block;
    font-size: 1.1rem;
    transform: translateX(-1.3rem);
    position: relative;
    box-shadow: -1rem 0 var(--mox-layer-dark-3);
}

.footnote .f-heading, .equation .e-heading, .reference .r-heading {
    font-weight: bold;
    font-family: 'Montserrat';
    background: var(--mox-layer-dark-2);
    color: var(--mox-layer-light-1);
    padding: 0.3rem 0.5rem;
    display: inline-block;
    font-size: 1.1rem;
    transform: translateX(-1.3rem);
    position: relative;
    box-shadow: 1rem 0 var(--mox-layer-dark-3);
}

.f-footer {
    font-size: 0.5rem !important;
    color: var(--mox-layer-light-3);
    font-family: 'Montserrat';
}

 
/* Scrollbar */
 
::-webkit-scrollbar {
    width: 0.4rem !important;
    background: transparent !important;
}
 
::-webkit-scrollbar-thumb {
    background: var(--mox-theme-color) !important;
}

.hl-main::-webkit-scrollbar, pre::-webkit-scrollbar, .code::-webkit-scrollbar {
    height: 0.4rem !important;
}
 
/* SCP Sigma-9 Things */
 
.scp-image-block {
    outline: solid 2px var(--mox-layer-light-2);
    box-shadow: none;
    width: 300px;
    position: relative;
    z-index: -1;
}
.scp-image-block.block-right {
    float: right;
    clear: right;
    margin: 1rem;
}
.scp-image-block.block-left {
    float: left;
    clear: left;
    margin: 1rem;
}
.scp-image-block.block-center {
    margin-right: auto;
    margin-left: auto;
}
.scp-image-block img {
    border: 0;
    width: 300px;
}
.scp-image-block .scp-image-caption {
    background-color: var(--mox-layer-dark-2);
    border-top: none;
    padding: 0.3rem 0;
    font-size: 90%;
    font-weight: bold;
    text-align: center;
    width: 300px;
    color: var(--mox-layer-light-1);
    outline: solid 2px var(--mox-layer-dark-2);
    z-index: 1;
    position: relative;
    margin-top: 2px;
}
.scp-image-block > p {
    margin: 0;
}
.scp-image-block .scp-image-caption > p {
    margin: 0;
    padding: 0 10px;
}
 
.ruby, ruby {
    display: inline-table;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
    height: 1em;
    vertical-align: text-bottom;
}
.rt, rt {
    display: table-header-group;
    font-size: 0.6em;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}
 
.keycap {
    border: 1px solid;
    border-color: var(--mox-layer-light-3);
    border-bottom-width: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: var(--mox-layer-light-1);
    padding: 1px 3px;
    font-family: inherit;
    font-size: 0.85rem;
    white-space: nowrap;
    font-family: 'Oxygen Mono','Noto Sans SC',sans-serif;
}
 
.menu-item img[src*="help"], .menu-item img[src*="default"], .menu-item img[src*="series"], .menu-item img[src*="main"], .menu-item img[src*="home"], .menu-item img[src*="forum"] {
    display: none;
}

/* NO BIG AVATARS */

a.avatar-hover, a.avatar-hover:hover {
    display: none !important;
}
 
/* Posts */
 
div.info .odate {
    font-size: 0.5rem;
    font-family: 'Oxygen Mono';
}
.thread-container .post .head {
    padding: 0.5rem 0.8rem;
    background-color: var(--mox-layer-light-1);
    border: solid 2px var(--mox-layer-light-2);
}
 
.thread-container .post .long .content {
    padding: 0.2rem 0.9rem;
}
 
.thread-container .post .signature {
    display: none;
}
 
.thread-container .post .long .head .title {
    font-weight: bold;
    font-size: 1.1rem;
}
 
.thread-container .post.folded .short {
    display: block;
    background: var(--mox-layer-light-1);
    border: solid 2px var(--mox-layer-light-2);
}
 
.thread-container .post .options a, .short .options a.btn, a.btn[onclick*="togglePostFold"], a#new-post-button, div#comments-options-shown a {
    color: var(--mox-layer-dark-2) !important;
    background: var(--mox-layer-light-1);
    padding: 0.2rem 0.8rem;
    border: solid 2px var(--mox-layer-light-2);
    margin: 0.2rem 0.3rem;
    display: inline-block;
}
 
#main-content .thread-container .post .options a:hover, #main-content .short .options a.btn:hover, a.btn[onclick*="togglePostFold"]:hover, a#new-post-button:hover, div#comments-options-shown a:hover {
    text-decoration: none;
    box-shadow: inset 8rem 0rem var(--mox-theme-light-color) !important;
    color: var(--mox-layer-light-1) !important;
    scale: 1.2;
}
 
a.btn[onclick*="postReply"]::before {
    content: "\f086";
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 0.2rem;
}
 
a.btn[onclick*="togglePostOptions"]::before {
    content: "\f013";
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 0.2rem;
}
 
a.btn[onclick*="togglePostFold"]::before {
    content: "\f103";
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 0.2rem;
}
 
a#new-post-button::before {
    content: "\f067";
    font-family: 'FontAwesome';
    display: inline-block;
    margin-right: 0.2rem;
}
 
div.head div.options a {
    margin: 0 !important;
    display: inline-block;
}
 
.thread-container .post .short .options {
    padding: 0.2rem;
}
 
div.short a.title {
    color: var(--mox-text-color) !important;
}

@media (min-width: 876px) {

    #header {
        grid-template-areas:
            'search topbar title user menu'
            'search topbar subtitle user menu'
    }

    #header h2 {
        width: calc(100% - 3rem);
        text-align: left;
        word-break: keep-all;
        direction: ltr;
        transform: translateX(2.3rem) translateY(0.5rem)
    }

    #header h2 span::before {
        content: var(--mox-header-subtitle);
        font-size: 0.8rem !important;
        font-weight: normal;
        position: absolute;
        width: 120%;
        text-align: left;
    }
}


/* Mobile */

@media (max-width: 875px) {

    .scp-image-block {
        float: none !important;
        margin: 1rem auto !important;
    }

    #main-content {
        margin-top: 1rem;
        margin: 1rem auto;
    }

    .top-bar {display:none;}

    .mobile-top-bar {
        display: block;
        top: 0;
        position: relative;
        transform: translateY(-1rem);
    }

    #top-bar .mobile-top-bar ul li ul {
        top: 3rem;
        transform: translateX(-0.4rem);
        pointer-events: all;
        width: max-content;
        min-width: 100%;
        display: grid;
        border: none;
        contain: layout;
        position: fixed;
        left: 0;
        grid-template-columns: repeat(2 , 1fr);
        box-shadow: -0.4rem 0rem var(--mox-theme-color);
        backdrop-filter: blur(8px);
        background: var(--mox-bgblur-front-color);
        z-index: 11;
    }
    #top-bar li ul li {
        display: block;
        float: none;
        height: fit-content;
        line-height: 1.5rem;
        width: 100%;
    }
    #top-bar li ul li a {
        width: auto;
        text-align: left;
        background-color: transparent;
        border: none;
        color: var(--mox-layer-dark-2);
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        backdrop-filter: none;
        z-index: 50;
        position: relative;
    }

    #side-bar {
        top: 2.8rem;
        width: 65vw;
        left: -75vw;
    }
    div#side-bar::before {
        width:75vw;
    }

    #main-content {
        max-width: 97vw !important;
    }

    #page-content {
    padding: 1rem;
    }

    #header {
        position: sticky;
        display: block;
        height: 12rem;
        direction: ltr !important;
        top: -9.2rem;
    }

    #header h1 {
        position: absolute;
        left: 0rem;
        top: 3rem;
        border: none;
        width: calc(100% - 2rem);
        text-align: center;
    }

    #header h1 a span::before {
        display: inline;
        font-size: 2.2rem !important;
    }

    #header h1 a span::after {
        display: block;
        padding: 4rem 20vw;
        content: '';
        position: absolute;
        top: -2rem;
        left: calc(100vw - 70vw);
        opacity: 0.2;
    }

    #header h2 {
        position: absolute;
        top: 4.6rem;
        left: 0rem;
        width: 100%;
        text-align: center;
    }

    #header h2 span::before {
        font-size: 1.4rem !important;
    }

    #search-top-box {
        position: absolute;
        right: 0.5rem;
        top: 2rem;
        z-index: 10;
    }

    #top-bar {
        position: relative;
        right: -2rem;
        top: 10rem;
        z-index: 20;
        width: calc(100% - 2rem);
    }

    #login-status {
        position: absolute;
        right: 0.5rem;
        top: 6rem;
    }

    #account-topbutton {
        left: 0.2rem;
        width: 2rem;
        top: 0.1rem;
        height: 2rem;
        position: absolute;
        outline: solid 2px var(--mox-layer-light-2);
        display: block;
        font-size: 0 !important;
        padding: 0;
    }

    #account-options {
        position: absolute;
        right: 0;
        padding: 0;
        z-index: 40;
        left: auto;
    }

    div#side-bar::after {
        top: 0rem;
        left: 0rem;
        font-size: 2rem;
        width: 2.8rem;
        height: 2.8rem;
        text-align: center;
        line-height: 2.8rem;
        background-color: var(--mox-layer-light-1);
        backdrop-filter: blur(5px);
    }
    
    div#side-bar:hover::after {
        font-size: 1.2rem;
        height: 2.8rem;
        line-height: 2.8rem;
    }
 
    #top-bar ul {
        grid-area: topbar;
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #top-bar li {
        list-style: none;
        float: left;
        margin: 0px 0px;
        padding: 0px 4px;
        height: 3rem;
        line-height: 3rem;
    }
     
    #top-bar li a {
        padding: 1px 0.4em;
        text-decoration: none;
    }

    #action-area {
        width: 95% !important;
        right: 0vw !important;
    }

    .wd-editor-toolbar-panel {
        position: relative;
        width: 90vw !important;
        height: max-content;
        padding-bottom: 0rem !important;
        display: inline;
        margin: 0 auto !important;
    }

    .wd-editor-toolbar-panel div {
        height: 2.6rem !important;
        scale: 0.9 !important;
    }

    textarea {
        width: 87.5vw !important;
    }

    .wd-editor-toolbar-panel li.hseparator {
        width: 2px;
        height: 23px;
        margin: 5px 3px;
        background-color: #efefef;
    }
    .wd-editor-toolbar-panel ul li {
        padding: 0;
        margin: 0px;
        float: left;
    }
    .wd-editor-toolbar-panel ul {
        padding: 0;
        margin: 0 auto;
        float: left;
        list-style: none;
        display: inline;
        border-bottom: solid 2px var(--mox-layer-light-2);
    }
    .wd-editor-toolbar-panel div {
        display: block !important;
    }
    .owindow {
        background-color: var(--mox-bg-color);
        width: 75vw !important;
        border: solid 2px var(--mox-layer-light-3);
        text-align: left;
        margin: 0 auto;
        position: fixed;
    }
    #lock-info {
        top: 0.4rem !important;
    }

    #footer {
        text-align: center;
    }

    #footer .options {
        float: none;
    }

}

@media (max-width: 675px) {

    table.form tbody tr td:nth-child(1) {
        background: transparent !important;
        font-size: 0;
    }

}