:root {
    --main-color: rgb(31, 43, 62);
    --side-color: rgb(19, 19, 37);
    --member-color: rgb(255, 253, 120);
}

html, body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 100%;
}

body {
    background-color: var(--side-color);
    font-family: sans-serif;
    color: #eee;

    height: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

nav {
    width: 250px;
    /*resize: horizontal;*/

    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

nav #title {
    margin-top: 0;
}

nav h3 {
    text-decoration: underline;
}

nav ul {
    padding: 0;
    list-style-type: none;
    line-height: 200%;
}

nav ul a {
    display: block;
    white-space: nowrap;
    color: white !important;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
}

nav ul a:hover {
    background-color: #334;
    border-radius: 5px;
}

nav .params {
    color: #888;
}

a {
    text-decoration: none;
    color: rgb(151, 255, 255);
}

a:hover {
    color: rgb(0, 255, 255);
}

main {
    background-color: var(--main-color);
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

h1 {
    margin-bottom: 0;
}

.in {
    padding-left: 10px;
    margin-top: 0;
}

.ns-parts {
    font-size: 0;
}

.ns-parts * {
    font-size: 1rem;
}

/*.sticky {
    background-color: var(--main-color);
    position: sticky; 
    top: 0;
}*/

input#search {
    width: 100%;
    font-size: 1.5rem;
    background: #111;
    border: 1px solid rgb(68, 68, 182);
    color: white;
}

.text-content {
    max-width: 960px;
}

h3 {
    font-size: 1rem;
}

.code {
    font-family: monospace;
    background-color: #111;
    border: 1px solid #333;
    padding: 5px 10px;
}
code {
    background-color: var(--side-color);
    padding: 3px;
}
.code a, code a {
    text-decoration: none;
}

.doc-body {
    padding-left: 20px;
    margin-bottom: 30px;
}
.doc-body ul {
    list-style: none;
    font-size: 1rem;
    padding-left: 20px;
    text-indent: -10px;
}
.doc-body ul li {
    line-height: 150%;
}
.doc-body ul .title {
    font-weight: bold;
    margin-right: 5px;
}

.doc-body .returns {
    font-style: italic;
}

.namespace, #search-results {
    white-space: nowrap;
    table-layout: fixed;
    width: 100%;
}
.namespace td, #search-results td {
    text-overflow: ellipsis;
    overflow: hidden;
}
.namespace .desc, #search-results .desc {
    padding-left: 10px;
}
.namespace .code a, #search-results .code a {
    display: block;
    color: white;
}
.namespace .code {
    font-size: 1.1rem;
    width: 40%;
}
/*#search-results .code {
    width: 60%;
}*/

/* Colors */
.class {
    color: rgb(0, 255, 149);
}

.struct {
    color: rgb(0, 195, 255);
}

.member {
    color: var(--member-color);
}

.weak {
    color: #888;
}

.static, .global {
    color: yellow;
}

.bad {
    background-color: red;
    color: black;
}

.warning {
    color: orange;
    font-style: italic;
}
