@import url("https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,700;1,7..72,400;1,7..72,700&display=swap");

* { box-sizing: border-box; margin: 0; padding: 0; font-family: "Literata", sans-serif; line-height: 1.3; font-size: 18px; }
.inner { margin: auto; }
img { max-width: 100%; height: auto !important; vertical-align: middle; }
h1, h2, h3, h4, h5, h6, p { margin-bottom: 20px; }
p:last-child, .header h2 { margin-bottom: 0; }
b, strong { font-weight: bold; }
i, em { font-style: italic; }

.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }

h1 { font-size: 32px; }
h2 { font-size: 30px; }
h3 { font-size: 28px; }
h4 { font-size: 26px; }
h5 { font-size: 24px; }
h6 { font-size: 22px; }

/***
Tan: #BB9A7B
Brown: #654E37
Green: #778D56
Bluish Gray: #7E7585
***/

body { background-color: #222; overflow-y: scroll; }

.wrapper {
	width: 1500px;
	margin: auto;
	background-color: #ddd;
	box-shadow: 0 0 100px #000;
}

.headerwrapper {
	display: grid;
	grid-template-columns: auto;
	grid-template-areas: 
		"header";
	width: 100%;
}
.header {
	grid-area: header;
	background: #999;
	padding: 22px;
}

.navigationwrapper {
	display: grid;
	grid-template-columns: auto auto auto auto auto auto auto auto;
	grid-template-areas: 
		"navigation";
	width: 100%;
}
.navigation { grid-area: navigation; background: #654E37; }
.navigation a { display: block; position: relative; padding:25px 10px; color: #fff; text-decoration: none; text-shadow: 2px 2px 4px rgba(0,0,0,.5); }
.navigation a:hover { color: #ffa; }
.navigation div:hover { background: #223; }

/*** DROPDOWN MENUS ***/
#ddmenu1b { width:230px; margin-left:-20px; border-radius:0 0 12px 12px; box-shadow: 0 20px 10px -15px rgba(0,0,0,1); }
#ddmenu2b { width:230px; margin-left:-20px; border-radius:0 0 12px 12px; box-shadow: 0 20px 10px -15px rgba(0,0,0,1); }
#ddmenu3b { width:230px; margin-left:-20px; border-radius:0 0 12px 12px; box-shadow: 0 20px 10px -15px rgba(0,0,0,1); }
#ddmenu1b, #ddmenu2b, #ddmenu3b { display:none; position:absolute; text-align:center; background-color:#223; }
#ddmenu1b a, #ddmenu2b a, #ddmenu3b a { padding:12px 20px; border-bottom:1px solid #7E7585; }
#ddmenu1b a:first-child, #ddmenu2b a:first-child, #ddmenu3b a:first-child { padding-top:20px; }
#ddmenu1b a:last-child, #ddmenu2b a:last-child, #ddmenu3b a:last-child { padding-bottom:20px; border-bottom:none; }
#ddmenu1a:hover #ddmenu1b { display:block; }
#ddmenu2a:hover #ddmenu2b { display:block; }
#ddmenu3a:hover #ddmenu3b { display:block; }

.pagewrapper {
	display: grid;
	grid-template-columns: 340px auto 340px;
	grid-template-areas: 
		"side-left page side-right";
}
.page { 		grid-area: page; 		background: #eee; padding: 20px; }
.side-left { 	grid-area: side-left; 	background: #ddd; padding: 20px; }
.side-right { 	grid-area: side-right; 	background: #ddd; padding: 20px; }

.footerwrapper {
	display: grid;
	grid-template-columns: auto;
	grid-template-areas: "footer";
}
.footer { 		grid-area: footer; 		background: #654E37; color: #ffc; text-shadow: 1px 2px 2px #000; padding: 30px 20px; }

.menuheader { padding: 20px 40px; text-align: center; font-weight: bold; color: #fff; text-decoration: none; text-shadow: 2px 2px 4px rgba(0,0,0,.5); background-color: #7E7585; }
.menucontent { margin-bottom: 20px; }
.menucontent img { width: 100%; }
.menucontent:last-child { margin-bottom: 0; }

.side-left ul, .side-left ul li, .side-right ul, .side-right ul li { list-style: none; text-decoration: none; }
.side-left ul, .side-right ul { margin-bottom: 10px; }

.sidebox-title { padding: 20px 40px; text-align: center; font-weight: bold; color: #fff; text-decoration: none; text-shadow: 2px 2px 4px rgba(0,0,0,.5); background-color: #7E7585; }
.sidebox-body { margin-bottom: 20px; padding: 20px; text-decoration: none; background-color: #fff; }

#form-container { width:100%; }
#searchinput {
	background:none repeat scroll 0 0 #fff;
	border:1px solid #aaa;
	border-right:none;
	border-radius:3px 0 0 3px;
	color:#5e5e5e;
	display:block;
	padding:10px;
	width:100%;
	-webkit-box-sizing:border-box;
	        box-sizing:border-box;
	font-size:17px;
	margin:0;
	outline:0;
	height:44px;
}
#searchtext { overflow:hidden; }
button.search-submit-button {
	background:none repeat scroll 0 0 #333;
	border:none;
	border-radius:0 3px 3px 0;
	color:#fff !important;
	text-shadow:2px 2px 2px rgba(0,0,0,.6);
	display:block;
	float:right;
	font-size:20px;
	padding:8px;
	text-align:center;
	width:50px;
	-webkit-box-sizing:border-box;
	        box-sizing:border-box;
	outline:0;
	height:40px;
	cursor:pointer;
}
button.search-submit-button:hover, button.search-submit-button:focus { background:none repeat scroll 0 0 #222; cursor:pointer; }

/*** MOBILE MENU ***/
.mobilenav {
	display: none;
	width: 100%;
	text-align: center;
	padding: 4px 2px 4px 2px;
}

.mobilenav a {
	color: #fff;
	background-color: #654E37;
	padding: 17px 8px;
	text-decoration: none;
	display: block;
	width: 100%;
	font-size: 100%;
}

.mobilenav .te {
	display: table;
	width: 100%;
}

.mobilenav .te .rw { display: table-row; }

.mobilenav .te .cl {
	display: table-cell;
	padding: 5px;
}

.mobilenav #mobilelinks { display: none; }
.mobilenav #mobilelinks a { background-color: #223; }
#mobilemenuicon { padding: 17px 4px 16px 4px; }

@media screen and (max-width: 1515px) {
	.wrapper { width: 100%; }
}

@media screen and (max-width: 1100px) {
	.navigationwrapper {
		grid-template-columns: auto auto auto auto auto auto;
	}
	.pagewrapper {
		grid-template-columns: auto 340px;
		grid-template-areas: 
			"page side-right"
			"page side-left";
	}
	.hide-on-md { display: none !important; }
}

@media screen and (max-width: 800px) {
	.pagewrapper {
		grid-template-columns: auto 50%;
		grid-template-areas: 
			"page page"
			"side-left side-right";
	}
	.mobilenav { display: block; }
	.hide-on-sm { display: none !important; }
	.block-on-sm { display: block !important; }
}

@media screen and (max-width: 600px) {
    .header { text-align:center; }
    .pagewrapper {
		grid-template-columns: auto;
		grid-template-areas: 
			"page"
			"side-right"
			"side-left";
	}
}

/*** HEADER QUOTES CONTAINER CSS ***/
#header_quotes_box {
	display: table;
	width: 100%;
}
#header_quotes_box_left {
	display: table-cell;
	width: 60%;
	vertical-align: bottom;
}
#header_quotes_box_left_logo {
	width: 300px;
}
#header_quotes_box_right {
	display: table-cell;
	width: 40%;
	vertical-align: bottom;
}
#header_quotes_box_right_inner {
	width: 100%;
	margin: 0 0 -25px 0;
	padding: 16px 8px 20px 8px;
	background-color: rgba(30,30,30,0.92);
	border: 4px solid #444;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 -30px 20px -20px rgba(0,0,0,0.8);
	text-shadow: 2px 2px 3px rgba(0,0,0,0.95);
	font-style: italic;
	font-size: 20px;
	color: #fff;
	text-align: center;
}
#header_quotes_box_right_inner a {
	text-decoration: none;
	font-size: 20px;
	color: #fff;
}
#header_quotes_box_right_inner a:hover {
	color: #ffa;
}
@media screen and (max-width: 800px) {
	#header_quotes_box {
		display: block;
	}
	#header_quotes_box_left,
	#header_quotes_box_right {
		display: block;
		width: 100%;
		text-align: center;
	}
	#header_quotes_box_right_inner {
		padding: 14px 5px 16px 5px;
		font-size: 100%;
		margin-top: 15px;
	}
	#header_quotes_box_right_inner a {
		font-size: 100%;
	}
}

/*** PAGE CONTENT BULLETED LISTS ***/

.page ul,
.page ol { 
	list-style-position: outside;
	margin-left:40px;
}

.page ul li,
.page ol li { margin-bottom:15px; }

.page ul ul,
.page ol ul,
.page ol ol,
.page ul ol { 
	margin-left: 20px;
}