div#ui-datepicker-div {
  z-index: 1151 !important;
}

div.calendar-legend {
  padding-bottom: 50px;
  align-content: center;

  .legend-scale ul {
      margin: 0;
      padding: 0;
      float: left;
      list-style: none;
  }
  .legend-scale ul li {
      display: block;
      float: left;
      width: 175px;
      margin-bottom: 6px;
      text-align: center;
      font-size: 120%;
      list-style: none;
  }

  .legend-scale.amr-readings ul li {
      float: none;
      width: 800px;
  }

  ul.legend-labels li span {
      display: block;
      float: left;
      height: 30px;
      width: 175px;
  }
}
div#ui-datepicker-div {
    z-index: 1151 !important;
}

div.calendar-legend {

    padding-bottom: 50px;
    align-content: center;

    .legend-scale ul {
        margin: 0;
        padding: 0;
        float: left;
        list-style: none;
    }
    .legend-scale ul li {
        display: block;
        float: left;
        width: 175px;
        margin-bottom: 6px;
        text-align: center;
        font-size: 120%;
        list-style: none;
    }
    ul.legend-labels li span {
        display: block;
        float: left;
        height: 30px;
        width: 175px;
    }
}
Revert this for now, for part 2
Revert this for now, for part 2
