/* Generated by VbcProteomicsPublicWebsiteManager. Works without JavaScript: toggles are hidden checkboxes and
   radio buttons, the FAQ answers and the screenshot popup open as :target, sections collapse as <details>. */

/* menu: hamburger (narrow screens) and the dropdown, both checkbox toggles; the dropdown also opens on hover */
.css-toggle { position: absolute; opacity: 0; pointer-events: none; }
label.navbar-toggler { margin: 0; cursor: pointer; }
.navbar-toggleable-md .css-toggle:checked ~ .navbar-collapse { display: block; }
label.dropdown-toggle { margin: 0; cursor: pointer; }
.nav-item.dropdown .css-toggle:checked ~ .dropdown-menu { display: block; }
.nav-item.dropdown:focus-within > .dropdown-menu { display: block; }
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu { display: block; }
}

/* tabs */
.css-tab { position: absolute; opacity: 0; pointer-events: none; }
label.nav-link { cursor: pointer; margin-bottom: -1px; color: #0275d8; }
label.nav-link:hover { color: #014c8c; }
.tab-content > .tab-pane { display: none; }
input.css-tab:nth-of-type(1):checked ~ .tab-content > .tab-pane:nth-of-type(1) { display: block; }
input.css-tab:nth-of-type(1):checked ~ .nav-tabs > .nav-item:nth-of-type(1) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(2):checked ~ .tab-content > .tab-pane:nth-of-type(2) { display: block; }
input.css-tab:nth-of-type(2):checked ~ .nav-tabs > .nav-item:nth-of-type(2) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(3):checked ~ .tab-content > .tab-pane:nth-of-type(3) { display: block; }
input.css-tab:nth-of-type(3):checked ~ .nav-tabs > .nav-item:nth-of-type(3) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(4):checked ~ .tab-content > .tab-pane:nth-of-type(4) { display: block; }
input.css-tab:nth-of-type(4):checked ~ .nav-tabs > .nav-item:nth-of-type(4) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(5):checked ~ .tab-content > .tab-pane:nth-of-type(5) { display: block; }
input.css-tab:nth-of-type(5):checked ~ .nav-tabs > .nav-item:nth-of-type(5) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(6):checked ~ .tab-content > .tab-pane:nth-of-type(6) { display: block; }
input.css-tab:nth-of-type(6):checked ~ .nav-tabs > .nav-item:nth-of-type(6) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(7):checked ~ .tab-content > .tab-pane:nth-of-type(7) { display: block; }
input.css-tab:nth-of-type(7):checked ~ .nav-tabs > .nav-item:nth-of-type(7) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(8):checked ~ .tab-content > .tab-pane:nth-of-type(8) { display: block; }
input.css-tab:nth-of-type(8):checked ~ .nav-tabs > .nav-item:nth-of-type(8) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(9):checked ~ .tab-content > .tab-pane:nth-of-type(9) { display: block; }
input.css-tab:nth-of-type(9):checked ~ .nav-tabs > .nav-item:nth-of-type(9) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(10):checked ~ .tab-content > .tab-pane:nth-of-type(10) { display: block; }
input.css-tab:nth-of-type(10):checked ~ .nav-tabs > .nav-item:nth-of-type(10) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(11):checked ~ .tab-content > .tab-pane:nth-of-type(11) { display: block; }
input.css-tab:nth-of-type(11):checked ~ .nav-tabs > .nav-item:nth-of-type(11) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
input.css-tab:nth-of-type(12):checked ~ .tab-content > .tab-pane:nth-of-type(12) { display: block; }
input.css-tab:nth-of-type(12):checked ~ .nav-tabs > .nav-item:nth-of-type(12) > .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; }
/* a link to a tab (#id) opens that tab instead */
.tab-content:has(> .tab-pane:target) > .tab-pane { display: none; }
.tab-content > .tab-pane:target { display: block; }

/* collapsible answers (FAQ): closed until linked */
.collapse:target { display: block; }

/* screenshot popup */
.css-lightbox { display: none; }
.css-lightbox:target { display: flex; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2000;
    align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.8); cursor: zoom-out; }
.css-lightbox img { max-width: 95vw; max-height: 95vh; }
a[href^="#zoom-"] > img { cursor: zoom-in; }

.withdrawn small { color: #6c757d; }

/* shared by the pages' own content, instead of style attributes */
.sidebar-logo { margin-bottom: 1rem; }
.node-logo { width: 20%; }
.tab-pane.pane-spaced { margin: 2rem; }
.text-warning-strong { color: #a00; }
.figure-wide { display: block; max-width: 100%; margin: 3rem 0; }
.figure-small { display: block; max-width: 25%; margin: 0 auto 3rem; }

/* a node page's downloads: collapsed, with an obvious "show" button */
details.downloads { margin: 1.5rem 0 2rem; border: 1px solid #ddd; border-radius: .25rem; }
details.downloads > summary { list-style: none; cursor: pointer; padding: .75rem 1rem; background: #f7f7f9; }
details.downloads > summary::-webkit-details-marker { display: none; }
details.downloads > summary::before { content: "\25B6"; display: inline-block; width: 1.5rem; color: #0275d8; }
details.downloads[open] > summary::before { content: "\25BC"; }
details.downloads > summary::after { content: "show"; float: right; color: #fff; background: #0275d8;
    border-radius: .25rem; padding: .1rem .6rem; font-size: .9rem; }
details.downloads[open] > summary::after { content: "hide"; background: #868e96; }
details.downloads > summary:hover { background: #eceeef; }
.downloads-title { font-size: 1.5rem; font-weight: 500; }
.downloads-hint { color: #636c72; }
.downloads-body { padding: 0 1rem 1rem; }

/* one row per file: name and facts, the SHA-256 in small print, more on demand */
.dl-pd { font-size: 1.1rem; font-weight: 500; margin: 1.25rem 0 .25rem; }
.dl { padding: .45rem 0; border-top: 1px solid #eceeef; }
.dl-node { font-weight: 500; margin-right: .5rem; }
.dl-meta { color: #636c72; font-size: .875rem; }
.dl-sha { font-size: .68rem; color: #868e96; line-height: 1.3; word-break: break-all; }
.dl code { background: none; padding: 0; color: inherit; font-size: inherit; }
.dl code.hash, .dl pre code { user-select: all; -webkit-user-select: all; cursor: text; }
.dl-none, .dl-unsupported { color: #868e96; }
.dl-unsupported { font-size: .875rem; margin: 1rem 0 0; }
details.dl-more { margin-top: .2rem; }
details.dl-more > summary { font-size: .8rem; color: #0275d8; cursor: pointer; }
.dl-hashes { font-size: .8rem; margin: .4rem 0; }
.dl-hashes th { font-weight: normal; color: #636c72; padding: 0 1rem 0 0; vertical-align: top; white-space: nowrap; }
.dl-hashes td { word-break: break-all; padding: 0; }
.dl-hint { font-size: .75rem; color: #868e96; margin: .2rem 0 .4rem; }
button.copy { font-size: .68rem; line-height: 1.2; padding: 0 .35rem; margin-left: .4rem; color: #0275d8;
    background: #fff; border: 1px solid #ccc; border-radius: .2rem; cursor: pointer; vertical-align: baseline; }
button.copy[hidden] { display: none; }

/* download command line, one tab per system (radio buttons) */
.ol-r { position: absolute; opacity: 0; pointer-events: none; }
.ol label { display: inline-block; font-size: .8rem; padding: .15rem .6rem; margin: 0 .15rem 0 0; color: #0275d8;
    border: 1px solid #ddd; border-bottom: none; border-radius: .25rem .25rem 0 0; cursor: pointer; }
.ol-r:checked + label { background: #f7f7f9; color: #292b2c; }
.ol-r:focus-visible + label { outline: 2px solid #0275d8; }
.ol-p { display: none; border: 1px solid #ddd; background: #f7f7f9; padding: .4rem .5rem; }
.ol-r-w:checked ~ .ol-p-w, .ol-r-l:checked ~ .ol-p-l, .ol-r-m:checked ~ .ol-p-m { display: block; }
.ol-p pre { display: inline; margin: 0; white-space: pre-wrap; word-break: break-all; font-size: .75rem; }
