html {
    font-family: Monaco, "Lucida Console", monospace;
    font-size: 16px;
    word-spacing: -4px;
    color: #444;
    font-weight: normal;
    text-decoration: none;
    font-style: normal;
    font-variant: normal;
    line-height: 1.4;
    text-transform: none;
    background: rgba(235,240,250);
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    padding: 0;
    color: #444;
    -webkit-text-size-adjust: none;
}

a
{
    color: inherit;
}
a:hover
{
    color: #6c93cd;
}

strong
{
    color: #000;
}

p {
    margin: 10px 0 20px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

ol > li,
ul > li
{
    margin-bottom: 15px;
}

header
{
    background: linear-gradient(180deg, rgba(235,240,250,1) 0%, rgba(255,255,255,1) 30%);
}

header > div
{
    padding: 40px 30px 40px;
}

header > div > h1
{
    font-size: 1.3em;
    margin: 0;
    padding: 0 0 30px 0;
}

header > div > h1 > a
{
    display: block;
    width: 300px;
    text-decoration: none;
    line-height: 23px;
}

header > div > h1 > a > span
{
    display: block;
}

header > div > h1 > a > span.subtitle
{
    font-size: 0.65em;
    font-weight: normal;
}

header > div > h1 > a::before
{
    content: '';
    display: block;
    background-image: url("../img/lil_logo_mini.svg");
    background-repeat: no-repeat;
    width: 52px;
    height: 40px;
    float: left;
    margin-right: 15px;
}

header > div > nav > ul
{
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    text-align: center;
}

header > div > nav > ul > li
{
    display: block;
    width: 150px;
    font-size: 0.9em;
}

pre
{
	margin: 0;
}

pre code {
    display: block;
    white-space: pre;
    background: rgba(248,250,255);
    font-size: 0.9em;
    border: 1px solid #AAA;
    padding: 20px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0px 0px 8px 3px rgba(0,0,0,0.19);
    -moz-box-shadow: inset 0px 0px 8px 3px rgba(0,0,0,0.19);
    box-shadow: inset 0px 0px 8px 3px rgba(0,0,0,0.19);
    overflow: scroll;
}

p > code,
li > code {
	background: #F0F0F0;
	padding: 3px;
}

code .comment {
    color: #999;
}

code .punctuation {
    color: #A0B0A0;
}

code .bool {
    color: #70A5CC;
}

code .number_literal,
code .bool_literal {
    color: #0000FF;
}

code .string_literal {
    color: #FF0000;
}

code .type,
code .object_type,
code .object_definition
{
    color: #CC6AB3;
}

code .function_declaration,
code .function_call
{
    color: #6A74CC;
}

code .var_declaration
{
	color: #8657CC;
}

code .var_name
{
    color: #CC916A;
}

code .string,
code .c_string,
code .string_function
{
    color: #FF0000;
}

code .flow_control,
code .flow_control_call {
    color: #00D044;
}

code .expression,
code .unary_expression
{
    color: #8F6842;
}

code .instruction {
    color: #1DB4B2;
}

code .property_name {
    color: #619C19;
}

code .selector
{
    color: #DBAD00;
}

code .class_declaration {
    color: #00ACDB;
}

#content {
    padding-bottom: 550px;
    background: linear-gradient(0deg, rgba(235,240,250,1) 0%, rgba(255,255,255,1) 20%);
}

#content > div
{
    max-width: 1200px;
    display: flex;
    padding: 20px 60px;
    margin: 0 auto;
}

#sidebar {
    width: 200px;
    background: rgba(235,240,250,1);
    border-radius: 7px;
    padding: 15px 10px 15px 30px;
    font-size: 0.8em;
    margin-right: 30px;
}

#sidebar > nav > h3
{
	padding-top: 15px;
	padding-bottom: 4px;
	border-bottom: 1px solid #C4D4EE;
	margin-right: 25px;
	margin-bottom: 10px;
}

#sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sidebar > nav > ul > li
{
    padding: 5px 0;
    margin: 0;
}

#doc
{
    width: calc(100% - 220px);
    padding: 20px 30px;
    border: 2px solid rgba(235,240,250,1);
    border-radius: 7px;
}

#doc code
{
	display: inline;
}

#doc pre > code
{
	display: block;
}

#doc article
{
    margin-bottom: 40px;
}
#doc article h3
{
    margin-bottom: 10px;
}

#doc article > ul > li
{
    margin: 0 0 15px 0;
}

#doc article > a
{
    display: block;
    padding: 5px;
    text-decoration: none;
    border-bottom: 1px solid rgba(235,240,250,1);
}

#doc article:last-child > a
{
    border-bottom: 0;
}
#doc article ul > li > a:hover
{
    background: rgba(235,240,250,1);
}

#doc article.variables li > h4,
#doc article.functions li > h4
{
	background: rgba(235,240,250,1);
}

#doc article.variables p
{
	padding-bottom: 0;
}

#doc > h2
{
	padding-bottom: 20px;
}

#doc article > h3
{
	border-bottom: 1px solid #DDD;
}

#doc article.identifiers > ul
{
	column-count: 3;
}

#doc article.variables > ul > li,
#doc article.virtual_variables > ul > li,
#doc article.functions > ul > li
{
	padding-bottom: 20px;
    border-bottom: 1px solid rgba(235,240,250,1);
	margin-bottom: 20px;
}

@media (max-width: 500px) {
    header > div > nav > ul > li:nth-child(2)
    {
        position: relative;
        left: 10px;
    }
}

@media (min-width: 600px) {
    header > div {
        display: flex;
        justify-content: center;
        padding-bottom: 20px;
    }
    header > div > h1
    {
        width: 45%;
        font-size: 1em;
        padding: 0;
    }

    header > div > nav
    {
        width: 55%;
    }

    header > div > nav > ul
    {
        height: 40px;
    }
    
    code {
        font-size: 1em;
    }
}

@media (min-width: 700px) {
    header > div > h1
    {
        font-size: 1.3em;
    }
}

@media (min-width: 800px) {
    header > div {
        padding: 50px 60px 30px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    header > div > h1
    {
        display: flex;
        align-items: center;
    }
}
