@charset "utf-8";

/* Page styling */
html, body {
    height: 100%;
    scroll-padding-top: 4rem; /* Make anchors avoid the top bar */
}
body {
    margin: 0;
    line-height: 1.4em;
    font-family: sans-serif;
    flex-direction: column;
    display: flex;
}
header {
    background-color: palegreen;
    font-family: sans-serif;
    font-size: 2em;
    padding: 4px;
    margin-bottom: 0.5em;
    /* Make the header bar stick to the top */
    position: fixed;
    right: 0;
    left: 0;
    z-index: 100;
}
header a {
    text-decoration: none;
}
header h1 a:visited {
    color: black;
}
header h1 a:active {
    color: black;
}
header h1 a:link {
    color: black;
}
header h1 {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    font-size: 1em;
}
header img.site-logo {
    vertical-align: middle;
    height: 1.5em;
}
header .section {
    float: right;
    font-variant: small-caps;
    display: inline-block;
    line-height: 100%;
    padding-top: 0.2em;
}

main {
    padding-top: 3.5em;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

footer {
    background-color: palegreen;
    font-family: sans-serif;
    padding: 4px 2em 4px 8em;
    margin-top: auto;
    margin-bottom: 0em;
}
footer .disclaimer {
    font-style: italic;
    font-size: small;
    display: block;
    text-align: right;
    line-height: 120%;
}

/* Header menu */
.header-menu {
    float: right;
    display: inline-block;
    line-height: 0.5em;
}
.header-menu img {
    height: 1em;
    margin-left: 0.25em;
    margin-top: 0.15em;
}
ul.header-menu-block {
    position: absolute;
    z-index: 10;
    font-size: 0.5em;
    margin: 0;
    right: 0;
    padding: 0em;
    border: 4px solid green;
}
.header-menu-block li {
    margin: 0;
    list-style: none;
    padding: 0.5em;
    background-color: palegreen;
}
.header-menu-block li + li {
    border-top: 4px solid green;
}
.header-menu-block .page-link-description {
    display: none;
}


@media (max-width: 640px) {
    html, body {
        scroll-padding-top: 5.25rem; /* Make anchors avoid the top bar */
    }
    main {
        padding-top: 5em;
    }
    header .section {
        float: none;
        padding-left: 60px;
        font-size: 0.75em;
        display: block;
    }
}


/* Document load menu */
nav.load-menu {
}
ul.load-menu-block {
    position: absolute;
    z-index: 5;
    margin: -0.75em 0.25em 0.25em 0.25em;
    left: 0.5em;
    padding: 0em;
    border: 4px solid grey;
}
.load-menu-block li {
    margin: 0;
    list-style: none;
    padding: 0.25em;
    background-color: #eeeeee;
    line-height: 100%;
}
.load-menu-block li + li {
    /*border-top: 4px solid grey;*/
}
.load-name {
    display: block;
}
.load-desc {
    display: block;
    font-size: 0.75em;
    xfont-variant: small-caps;
}


/* Documentation styles */
section {
    padding-left: 2em;
    padding-right: 2em;
    margin-bottom: 1em;
    clear: right;
}
h2 {
    background-color: dimgrey;
    color: white;
    padding: 0.25em;
    margin-left: -1.25em;
    margin-right: -1.25em;
}

h3 {
    background-color: dimgrey;
    font-weight: normal;
    color: white;
    margin-left: -0.75em;
    margin-right: -1.5em;
    padding: 0.25em;
}

table.param-list {
    margin-left: 2.5em;
    border-spacing: 0.5em;
    border-collapse: separate;
}
table.param-list tr.heading > th {
    text-align: left;
    vertical-align: bottom;
}

table.param-list tr.row > th {
    text-align: left;
    font-family: monospace;
    font-weight: normal;
    vertical-align: top;
    white-space: pre
}

table.param-list tr.row > td {
    text-align: left;
    vertical-align: top;
}


table.endpoint-list {
    margin-left: 2.5em;
    border-spacing: 0.5em;
    border-collapse: separate;
}
table.endpoint-list tr.heading > th {
    text-align: left;
}

table.endpoint-list tr.row > th {
    text-align: left;
    font-family: monospace;
    font-weight: normal;
    vertical-align: top;
    white-space: nowrap;
}

table.endpoint-list tr.row > td {
    text-align: left;
    vertical-align: top;
}

table.filter-accept-list {
    margin-left: 2.5em;
    border-spacing: 0.5em;
    border-collapse: separate;
}
table.filter-accept-list tr.heading > th {
    text-align: left;
}
table.filter-accept-list tr.row > td {
    text-align: left;
    font-family: monospace;
    font-weight: normal;
    vertical-align: top;
    white-space: pre
}


span.media-type {
    font-family: monospace;
}

span.method-name {
    font-weight: bold;
}

table.msg-table {
    border-collapse: collapse;
    margin-bottom: 1em;
}

table.msg-table thead {
    background-color: lightgrey;
}

table.msg-table th, table.msg-table td {
    vertical-align: top;
    padding: 0.4em;
    border-top: 3px solid white;
}

table.msg-table tr.msg-sender-server {
    background-color: cornsilk;
}

table.msg-table tr.msg-sender-client {
    background-color: lightcyan;
}

table.msg-table td.msg-action {
    font-family: monospace;
}

table.msg-table div.msg-body {
    font-family: monospace;
    color: mediumblue;
    font-weight: bold;
    margin-bottom: 0.5em;
}

table.msg-table div.msg-annotation {
    font-style: italic;
}

/* Versions */
table.versions {
    border-spacing: 0.5em;
    border-collapse: separate;
}
table.versions tr.heading > th {
    text-align: left;
    vertical-align: bottom;
}

table.versions tr.row > th {
    text-align: left;
    font-weight: normal;
    vertical-align: top;
}

table.versions tr.row > td {
    text-align: left;
    vertical-align: top;
}

table.versions tr.row > td.date {
    white-space: nowrap;
}



li {
    margin-top: 0.75em;
}


code, span.asm {
    background-color: #DDDDDD;
    border: 1px #AAAAAA solid;
    padding: 0.125em 0.25em 0.125em 0.25em;
    border-radius: 3px;
    margin: 0 0.125em 0 0.125em;
}
h1 code, h2 code, h3 code {
    background-color: revert;
    border: revert;
    padding: revert;
    border-radius: revert;
    margin: revert;
}
span.asm {
    font-family: monospace;
}

div.jfpatch, div.yaml, div.python, div.shell {
    margin: 0.25em 1em 0.25em 1em;
    padding: 0.25em 0.25em 0.25em 0.25em;
    background-color: black;
}
.cm-s-autosize {
    height: auto;
}
.cm-s-scrolly {
    height: 20em;
}

.CodeMirror {
}


div.open-source, div.binary, div.website {
    padding-top: 0.5em;
    padding-left: 1.5em;
}

span.open-source-heading, span.binary-release-heading, span.website-release-heading {
    font-weight: bold;
}
span.binary-link {
    text-align: center;
    display: inline-block;
    text-decoration: underline;
}

ul.infolist {
    padding-left: 0;
}
.infolist li {
    list-style-type: none;
}
.infolist .page-link-description {
    display: block;
    font-style: italic;
}


td.tech-name {
    vertical-align: top;
}
td.tech-desc {
    vertical-align: top;
}
tr.tech-row td {
    padding-top: 0.75em;
    padding-bottom: 0.25em;
    xbackground-color: lightblue;
}

td p {
    margin-top: 0;
    padding-top: 0;
}

td.resource-name {
    vertical-align: top;
}
td.resource-desc {
    vertical-align: top;
}
tr.resource-row td {
    padding-top: 0.75em;
    padding-bottom: 0.25em;
    xbackground-color: lightblue;
}
span.resource-year, span.tech-year, span.ci-year {
    float: right;
    font-style: italic;
    font-weight: normal;
    font-size: smaller;
}

td p {
    margin-top: 0;
    padding-top: 0;
}

.resource-img {
    margin-left: 1em;
}


/* Modal images in the resources sections */
.resource-img-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 101; /* Sit on top */
    padding-top: 80px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
.resource-img-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
}
.resource-img-modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 160px;
}
.resource-img-modal-content, .resource-img-modal-caption {
    animation-name: modal-zoom;
    animation-duration: 0.6s;
}

@keyframes modal-zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.resource-img-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.resource-img-modal-close:hover,
.resource-img-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .resource-img-modal-content {
        max-width: 100%;
    }
}

.code-link {
    display: inline-block;
    text-align: center;
    margin-left: 1em;
}

.float-right {
    float: right;
    text-align: right;
}


.pyromaniac-docs code {
    background-color: #DDDDDD;
    border: 1px #AAAAAA solid;
    padding: 0.125em 0.25em 0.125em 0.25em;
    border-radius: 3px;
}
.pyromaniac-docs pre code {
    background-color: revert;
    border: none;
    padding: revert;
    border-radius: revert;
    margin: 0;
}

.pyromaniac-docs pre {
    margin-left: 1em;
    margin-right: 1em;
    padding: 0.5em;
    line-height: 110%;
    background-color: black;
    color: white;
}

.pyromaniac-docs  .toc {
    float: right;
    clear: right;
    margin: 0.5em;
    background-color: #EEEEEE;
    border: 1px solid #888888;
}

.pyromaniac-docs  .toc ul {
    list-style-type: none;
    padding: 0em 1em 0em 1em;
}
.pyromaniac-docs  .toc ul li {
}


.ci-header {
}
.ci-label {
    font-weight: bold;
    display: inline-block;
    width: 7em;
}
.ci-content {
    padding-top: 0.5em;
    padding-left: 2em;
    padding-right: 2em;
}

.resource {
    clear: right;
}
.resource-head {
    font-weight: bold;
}
.resource-summary {
    font-style: italic;
}

.resource-code .CodeMirror {
    resize: vertical;
}

div.resource div.resource-body {
    clear: right;
}

.resource-code {
    clear: right;
}

.resource-code a span {
    text-decoration: underline;
}

.statistics td {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.statistics th {
    padding-left: 0.5em;
    padding-right: 0.5em;
    text-align: left;
}

.statistics .statistics-section {
    background-color: darkgrey;
    color: white;
}

.markdown-article pre {
    padding-left: 5rem;
}
.markdown-article ul {
    padding-left: 5rem;
}
.markdown-article .toc ul {
    padding-left: revert;
}

.markdown-article p img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.markdown-article p .limit-img-size {
    max-width: 50vw;
}
.markdown-article p video {
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.markdown-article p span.video-download {
    text-align: center;
    display: block;
}

.markdown-article .toc {
    float: right;
    clear: right;
    margin: 0.5em;
    background-color: #EEEEEE;
    border: 1px solid #888888;
}

.markdown-article .toc ul {
    list-style-type: none;
    padding: 0em 1em 0em 1em;
}
.markdown-article .toc ul li {
    margin-top: 0.25em
}

.where-now {
    display: block;
}

.where-now .next {
    display: inline;
    margin: 0 0 1em 1em;
    float: right;
}

.where-now .prev {
    display: inline;
    margin: 0 1em 1em 0em;
}

.where-now .prev a::before {
    content: "<<<  ";
}
.where-now .next a::after {
    content: "  >>>";
}


/*
body {
    background-color: #ddd;
}
p {
    background-color: #eef;
}
*/
