.leaflet-legend-control-list {
    background: white;
    padding: 1em;
    max-height: 300px;
    overflow: auto;
    font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.leaflet-legend-control-list ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.leaflet-legend-control-list ul li img {
    display: inline-block;
    margin-right: 5px;
}

.leaflet-legend-control-list ul li span {
    vertical-align: top;
    line-height: 22px;
}

.leaflet-legend-control-list ul ul {
    margin-left: 15px;
}

.leaflet-touch .leaflet-legend-control {
    box-shadow: none;
}

.leaflet-touch .leaflet-legend-control {
    border: 2px solid rgba(0,0,0,0.2);
    background-clip: padding-box;
}

.leaflet-legend-control {
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    background: #fff;
    border-radius: 5px;
}

.leaflet-legend-control-toggle {
    background-image: url(images/legend.png);
    width: 36px;
    height: 36px;
}

.leaflet-retina .leaflet-legend-control-toggle {
    background-image: url(images/legend-2x.png);
    background-size: 26px 26px;
}

.leaflet-touch .leaflet-legend-control-toggle {
    width: 44px;
    height: 44px;
}

.leaflet-legend-control .leaflet-legend-control-list,
.leaflet-legend-control-expanded .leaflet-legend-control-toggle {
    display: none;
}

.leaflet-legend-control-expanded .leaflet-legend-control-list {
    display: block;
    position: relative;
}

.leaflet-legend-control-expanded {
    padding: 6px 10px 6px 6px;
    color: #333;
    background: #fff;
}

.leaflet-legend-control-scrollbar {
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 5px;
}

.leaflet-legend-control-selector {
    margin-top: 2px;
    position: relative;
    top: 1px;
}

.leaflet-legend-control label {
    display: block;
    font-size: 13px;
    font-size: 1.08333em;
}

.leaflet-legend-control-separator {
    height: 0;
    border-top: 1px solid #ddd;
    margin: 5px -10px 5px -6px;
}

.leaflet-legend-control-toggle {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: block;
}