.map__legend {
  padding: 6px 8px;
  font: 12px Arial;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  line-height: 24px;
  color: #555;
}
.map__legend h4 {
  text-align: center;
  font-size: 16px;
  margin: 2px 12px 8px;
  color: #777;
}

.map__legend span {
  position: relative;
  bottom: 3px;
}

.map__legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin: 0 8px 0 0;
  opacity: 0.7;
}

.map__legend i.icon {
  background-size: 18px;
  background-color: rgba(255, 255, 255, 1);
}