    .polopoly_embed {max-width: 100% !important;}

.ctv-chart {
  font-family: 'CTVSans-Regular', 'CTV Sans', Arial, Helvetica, sans-serif;
  position: relative;
  max-width: 600px;
  min-height: 250px;
  margin: 50px auto;
  padding: 0px;
  border: 1px solid #e3e3e3;
  border-radius: 2px;
  line-height: 1.25;
}

.ctv-chart-container {
  height: 250px;
}

.ctv-chart-title {
  font-family: 'CTVSans-Bold', 'CTV Sans', Arial, Helvetica, sans-serif;
  margin: 20px 20px 5px;
  font-size: 20px;
}

.ctv-chart-subtext {
  margin: 20px 20px 5px;
  font-size: 14px;
  line-height: 1.2;
}

.ctv-chart-source {
  margin: 10px 0 15px;
  font-size: 12px;
  text-align: center;
}


.loading {
  margin: 110px auto 0;
  border: 7px solid #0060ff26; 
  border-top: 7px solid #0060ff; 
  border-radius: 50%;
  width:  20px;
  height: 20px;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.chart-line {
  stroke-width: 4;
  stroke: #2c2c2c;
  fill: none;
  stroke-linejoin: miter;
  stroke-linecap: miter;
}

.layer-0 .chart-line {
  stroke: #005fff;
}

.layer-0 .chart-area {
  fill: #0060ff22;
}

.y-axis .tick line {
  stroke: #e3e3e3;
  stroke-dasharray: 4 6;
}

.tick text {
  font-family: 'CTVSans-Regular', 'CTV Sans', Arial, Helvetica, sans-serif;
}


.per {
  width: 12px;
  height: 22px;
  background-image: url('https://www.ctvnews.ca/polopoly_fs/1.4981463.1591971375!/httpImage/image.png');
  background-size: cover
}

.per-vis-min {
  width: 12px;
  height: 22px;
  background-image: url('https://www.ctvnews.ca/polopoly_fs/1.4981460.1591971321!/httpImage/image.png');
  background-size: cover
}

.people-chart-container {
  margin: 10px auto 25px;
  max-width: 400px;
}

.people-chart-title {
  text-align: center;
  font-size: 18px;
  padding: 10px 0 5px;
  font-family: 'CTVSans-Bold', 'CTV Sans', Arial, Helvetica, sans-serif;
}

.people-chart-subtitle {
  text-align: center;
  font-size: 15px;
  padding: 10px 0 5px;
}

.people-chart {
  margin: 0 auto;
}

.people-chart-grid {
  display: grid;
  grid-template-columns: repeat(10, min-content);
  gap: 2px;
}

.people-chart-div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}



.testing-chart-container {
  font-family: 'CTVSans-Regular', 'CTV Sans', Arial, Helvetica, sans-serif;
  margin: 0 auto;
  padding: 15px;
  border: 1px solid #e3e3e3;
  width: 100%;
  max-width: 600px;
  min-width: 350px;
  box-sizing: border-box;
}

.testing-bold {
  font-family: 'CTVSans-Bold', 'CTV Sans', Arial, Helvetica, sans-serif;
}

.testing-chart-title {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.2;
}



#chart-2, #chart-4 {
  position: relative;
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-auto-rows: 18px;
  column-gap: 7px;
  row-gap: 4px;
  border: none;
  min-height: 0;
  margin: 10px 0;
}

.testing-country {
  text-align: right;
  font-size: 14px;
  color: #666;
  margin-top: 1px;
}

.testing-country.highlight {
  color: #2c2c2c;
}

.testing-bar-container {
  height: 100%;
  background: #f0f0f0;
}

.testing-bar {
  position: relative;
  background: #1b1b2f;
  height: 100%;
}

.testing-bar.highlight {
  background: #005fff;
}

.testing-number {
  font-size: 13px;
  color: #fafafa;
  position: absolute;
  right: 10px;
  top: 2px;
  pointer-events: none;
}

.testing-source {
  text-align: center;
  font-size: 12px;
  font-style: italic;
  margin: 8px 0 0;
  opacity: 0.8;
}

/* chart-2 */
.testing-salary {
  text-align: right;
  font-size: 14px;
  color: #666;
  margin-top: 1px;
}

.testing-salary.highlight {
  color: #2c2c2c;
}

/* chart-4 */
.testing-population {
  text-align: right;
  font-size: 14px;
  color: #666;
  margin-top: 1px;
}

.testing-population.highlight {
  color: #2c2c2c;
}
