* {
	font-family: 'Roboto Condensed', Arial, sans-serif;
	box-sizing: border-box;
}
body {
	margin: 0px;
	padding: 0px;
	background-color: #fffffa;
}
html {
	font-size: 16pt;
}

/* Nav Definitions */
nav {
	background-color: rgba(0,0,255,0.7);
	margin: 0px;
	padding: 5px 50px 7px 20px;
	position: fixed;
	z-index: 1000;
	width: 100%;
	text-align: left;
	box-shadow: 0px 2px rgba(0,0,0,0.3);
}
nav ul {
	margin: 0px;
	padding: 0px;
}
nav li {
	display: inline;
	font-size: 0.75em;
	padding: 5px 10px;
	color: black;
	white-space: nowrap;
}
nav li a {
	color: white;
	text-decoration: none;
}
nav li.chosen {
	text-shadow: 3px 3px 5px black;
	font-weight: 900;
	color: white;
	position: relative;
	bottom: 1px;
	left: -1px;
}
nav a:hover {
	position: relative;
	bottom: 1px;
	left: -1px;
	text-shadow: 3px 3px 3px black;
}
nav li.chosen a:hover {
	position: relative;
	bottom: 0;
	left: 0;
}
/* Header Definitions */
header {
	background-image: url('files/images/cover.jpg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	width: 100%;
	height: 450px;
	margin: 0px;
	padding: 0px;
}
header div#head {
	color: black;
	position: absolute;
	bottom: 0;
	background-color: rgba(255,255,255,0.5);
	width: 100%;
}
header div#head h2 {
	margin: 10px;
	text-align: center;
	padding: 0px 0px;
	font-size: 2.3em;
	text-shadow: 0 0 10px rgba(0,0,255,0.7);
	position: relative;
	top: 0;
}
header.child {
	height: 250px;
}

/* Main Definitions */
main {
	font-size: 0.8em;
}
div.main {
	min-width: 300px;
	width: 75%;
    margin: 20px auto;
	text-align: center;
	}
main * {
	line-height: 1.5em;
}
main article {
	display: inline-block;
	padding: 10px 10px;
	margin: 20px auto;
	border: 3px solid rgb(230, 230, 230);
	background-color: white;
	min-width: 50%;
	text-align: left;
	width: 100%;
}
main h2 {
	font-size: 1.5em;
	text-shadow: 1px 1px 5px grey;
}
main h2 span:lang(he) {
	font-family: Assistant, Arial, sans-serif;
}
main h3 {
	font-size: 1.2em;
	color: red;
}
div.dialog table {
	background-color: lightblue;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
	border-radius: 3px;
}
table.en_dialog {
	width: 85%;
	margin: 0px auto 20px auto;
}
table.en_dialog td.person {
	vertical-align: top;
	font-weight: bold;
	text-align: right;
	padding: 5px 10px;
	}
table.en_dialog td.speech {
	padding: 5px 10px;
}
main a {
	color: blue;
	text-decoration: none;
}
main a:hover {
	color: navy;
	text-decoration: underline;
}
main abbr {
	text-decoration: none;
}
strong.def {
	font-variant: small-caps;
	font-weight: 900;
}
.ex {
	font-size: 40pt;
}
blockquote.examples {
	background-color: rgb(245, 245, 245);
	padding: 5px;
	border: 1px solid black;
	border-left: 4px solid black;
}
figure img {
	vertical-align: middle;
}
figcaption {
	position: relative;
	bottom: 50px;
	margin: 0px 20px;
	font-family: 'Times New Roman', serif;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 5px 10px;
	color: rgb(255, 255, 255);
}
dt {
	font-weight: bold;
}
dt span:lang(he) {
	font-weight: normal;
	color: maroon;
	padding: 0px 25px;
}
dt span:lang(he):before {
	content: "\a";
    white-space: pre;
}

/* Mobile Settings */
@media only screen and (orientation: portrait) {
	nav {
		text-align: center;
	}
	nav a[alt]:hover:after {
		content: attr(alt);
		display: none;
	}
	header div#head h2 {
		font-size: 1.5em;
	}
	main article {
		display: block;
		min-width: 300px;
		max-width: 100%;
		width: 100px;
		padding: 0px 10px;
		margin: 10px 0px;
	}
}


/* Footer Definitions */
footer {
	font-size: 75%;
	text-align: right;
	padding-right: 20px;
}

/* Language Font Definitions */
*:lang(he) {
	font-family: Assistant, Arial, sans-serif;
	direction: rtl;
	unicode-bidi: embed;
}
em:lang(he) {
	font-style: normal;
	color: salmon;
}
*:lang(el) {
	font-family: 'SBL BibLit', 'Fira Sans', sans-serif;
}
*:lang(la) {
	font-family: 'Minion Pro', 'Times New Roman', serif;
}
*:lang(tr) {
	font-family: Arial, sans-serif;
	font-weight: 100;
	color: red;
	font-size: 0.9em;
}
