html {
    box-sizing: border-box;
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background: #fafafa;
}

/* Banner shown on any non-official host (test/staging copies of the docs site) */
#unofficial-banner {
    padding: 12px 16px;
    background: #b71c1c;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

#unofficial-banner a {
    color: #fff;
    text-decoration: underline;
}

/* Keep the V1/V2 version dropdown but hide the free-text "Explore" URL box/button */
.topbar .download-url-wrapper .download-url-input,
.topbar .download-url-wrapper .download-url-button {
    display: none;
}

/* Fix: inline <code> in rendered Markdown descriptions ships with large vertical
   padding, so its background box is taller than the line. When a description wraps
   to multiple lines the boxes overlap (cover) the text on adjacent lines. Drop the
   vertical padding and give the description lines room to breathe. */
.swagger-ui .renderedMarkdown p code,
.swagger-ui .renderedMarkdown li code,
.swagger-ui .markdown p code,
.swagger-ui .markdown li code {
    padding: 0 4px;
    line-height: inherit;
}

.swagger-ui .renderedMarkdown p,
.swagger-ui .renderedMarkdown li,
.swagger-ui .markdown p,
.swagger-ui .markdown li {
    line-height: 1.6;
}
