﻿section.map div.map-wrapper div.map-list-options { 
	display: flex;
	flex-direction: row;
	align-items: start;
	/*grid-template-columns: auto 1px 100%;*/
	gap: 10px 20px;

	/*padding-top: 2px;*/
	margin-bottom: 20px;
}

section.map div.map-wrapper div.map-list-options div.filter-toggle,
section.map div.map-wrapper div.map-list-options div.switch,
section.map div.map-wrapper div.map-list-options div.cta { 
	margin-top: 0;
	display: flex;
	flex-direction: row;
	align-items: start;

	padding-right: 20px;
	border-right: 1px solid #000000;
}

section.map div.map-wrapper div.map-list-options div.filter-toggle:last-child,
section.map div.map-wrapper div.map-list-options div.switch:last-child,
section.map div.map-wrapper div.map-list-options div.cta:last-child { 
	padding-right: 0;
	border-right: none;
}

section.map div.map-wrapper div.map-list-options div.divider {
	display: flex;
	padding: 0;
	width: 1px;
	height: 100%;
}

section.map div.map-wrapper div.map-list-options.has-switch.has-cta.has-links {
	grid-template-columns: auto 1px auto 1px 1fr;
}

section.map div.map-wrapper div.map-list-options.has-switch.has-cta:not(.has-links),
section.map div.map-wrapper div.map-list-options.has-cta.has-links:not(.has-switch) {
	grid-template-columns: auto 1px 1fr;
}

section.map div.map-wrapper div.map-list-options.has-switch:not(.has-cta):not(.has-links),
section.map div.map-wrapper div.map-list-options.has-cta:not(.has-switch):not(.has-links),
section.map div.map-wrapper div.map-list-options.has-links:not(.has-switch):not(.has-cta) {
	grid-template-columns: auto;
}

section.map div.map-wrapper div.map-list-options div.cta {
	padding-top: 2px;
}

section.map div.map-wrapper div.map-list-options div.cta > :last-child { 
	margin-bottom: 0;
}

svg path[data-code*="-DIVIDER"] {
	fill: none;
	stroke-width: 1px;
	stroke-opacity: 0.66;
	stroke: var(--hl-dark-green);
	stroke-dasharray: 2 6;
}

svg path[data-code*="-SUBDIVIDER"] {
	fill: none;
	stroke-width: 1px;
	stroke-opacity: 0.55;
	stroke: var(--hl-dark-green);
	stroke-dasharray: 2 10;
}


section.map div.introduction { 
	margin-bottom: 30px;
}

section.map.tpp-theme-dark-green div.divider { 
	background-color: var(--hl-dark-green);
}

section.map div.map-wrapper div.map-list-options div.switch-control {
	white-space: nowrap;
}

section.map div.map-wrapper div.map-container { 
	position: relative;
	z-index: 1;
}

section.map div.map-wrapper div.map-container .main-vector-map { 
	position: relative;
	z-index: 1;
}

section.map div.map-wrapper div.ungrouped-jurisdictions.grid-2 {
	gap: 10px;
}

section.map div.map-wrapper a.jr-link {
	border: none;
	background-color: var(--hl-light-taupe);
	font-family: Roobert, sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--hl-dark-green);
}

section.map div.map-wrapper a.jr-link.no-action { 
	pointer-events: none;
	opacity: 0.6;
}

section.map div.map-wrapper a.jr-link.no-action:after {
	display: none;
}

section.map div.map-wrapper a.jr-link:after {
	right: 19px;
	background-image: url("/_assets/btn-arrow-hl-dark-green.png");
}

section.map div.map-wrapper a.jr-link:not(.light-bg):not(.dark-bg):hover {
	background-color: var(--hl-dark-green);
	color: #ffffff !important;
}

section.map div.map-wrapper a.jr-link:not(.light-bg):not(.dark-bg):hover:after {
	background-image: url("/_assets/btn-arrow-hl-light-green.png");
}

section.map div.map-wrapper a.jr-link.light-bg {
	color: var(--hl-dark-green);
}

section.map div.map-wrapper a.jr-link.dark-bg {
	color: #ffffff;
}

section.map div.map-wrapper a.jr-link.dark-bg:after {
	background-image: url("/_assets/btn-arrow-hl-light-green.png");
}

section.map div.map-wrapper a.jr-link.light-bg:hover,
section.map div.map-wrapper a.jr-link.dark-bg:hover {
	background-color: var(--hl-dark-green)!important;
	color: #ffffff!important;
}

section.map div.map-wrapper a.jr-link.light-bg:hover:after,
section.map div.map-wrapper a.jr-link.dark-bg:hover:after { 
	background-image: url("/_assets/btn-arrow-hl-light-green.png");
}

section.map.tpp-theme-dark-green div.map-wrapper a.jr-link.light-bg:hover,
section.map.tpp-theme-dark-green div.map-wrapper a.jr-link.dark-bg:hover {
	background-color: var(--hl-taupe) !important;
	color: var(--hl-dark-green) !important;
}

section.map.tpp-theme-dark-green div.map-wrapper a.jr-link.light-bg:hover:after,
section.map.tpp-theme-dark-green div.map-wrapper a.jr-link.dark-bg:hover:after {
	background-image: url("/_assets/btn-arrow-hl-dark-green.png");
}


section.map div.map-wrapper div.list-view div.columns {
	display: flex;
	flex-direction: row;
	gap: 10px 20px;
	align-items: start;
	;
}

section.map div.map-wrapper div.list-view div.columns div.column { 
	flex-basis: 50%;
}

section.map div.map-wrapper div.list-view div.columns div.column div.region:not(:first-child) { 
	margin-top: 10px;
}

section.map div.map-wrapper button.region-expander { 
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	justify-content: space-between;
	padding: 8px 16px;
	background-color: var(--hl-taupe);
	color: var(--hl-dark-green);
	font-family: Roobert, sans-serif;
	font-size: 16px;
	font-weight: 500;
	width: 100%;
	text-align: left;
}

section.map div.map-wrapper button.region-expander:hover { 
	background-color: var(--hl-dark-green);
	color: #ffffff!important;
}

section.map div.map-wrapper button.region-expander:after {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url("/_assets/icon-plus-hl-dark-green.png");
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

section.map div.map-wrapper button.region-expander:hover:after { 
	background-image: url("/_assets/icon-plus-hl-light-green.png");
}

section.map div.map-wrapper button.region-expander.expanded:after { 
	background-image: url("/_assets/icon-minus-hl-dark-green.png");
}

section.map div.map-wrapper button.region-expander.expanded:hover:after {
	background-image: url("/_assets/icon-minus-hl-light-green.png");
}

section.map div.map-wrapper div.region-jurisdictions {
	padding-bottom: 10px;
	display: none;
}

section.map div.map-wrapper div.region-jurisdictions a.jr-link {
	margin-top: 10px;
}

section.map div.map-tags-key { 
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px;
	background-color: rgba(var(--hl-dark-green-rgb), 0.1);
	display: inline-flex;
	flex-direction: column;
	gap: 0px;
	z-index: 3;
	max-width: 250px;
}

section.map div.map-tags-key div.map-tags-key-options { 
	display: flex;
	flex-direction: column;
}

section.map div.map-tags-key p.title {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 10px;
}

section.map div.map-tags-key button {
	display: inline-flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	padding: 2px 10px 2px 0;
	background-color: transparent;
	font-family: Roobert, sans-serif;
	font-size: 14px;
	color: var(--hl-dark-green);
	font-weight: 300;
}

section.map div.map-tags-key button.unselected { 
	opacity: 0.4;
}

section.map div.map-tags-key button:hover {
	background-color: rgba(var(--hl-dark-green-rgb), 0.1);
}

section.map div.map-tags-key button span.indicator {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-color: red;
}

section.map div.map-list-views div.map-view,
section.map div.map-list-views div.list-view {
	display: none;
	padding-bottom: 20px;
	position: relative;
}

section.map div.map-list-views.map div.map-view-popup-container {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.25);
	z-index: 100;
	border-radius: 3px;
	box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.25);
}

section.map div.map-list-views.map div.map-view-popup {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	max-height:calc(100% - 20px);
	width: 25vw;
	max-width: 500px;
	background-color: #ffffff;
	padding: 0;
	border-radius: 5px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
}

section.map div.map-list-views.map div.map-view div.map-view-popup div.header { 
	position: relative;

	padding: 10px 40px 10px 15px;

	flex-shrink: 0;

	display: flex; flex-direction: row;
	gap: 14px;

	font-size: 18px;
	font-weight: 600;

	border-bottom: 1px solid var(--hl-dark-green);
}

section.map div.map-list-views.map div.map-view div.map-view-popup div.header button.btn-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 18px;
	height: 18px;
	background-image: url("/_assets/icon-close-hl-dark-green.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent;
}

section.map div.map-list-views.map div.map-view div.map-view-popup div.header img.flag {
	width: 32px;
	height: 32px;
}

section.map div.map-list-views.map div.map-view div.map-view-popup div.header p.name {
	font: inherit;
	color: inherit;
	padding-top: 2px;
	margin: 0;
}

section.map div.map-list-views.map div.map-view div.map-view-popup div.content {
	font-size: 14px;
	color: var(--hl-dark-green);
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 15px;
}

section.map div.map-list-views.map div.map-view div.map-view-popup div.content > :last-child { 
	margin-bottom: 0;
}

section.map div.map-list-views.map div.map-view div.map-view-popup div.link {
	border-top: 1px solid var(--hl-dark-green);
	padding: 15px;
	flex-shrink: 0;
}

section.map div.map-list-views.map div.map-view {
	display: block;
}

section.map div.map-list-views.list div.list-view {
	display: block;
}

section.map div.map-list-options div.links {
	padding-top: 2px;
	display: flex;
	flex-direction: row;
	gap: 10px 20px;
	flex-wrap: wrap;
}

section.map div.map-list-options div.links a,
section.map div.map-list-options div.links button {
	text-decoration: none;
	display: inline-flex;
	flex-direction: row;
	gap: 8px;
	align-items: center;
	font-family: Roobert, sans-serif;
	font-size: 15px;
	font-weight: 300;
	color: var(--hl-dark-green);
	background-color: transparent;
	line-height: 1;
}

section.map div.map-list-options div.links a:before,
section.map div.map-list-options div.links button:before {
	content: "";
	width: 14px;
	height: 14px;
	border: 1px solid var(--hl-dark-green);
	border-radius: 50%;
}

section.map div.map-list-options div.links a:hover:before,
section.map div.map-list-options div.links button:hover:before {
	box-shadow: inset 0 0 0 2px #ffffff;
	background-color: var(--hl-dark-green);
}

div.jvectormap-tip.hover-popup {
	font-family: Roobert, sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #ffffff;
	max-width: 300px;
	padding: 0;
	z-index: 10000;
	border: none;
	box-shadow: 0 0 3px 3px rgba(var(--hl-dark-green-rgb), 0.2);
}

div.jvectormap-tip.hover-popup div.title { 
	font-size: 18px;
	font-weight: 600;
	padding: 10px 15px;
}

div.jvectormap-tip.hover-popup div.content { 
	font-size: 14px;
	font-weight: 400;
	background-color: #ffffff;
	color: var(--hl-dark-green);
	padding: 10px 15px;
}


div.jvectormap-tip.hover-popup p,
div.jvectormap-tip.hover-popup a,
div.jvectormap-tip.hover-popup li {
	font: inherit;
	color: inherit;
}

div.jvectormap-tip.hover-popup > :last-child,
div.jvectormap-tip.hover-popup div.content > :last-child {
	margin-bottom: 0;
}

/*** Themes ***/
/*
	dark-green
	light-taupe
	white
*/


section.map.tpp-theme-dark-green svg path[data-code*="-DIVIDER"] {
	stroke: var(--hl-light-green);
}

section.map.tpp-theme-dark-green svg path[data-code*="-SUBDIVIDER"] { 
	stroke-opacity: 1;
	stroke: #999999;
}

section.map.tpp-theme-light-taupe div.map-wrapper button.region-expander {
	background-color: #ffffff;
}

section.map.tpp-theme-light-taupe div.map-wrapper button.region-expander:hover { 
	background-color: var(--hl-dark-green);
	color: #ffffff;
}

section.map.tpp-theme-light-taupe div.map-wrapper a.jr-link {
	background-color: var(--hl-taupe);
}

section.map.tpp-theme-dark-green div.section-title,
section.map.tpp-theme-dark-green div.introduction { 
	color: #ffffff;
}


section.map.tpp-theme-light-taupe div.map-wrapper a.jr-link:not(.light-bg):not(.dark-bg):hover {
	background-color: var(--hl-dark-green);
}

section.map.tpp-theme-dark-green div.switch-control .status-text {
	color: #ffffff;
}

section.map.tpp-theme-dark-green div.switch-control span.switch-control-toggle { 
	box-shadow: 0 0 0 2px #ffffff;
}

section.map.tpp-theme-dark-green div.switch-control span.switch-control-toggle:before { 
	background-color: var(--hl-light-green);
}

section.map.tpp-theme-dark-green div.divider { 
	background-color: var(--hl-light-green);
}

section.map.tpp-theme-dark-green div.map-tags-key p.title,
section.map.tpp-theme-dark-green div.map-tags-key button {
	color: #ffffff;
}

section.map.tpp-theme-dark-green div.map-wrapper button.region-expander {
	background-color: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

section.map.tpp-theme-dark-green div.map-wrapper button.region-expander:hover { 
	background-color: rgba(255, 255, 255, 0.8);
	color: var(--hl-dark-green)!important;
}

section.map.tpp-theme-dark-green div.map-wrapper button.region-expander:after {
	background-image: url("/_assets/icon-plus-hl-light-green.png");
}

section.map.tpp-theme-dark-green div.map-wrapper button.region-expander.expanded:after { 
	background-image: url("/_assets/icon-minus-hl-light-green.png");
}

section.map.tpp-theme-dark-green div.map-wrapper button.region-expander:hover:after { 
	background-image: url("/_assets/icon-plus-hl-dark-green.png");
}

section.map.tpp-theme-dark-green div.map-wrapper button.region-expander.expanded:hover:after {
	background-image: url("/_assets/icon-minus-hl-dark-green.png");
}

section.map.tpp-theme-dark-green div.map-wrapper a.jr-link:not(.light-bg):not(.dark-bg) {
	background-color: rgba(255, 255, 255, 0.25);
	color: #ffffff!important;
}

section.map.tpp-theme-dark-green div.map-wrapper a.jr-link:not(.light-bg):not(.dark-bg):after {
	background-image: url("/_assets/btn-arrow-hl-light-green.png");
}

section.map.tpp-theme-dark-green div.map-wrapper a.jr-link:not(.light-bg):not(.dark-bg):hover {
	background-color: #ffffff;
	color: var(--hl-dark-green) !important;
}

section.map.tpp-theme-dark-green div.map-wrapper a.jr-link:not(.light-bg):not(.dark-bg):hover:after {
	background-image: url("/_assets/btn-arrow-hl-dark-green.png");
}

section.map.tpp-theme-dark-green div.map-list-options div.links a,
section.map.tpp-theme-dark-green div.map-list-options div.links button { 
	color: #ffffff;
}

section.map.tpp-theme-dark-green div.map-list-options div.links a:before,
section.map.tpp-theme-dark-green div.map-list-options div.links button:before {
	border-color: #ffffff;
}

section.map.tpp-theme-dark-green div.map-list-options div.links a:hover:before,
section.map.tpp-theme-dark-green div.map-list-options div.links button:hover:before {
	box-shadow: inset 0 0 0 2px var(--hl-dark-green);
	background-color: var(--hl-light-green);
}

section.map.tpp-theme-dark-green div.map-wrapper div.map-list-options div.divider {
	border-color: var(--hl-light-green);
}

section.map.tpp-theme-dark-green div.map-wrapper div.map-list-options div.cta p { 
	color: #ffffff;
}

@media (max-width: 800px) {
	section.map div.map-tags-key {
		position: relative;
		max-width: initial;
		margin-top: 30px;
		width: auto;
	}

	section.map div.map-tags-key div.map-tags-key-options { 
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 5px 10px;
	}
}

@media (max-width: 640px) {
	section.map div.map-wrapper div.list-view div.columns { 
		flex-direction: column;
	}

	section.map div.map-wrapper div.list-view div.columns div.column { 
		width: 100%;
	}

	section.map div.map-wrapper div.map-list-options.has-switch.has-cta.has-links,
	section.map div.map-wrapper div.map-list-options.has-switch.has-cta:not(.has-links),
	section.map div.map-wrapper div.map-list-options.has-cta.has-links:not(.has-switch) {
		grid-template-columns: auto;
	}

	section.map div.map-wrapper div.map-list-options div.divider {
		display: inline;
		width: auto;
		height: 0px;
		border-top: 1px dotted var(--hl-dark-green);
		padding: 0;
		background-color: transparent;
	}
}


@media (max-width: 500px) {
	.main-vector-map { 
		height: 380px;
	}

	section.map div.map-wrapper div.ungrouped-jurisdictions.grid-2 {
		grid-template-columns: 100%;
	}

	section.map div.map-tags-key div.map-tags-key-options {
		grid-template-columns: repeat(2, 1fr);
	}
}
