html {
	height: 100%;
	overflow-x: auto;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: #FBFBFB;
	margin: 0;
	padding: 0;
}

a {
	color: #58A351;
}

#body {
	font-family: "Avenir Next", sans-serif;
	font-size: 21px;
	padding-bottom: 140px;
	width: 100%;
}

#body .wrapper {
	background-image: url("../images/leaf.png");
	background-position: 0 30px;
	background-repeat: no-repeat;
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 800px;
	min-height: 200px;
	padding: 30px 10px;
	width: 100%;
}

header {
	font-family: Arial, Verdana, sans-serif;
	font-size: 1.1em;
	padding-bottom: 30px;
}

header div {
	color: #555;
	margin: 10px 0 12px 160px;
}

.nav-shell {
	margin-bottom: 40px;
	position: relative;
}

.nav-menu-toggle {
	background-color: #F4F7F4;
	border: 1px solid;
	border-color: #DDD #AAA #AAA #DDD;
	border-radius: 8px;
	box-sizing: border-box;
	color: #333;
	cursor: pointer;
	display: none;
	font-family: Arial, Verdana, sans-serif;
	font-size: 0.95em;
	line-height: 1.3;
	padding: 0.65rem 0.75rem;
	text-align: center;
	width: 100%;
}

.nav-menu-toggle:hover {
	background-color: #FFF;
	color: #333;
}

.nav-menu-toggle:focus {
	outline: 2px solid #58A351;
	outline-offset: 2px;
}

#navigation {
	background-color: #F4F7F4;
	border: 1px solid;
	border-color: #DDD #AAA #AAA #DDD;
	border-radius: 8px;
	display: table;
	font-family: Arial, Verdana, sans-serif;
	font-size: 0.8em;
	line-height: 2.2em;
	width: 100%;
}

#navigation span {
	display: table-cell;
	text-align: center;
	width: 25%;
}

#navigation a {
	border-left: 1px solid #FFF;
	border-right: 1px solid #DDD;
	color: #666;
	display: block;
	text-decoration: none;
	text-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px;
}

#navigation span:first-child a {
	border-left: 0 none;
}

#navigation span:last-child a {
	border-right: 0 none;
}

#navigation a:hover {
	color: #333;
}

#navigation a.selected,
#navigation a.selected:hover {
	color: #58A351;
	cursor: default;
	text-shadow: rgba(0, 0, 0, 0.2) 0 1px 2px;
}

#content {
	color: #333;
	font-size: 0.9em;
	line-height: 1.4em;
}

#content .hidden {
	display: none;
}

#content table {
	margin-bottom: 20px;
}

#content p b span {
	display: block;
	margin-bottom: 0.6em;
}

#content td {
	padding: 0 10px;
	vertical-align: top;
}

#content img {
	border: 1px solid;
	border-color: #DDD #AAA #AAA #DDD;
	border-radius: 8px;
	max-width: 180px;
}

#content p {
	margin: 0 10px 1em;
}

#content td p {
	margin: 0 0 1em;
}

#content ul.credentials {
	list-style-type: circle;
}

/* Home / About: image column + text column (wide); small screens use float wrap (see @media) */
.image-columns {
	align-items: flex-start;
}

.image-columns .image-column {
	flex: 0 0 auto;
}

.image-columns .image-column img {
	display: block;
	height: auto;
	max-width: 100%;
	width: auto;
}

.image-columns .text-column {
	flex: 1 1 0;
}

#content .image-columns .text-column > p,
#content .image-columns .text-column > ul.credentials {
	margin: 0 10px 1em;
}

#content .image-columns .text-column > ul.credentials {
	padding-left: 1.25em;
}

#content .image-columns .text-column > p.title {
	margin-bottom: 0.35em;
}

#content .image-columns .text-column > p.title + ul.credentials {
	margin-top: 0;
}

#footer {
	background-color: #CAD1E4;
	border-top: 1px solid #BDDFC7;
	bottom: 0;
	font-family: Arial, Verdana, sans-serif;
	font-size: 17px;
	padding: 0 0 30px;
	position: fixed;
	text-shadow: rgba(0, 0, 0, .1) 0 1px 1px;
	width: 100%;
}

#separator {
	background-color: #58A351;
	border-bottom: 1px solid #669567;
	border-top: 1px solid #699862;
	height: 6px;
	margin: 0 0 10px;
	width: 100%;
}

#contacts {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 800px;
	padding: 0 20px;
	width: 100%;
}

#contacts td {
	line-height: 22px;
}

.title {
	font-size: 1.4em;
	font-weight: bold;
}

header div.title {
	text-shadow: rgba(0, 0, 0, 0.25) 0 1px 4px;
}

header div.caption {
	text-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px;
}

#content .title {
	font-size: 1.1em;
}

.subtitle {
	font-size: .9em;
	font-style: italic;
}

.green {
	color: #5F9E57;
}

.columns-container {
	display: flex;
	flex-direction: row;
	gap: 20px;
	padding: 0;
}

#content .columns-container {
	padding: 0 8px;
}

.italic {
	font-style: italic;
}

.no-wrap {
	white-space: nowrap;
}

.ta-left {
	text-align: left;
}

.ta-right {
	text-align: right;
}

.w-40 {
	width: 40%;
}

.w-60 {
	width: 60%;
}

.contact-button {
	padding: 15px;
	text-align: center;
}

.contact-button a {
	background-color: #F4F8F4;
	border-radius: 10px;
	border-style: solid;
	border-width: 2px;
	box-shadow: rgba(0, 0, 0, 0.3) 0 0 3px;
	display: inline-block;
	font-size: 1.2em;
	font-family: Helvetica Neue;
	padding: 10px 20px;
	text-decoration: none;
}

.contact-button a:hover {
	background-color: #FFF;
}

@media screen and (max-width: 600px) {
	#body {
		font-size: 18px;
		padding-bottom: 100px;
	}

	#body .wrapper {
		background-position: 10px 20px;
		background-size: 100px auto;
		padding: 20px 1rem 30px;
	}

	header {
		font-size: 1em;
		padding-bottom: 10px;
	}
	
	header div {
		font-size: 1em;
		margin-left: 110px;
	}

	.nav-shell {
		margin-bottom: 20px;
	}
	
	.nav-menu-toggle {
		display: block;
	}

	#navigation {
		display: none;
		line-height: normal;
		margin-bottom: 0;
		margin-top: 0.5rem;
	}

	#navigation.is-open {
		display: block;
	}

	#navigation span {
		display: block;
		text-align: center;
		width: 100%;
	}

	#navigation a {
		border-left: 0 none;
		border-right: 0 none;
		border-bottom: 1px solid #EEE;
		border-top: 1px solid #FFF;
		padding: 0.65rem 0.75rem;
	}

	#navigation span:first-child a {
		border-top: 0 none;
	}

	#navigation span:last-child a {
		border-bottom: 0 none;
	}

	#content .columns-container {
		flex-direction: column;
	}

	#content .columns-container .w-40,
	#content .columns-container .w-60 {
		width: 100%;
	}

	#content .columns-container.image-columns {
		display: block;
		flex-direction: unset;
		gap: 0;
	}

	#content .image-columns .image-column,
	#content .image-columns .text-column {
		display: contents;
	}

	#content .image-columns::after {
		clear: both;
		content: "";
		display: table;
	}

	#content .image-columns img {
		margin: 0 auto 1.5rem;
		max-width: 200px;
	}

	#content .image-columns img + p,
	#content .image-columns img + ul {
		margin-top: 0;
	}

	#footer {
		font-size: 14px;
		padding: 0 0 20px;
		white-space: nowrap;
	}

	#contacts {
		padding: 0 1.25rem;
	}

	#contacts .columns-container {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.title {
		font-size: 1.3em;
	}
}
