.mb-element-legend {
  .subTitle {
    font-size: 90%;
  }
  img {
    max-width: 100%;
  }
  .title, .subTitle, img {
    margin-bottom: 0.5em;
  }
}

.legend-custom {
  padding: 3px;

  &__heading {
    clear: both;
    margin-top: 5px;
    margin-left: -3px;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  &__canvas {
    float: left;
    margin-right: 5px;
  }

  &__layer {
    font-size: 1.05rem;
  }
}
