html, body {
	height: 100%;
	width: 99.5%;
	margin: auto;
	}

body {
	font-family: 'Open Sans', sans-serif;
	}

h2 {
	font-size: 20px; 
	color: #777;
	}

#map { 
	width: 100%;
	height: 450px; 	
	z-index: 1;	
	}
	@media (max-width: 40em) {
		#map {
		height: 400px;	
		}
	}

.info { 
	padding: 6px 8px; 
	font: 14px/16px Arial, Helvetica, sans-serif; 
	background: white; 
	background: rgba(255,255,255,0.8); 
	box-shadow: 0 0 15px rgba(0,0,0,0.2); 
	border-radius: 5px; 
} 

.info h3 { 
	margin: 0 0 7px; 
	color: #777; 
	font-size: 16px;
	}

.info h4 { 
	margin: 0 0 7px; 
	color: black; 
	font-size: 15px;
	}
			
.legend { 
	text-align: left; 
	line-height: 18px; 
	color: #555; 
	} 
		
.legend i { 
	width: 18px; 
	height: 18px; 
	float: left; 
	margin-right: 8px; 
	opacity: 0.7; 
	}

#footnote { 	 
	font-size: 14px;
	color: #555;	
	position: absolute;
    top: 545px;	
	} 

#textbox { 	 
	font-size: 14px;
	color: #555;
	padding: 6px 8px;
	background: white; 
	background: rgba(255,255,255,0.8); 
	box-shadow: 0 0 15px rgba(0,0,0,0.2); 
	border-radius: 5px; 
	} 

#map-overlay {
	position: relative;
	left: 11px;
	bottom: 125px; 
	z-index: 2;
	width: 190px;
}
	/* To accommodate attribution text on smaller screens */
	@media (max-width: 34em) {
		#map-overlay {
		bottom: 135px;
		}
	}  
	@media (max-width: 24.375em) {
		#map-overlay {
		bottom: 150px;
		}
	} 

#map-overlay span, #map-overlay a {
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 5px;
}	

/* Territories */
#map-overlay a {
	width: 27px;
    height: 27px;
    margin-right: 3px;			
	background: #93C2DE;
	color: black;
	font-size: .8rem;
	text-decoration: none;
    text-align: center;
	align-content: center;
	}

#map-overlay a:hover {	
	background: #b2d2e4;  
    border: 1px solid #00000078;
	}	

/* Hawaii/Alaska */
#map-overlay span {
	width: 80px;
	height: 80px;	
	margin-right: 5px;	
}

/* Hawaii/Alaska (when territories are NOT shown) */
#map-overlay-alaska {
	position: relative;
	bottom: -30px; 
}
#map-overlay-hawaii {
	position: relative;
	bottom: -30px; 
}