/** D3 Liquid Fill Gauge **/

.mg-qwiz-renderer-chart-d3liquidfillgauge-gauge-ctn {
  display: inline-block;
  margin: 1rem;
  text-align: center;
}

.mg-qwiz-renderer-chart-d3liquidfillgauge-gauge-ctn-selectable {
  cursor: pointer;
}

.mg-qwiz-renderer-chart-d3liquidfillgauge-label {
  color: #178bca;
}

.mg-qwiz-renderer-chart-d3liquidfillgauge-gauge-ctn-selectable:hover .mg-qwiz-renderer-chart-d3liquidfillgauge-label {
  text-decoration: underline;
}


/** Text **/

.mg-qwiz-renderer-chart-text-item {
  border: 1px solid #ccc;
  font-size: 3rem;
  display: inline-block;
  padding: 0.5rem;
  margin: 0.1rem;
  min-height: 9rem;
  min-width: 12rem;
  text-align: center;
}

.mg-qwiz-renderer-chart-text-item-selectable {
  cursor: pointer;
}

.mg-qwiz-renderer-chart-text-value {
  font-weight: bold;
}

.mg-qwiz-renderer-chart-text-icon {
  margin: 0 0 0 0.5rem;
}

.mg-qwiz-renderer-chart-text-label {
  font-size: 1.5rem;
}

.mg-qwiz-renderer-chart-text-item-selectable:hover .mg-qwiz-renderer-chart-text-label {
  text-decoration: underline;
}


/** Chart switcher (from the tool chart, for the map) **/

.mg-chart-switcher {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mg-chart-switcher .mg-chart-switcher-select {
  color: var(--primary-color);
  flex: 0 0 auto;
}

@media screen and (max-width: 991px) {
.mg-chart-switcher .mg-chart-switcher-select {
  font-size: 16px;
  height: 24px;
  padding: 0;
}
}

.mg-chart-switcher .mg-chart-switcher-chart {
  flex: 1;
  flex-basis: auto;
  height: 100%;
  overflow-x: hidden;
  padding: 0.5rem;
}
