/* nether-oaks style sheet */

/* Redefinition of Defaults 
======================================== */
* {
	font-family: "TeX Gyre Bonum", Georgia, serif;
}

body {
	background-color: Ivory;
}

h1 {
	background-color: DarkOliveGreen;
	color: Wheat;
	font-size: 3.5em;
	padding-bottom: 16px;
	margin-top: -8px;
	margin-bottom: 0;
}
.text-align-right {
	text-align: right;
}

/* hyperlinks */
a:link {
	color: MidnightBlue;
}
a:visited {
	color: Indigo;
}
a:hover {
	color: CornflowerBlue;
}
a:active {
	color: DarkOrchid;
}
/* Stripey tables */
tr:nth-child(odd) {
	background-color: Wheat;
}

th {
	background-color: DarkGoldenRod;
	color: Wheat;
}

/* Side Margins 
======================================== */
.NegateSideMargins, .Footer, h1 {
	margin-left: -8px;
	margin-right: -8px;
}

.PaddingNegatedSideMargins, .Footer, h1 {
	padding-left: 8px;
	padding-right: 8px;
}

/* Navigation bar
======================================== */
ul.nav {
	list-style-type: none;
	margin: 0 -8 12 -9;
	padding: 0;
	overflow: hidden;
	background-color: DarkOliveGreen;
	font-size: 1.5em;
	-webkit-text-size-adjust: 150%;
	text-size-adjust: 150%;
}

li.nav {
	float: left;
}

li.nav a {
	display: block;
	padding: 20px;
	text-decoration: none;
}

li.nav a:link, li.nav a:visited {
	color:Wheat;
}
li.nav a:hover:not(.acting) {
	background-color: OliveDrab;
	color:Ivory;
}
li.nav a:active {
	background-color: OliveDrab;
	color:Salmon;
}
li.nav a.acting {
	background-color: Ivory;
	color: DarkGoldenRod;
}


/* Page menu 
======================================== */
.PageMenu {
	display: block;
	width: 33%;
	min-width: 420px;
	margin: 40px;
	padding: 14px;
	background-color: DarkGoldenRod;
	color: Wheat;
	font-size: 1.3em;
	-webkit-text-size-adjust: 150%;
	box-shadow: 2px 2px 3px 3px Grey;
}
.PageMenu ul {
	list-style-type: none;
}
.pageMenu a:link, .pageMenu a:visited {
	color: Wheat;
	text-decoration: none;
}
.pageMenu a:hover {
	color: Ivory;
	text-decoration: underline;
}
.pageMenu a:active {
	color: Salmon;
	text-decoration: underline;
}

/* Wrappable Columns
======================================== */
.flex-container {
	display: flex;
	flex-wrap: wrap;
}
.LeftColumn {
	width: 34%;
	margin: 16px 16px 16px 0;
	-webkit-text-size-adjust: 150%;
}
.LeftColumnFat {
	width: 53%;
	margin: 16px 16px 16px 0;
	padding: 10px;
	-webkit-text-size-adjust: 150%;
}
.RightColumn {
	width: 37%;
/*	min-width: 664px; */
	min-width: 600px; 
	margin: 16px 0 16px 16px;
	-webkit-text-size-adjust: 150%;
}
.RightColumnThin {
	width: 33%;
	min-width: 500px;
	margin: 16px 0 16px 16px;
	-webkit-text-size-adjust: 150%;
}


 /* Text block over an image 
 ======================================== */
.rel-pos-container {
	position: relative;
}

div.trans-text-block {
	position: absolute;
	width: 40%;
	background-color: Ivory;
	opacity: 0.8;
	color: Black;
	padding-left: 20px;
	padding-right: 20px;
	font-size: 1.5em;
}
div.block-br {
	bottom: 20px;
	right: 20px;
	text-align: right;
}
div.block-tl {
	top: 20px;
	left: 20px;
	text-align: left;
}
div.block-bl {
	bottom: 20px;
	left: 20px;
	text-align: left;
}
div.block-tr {
	top: 20px;
	right: 20px;
	text-align: right;
}


/* Forms 
======================================== */
form {
	color: DarkOliveGreen;
	font-weight: bold;
}
input, select, textarea {
	padding: 2px;
	margin: 2px;
	background-color: #FFFFF8;	
	font-size: 1em; /* Otherwise -webkit-text-size-adust has no effect on form input fields in Safari */
}
textarea {
	min-width: 300px;
}
select {
	background-color: Wheat;
	color: Black; /* otherwise Safari uses -apple-system-blue (eyuch) */

}
/* Hack to show date input placeholder in Safari 
   https://stackoverflow.com/a/34385597/17250794 */
/* Commented out until fully tested 
  (no placeholder in Firefox until focused, unless delete "color: White;" which seems unnecessary)
	input[type="date"]::before {
		color: LightGrey;
		content: attr(placeholder);
	}
	input[type="date"] {
		color: White;
	}
	input[type="date"]:focus,
	input[type="date"]:valid {
		color: Grey;
	}
	input[type="date"]:focus::before,
	input[type="date"]:valid::before {
		content: "" !important;
	}
*/
input[type="date"] {
	border-color: #AAAAAA; /* otherwise Safari shows no border, unlike for other input types */
	color: Black; /* otherwise Safari uses -apple-system-blue (eyuch) */
}
input[type='number'] {
	width: 3em;
}
input[type='radio'] {
    accent-color: GoldenRod;
}
button {
	background-color: DarkGoldenRod;
	color: Wheat;
	font-size: 1.3em;
	padding: 6px;
	margin: 4px;
	border-radius: 8px;
	cursor: pointer;
}
button:hover {
	background-color: GoldenRod;
	color: Ivory;
}
.required:before {
	content:"* ";
	color: Salmon;
}

/* Block styles
======================================== */
.greyedOut {
	opacity: 0.4;
	font-weight: normal;	
}
.standOut {
	border-style: solid;
	border-color: Wheat;
	padding: 4px;
}


/* Footer 
======================================== */
.Footer {
	background-color: DarkOliveGreen; 
	color: Wheat;
	margin-bottom: -8px;
	text-align: center;
	padding-top: 12px;
	padding-bottom: 12px;
}
.Footer img {
	margin: 10px;
}
div.Footer a:link, div.Footer a:visited {
	color:Wheat;
}
div.Footer a:hover:not(.image-link) {
	background-color: OliveDrab;
	color:Ivory;
}
div.Footer a:active {
	background-color: OliveDrab;
	color:Salmon;
}


/* Tooltips
======================================== */
/* Tooltip container */
.tooltip {
	position: relative;
	text-decoration-line: underline;
	text-decoration-style: dashed;
}

/* Tooltip text */
.tooltip .tooltiptext {
	visibility: hidden;
	width: 256px;
	background-color: DarkOliveGreen;
	color: Ivory;
	text-align: center;
	padding: 4 6;
	border-radius: 6px;
 
	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
}

/* Show the tooltip text when hover over or tap/click the tooltip container */
.tooltip:hover .tooltiptext, .tooltip:active .tooltiptext {
	visibility: visible;
}

/* iFrame hyperlinks
======================================== */
div.iframe-link {
	position: relative;
	float: left;
	width: 300px;
	height: 80px;
	margin: 0 auto 2em 6em;
}
a.iframe-link {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* Social Media
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@100;200;300;400;500;700;900&display=swap');

button.google {
	font-family: "Google Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	width: 230px;
	font-size: 1.1em;
	background-color: #4285F4;
	color: White;
	padding: 6px;
	border-radius: 6px;
}
button.google:hover {
	background-color:  #174EA6;
}


