/* Screenshots: a thin frame so a white app screen doesn't melt into the white page. */
.rst-content img.screenshot,
.rst-content figure.screenshot img {
    border: 1px solid #d0d7de;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(31, 35, 40, 0.08);
    max-width: 100%;
    height: auto;
}

.rst-content figure.screenshot figcaption {
    font-size: 0.9em;
    color: #57606a;
}

/* Numbered callouts: the same badge the screenshots carry, used in the text that explains them. */
.callout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4em;
    height: 1.4em;
    padding: 0 0.3em;
    border-radius: 0.7em;
    background: #e5484d;
    color: #fff;
    font-size: 0.8em;
    font-weight: 700;
    line-height: 1;
    vertical-align: 0.1em;
}

/* Key caps for shortcuts (MyST: {kbd}`Ctrl+S`). */
.rst-content kbd,
kbd.kbd {
    display: inline-block;
    padding: 0.05em 0.4em;
    border: 1px solid #c4c9cf;
    border-bottom-width: 2px;
    border-radius: 4px;
    background: #f6f8fa;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.85em;
    color: #24292f;
    white-space: nowrap;
}

/* Problem reference: a severity tag next to each code. */
.sev {
    display: inline-block;
    padding: 0 0.5em;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.sev-error { background: #ffebe9; color: #a40e26; }
.sev-warning { background: #fff8c5; color: #7d4e00; }
.sev-info { background: #ddf4ff; color: #0550ae; }

.atlas-version-banner p { margin: 0; }

.wy-nav-content { max-width: 1100px; }

/* The Atlas logo, as in the app's sidebar: on white (its dark navy lettering disappears on the
   theme's blue), and with a width, because the SVG has only a viewBox and would collapse to 0. */
.wy-side-nav-search {
    background-color: #fff;
    border-bottom: 1px solid #e1e4e5;
}
.wy-side-nav-search > a img.logo,
.wy-side-nav-search .wy-dropdown > a img.logo {
    width: 100%;
    max-width: 230px;
    height: auto;
    padding: 4px 6px;
}
.wy-side-nav-search input[type="text"] {
    border-color: #d0d7de;
}
.wy-nav-top {
    background-color: #fff;
}
.wy-nav-top a {
    color: #122e49;
}
.wy-nav-top i {
    color: #122e49;
}
