#chart-card {
  width: 100%;
}
#chart-card .top-left {
  min-height: 250px;
}
#chart-card .chart-data {
  min-height: 100px;
  height: 100%;
  width: 100%;
  border-radius: 6px;
  background-color: #fff;
}
#chart-card .chart-top,
#chart-card .chart-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
#chart-card .chart-top .middle-smaller,
#chart-card .chart-bottom .middle-smaller,
#chart-card .chart-top .middle-larger,
#chart-card .chart-bottom .middle-larger {
  height: 100%;
}
#chart-card .chart-top .top-left,
#chart-card .chart-bottom .top-left {
  min-height: 238px;
}
#chart-card .chart-item {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 12px;
}
@media screen and (max-width: 767px) {
  #chart-card .chart-top .top-left {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  #chart-card .chart-top .top-middle {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    width: 100%;
  }
  #chart-card .chart-top .top-middle .middle-top,
  #chart-card .chart-top .top-middle .middle-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #chart-card .chart-top .top-middle .middle-top .middle-larger,
  #chart-card .chart-top .top-middle .middle-bottom .middle-larger,
  #chart-card .chart-top .top-middle .middle-top .middle-smaller,
  #chart-card .chart-top .top-middle .middle-bottom .middle-smaller {
    width: 100%;
  }
  #chart-card .chart-top .top-right {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
}
@media screen and (min-width: 768px) {
  #chart-card .top-left,
  #chart-card .top-middle {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  #chart-card .top-middle {
    width: 100%;
  }
  #chart-card .top-middle .middle-top,
  #chart-card .top-middle .middle-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  #chart-card .top-middle .middle-top .middle-larger,
  #chart-card .top-middle .middle-bottom .middle-larger {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
  #chart-card .top-middle .middle-top .middle-smaller,
  #chart-card .top-middle .middle-bottom .middle-smaller {
    max-width: 170px;
    min-width: 150px;
  }
  #chart-card .top-right {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
}
@media screen and (min-width: 1200px) {
  #chart-card .top-left {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    width: 50%;
  }
  #chart-card .top-middle {
    width: 50%;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  #chart-card .top-middle .middle-top,
  #chart-card .top-middle .middle-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  #chart-card .top-middle .middle-top .middle-larger,
  #chart-card .top-middle .middle-bottom .middle-larger {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
  #chart-card .top-middle .middle-top .middle-smaller,
  #chart-card .top-middle .middle-bottom .middle-smaller {
    max-width: 170px;
    min-width: 150px;
  }
  #chart-card .top-right {
    width: 100%;
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
}
@media screen and (min-width: 1500px) {
  #chart-card {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  #chart-card .chart-top {
    width: 100%;
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
  #chart-card .chart-top .top-left,
  #chart-card .chart-top .top-middle {
    width: 500px;
    min-width: 460px;
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
  #chart-card .chart-top .top-middle {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  #chart-card .chart-top .top-middle .middle-top,
  #chart-card .chart-top .top-middle .middle-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 50%;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
  #chart-card .chart-top .top-middle .middle-smaller {
    min-width: 170px;
  }
  #chart-card .chart-top .top-middle .middle-larger {
    width: 200px;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
  #chart-card .chart-top .top-right {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
  #chart-card .chart-bottom {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    width: 100%;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
  #chart-card .chart-bottom .bottom-right {
    -ms-flex-negative: 1;
        flex-shrink: 1;
    max-width: 500px;
    min-width: 330px;
  }
  #chart-card .chart-bottom .bottom-left {
    min-width: 900px;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
}

