.leaflet-control-mapkey {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	background-color: white;
	border-radius: 4px;
}

.leaflet-right .leaflet-control-mapkey-expanded {
	margin-right: 0px;
	padding-right: 10px;
	border-right-style: none;
	border-radius: 4px 0 0 4px;
}

.leaflet-control-mapkey .leaflet-mapkey-button {
	display: inline-block;
	outline: 0;
	width: 36px;
	text-align: center;
	font-size: 1.4em;
	color: #333;
}

.leaflet-control-mapkey-expanded .leaflet-mapkey-button {
	color: #2074b6;
}

.leaflet-sidebar-mapkey {
	margin: inherit;
	padding: 0 10px 0 0;
	box-sizing: border-box;
	height: 95%;
	height: calc(100% - 20px);
	overflow: auto;
}

.mapkey-preamble p {
	margin-top: .25em;
}

.leaflet-sidebar {
	display: none;
	margin: 10px;
	background-color: white;
	box-sizing: border-box;
	position: absolute;
	top: 0;
	height: 95%;
	height: calc(100% - 20px);
	border-radius: 5px 0 0 5px;
	z-index: 1000;
}

.leaflet-has-sidebar-full .leaflet-bottom .leaflet-control:not(.leaflet-control-attribution) {
	display: none;
}

.leaflet-has-sidebar-right .leaflet-top.leaflet-right {
	margin-right: 270px;
	height: 95%;
	height: calc(100% - 20px);
}

.leaflet-top.leaflet-right {
	transition: margin-right 100ms;
}

.leaflet-has-sidebar-full .leaflet-sidebar {
	display: block;
	margin-right: 0;
	padding-top: 15px;
	position: fixed;
	left: 0;
	width: calc(100% - 10px);
	height: calc(100% - 35px)
}

.leaflet-has-sidebar-right .leaflet-sidebar-right {
	display: block;
	margin-right: 0;
	right: -270px;
	width: 270px;
}
