/* modified from https://github.com/readthedocs/sphinx_rtd_theme/issues/295#issuecomment-560895037 */

.wy-nav-content {
    max-width: 900px !important;
}

/* and fix wrap bug per https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html */
.wy-table-responsive table td {
    /* !important prevents the common CSS stylesheets from overriding
    this as on RTD they are loaded after this stylesheet */
    white-space: normal !important;
}

.wy-table-responsive {
    overflow: visible !important;
}

/* Fix navigation button cutoff issue */
.rst-footer-buttons {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
}

/* Ensure footer navigation has proper spacing */
footer {
    margin-top: 30px !important;
    padding-top: 20px !important;
}

/* Fix potential overflow issues with navigation buttons */
.btn {
    margin-bottom: 10px !important;
    word-wrap: break-word !important;
}

/* Better formatting for citation footnotes */
.footnote {
    margin-bottom: 1em !important;
    line-height: 1.5 !important;
}

.footnote p {
    margin-bottom: 0.5em !important;
}

/* Ensure proper spacing between footnote entries */
.footnote + .footnote {
    margin-top: 1em !important;
}

/* Fix any potential layout issues with long content */
.document {
    margin-bottom: 50px !important;
}

/* Ensure proper spacing at bottom of pages */
.wy-nav-content {
    max-width: 900px !important;
    padding-bottom: 50px !important;
}

/* Better formatting for bibliography entries - definition lists */
dl {
    margin: 1em 0 !important;
}

dt {
    font-weight: bold !important;
    margin-top: 1em !important;
    margin-bottom: 0.2em !important;
}

dd {
    margin-left: 0 !important;
    margin-bottom: 1em !important;
    padding-left: 0 !important;
    line-height: 1.5 !important;
}

/* Header row helper for table-like definition lists */
.rst-content .dl-table-header {
    display: grid;
    column-gap: 0;
    margin: 1em 0 0.35rem;
    font-weight: 700;
}

.rst-content .dl-table-header--two-column {
    grid-template-columns: minmax(18ch, 32ch) minmax(0, 1fr);
}

.rst-content .dl-table-header > span {
    padding: 0.45rem 0.85rem;
    background-color: #eceff1;
    border-bottom: 1px solid #d8dde1;
}

.rst-content .dl-table-header > span:first-child {
    border-radius: 4px 0 0 0;
}

.rst-content .dl-table-header > span:last-child {
    border-left: 1px solid #d8dde1;
    border-radius: 0 4px 0 0;
}

/* Shared two-column layout for table-like definition lists */
.rst-content h1#cernvm-fs-parameters ~ dl,
.rst-content h1#available-packages ~ dl,
.rst-content h1#creating-a-repository-stratum-0 ~ dl,
.rst-content .dl-table-header--two-column + dl,
.rst-content h1#client-configuration ~ dl:first-of-type {
    display: grid;
    grid-template-columns: minmax(18ch, 32ch) minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0.5rem;
}

.rst-content h1#cernvm-fs-parameters ~ dl > dt,
.rst-content h1#cernvm-fs-parameters ~ dl > dd,
.rst-content h1#available-packages ~ dl > dt,
.rst-content h1#available-packages ~ dl > dd,
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dt,
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dd,
.rst-content .dl-table-header--two-column + dl > dt,
.rst-content .dl-table-header--two-column + dl > dd,
.rst-content h1#client-configuration ~ dl:first-of-type > dt,
.rst-content h1#client-configuration ~ dl:first-of-type > dd {
    margin: 0 !important;
    padding: 0.5rem 0.85rem;
}

.rst-content h1#cernvm-fs-parameters ~ dl > dt:nth-of-type(odd),
.rst-content h1#cernvm-fs-parameters ~ dl > dd:nth-of-type(odd),
.rst-content h1#available-packages ~ dl > dt:nth-of-type(odd),
.rst-content h1#available-packages ~ dl > dd:nth-of-type(odd),
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dt:nth-of-type(odd),
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dd:nth-of-type(odd),
.rst-content .dl-table-header--two-column + dl > dt:nth-of-type(odd),
.rst-content .dl-table-header--two-column + dl > dd:nth-of-type(odd),
.rst-content h1#client-configuration ~ dl:first-of-type > dt:nth-of-type(odd),
.rst-content h1#client-configuration ~ dl:first-of-type > dd:nth-of-type(odd) {
    background-color: #f5f5f5;
}

.rst-content h1#cernvm-fs-parameters ~ dl > dt:nth-of-type(even),
.rst-content h1#cernvm-fs-parameters ~ dl > dd:nth-of-type(even),
.rst-content h1#available-packages ~ dl > dt:nth-of-type(even),
.rst-content h1#available-packages ~ dl > dd:nth-of-type(even),
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dt:nth-of-type(even),
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dd:nth-of-type(even),
.rst-content .dl-table-header--two-column + dl > dt:nth-of-type(even),
.rst-content .dl-table-header--two-column + dl > dd:nth-of-type(even),
.rst-content h1#client-configuration ~ dl:first-of-type > dt:nth-of-type(even),
.rst-content h1#client-configuration ~ dl:first-of-type > dd:nth-of-type(even) {
    background-color: #fbfbfb;
}

.rst-content h1#cernvm-fs-parameters ~ dl > dt,
.rst-content h1#available-packages ~ dl > dt,
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dt,
.rst-content .dl-table-header--two-column + dl > dt,
.rst-content h1#client-configuration ~ dl:first-of-type > dt {
    grid-column: 1;
    overflow-wrap: anywhere;
    border-radius: 4px 0 0 4px;
}

.rst-content h1#cernvm-fs-parameters ~ dl > dt .parameter-permalink,
.rst-content h1#available-packages ~ dl > dt .parameter-permalink,
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dt .parameter-permalink,
.rst-content .dl-table-header--two-column + dl > dt .parameter-permalink,
.rst-content h1#client-configuration ~ dl:first-of-type > dt .parameter-permalink {
    margin-left: 0.35em;
    color: #8a8a8a;
    text-decoration: none !important;
    font-weight: normal;
    font-size: 0.85em;
    opacity: 0.45;
    transition: opacity 0.15s ease-in-out;
}

.rst-content h1#cernvm-fs-parameters ~ dl > dt:hover .parameter-permalink,
.rst-content h1#cernvm-fs-parameters ~ dl > dt .parameter-permalink:focus,
.rst-content h1#available-packages ~ dl > dt:hover .parameter-permalink,
.rst-content h1#available-packages ~ dl > dt .parameter-permalink:focus,
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dt:hover .parameter-permalink,
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dt .parameter-permalink:focus,
.rst-content .dl-table-header--two-column + dl > dt:hover .parameter-permalink,
.rst-content .dl-table-header--two-column + dl > dt .parameter-permalink:focus,
.rst-content h1#client-configuration ~ dl:first-of-type > dt:hover .parameter-permalink,
.rst-content h1#client-configuration ~ dl:first-of-type > dt .parameter-permalink:focus {
    opacity: 0.9;
}

.rst-content h1#cernvm-fs-parameters ~ dl > dd,
.rst-content h1#available-packages ~ dl > dd,
.rst-content h1#creating-a-repository-stratum-0 ~ dl > dd,
.rst-content .dl-table-header--two-column + dl > dd,
.rst-content h1#client-configuration ~ dl:first-of-type > dd {
    grid-column: 2;
    min-width: 0;
    border-left: 1px solid #e9e9e9;
    border-radius: 0 4px 4px 0;
}

@media screen and (max-width: 760px) {
    .rst-content .dl-table-header {
        display: none;
    }

    .rst-content h1#cernvm-fs-parameters ~ dl,
    .rst-content h1#available-packages ~ dl,
    .rst-content h1#creating-a-repository-stratum-0 ~ dl,
    .rst-content .dl-table-header--two-column + dl,
    .rst-content h1#client-configuration ~ dl:first-of-type {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0.25rem;
    }

    .rst-content h1#cernvm-fs-parameters ~ dl > dt,
    .rst-content h1#cernvm-fs-parameters ~ dl > dd,
    .rst-content h1#available-packages ~ dl > dt,
    .rst-content h1#available-packages ~ dl > dd,
    .rst-content h1#creating-a-repository-stratum-0 ~ dl > dt,
    .rst-content h1#creating-a-repository-stratum-0 ~ dl > dd,
    .rst-content .dl-table-header--two-column + dl > dt,
    .rst-content .dl-table-header--two-column + dl > dd,
    .rst-content h1#client-configuration ~ dl:first-of-type > dt,
    .rst-content h1#client-configuration ~ dl:first-of-type > dd {
        grid-column: 1;
    }

    .rst-content h1#cernvm-fs-parameters ~ dl > dt,
    .rst-content h1#available-packages ~ dl > dt,
    .rst-content h1#creating-a-repository-stratum-0 ~ dl > dt,
    .rst-content .dl-table-header--two-column + dl > dt,
    .rst-content h1#client-configuration ~ dl:first-of-type > dt {
        margin-top: 1em !important;
        border-radius: 4px 4px 0 0;
    }

    .rst-content h1#cernvm-fs-parameters ~ dl > dd,
    .rst-content h1#available-packages ~ dl > dd,
    .rst-content h1#creating-a-repository-stratum-0 ~ dl > dd,
    .rst-content .dl-table-header--two-column + dl > dd,
    .rst-content h1#client-configuration ~ dl:first-of-type > dd {
        border-left: 0;
        border-top: 1px solid #e9e9e9;
        border-radius: 0 0 4px 4px;
        margin-bottom: 0.75em !important;
    }
}

/* Color the parameter names: green for client-side, purple for server-side.
   Order matters — later rules override earlier ones for equal-specificity sibling selectors. */
.rst-content h1#cernvm-fs-parameters ~ dl > dt {
    color: #2e7d32;
}

.rst-content h2#server-parameters ~ dl > dt {
    color: #6a1b9a;
}

.rst-content h2#tiered-cache-parameters ~ dl > dt,
.rst-content h2#external-cache-plugin-parameters ~ dl > dt,
.rst-content h2#in-memory-cache-plugin-parameters ~ dl > dt {
    color: #2e7d32;
}

/* Lay out parameter-page definition lists like three-column rows */
.rst-content h1#cernvm-fs-server-infrastructure ~ dl {
    display: grid;
    grid-template-columns: minmax(20ch, 30ch) minmax(14ch, 18ch) minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0.5rem;
}

.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt,
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd {
    margin: 0 !important;
    padding: 0.5rem 0.85rem;
}

/* Grid placement */
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt {
    grid-column: 1;
}

.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(odd) {
    grid-column: 2;
}

.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(even) {
    grid-column: 3;
}

/* Row styling - using index-based grouping */
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt:nth-of-type(odd),
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(4n+1),
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(4n+2) {
    background-color: #f5f5f5;
}

.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt:nth-of-type(even),
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(4n+3),
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(4n+4) {
    background-color: #fbfbfb;
}

/* Border styling */
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt {
    overflow-wrap: anywhere;
    border-radius: 4px 0 0 4px;
}

.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(odd) {
    min-width: 0;
    border-left: 1px solid #e9e9e9;
    border-right: 1px solid #e9e9e9;
}

.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(even) {
    min-width: 0;
    border-radius: 0 4px 4px 0;
}

.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt .parameter-permalink {
    margin-left: 0.35em;
    color: #8a8a8a;
    text-decoration: none !important;
    font-weight: normal;
    font-size: 0.85em;
    opacity: 0.45;
    transition: opacity 0.15s ease-in-out;
}

.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt:hover .parameter-permalink,
.rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt .parameter-permalink:focus {
    opacity: 0.9;
}

@media screen and (max-width: 760px) {
    .rst-content h1#cernvm-fs-server-infrastructure ~ dl {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0.25rem;
    }

    .rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt,
    .rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd {
        grid-column: 1 !important;
    }

    .rst-content h1#cernvm-fs-server-infrastructure ~ dl > dt {
        margin-top: 1em !important;
        border-radius: 4px 4px 0 0;
    }

    .rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(odd) {
        border-left: 0;
        border-right: 0;
        border-top: 1px solid #e9e9e9;
        border-bottom: 1px solid #e9e9e9;
        border-radius: 0;
    }

    .rst-content h1#cernvm-fs-server-infrastructure ~ dl > dd:nth-of-type(even) {
        border-left: 0;
        border-top: 1px solid #e9e9e9;
        border-radius: 0 0 4px 4px;
        margin-bottom: 0.75em !important;
    }
}
/* Style the reference anchors */
dt a[id] {
    color: inherit !important;
    text-decoration: none !important;
}

/* Improve spacing for references page */
#references + dl {
    margin-top: 2em !important;
}

/* Ensure each reference appears as its own block (one per line) */
.csl-entry {
  display: block;
  margin: 0 0 0.5rem 0; /* adjust spacing as you prefer */
}

/* Optional: remove extra indentation if present */
.csl-bib-body {
  padding-left: 0;
  margin-left: 0;
}


.wy-side-nav-search {
    position: sticky;
    top: 0;
    z-index: 200;
}

.wy-side-nav-search .wy-dropdown > a img.logo,
.wy-side-nav-search > a img.logo {
    display: block;
    width: 100px;
    height: auto;
    margin: 0 auto 0.75rem;
}

.wy-side-nav-search #version-selector {
    display: block;
    width: calc(100% - 30px);
    margin: 0 auto 0.75rem;
}

.wy-side-nav-search [role="search"] {
    width: 100%;
}

/* ── pymdownx.tabbed (alternate_style) for readthedocs theme ── */

/* Hide the radio inputs used for tab state */
.tabbed-set > input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Tab label bar */
.tabbed-set .tabbed-labels {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 0;
    padding: 0;
}

.tabbed-set .tabbed-labels > label {
    padding: 0.6em 1.2em;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    color: #555;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -2px;
    border-radius: 4px 4px 0 0;
    transition: color 0.15s, background 0.15s;
}

.tabbed-set .tabbed-labels > label:hover {
    color: #2980b9;
    background: #f5f5f5;
}

/* Active tab label — one rule per possible tab index (up to 8) */
.tabbed-set > input:nth-child(1):checked ~ .tabbed-labels > label:nth-child(1),
.tabbed-set > input:nth-child(2):checked ~ .tabbed-labels > label:nth-child(2),
.tabbed-set > input:nth-child(3):checked ~ .tabbed-labels > label:nth-child(3),
.tabbed-set > input:nth-child(4):checked ~ .tabbed-labels > label:nth-child(4),
.tabbed-set > input:nth-child(5):checked ~ .tabbed-labels > label:nth-child(5),
.tabbed-set > input:nth-child(6):checked ~ .tabbed-labels > label:nth-child(6),
.tabbed-set > input:nth-child(7):checked ~ .tabbed-labels > label:nth-child(7),
.tabbed-set > input:nth-child(8):checked ~ .tabbed-labels > label:nth-child(8) {
    color: #2980b9;
    border-color: #e0e0e0;
    border-bottom-color: #fff;
    background: #fff;
}

/* Tab content area */
.tabbed-set .tabbed-content {
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 1em;
}

/* Hide all tab panels by default */
.tabbed-set .tabbed-content > .tabbed-block {
    display: none;
}

/* Show the active panel — one rule per possible tab index (up to 8) */
.tabbed-set > input:nth-child(1):checked ~ .tabbed-content > .tabbed-block:nth-child(1),
.tabbed-set > input:nth-child(2):checked ~ .tabbed-content > .tabbed-block:nth-child(2),
.tabbed-set > input:nth-child(3):checked ~ .tabbed-content > .tabbed-block:nth-child(3),
.tabbed-set > input:nth-child(4):checked ~ .tabbed-content > .tabbed-block:nth-child(4),
.tabbed-set > input:nth-child(5):checked ~ .tabbed-content > .tabbed-block:nth-child(5),
.tabbed-set > input:nth-child(6):checked ~ .tabbed-content > .tabbed-block:nth-child(6),
.tabbed-set > input:nth-child(7):checked ~ .tabbed-content > .tabbed-block:nth-child(7),
.tabbed-set > input:nth-child(8):checked ~ .tabbed-content > .tabbed-block:nth-child(8) {
    display: block;
}

/* Minimal Pygments token styling for shell-oriented quickstart blocks */
.rst-content .code-block-wrap {
    position: relative;
    margin: 1.1em 0 1.35em;
    padding-right: 2.2rem;
}

.rst-content .code-block,
.rst-content .codehilite {
    margin: 0;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.rst-content .code-copy-button {
    position: absolute;
    top: 0.45rem;
    right: 0;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    color: #aaaaaa;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    cursor: pointer;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.rst-content .code-block-wrap:hover .code-copy-button,
.rst-content .code-block-wrap:focus-within .code-copy-button,
.rst-content .code-copy-button:focus,
.rst-content .code-copy-button[data-copied="true"] {
    opacity: 1;
    pointer-events: auto;
}

.rst-content .code-copy-button::before {
    content: "";
    width: 1rem;
    height: 1rem;
    display: block;
    background-color: currentColor;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E");
}

.rst-content .code-copy-button:hover,
.rst-content .code-copy-button:focus {
    background: transparent;
    color: #666666;
    opacity: 1;
}

.rst-content .code-copy-button:focus {
    outline: 2px solid rgba(41, 128, 185, 0.18);
    outline-offset: 1px;
}

.rst-content .code-copy-button[data-copied="true"] {
    background: transparent;
    color: #16a34a;
}

.rst-content .code-copy-button[data-copied="true"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.rst-content .code-block pre,
.rst-content .codehilite pre {
    margin: 0 !important;
    padding: 0.95rem 1.1rem;
    background: transparent !important;
    border: 0;
    line-height: 1.5;
    overflow-x: auto;
}

.rst-content .code-block pre > code,
.rst-content .codehilite pre > code {
    display: block;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #444444;
    font-size: 0.92em;
}

@media screen and (max-width: 600px) {
    .rst-content .code-block-wrap {
        padding-right: 2rem;
    }

    .rst-content .code-copy-button {
        top: 0.4rem;
        width: 1.8rem;
        height: 1.8rem;
    }

    .rst-content .code-block pre,
    .rst-content .codehilite pre {
        padding: 0.95rem 1rem;
    }
}

.highlight {
    background: #ffffff;
    color: #444444;
}

.highlight .hll {
    background-color: #ffffcc;
}

.highlight .c,
.highlight .c1,
.highlight .cm,
.highlight .cpf,
.highlight .cs {
    color: #888888;
}

.highlight .ch {
    color: #287088;
}

.highlight .cp {
    color: #289870;
}

.highlight .err,
.highlight .gr,
.highlight .gd {
    color: #c02828;
}

.highlight .gt,
.highlight .nt,
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr,
.highlight .kt,
.highlight .k {
    color: #2838b0;
}

.highlight .kc,
.highlight .m,
.highlight .mb,
.highlight .mf,
.highlight .mh,
.highlight .mi,
.highlight .mo,
.highlight .il,
.highlight .gp {
    color: #444444;
}

.highlight .o {
    color: #666666;
}

.highlight .ow,
.highlight .sc,
.highlight .sr,
.highlight .sx {
    color: #a848a8;
}

.highlight .p,
.highlight .pm,
.highlight .c,
.highlight .c1,
.highlight .cm,
.highlight .cpf,
.highlight .cs {
    color: #888888;
}

.highlight .g,
.highlight .gh,
.highlight .go,
.highlight .gu {
    color: #666666;
}

.highlight .gi,
.highlight .na,
.highlight .nb,
.highlight .bp {
    color: #388038;
}

.highlight .cp,
.highlight .nl,
.highlight .nn {
    color: #289870;
}

.highlight .nc,
.highlight .nd,
.highlight .nx,
.highlight .py {
    color: #287088;
}

.highlight .ne,
.highlight .vg {
    color: #908828;
}

.highlight .nf,
.highlight .fm {
    color: #785840;
}

.highlight .nv,
.highlight .vc,
.highlight .vi {
    color: #b04040;
}

.highlight .dl,
.highlight .no,
.highlight .sd,
.highlight .vm {
    color: #b85820;
}

.highlight .s,
.highlight .sb,
.highlight .s1,
.highlight .s2,
.highlight .sh,
.highlight .si,
.highlight .ss {
    color: #b83838;
}

.highlight .sa {
    color: #444444;
}

.highlight .se,
.highlight .ni {
    color: #709030;
}

.highlight .ge {
    font-style: italic;
}

.highlight .gs {
    font-weight: 700;
}

.highlight .w {
    color: #a89028;
}

/* Tone down ordinary inline code without affecting code blocks */
.rst-content :not(pre) > code:not(.cvmfs-inline-path) {
    color: #555;
}

/* Accent only explicitly marked inline `/cvmfs` snippets */
.rst-content code.cvmfs-inline-path,
.rst-content pre .cvmfs-inline-path,
.rst-content .highlight .cvmfs-inline-path {
    color: #2980b9;
    background: rgba(41, 128, 185, 0.08);
    border: 1px solid rgba(41, 128, 185, 0.2);
}

.rst-content pre .cvmfs-inline-path,
.rst-content .highlight .cvmfs-inline-path {
    border-radius: 0.25rem;
    padding: 0 0.12rem;
}
