
.navbar {
    margin-bottom: 0;
}

div.navbar-header a:visited, ul.navbar-nav a:visited, div.sidebar h3 a {
    color: #777 !important;
}

a.youarehere:visited {
    color: #337ab7 !important;
}

button.navbar-toggle {
    z-index: 1000;
    background-color: #f0f0f0;
}

#sidebar-wrapper {
    background: #f8f8f8;
    /* border-color: #e7e7e7;
    border: 1px solid #e7e7e7;
    border-top: 0; */
    margin-top: -1px;
    padding-top: 4px;
}

div.sidebar ul ul {
    padding-left: 12px;
    list-style-type: none;
}

div.sidebar {
    padding-bottom: 14px; /* square */
}

div.sidebar pre {
    font-size: 9px;
}

div.sidebar h3 {
    padding-top: 14px;
    padding-left: 8px;
    font-size: 20px;
}

div.body h1 {
    border-bottom: 1px solid rgb(208, 208, 208);
    padding-bottom: 10px;
}

div.body a {
    word-wrap: break-word;
}

#sidebar-wrapper {
    overflow-y: auto;
    height: 100%;
}

#sidebar-wrapper.affix-bottom, #sidebar-wrapper.affix-top {
    position: fixed;
    height: 100%;
}

#sidebar-wrapper.affix-bottom, #sidebar-wrapper.affix {
    margin-top: -52px; /* magic */
}

div.sidebar:first-of-type li {
    /* hanging indent */
    padding-left: 8px;
    text-indent: -8px;
}


#navbar-related {
    border: 0;
    background: none;
}

body {
    background: #f8f8f8;
}

div.document ul {
    padding-left: 18px;
}

div.footer-relbar {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

footer {
    color: #777;
    opacity: 0.7;
}

#content-wrapper {
    background: white;
    border: 1px solid #e7e7e7;
    margin-top: -1px;
}

ul.simple {
    margin-bottom:10px;
}

table.docutils {
    border-collapse: collapse;
}

table.docutils td, table.docutils thead th {
    border: 1px solid #ddd;
}

table.docutils thead th {
    border-bottom: 2px solid #bbb;
}

table.docutils tbody tr:nth-child(odd) {
    background-color: #f6f6f6;
}

table.docutils tbody tr:hover,
table.docutils thead th:hover {
    background-color: #eeeeee;
}
table.docutils tbody tr td:hover {
    background-color: #e7e7e7;
    border-bottom: 1px solid #333333;
}

.h5, h5 {
    font-size: 16px;
}

.h6, h6 {
    font-size: 14px;
}

.h7, h7 {
    font-size: 14px;
    border-bottom: 1px solid #d0d0d0;
}

div.document h1,
div.document h2,
div.document h3,
div.document h4,
div.document h5,
div.document h6,
div.document h7 {
    font-weight: bold;
    margin-top: 24px;
}

blockquote {
    font-style: italic;
    font-size: 105%;
}

#sidebar-wrapper a.youarehere,
#navbar-top a.youarehere {
    font-size: 1.2em;
    font-weight: bold;
    /* text-decoration: underline; */
}

#sidebar-wrapper a.youarehere:after,
#navbar-top a.youarehere:after {
    content: " ⬅" !important;
}

#content-wrapper a.headerlink {
    font-size: inherit !important;
}

#content-wrapper a.youarehere {
    visibility: visible !important;
}

@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding-top: 6px;
    }
}

@media (max-width: 768px) {
    button.toplink {
        position: fixed;
        right: 1px;
        top: 0;
        padding: 6px !important;
        z-index: 900 !important;
        opacity: 0.3;
    }
}

/* leftnavbar.css */
@media (min-width: 767px) {
    #content-wrapper, div.footer-relbar, footer {
        position: relative;
        /* left: 25%; */
        margin-left: 25%;
        width: 75%;
        float: none;
    }

    ul.navbar-nav.navbar-right {
        position: fixed;
        right: 24px;
        z-index: 1000;
    }
}

div.sidebar-options ul li label {
    padding-left: 8px;
}
