/* Adapts the lotusdocs layout to the Sci-Compiler navbar (layouts/partials/docs/ext-navbar.html).
   css/navbar.css is a verbatim copy of css/navbar.css of www.sci-compiler.com
   (repo sci-compiler-site-porto-hugo): do not edit it, update it from the site and
   keep the docs-specific rules here. */

:root {
    --sc-nav-h: 50px; /* same as .sc-nav in navbar.css */
}

/* the theme's fixed sidebar and top header start under the navbar */
#sidebar {
    top: var(--sc-nav-h);
}

.top-header {
    top: var(--sc-nav-h) !important;
}

/* header of the theme's non-docs pages (lotusdocs/layouts/partials/header.html) */
#topnav {
    top: var(--sc-nav-h);
}

.page-content {
    margin-top: calc(var(--sc-nav-h) + 10px);
}

.header-bar {
    padding-top: 12px !important;
}

/* Font Awesome is not loaded in the docs: the chevron is an inline SVG with the same
   glyph, sized like the icon font (navbar.css gives it font-size: 0.5rem and the muted colour) */
.sc-nav-link .fa-chevron-down {
    width: 0.5rem;
    height: 0.5rem;
    fill: currentColor;
}
