1#dokuwiki__content h1:first-of-type { text-align: center }
2#dokuwiki__content h1 { border-bottom: 2px solid var(--border); }
3#dokuwiki__content h2 { border-bottom: 1px solid var(--border); }
4#dokuwiki__content h3 { border-bottom: 1px dotted var(--border); }
5#dokuwiki__sidebar {
6	position: fixed;
7	top: 0;
8	left: 0;
9	z-index: 1;
10	overflow-x: hidden;
11	overflow-y: auto;
12	max-height:95vh;
13	font-size: 1rem;
14	background-color: var(--accent-bg);
15	border: 1px solid var(--border);
16	box-shadow: 0 1px 1px 3px rgba(0,0,0,0.1);
17	border-radius: var(--standard-border-radius);
18	text-align:left;
19	padding: 1em;
20	margin: .5rem;
21	opacity: 0;
22	visibility: hidden;
23	transition: 0.5s;
24}
25#dokuwiki__sidebar_close_btn {
26	float: right;
27}
28#dokuwiki__sidebar_show_btn {
29	position: fixed;
30	top: 0;
31	left: 0;
32	margin: .5rem;
33	cursor: pointer;
34}
35#dokuwiki__sidebar_content {
36	padding: .5em;
37	border: 1px solid var(--border);
38	border-radius: var(--standard-border-radius);
39}
40#dokuwiki__sidebar:target {
41	opacity: 1;
42	visibility: visible;
43}
44
45#dokuwiki__breadcrumbs {
46	border-top: 1px solid var(--border);
47	border-bottom: 1px solid var(--border);
48	padding: .2rem;
49	margin: .5rem;
50	font-size: 1rem;
51}
52
53/* toc */
54.dokuwiki .toggle strong {
55    float: right;
56    margin: 0 .2em;
57}
58[dir=rtl] .dokuwiki .toggle strong { float: left; }
59#dw__toc {
60	border: 1px solid var(--border);
61	border-radius: var(--standard-border-radius);
62	padding: .5em;
63}
64#dw__toc > h3 {
65	font-size: 1rem;
66	margin-top: auto;
67}
68#dw__toc ul {
69	margin: 0;
70}
71#dw__toc ul li {
72	padding-left: .25em;
73}
74#dw__toc ul ul { padding-left: 1em; }
75[dir=rtl] #dw__toc ul ul {
76	padding-left: 0;
77	padding-right: 1em;
78}
79[dir=rtl] #dw__toc ul li {
80	border-left: 0;
81	border-right: 1px solid var(--border);
82	padding-left: 0;
83	padding-right: .25em;
84}
85
86/* sitemap (and backlinks)
87********************************************************************/
88
89.dokuwiki ul.idx {
90    padding-left: 0;
91}
92[dir=rtl] .dokuwiki ul.idx {
93    padding-right: 0;
94}
95.dokuwiki ul.idx li {
96    list-style-image: url(../../images/bullet.png);
97}
98.dokuwiki ul.idx li.open {
99    list-style-image: url(../../images/open.png);
100}
101.dokuwiki ul.idx li.closed {
102    list-style-image: url(../../images/closed.png);
103}
104[dir=rtl] .dokuwiki ul.idx li.closed {
105    list-style-image: url(../../images/closed-rtl.png);
106}
107
108/* page tools */
109#dokuwiki__pagetools {
110	margin-top: 1em;
111}
112
113/* edit */
114button.toolbutton {
115	background-color:var(--bg);
116}
117
118.dokuwiki textarea.edit {
119	font-family: var(--mono-font);
120	font-size:1rem;
121}
122
123/* search */
124#qsearch__out {
125        border: 1px solid var(--border);
126        width: 100%;
127        left:0;
128        top:2em;
129}
130