    .polopoly_embed {
  max-width: 100% !important;
}

.states-intro {
  font-family: 'CTVSans-Regular', 'CTV Sans', sans-serif;
  font-size: 18px;
  line-height: 28px;
}

.auto-text {
  font-family: 'CTVSans-Regular', 'CTV Sans', sans-serif;
  background: #fffaf4;
  color: #c70039;
  padding: 3px;
  font-weight: bold;
  font-size: 16px;
}

.state-list-div {
  margin: 0 auto;
  min-width: 350px;
  max-width: 750px;
  /*padding: 15px 50px;*/
  border: 0px solid #e0e0e0;
  border-radius: 0px;
  font-family: 'CTVSans-Regular', 'CTV Sans', sans-serif;
  line-height: 1.25;
  position: relative;
  /*max-height: 600px;*/
  /*overflow-y: scroll;*/
}

.select-div {
  font-size: 19px;
  text-align: center;
}

.select-div select {
  font-size: 19px;
  font-family: 'CTVSans-Bold', 'CTV Sans', sans-serif;
  font-weight: 700;
  outline: none;
  border: none;
  border-bottom: 2px solid #1a1a1a;
  /*background: rgba(11, 11, 11, 0.1);*/
  color: rgba(11, 11, 11, 1);
  padding: 4px;
  -webkit-appearance: none;
}

.select-div select:hover {
  background: rgba(11, 11, 11, 0.05);
  cursor: pointer;
}

.select-div p {
  margin: 12px 0;
}

.select-div .p2 {
  font-size: 12px;
}

.p2 > select {
  font-size: 12px;
  margin-right: 15px;
  color: #222;
}

.p2 {
  /*display: none;*/
}

.compare-header {
  border-radius: 5px 5px 0 0;
  padding: 20px 5px 10px;
  border-bottom: 1px solid #e3e3e3;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  background: white;
  z-index: 12;
  /*box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.05);*/
}

.compare-header > h2 {
  margin: 0 0 12px;
  font-size: 30px;
  text-align: center;
}

.compare-body {
  padding: 20px 0px;
}

.bold {
  /**/
  font-weight: 700;
  /**/
  font-family: 'CTVSans-Bold', 'CTV Sans', sans-serif;
}

.covid-info {
  position: relative;
  display: grid;
  grid-template-columns: min-content 1fr min-content;
  margin: 7px auto;
  border-radius: 2px;
  border: 1px solid #d0d0d0;
  background: #fafafa;
  color: #2a2a2a;
  font-family: 'CTVSans-Regular', 'CTV Sans', sans-serif;
  font-size: 18px;
  max-width: 750px;
}

.covid-info.state {
  border: 1px solid #ff8800;
  background: #fffaf4;
  margin-left: 0px;
}

.covid-info.state .chart-rank {
  border-right: 1px solid #ff8800;
  background: rgb(255, 243, 228);
  color: #c70039;
}

.covid-info.state .covid-toggle {
  border-left: 1px solid #ff8800;
  background: #f3cb9e;
  color: #522e06;
}

.covid-info.province {
  border: 1px solid #00947b;
  background: #fff;
  margin-left: 20px;
}

.covid-info.province .chart-rank {
  border-right: 1px solid #00947b;
  background: #dfeeec;
  color: #11584d;
}

.covid-info.province .covid-toggle {
  border-left: 1px solid #00947b;
  background: #c3e0db;
  color: #213835;
}

.covid-info.loaded {
  display: grid;
  text-align: left;
}

.covid-toggle {
  width: 25px;
  grid-column: 3 / 4;
  grid-row: 1/3;
  border-left: 1px solid #d0d0d0;
  background: #f3f3f3;
  display: flex;
  text-align: center;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  cursor: pointer;
  user-select: none;
  color: #6a6a6a;
  font-size: 16px;
}

.covid-toggle:hover {
  filter: brightness(90%);
}

.covid-text {
  position: absolute;
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  padding: 2px 10px;
  font-size: 23px;
  z-index: 10;
}

.covid-text-inner > p {
  font-size: 15px;
  margin: 2px 0;
  color: #777;
}

.covid-text-inner > p > span {
  color: #333;
}

.chart-rank {
  box-sizing: border-box;
  position: relative;
  grid-column: 1 / 2;
  grid-row: 1/3;
  width: 55px;
  height: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.rank-number {
  font-size: 22px;
}

.hash {
  font-size: 18px;
  margin-right: 2px;
}

.rank-country {
  font-size: 10px;
  position: absolute;
  bottom: 2px;
  text-align: center;
  opacity: 0.5;
  width: 100%;
  text-align: center;
}

.bar-chart {
  position: absolute;
  bottom: 0;
  align-self: flex-end;
  width: calc(100% - 28px);
  z-index: 2;
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  height: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1px, 1fr));
}

.bar-chart .bar {
  /*border-bottom: 0.1px solid #2a2a2a;*/
  /*background: linear-gradient(180deg, #ffbd69 0px, #ffbd69 50px, #f37121 50px, #f37121 80px, #c70039 80px);*/
  float: left;
  display: flex;
  align-self: flex-end;
  border-radius: 0;
}

.covid-info.state .bar {
  /*background: linear-gradient(0deg, #ffbd69 0px, #ffbd69 50px, #f37121 50px, #f37121 80px, #c70039 80px);*/
}

.covid-info.province .bar {
  background: linear-gradient(0deg, #76b1a9 0px, #76b1a9 50px, #00947b 50px, #00947b 80px, #11584d 80px);
}

.bar:hover {
  box-sizing: border;
  filter: brightness(50%) saturate(50%);
}

.bar-info {
  grid-column: 2 / 3;
  position: absolute;
  left: 10px;
  bottom: 2px;
  font-size: 13px;
}

.bar-info > p {
  margin-bottom: 0;
  line-height: 0;
  font-size: 10px;
}

.small-number {
  color: rgba(11, 11, 11, 1);
  margin-bottom: -3px;
  /*background: rgba(11, 11, 11, 0.1);*/
  font-size: 22px;
  padding: 0 0px;
  /*border-bottom: 2px dashed rgba(11, 11, 11, 1);*/
}

.small-date {
  margin: 0;
  font-size: 10px;
}

.scale-div {
  grid-column: 2/3;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  border-left: 1px solid #5f5f5f;
  opacity: 0.5;
  z-index: 5;
}

.scale-number {
  font-size: 10px;
  position: absolute;
  left: 0;
  padding-left: 3px;
  text-align: left;
  width: 8px;
  overflow: visible;
}

.scale-tick {
  font-size: 10px;
  position: absolute;
  left: -5px;
  text-align: left;
  width: 5px;
  overflow: visible;
  z-index: 5;
  color: #5f5f5f;
}

.top-num {
  z-index: 5;
  color: #5f5f5f;
}
/*
.bot-num {
  z-index: 1;
  color: #222;
}
*/

.zero {
  color: #ffbd69;
}
.fifty {
  color: #f37121;
}
.eighty {
  color: #c70039;
}

.loading {
  margin: 0 auto;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #0060ff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 600px) {
  .compare-header > h2 {
    font-size: 24px;
  }

  .compare-body {
    padding: 20px 0px;
  }

  .covid-text {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    padding: 6px 6px;
    font-size: 16px;
  }

  .covid-toggle {
    width: 25px;
  }

  .bar-info {
    left: 6px;
    bottom: 2px;
  }

  .covid-info.province {
    margin-left: 0px;
  }

  .rank-number {
    font-size: 18px;
  }

  .hash {
    font-size: 14px;
    margin-right: 1px;
  }
  .chart-rank {
    width: 40px;
  }

  .rank-country {
    font-size: 8px;
  }
  .bar-chart {
    width: calc(100% - 20px);
  }

  .scale-div {
    width: 20px;
  }

  .scale-number {
    font-size: 8px;
  }
}

