body {
    overflow-x: hidden;
    font-family: "Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;
}

h1, h2, h3, h4 {
    font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
    font-weight: 600;
}

.downloadlink {
    text-decoration: none;
    position: absolute;
    top: 10px;
    right: 10px;
}

#download {
    width: 2em;
    height: 2em;
}

#timestamp {
    color: #aaa;
    font-size: 0.8em;
    font-style: italic;
    position: absolute;
    bottom: 15px;
    right: 10px;
}

h4 {
    font-size: 1.2em;
}

h3 {
    font-size: 1.4em;
}

h2 {
    font-size: 1.8em;
}

h2, h3 {
    font-weight: 600;
}

#wrapper {
    padding-left: 0;
}

#refguide {
    margin: 40px;
    padding: 40px;
    height: 700px;
}

.blu-refguide #refguide {
    background-color: #03038d;
    color: white;
}

.orange-refguide #refguide {
    background-color: #ff9933;
    color: black;
}

.alert a {
    color: #ff9933;
}

.alert {
    margin: 40px;
    padding: 40px;
}

h1.large {
    font-size: 6em;
    margin-bottom: 30px;
}

h2.subtitle {
    font-size: 1.1em;
    font-weight: normal;
}

h2.subtitle2 {
    margin-top: 30px;
    font-size: 1.1em;
    font-weight: normal;
}

h2.booktitle {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 120px;
    font-size: 2.1em;
}

img.logo {
    float: right;
}

#title {
    font-size: 1.3em;
    font-weight: 600;
    padding: 10px;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 450px;
    height: 55px;
}


.blu-refguide #title {
    background-color: #03038d;
    color: white;
}

.orange-refguide #title {
    background-color: #ff9933;
    color: black;
}

.blu-refguide #title a {
    text-decoration: none;
    color: white;
}

.orange-refguide #title a {
    text-decoration: none;
    color: black;
}

.orange-refguide #search-results a,
.orange-refguide #content a {
    color: #ec8e30;
}

.orange-refguide #search-results a:hover,
.orange-refguide #content a:hover {
    color: #c97826;
}

.blu-refguide .draft {
    display: none;
}
.orange-refguide .draft {
    display: inline;
}

.orange-refguide .logo {
    display: none;
}

/* #wrapper.toggled {
  padding-left: 450px;
} */

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 0;
    width: 0;
    top: 110px;
    height: calc(100% - 110px);
    margin: 0;
    overflow-y: auto;
    background: #eee;
    width: 450px;
}

ul.level1 {
    font-weight: bold;
}

ul.level2 {
    font-weight: normal;
}

ul.level3 {
    font-weight: normal;
}

ul.level4 {
    font-weight: normal;
}

ul.level5 {
    font-weight: normal;
}


/* #wrapper.toggled #sidebar-wrapper {
  width: 450px;
} */

/* 
    TWO LEVELS VISIBLE

    ul li ul li ul {
    display: none;
}

ul .lb {
    display: none;
}

ul li ul .db {
    display: none;
}

ul li ul .lb {
    display: inline;
} */


/*SINGLE LEVEL Visible*/
/*ul li ul {
    display: none;
}
*/
ul .db {
    display: none;
}

.chb-1 {
    display: none;
}

.chb-2 {
    display: none;
}

.chb-3 {
    display: none;
}

.chb-4 {
    display: none;
}

.chb-5 {
    display: none;
}


.nb {
    width: 20px;
    display: inline-block;
}

img {
    max-width: 100%;
}

.lb, .db {
    font-size: 0.8em;
    color: #888;
    display: inline;
    margin-right:5px;
    /* width: 4px; */
    cursor: pointer;

}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0px;
    width: 410px;
    margin: 10px 20px 0 0px;
    padding: 0;
    list-style: none;
}

    .sidebar-nav ul, li {
        margin: 0 0 0 0;
    }

    .sidebar-nav .item {
        text-indent: -20px;
        margin: 0 0 0 0;
        cursor: pointer;
    }

    /*.sidebar-nav .item a {
}*/

    .sidebar-nav .oitem {
        margin: 0px 4px 4px 14px;
        line-height: 1.3em;
        padding: 4px 0 4px 0;
    }

        .sidebar-nav .oitem:hover {
            background-color: #ddd;
        }

    .sidebar-nav ul {
        list-style: none;
        margin-left: -10px;
    }

        .sidebar-nav ul ul {
            margin-left: -22px;
        }

    .sidebar-nav li a {
        /* text-indent: -20px; */
        display: inline;
        text-decoration: none;
        color: #111;
    }

        /*.sidebar-nav li a:hover {
        text-decoration: none;
        color: #000;
        background: #ddd;
}*/

        .sidebar-nav li a:active, .sidebar-nav li a:focus {
            text-decoration: none;
        }


@media(min-width:768px) {
    #wrapper {
        padding-left: 0;
    }

        #wrapper.toggled {
            padding-left: 450px;
        }


    #page-content-wrapper {
        background-color: #eee;
        min-height: 1024px;
        overflow: hidden;
    }

    #contento {
        position: relative;
        background-color: white;
        max-width: 900px;
        padding: 40px;
        overflow: auto;
        min-height: 1000px;
    }
}

pre {
    background-color: #f8f8f8;
    margin-right: 10px;
    white-space: pre-wrap;
}


#searchbox-wrapper {
    background-color: #e6e6e6;
    position: fixed;
    top: 55px;
    left: 0px;
    width: 450px;
    height: 55px;
    padding-right: 10px;
    padding-left: 10px;
}

#searchbox {
    width: 100%;
    border-radius: 3px;
    padding: 6px 12px;
    margin-top: 10px;
    border-style: none;
    border: 1px solid #d1d4d5;
    font-size: 90%;
}

#search-results {
    position: fixed;
    z-index: 100000;
    top: 100px;
    left: 20px;
    max-width: 800px;
    min-width: 400px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);
    max-height: 80vh;
    overflow-y: auto;
}

#search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#search-results .resultAnchor {
    font-weight: bold;
}

#search-results p {
    font-size: 80%;
    margin-top: 12px;
}

#search-clear {
    padding: 0;
    position: absolute;
    color: #808080;
    left: 406px;
    top: 15px;
    cursor: pointer;
}

mark {
    background-color: #fff9a3;
    padding: 0;
    color: inherit;
}

.underlineSideElement {
    text-decoration: underline !important;
}


table {
    font-size: 1rem !important; /* FIX */
}

.ref-guide-error-box {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    padding: 10px;
}