.appendix-container {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	box-sizing: border-box;

	pointer-events: none;

	white-space: nowrap;
	overflow-x: hidden;
}

.appendix-container .inner-container {
	height: 100%;
}

.appendix-container .appendix {
	color: inherit;
	opacity: 0.3;
	z-index: 1;
}

.appendix-container .text-clone {
	opacity: 0;
	padding-right: 2px;
}

/** Switch element **/

.switch-element {
	display: inline-block;
	position: relative;
	width: 50px;
	height: 30px;
	float: left;

	margin-right: 25px;
	outline: 0;
	background: inherit;
}

.switch-element input {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	margin: 0;
	background: transparent;

	cursor: pointer;
	outline: 0;
	opacity: 0;
}

.switch-element input:checked + .indicator {
	background-color: grey;
}

.switch-element input:checked + .indicator::before {
	transform: translate3d(66.67%, 0, 0);
	border-color: grey;
}

.switch-element input:disabled {
	cursor: default;
}

.switch-element input:disabled + .indicator {
	opacity: 0.5;
}

.switch-element .indicator {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 30px;
	box-sizing: border-box;

	border: 2px solid transparent;
	border-radius: 99px;
	background: lightgrey;

	pointer-events: none;
	transition: background 0.1s linear, opacity 0.1s linear;
}

.switch-element .indicator::before {
	content: '';
	display: inline-block;

	position: absolute;
	top: -2px;
	left: -2px;
	width: 30px;
	height: 30px;
	box-sizing: border-box;

	background: white;
	border: 2px solid lightgrey;
	border-radius: 100%;

	transition: transform 0.2s cubic-bezier(0, 1, .75, 1.15), border-color 0.1s linear;
	z-index: 1;
}

.switch-element .indicator + label {
	line-height: 25px;
	position: relative;
	top: 11px;
	cursor: pointer;
	user-select: none;
}

.switch-element + p, .switch-element + label {
	line-height: 30px;
}

html.darkmode .controller .switch-element .indicator {
    background: rgba(255, 255, 255, .1);
}

p.p-1 {margin-top: 1lh}
p.p-2 {margin-top: 2lh}
p.p-3 {margin-top: 3lh}
p.p-4 {margin-top: 4lh}
p.p-5 {margin-top: 5lh}
p.p-6 {margin-top: 6lh}
p.p-7 {margin-top: 7lh}
p.p-8 {margin-top: 8lh}
p.p-9 {margin-top: 9lh}
p.p-10 {margin-top: 10lh}
