﻿.mapwrapper {
	max-width: 1920px;
	margin: 0 auto 4rem;
	padding: 0 0;
	background-color: transparent;
	min-width: 220px;
}

.map-legend {
	max-width: 640px;
	margin: 0 auto;
	padding: 20px 10px 0;
	text-align: center;
}

.map-legend img {
	max-width: 100%;
}

.map_base svg {
	max-height: 100%;
	width: 100%;
	margin: 0;
}

.map_region {
	fill: #5A80C7;
	stroke: #ffffff;
}

.region:hover .map_region {
	fill: #1C3563;
}

.lakes {
	fill: transparent;
	stroke: #FFFFFF;
}

.region text,
.text-abb {
	fill: #ffffff;
}

.outside-text text,
.sm-text-abb {
	fill: #5A80C7;
}

/* IE11 workaround for map SVG sizing */
@media screen and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.map_base svg {
		min-height: 100vh;
	}
}

.map-tip {
	font-size: 1em;
	background-color: #fff;
	border-radius: .25em;
	box-shadow: 0 4px 16px 0 rgba(0,0,0,.03);
    display: none;
    float: left;
    padding: .25em .75em;
    position: absolute;
    white-space: nowrap;
    word-break: keep-all;
    z-index: 1000;
}

.map-tip:before {
	border: .4em solid transparent;
	border-bottom-color: #fff;
	content: "";
	position: absolute;
	top: -0.7em;
	left: 0.4em;
	z-index: 1;
}