/*
 * Appendix pages, inside the home page (Twenty Fifteen) layout.
 * Fonts, colours, headings and spacing come from the theme (style.css).
 * These rules only keep the appendices' tables, boxes and number layouts
 * looking as intended.
 */

/* Small centred lines */
.appendix .basmalah {
	font-family: "Noto Sans", sans-serif;
	font-size: 13px;
	font-style: italic;
	color: #707070;
	text-align: center;
	line-height: 1.5;
	margin-bottom: 2em;
}
.appendix .appsource {
	font-style: italic;
	color: #707070;
	margin-top: -1em;
}

/* Tables: undo the theme's grid look (every cell boxed, equal-width columns) */
.appendix .table-scroll {
	overflow-x: auto;
	margin: 0 0 1.6em;
}
/* :where() keeps these resets weak, so the pages' own classes (.right, .tabmar, ...) still win */
:where(.appendix) table {
	border: 0;
	border-collapse: separate;
	border-spacing: 2px;
	table-layout: auto;
	width: auto;
	margin: 0;
}
:where(.appendix) th,
:where(.appendix) td {
	border: 0;
	text-align: inherit;
	vertical-align: middle;
}
:where(.appendix) th { font-weight: bold; text-align: center; }

/* Framed boxes (summaries, quoted verses) */
.appendix table.box {
	width: 100%;
	border: 1px solid #333;
	border-collapse: collapse;
	margin: 0;
}
.appendix table.box > tbody > tr > td { padding: 0.8em 1em; }

/* Data tables */
.appendix table.tab {
	border: 1px solid #333;
	border-collapse: collapse;
	margin: 0 auto;
	text-align: center;
}
.appendix table.tab td,
.appendix table.tab th { border: 1px solid rgba(51, 51, 51, 0.35); }
.appendix .box1 { border: 1px solid #333; border-collapse: collapse; }
.appendix .tdbox { padding: 10px; text-align: center; }
.appendix .tdtab { padding: 5px; text-align: center; }

/* Small helper classes used in the text */
.appendix .caption { font-style: italic; text-align: center; }
.appendix .cen { text-align: center; }
.appendix .ul { text-decoration: underline; }
.appendix .italicize,
.appendix .verse { font-style: italic; }
.appendix .versebox { margin-top: 0; margin-bottom: 0; }
.appendix .verseref { float: right; }
.appendix .fixedfont { font-family: Inconsolata, monospace; }
.appendix td.bt { vertical-align: bottom; }
.appendix td.tp { vertical-align: top; }
.appendix td.nowrap { white-space: nowrap; }
.appendix dt { font-weight: bold; }
.appendix img { max-width: 100% !important; height: auto; box-sizing: border-box; } /* beats fixed widths written into the page */
.appendix .resp-img { width: 100%; height: auto; }

/* Credit line at the bottom */
.appendix .contact {
	font-size: 13px;
	text-align: center;
	color: #707070;
}
.appendix .copyright { font-size: 12px; margin-top: 0.5em; }
