/*
 * Base structure
 */
* {
    font-family: 'Figtree' !important;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    position: relative;
    padding-top: 50px;
}

.footer {
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}

/*
 * Global add-ons
 */
.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto;
        /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px;
    /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar>li>a {
    padding-right: 20px;
    padding-left: 20px;
}

.sideoverflow {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

.nav-sidebar>.active>a,
.nav-sidebar>.active>a:hover,
.nav-sidebar>.active>a:focus {
    color: #fff;
    background-color: #428bca;
}

/*
 * Main content
 */
.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}

.footer>.container {
    padding-top: 20px;
    text-align: center;
}

/*
 * Row Links
 */
.table.rowlink td:not(.rowlink-skip),
.table .rowlink td:not(.rowlink-skip) {
    cursor: pointer;
}

.table.rowlink td:not(.rowlink-skip) a,
.table .rowlink td:not(.rowlink-skip) a {
    font: inherit;
    color: inherit;
    text-decoration: inherit;
}

.multi-row-description {
    border-left: 1px solid #DDD;
}

pre {
    max-height: 40em;
}

/* shift the anchors to accommodate fixed navbar. See https://github.com/twbs/bootstrap/issues/1768#issuecomment-46519033 */
*[id]:before {
    display: block;
    content: " ";
    margin-top: -70px;
    height: 70px;
    visibility: hidden;
}

:root {
    --theme-color: #191f5e;
    --accent-color: #13EAC1;
    --logo-accent-color: #6E33FF;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
    border-color: var(--theme-color, #101010);
}

.navbar-inverse {
    background-color: var(--theme-color, #222);
    border-color: var(--theme-color, #080808);
}

.navbar-inverse .navbar-nav>li>a {
    color: #ffffff;
}

.navbar-inverse .navbar-brand {
    color: #ffffff;
}

.nav-sidebar>.active>a,
.nav-sidebar>.active>a:hover,
.nav-sidebar>.active>a:focus {
    color: var(--theme-color);
    /* color: #337ab7; */
    background-color: var(--accent-color);
    /* background-color: transparent; */
}

.nav>li>a:focus,
.nav>li>a:hover {
    background-color: #eee;
}

.nav-sidebar>li>a>abbr {
    text-decoration: none;
}

.nav-sidebar>li>a:focus::before,
.nav-sidebar>li>a:hover::before {
    content: " ";
    display: block;
    position: absolute;
    height: 100%;
    width: 4px;
    background-color: var(--accent-color);
    inset: 0 0 0 98%;
}

/* latin-ext */
@font-face {
    font-family: 'Figtree';
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url(../fonts/_Xmu-HUzqDCFdgfMm4GNAa5o_ik.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Figtree';
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url(../fonts/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url(../fonts/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url(../fonts/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
    color: #fff;
    background-color: transparent;
    text-shadow: rgba(255, 255, 255, 0.87) 0px 0px 27px;
}

.navbar-right>li>a {
    text-decoration: none;
    border-bottom: 4px solid transparent;
}

.navbar-right>li>a:hover {
    border-bottom: 4px solid var(--accent-color);
}

.reachable::before {
    content: "";
    display: inline-block;
    background: var(--logo-accent-color);
    aspect-ratio: 0.65;
    margin-right: .7em;
    transform: skew(-30deg);
    transform-origin: bottom;
    height: 1cap;
}

code.clickable-row:hover {
    background-color: #f4e7ea;
    cursor: pointer;
}
code.clickable-row{
    background-color: #f9f2f4;
    color: #c7254e;
    cursor: pointer;
}
code{
    color: #6E33FF;
    background-color: #f6f4fc;
}
