h1, h2, h3, h4, h5 {
    font-family: Georgia, serif;
    font-weight: bolder;
    line-height: 1.3;
}

h2, h3 {
    border-bottom: 1px solid #AAA;
    padding-bottom: 0.2em;
}

a.http, a.https {
    background: #F0FFFF;
}

a.http:before, a.https:before {
    content: none;
    margin: 0;
}

#content {
    max-width: 1024px;
}

.table-of-contents-heading {
    cursor: pointer;
}

ul#pagelocation,
ul#pagelocation li {
    font-family: Georgia, serif;
    font-weight: bolder;
    color: #0044B3;
}

table.navigation {
    float: none;
    margin: 0px;
}

table.navigation a {
    display: block;
}

pre {
    font-family: "Courier New", "Courier", monospace;
}

table.timecsv {
    width: 50%;
}

table.timecsv tr.active {
    background-color: #66FF66;
}

table.timecsv thead tr {
    background-color: #CCCCCC;
}

tr.header, thead tr {
    background-color: #CCCCCC;
    font-weight: bolder;
}

.hcolumn0, .hcolumn1, .hcolumn2, .hcolumn3, .hcolumn4, .hcolumn5, .hcolumn6,
.hcolumn7, .hcolumn8, .hcolumn9, .hcolumn10, .hcolumn11, .hcolumn12,
.hcolumn13, .hcolumn14, .hcolumn15, .hcolumn16, .hcolumn17, .hcolumn18,
.hcolumn19, .hcolumn20, .hcolumn21, .hcolumn22, .hcolumn23, .hcolumn24,
.hcolumn25, .hcolumn26, .hcolumn27, .hcolumn28, .hcolumn29, .hcolumn30 {
    background-color: #CCCCCC;
}

.invalid-macro, .permission-denied {
    color: red;
    font-weight: bolder;
    border: 5px solid red;
}

.thumbnail-gallery img {
    margin: 1em;
}



/* iPhone */
@media screen and (max-width: 600px) {
 #logo, #locationline, #pagetrail, #navibar, #pageline, #pageinfo, #footer { display: none; }
 #page { padding: 0 0.5em; }
 table.timecsv { width: 97%; }

 /* Tighten up header on mobile */
 #titlesearch, #fullsearch { display: none; }
 #userhome, #userhome + .sep { display: none; }
 h1 { margin: 0; }
 input#searchinput { font-size: 16px; } /* Disable iOS zoom */

 .editbar
 {
     white-space: nowrap;
     overflow: scroll;

 }

 /* Editor Page */
 #page-editor input[name="button_switch"],
 #page-editor input[name="button_spellcheck"],
 #page-editor #chktrivialtop,
 #page-editor label[for="chktrivialtop"]
 {
     display: none !important;
 }

 #page-editor #header, #page-editor #footer, #page-editor #editor-help, #page-editor form p, #dnd-upload-container
 {
     display: none;
 }

 #page-editor #page {
     margin: 0;
     padding: 0;
 }

 #page-editor textarea {
     /* Enable smooth scrolling of textarea on iOS */
     -webkit-overflow-scrolling: touch;

     border: none;
     height: 90vh;
     width: 100%;
     border-top: 1px solid #CCC;
     margin: 0;
     padding: 10px 0 0 0;
     font-size: 16px;
 }

 #page-editor .button {
     /* Use our CSS instead of default iOS styles with our colors */
     -webkit-appearance: none;

     border-radius: 0;
     border-top: none;
     border-bottom: none;
     border-left: 1px solid #CCC;
     background-color: #347bff;
     border-right: 1px solid #CCC;
     padding: 10px;
     margin: 0 -3px;
     color: white;
 }

 /* Make TOC Friendlier on Mobile */
 div.table-of-contents {
     display: block;
     max-width: 100%;
     margin: 0;
     padding: 10px 10px 0 10px;
 }

 .table-of-contents-heading {
     font-family: Georgia, serif;
     font-size: 1.3em;
     width: 100%;
 }

 .table-of-contents li {
     line-height: 1.5em;
 }

 .table-of-contents .table-of-contents-heading + ol {
     display: none;
     padding-bottom: 10px;
 }
}

@media (prefers-color-scheme: dark) {
    html, #page, #header, p.searchstats, #editor-help {
        background-color: #333;
        color: #ccc;
    }
    textarea, #editor-textarea {
        background-color: #000;
        color: #ccc;
    }
    input[class="button"], input[type="text"], select, input[type="submit"] {
        background-color: #222;
        color: #ccc;
        border: 1px solid #ccc;
        padding: 5px;
    }
    input[type="text"] {
        background-color: #444;
        color: #ccc;
    }
    pre, div.table-of-contents, #content div.caution, #content div.important, #content div.note, #content div.tip, #content div.warning {
        background-color: #222;
        color: #ccc;
    }
    #message, #message .info {
        background-color: #555;
        color: #ccc;
    }
    .editbar {
        background: #222;
    }
    img {
        opacity: .5;
        transition: opacity .5s ease-in-out;
    }
    img:hover {
        opacity: 1;
    }
    a {
        color: #00cc44 !important;
    }
    a:visited {
        color: #ffcc00;
    }
    a.http, a.https {
        background: #196619;
    }
    #pageline, #navibar li.current {
        background-color: #000;
    }
    li.current {
        border-bottom: none;
    }
    #navibar li.userlink, #navibar li.wikilink {
        background-color: #222;
    }
    .highlight, strong.highlight {
        background-color: #004d00;
    }
    tr.header, thead tr, table.timecsv thead tr  {
        background-color: #222222;
    }
}


/* DND Upload Control */
#dnd-upload { border: 10px dashed #ccc; min-height: 100px; margin: 20px auto; padding: 1em;}
#dnd-upload.hover { border: 10px dashed #0c0; }
.dnd-overwrite { color: red; display: block; text-align: right; }
 
#dnd-upload li { list-style: none; padding: 1em; }
#dnd-upload .filename { font-weight: bolder; }
.progressbar { float: right; }
.progressbar progress { margin-right: 1em; }
.progressbar .size { display: inline-block; width: 3em; text-align: right; }


/* Recipe Bar */
.recipebar {
    clear: both;
    display: block;
    margin: 0;
    padding: 2px 8px;
    background: #e6eaf0;
    font-size: 0.8em;
    border-bottom: 1px solid #4d7da9;
    border-top: 1px solid #4d7da9;
    margin-top: -1px;
}

@media (prefers-color-scheme: dark) {
    .recipebar {
        background: #555;
        border-bottom: 1px solid black;
        border-top: 1px solid black;
        color: #00cc44;
    }
}




/* Pygments CSS for snytax highlighting
 * Generated by: pygmentize -S default -f html -a .codehilite > styles.css
 */
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #f8f8f8; }
.codehilite .c { color: #3D7B7B; font-style: italic } /* Comment */
.codehilite .err { border: 1px solid #FF0000 } /* Error */
.codehilite .k { color: #008000; font-weight: bold } /* Keyword */
.codehilite .o { color: #666666 } /* Operator */
.codehilite .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #9C6500 } /* Comment.Preproc */
.codehilite .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #A00000 } /* Generic.Deleted */
.codehilite .ge { font-style: italic } /* Generic.Emph */
.codehilite .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.codehilite .gr { color: #E40000 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #008400 } /* Generic.Inserted */
.codehilite .go { color: #717171 } /* Generic.Output */
.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.codehilite .gs { font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #0044DD } /* Generic.Traceback */
.codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #008000 } /* Keyword.Pseudo */
.codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #B00040 } /* Keyword.Type */
.codehilite .m { color: #666666 } /* Literal.Number */
.codehilite .s { color: #BA2121 } /* Literal.String */
.codehilite .na { color: #687822 } /* Name.Attribute */
.codehilite .nb { color: #008000 } /* Name.Builtin */
.codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.codehilite .no { color: #880000 } /* Name.Constant */
.codehilite .nd { color: #AA22FF } /* Name.Decorator */
.codehilite .ni { color: #717171; font-weight: bold } /* Name.Entity */
.codehilite .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.codehilite .nf { color: #0000FF } /* Name.Function */
.codehilite .nl { color: #767600 } /* Name.Label */
.codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */
.codehilite .nv { color: #19177C } /* Name.Variable */
.codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
.codehilite .mb { color: #666666 } /* Literal.Number.Bin */
.codehilite .mf { color: #666666 } /* Literal.Number.Float */
.codehilite .mh { color: #666666 } /* Literal.Number.Hex */
.codehilite .mi { color: #666666 } /* Literal.Number.Integer */
.codehilite .mo { color: #666666 } /* Literal.Number.Oct */
.codehilite .sa { color: #BA2121 } /* Literal.String.Affix */
.codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */
.codehilite .sc { color: #BA2121 } /* Literal.String.Char */
.codehilite .dl { color: #BA2121 } /* Literal.String.Delimiter */
.codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.codehilite .s2 { color: #BA2121 } /* Literal.String.Double */
.codehilite .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */
.codehilite .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.codehilite .sx { color: #008000 } /* Literal.String.Other */
.codehilite .sr { color: #A45A77 } /* Literal.String.Regex */
.codehilite .s1 { color: #BA2121 } /* Literal.String.Single */
.codehilite .ss { color: #19177C } /* Literal.String.Symbol */
.codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #0000FF } /* Name.Function.Magic */
.codehilite .vc { color: #19177C } /* Name.Variable.Class */
.codehilite .vg { color: #19177C } /* Name.Variable.Global */
.codehilite .vi { color: #19177C } /* Name.Variable.Instance */
.codehilite .vm { color: #19177C } /* Name.Variable.Magic */
.codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */
