.analyticsHeader {
  display: flex;
  margin-bottom: 8px;
  align-items: center;
}
.analyticsHeader select,
.analyticsHeader .popupTrigger {
  width: 200px;
  margin-top: 0;
}
.analyticsHeader .activeFilters {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  margin-right: 16px;
}
.analyticsHeader .activeFilters .filter {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 4px 4px 8px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  grid-gap: 4px;
}
.analyticsHeader .activeFilters .filter .filterValue {
  font-weight: bold;
}
.analyticsHeader .activeFilters .filter .mat-icon {
  background-color: rgba(255, 255, 255, 0.1);
  font-size: 16px;
  border-radius: 16px;
  padding: 2px;
  cursor: pointer;
  margin-left: 4px;
}
.analyticsHeader .activeFilters .filter .mat-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.analyticsHeader .activeFilters .filter .mat-icon:active {
  background-color: rgba(255, 255, 255, 0.3);
}
.metricsHeaders {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 2fr));
  grid-gap: 8px;
}
.metricsHeaders .keyMetric {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 8px;
}
.metricsHeaders .keyMetric .title {
  text-transform: capitalize;
  font-size: 12pt;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
}
.metricsHeaders .keyMetric .title .mat-icon {
  font-variation-settings: "FILL" 1;
  flex-grow: 1;
  text-align: right;
  font-size: 16px;
  cursor: pointer;
}
.metricsHeaders .keyMetric .valueContainer {
  display: flex;
  align-items: center;
}
.metricsHeaders .keyMetric .valueContainer .value {
  font-weight: bold;
  flex-grow: 1;
}
.metricsHeaders .keyMetric .valueContainer .change {
  text-align: right;
  display: flex;
  align-items: center;
}
.metricsHeaders .keyMetric .valueContainer .change .mat-icon {
  margin-right: 8px;
}
#graphContainer {
  width: 100%;
  height: 300px;
  margin: 0 0 16px 0;
  position: relative;
}
#graphContainer #AnalyticsDisabledOverlay {
  background-color: rgba(0, 0, 0, 0.3);
  margin: 16px 0 -16px 0;
}
#graphContainer #DemoDataOverlay {
  color: rgba(255, 255, 255, 0.5);
  font-size: 24pt;
  font-weight: bold;
  pointer-events: none;
}
#graphContainer #analyticsMainGraph {
  width: 100%;
  margin: 16px 0 0 0;
  padding: 0;
  height: 300px;
}
#graphContainer:hover .tooltip {
  opacity: 1;
}
.tooltip {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.25s ease-out, opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
}
.tooltip .title {
  font-weight: bold;
}
.tooltip .subtitle {
  font-size: 10pt;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}
.tooltip .valueContainer {
  display: flex;
  margin-top: 4px;
}
.tooltip .value {
  font-weight: bold;
  margin-left: 16px;
}
.gridContainer {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 16px;
}
.gridContainer .analyticsSection {
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 100%;
  margin-bottom: 0;
}
.analyticsSection {
  padding: 8px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.analyticsSection .map {
  flex-grow: 1;
  display: flex;
  position: relative;
}
.analyticsSection .map:hover {
  transition: opacity 0.3s ease;
}
.analyticsSection .map:hover .tooltip.show {
  opacity: 1;
}
.analyticsSection .map svg {
  max-height: 340px;
}
.analyticsSection .map svg g[id],
.analyticsSection .map svg path[id] {
  fill: #00000040;
  cursor: pointer;
}
.analyticsSection .map svg g[id]:hover,
.analyticsSection .map svg path[id]:hover {
  stroke: #8D98F8;
  stroke-width: 2px;
}
.analyticsSection .map svg g[id]:active,
.analyticsSection .map svg path[id]:active {
  stroke: #ffffff;
}
.analyticsSection .map > span {
  position: absolute;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8pt;
  text-align: right;
  bottom: 16px;
  right: 4px;
  left: 4px;
  text-align: center;
}
.analyticsSection .DataOverlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 32px;
  z-index: 100;
}
.analyticsSection .DataOverlay h1 {
  font-weight: bold;
}
.analyticsSection .DataOverlay div {
  text-align: left;
}
.analyticsSection .sectionHeader {
  display: flex;
}
.analyticsSection .sectionHeader .headerControls {
  display: flex;
  grid-gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10pt;
}
.analyticsSection .sectionHeader .headerControls div {
  cursor: pointer;
  text-decoration-thickness: 2px;
}
.analyticsSection .sectionHeader .headerControls div.active {
  color: #5EA8DE;
  text-decoration: underline;
}
.analyticsSection .sectionHeader .headerControls div:hover {
  text-decoration: underline;
}
.analyticsSection h1 {
  font-size: 16pt;
  font-weight: 200;
  margin: 0 0 8px 0;
}
.analyticsSection h2 {
  margin: 0;
  font-size: 12pt;
}
.analyticsSection > p {
  margin-bottom: 0;
}
.analyticsSection .flexButtonList {
  margin-top: 16px;
}
.analyticsSection .sectionGridHeaders {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
  border-bottom: 1px solid;
  padding: 2px 0;
}
.analyticsSection .dataList {
  display: flex;
  flex-direction: column;
  grid-gap: 4px;
  min-height: 200px;
}
.analyticsSection .dataEntry {
  display: flex;
  position: relative;
  padding: 4px;
}
.analyticsSection .dataEntry .filterable {
  cursor: pointer;
}
.analyticsSection .dataEntry .filterable:hover {
  text-decoration: underline;
}
.analyticsSection .dataEntry .countryCode {
  margin-right: 4px;
}
.analyticsSection .dataEntry .progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.analyticsSection .name {
  flex-grow: 1;
}
.analyticsSection .value {
  display: flex;
  grid-gap: 4px;
  align-items: center;
}
.analyticsSection .value .valPercent {
  font-size: smaller;
  color: rgba(255, 255, 255, 0.5);
  min-width: 32px;
}
.demoModal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.33);
  z-index: 1000;
}
.demoModal .demoModalContents {
  background-color: #222;
  padding: 16px;
  border-radius: 16px;
}
.demoModal .demoModalContents .button {
  padding: 0 16px;
  margin-bottom: 0;
  color: white;
  text-decoration: none;
}