.leaflet-legend {
  background-color: red;
}

.leaflet-legend-title {
  margin: 15px;
  padding-bottom: 1px;
  font-size: 18px;
}

.leaflet-legend-column {
  float: left;
  width: 227px;
  margin-left: 5px;
  margin-right: 20px;
}


.leaflet-legend-item {
  display: table;
  margin: 1px 0;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif
}

.leaflet-legend-item span {
  vertical-align: middle;
  display: table-cell;
  word-break: keep-all;
  white-space: nowrap;
  background-color: transparent;
  text-align: left;
}

.leaflet-legend-item-clickable {
  cursor: pointer;
}

.leaflet-legend-item-inactive span {
  color: #cccccc;
}

.leaflet-legend-item-inactive i img,
.leaflet-legend-item-inactive i canvas {
  opacity: 0.3;
  /*
  color: #000000;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
  */
}

.leaflet-legend-item i {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.leaflet-legend-toggle {
  background-image: url("../../../symbologie/architecture.png");
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: 50% 50%;
  box-shadow: none;
  border-radius: 4px;
}

.leaflet-legend-toggle:hover {
  background-size: 35px;
}

.leaflet-legend-contents {
  display: none;
}

.leaflet-legend-expanded .leaflet-legend-contents {
  display: block;
  padding: 20px 15px 20px 15px;
}

.leaflet-legend-contents img {
  position: initial;
}

.leaflet-legend-contents:after {
  content: "";
  display: block;
  clear: both;
}

.leaflet-legend-close {
  background-image: url("../../../symbologie/close.png");
  background-repeat: no-repeat;
  background-size: 22px;
  box-shadow: none;
  border-radius: 4px;
  position: absolute;
  cursor: pointer;
  top: 5%;
  right: 2%;
  font-size: 12px;
  padding: 2px 4px;
  transform: translate(0%, -50%);
}

.leaflet-legend-close:hover {
  background-size: 25px;
}