.ol-tools-legend {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 8px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.ol-tools-legend .ol-tools-legend-title {
  font-size: 16px;
  letter-spacing: 2px;
}
.ol-tools-legend .ol-tools-legend-content {
  cursor: pointer;
}
.ol-tools-legend .ol-tools-legend-list-wrap {
  min-width: 60px;
  display: none;
}
.ol-tools-legend:hover .ol-tools-legend-list-wrap {
  display: block;
}
.ol-tools-legend .ol-tools-legend-list {
  max-width: 270px;
  max-height: 270px;
  overflow-y: scroll;
}
.ol-tools-legend .ol-tools-legend-list .ol-tools-legend-item {
  text-align: center;
  padding: 4px;
  min-width: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.ol-tools-legend .ol-tools-legend-list .ol-tools-legend-item .ol-tools-legend-item-img-wrap {
  margin-right: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 32px;
  height: 32px;
}
.ol-tools-legend .ol-tools-legend-list .ol-tools-legend-item .ol-tools-legend-item-img {
  max-width: 32px;
}
.ol-tools-legend .ol-tools-legend-list .ol-tools-legend-item .ol-tools-legend-item-title {
  font-size: 14px;
}
.ol-tools-legend-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 999;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}
