.chart-outer-container {
  display: flex;
  flex-direction: column;
  .chart-container {
    position: relative;
    float: left;
    svg {
      overflow: hidden;
      width: 100%;
      height: 100%;
    }
  }

  .chart-legend {
    padding: 10px 0 0 0;
    border-top: 1px solid #e2e2e2;
    margin: 10px 0 0 20px;
    .legend-item-container {
      display: flex;
      justify-content: flex-end;
      .legend-item {
        margin-right: 20px;
      }
    }
    .content-header {
      color: #5a5a5a;
      font-weight: bold;
      margin-right: 10px;
      &:first-child {
        margin-top: 0;
      }
    }
    label {
      i {
        width: 15px;
      }
      &:hover input[type="checkbox"] {
        ~ i.fa {
          color: #006687;
        }
      }
      input[type="checkbox"] {
        ~ i.fa.fa-square-o {
          color: #c8c8c8;
          display: inline-block;
        }

        ~ i.fa.fa-check-square-o {
          display: none;
        }

        &:checked ~ i.fa.fa-square-o {
          display: none;
        }
        &:checked ~ i.fa.fa-check-square-o {
          color: #008cba;
          display: inline-block;
        }
      }
    }

    div[data-toggle="buttons"] label.active {
      color: #008cba;
    }

    div[data-toggle="buttons"] label {
      display: inline-block;
      padding: 0;
      margin-bottom: 0;
      font-size: 0.95rem;
      font-weight: bold;
      line-height: 1.45em;
      text-align: left;
      white-space: nowrap;
      vertical-align: top;
      cursor: pointer;
      border: 0px solid #c8c8c8;
      border-radius: 3px;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      -o-user-select: none;
      user-select: none;
    }

    div[data-toggle="buttons"] label:hover {
      color: #006687;
    }

    div[data-toggle="buttons"] label:active, div[data-toggle="buttons"] label.active {
      -webkit-box-shadow: none;
      box-shadow: none;
    }
  }
}

