
/* 
===============================
CONTENT BLOCKS
===============================
*/

.hidden {
	display: none; 
}

div#full_width_external_container,
div#full_width_internal_container {
	display: block; 
	width: 100%; 
	margin: 0; 
	padding: 0; 
}

article.for-wide-browser {
	display: block; 
	width: 100%; 
	padding: 0; 
	margin: 0; 
}

article.for-narrow-browser { display: none; }

@media screen and (max-width : 910px)
{

	article.for-wide-browser { display: none; }

	article.for-narrow-browser { 
		display: block; 
		float: none; 
		margin: 0 auto !important; 
	}

}

div#map-container {
	display:block; 
	width: 100%;
/*	height: calc(100% - 450px); */
	height: 100vh; 
	min-height: 900px; 
	background-color: white;
}

#mapboxgl-canvas {
	z-index: 0;
}

/* 
===============================
TOP NAVIGATION BAR
===============================
*/

nav#map-nav-bar {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap; 
	justify-content: center;
	align-items: stretch;
	align-content: stretch; 
	gap: 15px;
	height: auto;
	width: calc( 100% - 140px ); 
	padding: 10px 70px 10px 70px; 
	background-color: rgba( 18 , 68 , 103 , 0.7 );
	z-index: 1;
	position: absolute;
	font-family: adelle, serif;
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 400;
}

nav#map-nav-bar div.nav-bar-item {
	flex: none; 
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap; 
	justify-content: center;
	align-items: stretch;
	margin: 0;
	gap: 0; 
}

nav#map-nav-bar div#map-layers-label-container, 
nav#map-nav-bar div#about-this-map-toggle-container {
	flex: 1; 
	align-items: center;
}

nav#map-nav-bar div#restoration-sites-toggle-container, 
nav#map-nav-bar div#species-at-risk-toggle-container,
nav#map-nav-bar div#current-oak-meadows-toggle-container,
nav#map-nav-bar div#historic-oak-meadows-toggle-container {
	flex: 2; 
}

img.icon_left {
	width: 20px; 
	height: 20px;
	margin: 0 0.3rem 0 0 !important;
}

img.icon_top {
	width: 20px; 
	height: 20px;
	margin: 0 0 0.1rem 0 !important;
	clear: both; 
}

nav#map-nav-bar div#map-layers-label-container {
	opacity: 0.8; 
	font-style: italic; 
}

button.layer-toggle {
	height: auto; 
	font-size: 0.7rem;
	display: flex;
	align-items: center;
	padding: 8px;
	border: none;
}

button.layer-toggle img.icon_blue {
	display: block; 
}

button.layer-toggle img.icon_white {
	display: none; 
}

button.layer-toggle.active img.icon_blue {
	display: none; 
}

button.layer-toggle.active img.icon_white {
	display: block; 
}

button.full-button {
	width: 100%; 
	height: 100%; 
	border-radius: 7px;
	border-width: 2px; 
	border-style: solid; 
	border-color: white; 
	margin: 0; 
	text-align: center; 
}

button.left-half-button {
	flex: 3; 
	border-radius: 7px 0px 0px 7px;
	border-width: 2px 0 2px 2px; 
	border-style: solid; 
	border-color: white; 
	margin: 0; 
	text-align: center; 
}

button.right-half-button {
	flex: 2; 
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap; 
	justify-content: center;
	border-radius: 0px 7px 7px 0px;
	border-width: 2px 2px 2px 0; 
	border-style: solid; 
	border-color: white; 
	margin: 0; 
	text-align: center; 
	font-style: italic; 
}

nav#map-nav-bar div button {
	opacity: 0.95; 
}

nav#map-nav-bar div:hover button {
	border-color: #702d3d;
	opacity: 1; 
}

button#restoration-sites-toggle, 
button#species-at-risk-toggle, 
button#current-oak-meadows-toggle, 
button#historic-oak-meadows-toggle {
	color: #146;
	background-color: white; 
}

button#restoration-sites-filters-toggle,  
button#species-at-risk-types-toggle {
	color: #146;
	background-color: #E2EEF6; 
}

button#about-this-map-toggle {
	color: #edd446;
	background-color: #146;
	border-color: #146;
}

button#about-this-map-toggle:hover {
	background-color: #702d3d !important;
	background: #702d3d !important;	
}

button.active {
	color: white !important;
	opacity: 1 !important; 
}

button#restoration-sites-toggle.active {
	background-color: rgb(104, 50, 119);
}

button#restoration-sites-filters-toggle.active {
	background-color: rgb(167, 123, 185);
}

button#species-at-risk-toggle.active {
	background-color: rgb(72,130,89);
}

button#species-at-risk-types-toggle.active {
	background-color: rgb(116, 186, 143);
}

button#current-oak-meadows-toggle.active {
	background-color: rgb(108, 80, 34);
}

button#historic-oak-meadows-toggle.active {
	background-color: rgb(228, 164, 59);
}

/* 
===============================
POP-UP WINDOWS
===============================
*/

section.pop-up-window-container
{
	display: none; 
	position: absolute;
	z-index: 2;
	margin: 0; 
	padding: 0; 
	background-color: #d8e4f0;
	border-radius: 7px;
	border: 1px solid white;
	box-shadow: 2px 4px 10px 3px rgba(0, 0, 0, 0.4);
	max-height: 700px;
}

section#restoration-sites-filters, 
section#species-at-risk-types {
	display: none;
	margin: 100px auto auto 60px;
	width: 50%;
}

section.pop-up-window-container header
{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap; 
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch; 
	gap: 15px;
	height: auto;
	width: calc( 100% - 30px ); 
	padding: 10px 15px; 
	border-radius: 7px 7px 0px 0px;
	color: white;
}

div.pop-up-window-label
{
	font-family: adelle-sans, sans-serif;
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 400; 
	font-style: italic; 
	text-align: left;
}

div.top-bar-close-button 
{
	font-family: adelle-sans, sans-serif;
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 400; 
	font-style: normal; 
	text-align: right;
	opacity: 0.6;
}

div.top-bar-close-button:hover {
	opacity: 1; 
	cursor: pointer;
}

section#restoration-sites-filters header {
	background-color: rgb(104, 50, 119);
}

section#species-at-risk-types header {
	background-color: rgb(36, 137, 75);
}

section#individual-restoration-site-info header {
	background-color: rgb(104, 50, 119);
}

section#about-this-map header {
	background-color: #8a7927;
}

section.pop-up-window-container div.pop-up-body
{
	display: flex;
	flex-direction: column;
	padding: 10px;
	overflow: auto;
}

/* 
===============================
FILTER LAYER BUTTONS
===============================
*/

.filter-toggle-button {
	display: block; 
	clear: none; 
	float: left;
	margin: 0px 10px 10px 0px;
	padding: 6px 13px; 
	border-radius: 7px;
	border: none; 
	font-family: adelle-sans, sans-serif;
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 400; 
	font-style: normal; 
}

.filter-toggle-button-inactive, 
.restoration-sites-filter-button-inactive {
	color: rgb(69, 86, 137);
	background-color: white; 
}

.filter-toggle-button-inactive:hover, 
.restoration-sites-filter-button-inactive:hover {
	color: white;
	background-color: #888; 
}

/* 
===============================
POP-UP WINDOW - SPECIES AT RISK
===============================
*/

button.Ecological-Community-active {
	color: white;
	background-color: rgb(159, 73, 91);
}

button.Vascular-Plant-active {
	color: white;
	background-color: rgb(77, 122, 153);
}

button.Nonvascular-Plant-active {
	color: white;
	background-color: rgb(56, 126, 92);
}

button.Vertebrate-Animal-active {
	color: white;
	background-color: rgb(203, 171, 52);
}

/* 
===============================
POP-UP WINDOW - RESTORATION SITES
===============================
*/

div.restoration-sites-filter-category {
	margin-bottom: 10px;
	border-bottom: 1px solid white;
}

div.restoration-sites-filter-category:last-of-type {
	margin-bottom: 0px;
}

div.options-category-title {
	margin: 0 0 10px 0;
	font-family: adelle-sans, sans-serif;
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 400; 
	font-style: italic; 
	text-align: left;
	color: #546270; 
}

/* change to button? */
div.restoration-sites-filter-button-active, 
button.restoration-sites-filter-button-active {
	color: white;
	background-color: rgb(104, 50, 119);
}

div#restoration-sites-search-container {
	display: flex;
	flex-direction: row;
	justify-content: center; 
	align-items: stretch;
	gap: 0; 
	padding: 10px; 
}

div#restoration-sites-search-container div.options-category-title {
	flex: 2; 
	padding: 5px;
	margin: 0; 
	text-align: right; 
}

input#restoration-sites-search-input {
	flex: 4; 
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 5px;
	margin: 0 0 0 10px; 
	font-family: adelle-sans, sans-serif;
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 600; 
	font-style: normal; 
	color: white; 
	background-color: #546270 !important;
	outline: none;
}

input#restoration-sites-search-input::placeholder {
	color: #d8e4f0; 
	font-style: italic; 
	font-weight: 400; 
}

button#restoration-sites-search-button, 
button#restoration-sites-clear-search {
	flex: 1; 
	padding: 5px;
	margin: 0 0 0 10px; 
	border: none;
	border-radius: 3px; 
	color: white; 
	background-color: #369; 
}

button#restoration-sites-search-button:hover, 
button#restoration-sites-clear-search:hover {
	color: white; 
	background-color: #702d3d !important;
}

/* 
===============================
POP-UP WINDOW - INDIVIDUAL RESTORATION SITE
===============================
*/

section#individual-restoration-site-info {
	display: none;
	margin: 0;
	background-color: white;
	top: 100px;
	right: 30px;
	width: 25%;
	min-width: 200px;
	height: auto; 
}

div#individual-restoration-site-info-body {
	min-height: 150px;
	max-height: 700px;
	overflow: auto;
	font-family: adelle-sans, sans-serif;
	font-size: 0.7rem;
	line-height: 1.3;
	text-align: left;
	background-color: white;
}

h4.site-info-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0; 
	color: #683277;
}

div.site-info-status {
	margin: 15px 0 0 0;
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 600;
	font-style: italic; 
	color: #683277;
}

h5.site-info-category {
	display: none; 
	margin: 15px 0 0 0;
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0; 
	text-transform: uppercase; 
}

div.site-info-item {
	margin: 15px 0 0 0; 
	font-size: 0.7rem;
	line-height: 1.3;
	font-weight: 400;
}

div.site-info-item strong {
	font-weight: 600;
	text-transform: uppercase; 
	margin: 0 0.25rem 0 0; 
	color: #528261;
}

/* 
===============================
POP-UP WINDOW - RESTORATION SITES
===============================
*/

section#about-this-map {
	display: none;
	margin: 0;
	background-color: white;
	top: 100px;
	left: 60px; 
	width: 800px;
	max-width: 800px; 
	margin: 0 auto; 
	height: auto; 
}

div#about-this-map-body {
	min-height: 150px;
	max-height: 700px;
	overflow: auto;
	background-color: white;
	margin-bottom: 30px; 
}


div#about-this-map-body h2
{
	text-transform: uppercase;
	font-size: 1rem;
	font-family: adelle, serif;
	letter-spacing: 0.05rem;
	line-height: 30px;
	font-weight: 600 !important;
	margin: 30px 0 0 0;
	color: #528261;
}

div#about-this-map-body p, ol, li
{
	font-family: minion-pro, serif;
	font-variant-numeric: oldstyle-nums;
	font-feature-settings: "onum";
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
}

div#about-this-map-body p { margin: 30px 0 0 0; }

div#about-this-map-body ol { margin: 0; }

div#about-this-map-body ol li { margin-top: 30px; }

/* 
===============================
POP-UP WINDOW - SPECIES AT RISK
===============================
*/

div.species-at-risk-info-body {
	display: block; 
	margin: 0 0 15px 0; 
	padding: 0; 
	font-family: adelle-sans, sans-serif;
	font-size: 0.7rem;
	line-height: 1.3;
	text-align: left;
}

div.species-at-risk-info-body div.pop-up-window-label {
	padding: 10px; 
	margin: 0 20px 0 0; 
	color: white;
	background-color: rgb(72,130,89);
}

h4.species-at-risk-type {
	margin: 15px 10px 10px 10px !important;
	padding: 0; 
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0; 
	color: rgb(72,130,89);
}

div.species {
	margin: 10px 10px 0 10px; 
}

div.species em {
	color: #889988; 
}

