1body {
2    padding-top: 46px;
3    padding-bottom: 40px;
4}
5
6/* offset h1 targets with top navbar so that navigation anchor links line up */
7.page h1, .page h2, .page h3, .page h4, .page h5 {
8	padding-top: 72px;
9	margin-top: -52px;
10}
11
12/* Give the side TOC some space between top bar */
13.page {
14    padding: 15px 0;
15}
16
17/*
18 *  * Side navigation
19 *   *
20 *    * Scrollspy and affixed enhanced navigation to highlight sections and secondary
21 *     * sections of docs content.
22 *      */
23
24/* By default it's not affixed in mobile views, so undo that */
25.bs-sidebar {
26  padding-top: 15px;
27  position: fixed;
28}
29
30/* First level of nav */
31.bs-sidenav {
32  margin-top: 30px;
33  margin-bottom: 30px;
34  padding-top:    10px;
35  padding-bottom: 10px;
36  text-shadow: 0 1px 0 #fff;
37  background-color: #f7f5fa;
38  border-radius: 5px;
39}
40
41/* All levels of nav */
42.bs-sidebar .nav > li > a {
43  display: block;
44  padding: 5px 20px;
45}
46
47.bs-sidebar .nav > li > a:hover,
48.bs-sidebar .nav > li > a:focus {
49  text-decoration: none;
50  background-color: #e5e3e9;
51  border-right: 1px solid #dbd8e0;
52}
53.bs-sidebar .nav > .active > a,
54.bs-sidebar .nav > .active:hover > a,
55.bs-sidebar .nav > .active:focus > a {
56  font-weight: bold;
57  background-color: transparent;
58  border-right: 1px;
59}
60
61/* Nav: second level (shown on .active) */
62.bs-sidebar .nav .nav {
63  display: none; /* Hide by default, but at >768px, show it */
64  margin-bottom: 8px;
65}
66.bs-sidebar .nav .nav > li > a {
67  padding-top:    3px;
68  padding-bottom: 3px;
69  padding-left: 30px;
70  font-size: 90%;
71}
72
73.bs-sidebar .nav > .active > ul {
74   display: block;
75}
76
77@media screen and (max-width: 993px) { /* height <= 500 px */
78
79	.bs-sidebar {
80		display: none;
81	}
82}
83
84.text-right {
85	text-align: right;
86}
87