@font-face {
  font-family: sura;
  src: url(fonts/Sura-Regular.ttf);
}

@font-face {
  font-family: sourceSansPro;
  src: url(fonts/SourceSansPro-Regular.ttf);
}

body {
	font-family: 'sourceSansPro', serif;
	font-size: 18px;
	color: #333;
	background-color: #fffef8;
	margin: 0px;
	padding: 0px;
}

#menuIcon {
	position: absolute;
	right: 0px;
	margin-right: 8px;
	cursor: pointer;
}

.page {
	display: none;
}

#dropdown {
	position: absolute;
	top: 9px;
	right: 9px;
	background-color: #fffef8;
	z-index: 1;
	display: block;
	box-shadow: 0 0 20px 0px #cbcbcb;
	display: none;
	padding: 10px 0px;
}

#dropdown > div {
	padding: 8px 16px;
	cursor: pointer;
	height: 29px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 12em;
}

#dropdown .buttonHolder {
	display: flex;
	justify-content: flex-end;
	gap: 7px;
}

#dropdown button {
	border: 1px solid #818181;
	background: #c3c3ff;
	color: black;
	padding: 8px 16px;
	border-radius: 6px;
}

#header {
	background-color: #f8f8f8;
	border-bottom: 1px solid #ccc;
	text-align: center;
	height: 34px;
	padding-top: 9px;
	position: fixed;
	width: 100%;
	z-index: 100;
}

#body {
	padding-top: 58px;
	padding-left: 12px;
	padding-right: 12px;
}

#header h2 {
	margin: 0px;
	padding: 0px;
}

a {
	color: #371eff;
	text-decoration: none;
}

div.index-book {
	font-weight: bold;
}

div.index-chapters {
	margin-bottom: 12px;
	line-height: 1.3;
}

div.index-chapters a {
	width: 1.6em;
	height: 1.4em;
	display: inline-block;
	border: 1px solid gray;
	background-color: white;
	border-radius: 4px;
	margin-right: 5px;
	margin-bottom: 5px;
	text-align: center;
	padding-top: 0.2em;
	font-family: sans-serif;
}

.standardButton {
	display: inline-block;
	border: 1px solid gray;
	background-color: white;
	border-radius: 4px;
	margin-right: 5px;
	margin-bottom: 5px;
	text-align: center;
	padding-top: 0.2em;
}

hr {
	border: none;
	border-top: 1px solid #333;
}

address {
	margin-top: 1rem;
	margin-bottom: 1rem;
	text-align: right;
}

body, body #header, body #dropdown, body a {
	transition: color 1s, background-color 1s;
}

body.dark {
	background-color:black;
	color: #eaeaea;
}

body.dark #header {
	background-color: #686868;
	color: black;
}

body.dark #dropdown {
	background-color:black;
	color: #e0e0e0;
}

body.dark a {
	color: #ada3fd;
}

.hdg {
	font-weight: bold;
}

#chapterTitle {
	font-style: italic;
}

.reftext {
	font-size: small;
	vertical-align: super;
	margin-right: 2px;
}

.cross1 {
	color: #a3a3a3 !important;
	font-style: italic;
	font-weight: normal;
}

.fn {
	font-size: small;
	vertical-align: super;
	margin-right: 2px;
	margin-left: 1px;
}

.fnverse {
	vertical-align: super;
	font-size: small;
}

.footnotesbot {
	/* color: blue; */
	font-size: small;
}

.indent1stline, .indent1stlinered {
	margin-left: 20px;
	margin-bottom: 0px;
}

.indentred1 {
	margin-left: 20px;
	margin-bottom: 0px;
}

.indent, .indentred {
	margin-left: 40px;
	margin-top: 0px;
	margin-bottom: 0px;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #333;
		color: #fff;
	}

	#header {
		background-color: #111111;
		border-bottom: 1px solid rgb(37, 37, 37);
	}

	a {
		color: #0f0;
	}

	a:visited {
		color: #8f0;
	}

	#menuIcon path {
		fill: #fff;
	}

	hr {
		border-top: 1px solid #ccc;
	}
}
