/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
 * Cascading Style Sheet for API reference                                   *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

html
{
    font-size: 62.5%;
    line-height: normal;
}

body
{
    color: #393D47;
    font-weight: normal;
    font-size: 1.6rem;
}

a
{
    color: #4169E1;
    text-underline-position: under;
}

code
{
    font-family: "JetBrains Mono";
    font-size: 1.3rem;
    line-height: 160%;
}

th
{
    vertical-align:middle;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
 * Layout class                                                              *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#layout
{
    position: relative;
    left: 0;
    padding-left: 0;
}

#layout.active #menu
{
    left: 150px;
    width: 150px;
}

#layout.active .menu-link
{
    left: 150px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
 * Menu class                                                                *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#menu
{
    margin-left: -150px;
    width: 150px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    background: #eeeeee;
    overflow-y: auto;
}

#menu a
{
    color: #434854;
    border: none;
    padding: 0.6em 0 0.6em 0.6em;
}

#menu .pure-menu,
#menu .pure-menu ul
{
    border: none;
    background: transparent;
}

#menu .pure-menu li a:hover,
#menu .pure-menu li a:focus,
#menu .pure-menu-selected,
#menu .pure-menu-selected a
{
    color: #fff;
    background: #99BADD;
}

#menu .pure-menu-heading
{
    font-size: 120%;
    font-weight: bold;
    color: #393D47;
    margin: 0;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
 * Content class                                                             *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.content
{
    margin: 0 auto;
    padding: 0 2em;
    max-width: 960px;
    margin-bottom: 50px;
    line-height: 1.6em;
}

h3.reference-title
{
    border-bottom: 2px solid #eee;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
 * Header class                                                              *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.header
{
    margin: 0;
    color: #393D47;
    text-align: center;
    padding: 2.5em 2em 0;
    border-bottom: 1px solid #eee;
}

.header h1
{
    margin: 0.2em 0;
    font-size: 3em;
    font-weight: bold;
}

.header h2,
.header h3,
.header h4
{
    font-weight: normal;
    color: #767F94;
    padding: 0;
    margin-top: 0;
}

.header img
{
    width: 100%;
    max-width: 800px;
}

.content-subhead
{
    margin: 50px 0 20px 0;
    font-weight: bold;
    color: #393D47;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
 * Table class                                                               *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

table.center
{
    margin: auto;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
 * Responsive Styles (Media Queries)                                         *
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media (min-width: 48em)
{
    .header, .content {
        padding-left: 2em;
        padding-right: 2em;
    }

    #layout {
        padding-left: 150px; /* left col width "#menu" */
        left: 0;
    }

    #menu {
        left: 150px;
    }

    .menu-link {
        position: fixed;
        left: 150px;
        display: none;
    }

    #layout.active .menu-link {
        left: 150px;
    }
}

@media (max-width: 48em)
{
    #layout.active {
        position: relative;
        left: 150px;
    }
}
