:root {
  --franklin: "Franklin Gothic FS", Helvetica, Arial, sans-serif;
  --abril: "Abril Text", Georgia, Times, serif;

  --background-color: #f4f4f4;
}

.tsil-elections2021-header {
  border: 1px solid red;
}

.tslr-lead {
  background: #f4f4f4;
}
.tslr-lead.tsil-sd-lead-white {
  background: #fff;
}

.tslr h2 {
  position: relative;
  font-weight: 700;
  font-size: 34px;
  line-height: 40px;
  color: #1f1f1f;
  text-align:center;
  width: 1200px;
  padding-left: 100px;
  padding-right: 100px;
  box-sizing: border-box;
  position: relative;
  margin: 60px auto 30px auto;
}

.tslr h2 > span {
  background: #f4f4f4;
  padding: 0 20px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.tslr h2::after {
  position: absolute;
  background: #1f1f1f;
  height: 1px;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 0;
  content: '';
}

.tslr-date {
  margin: 0;
  padding: 40px 0;
  width: 100%;
  max-width: none;
  text-align: center;
}

.balance-text {
  text-wrap: balance;
}

#btw-cvs {
  background: var(--background-color);
  padding: 20px 0 60px 0;
}

.tsil-sd-branding {
  font-weight: 500;
  display: flex;
  font-size: 20px;
  line-height: 32px;
  font-family: var(--franklin);
  align-items: center;
  justify-content: center;
}

.tsil-sd-branding > div {
  display: flex;
  align-content: inherit;
  align-items: center;
  margin: 0 10px;
}

.tsil-sd-branding a{
  background-image: none !important;
  justify-content: center;
  margin: 0 15px;
  display: flex;
}

.tsil-sd-branding img {
  height: 50px;
}


.tslr-infobox {
  background-color: #fafafa;
  margin-left: 0;
  margin-right: 0;
  border-radius: 6px;
}

.tslr-infobox .tslr-infobox__preview {
  border-radius: 6px;
}

.tslr-infobox--always-open .tslr-infobox__preview,
.tslr-infobox--open .tslr-infobox__preview {
  border-radius: 6px 6px 0 0;
}

.tslr-infobox .tslr-infobox__title {
  text-align: center;
}

.tslr-infobox .tslr-infobox__content {
  border: none;
}

.tslr-infobox .tslr-infobox__content p,
.tslr-infobox .tslr-infobox__content h3 {
  font-size: 20px;
  line-height: 28px;
  max-width: 760px;
  width: auto;
  margin: 20px auto;
}

.tslr.tslr--gray .tslr-infobox .tslr-infobox__preview {
  background: repeating-linear-gradient(135deg,#ececec 0,#ececec 3px,transparent 3px,transparent 8px) !important;
  border: none !important;
}

.backtodashboard {
  position: relative;
  font-family: var(--franklin);
  font-weight: 400;
  font-size: 16px;
  color: #df4d4b !important;
  padding-left: 30px;
  line-height: 16px;
}

.backtodashboard::before {
  position: absolute;
  left: 0;
  content: "";
  width: 28px;
  height: 28px;
  background-image: url('../icons/arrow-backtodashboard.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  margin: auto;
  top: 0;
  bottom: 0;
}

.backtodashboard:hover {
  font-weight: 600;
}

.tslr-infobox .tslr-figure-duo {
  max-width: 760px;
  width: auto;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

.tslr-infobox .tslr-figure-duo figure {
  max-width: 220px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

@media (max-width: 480px) {
  .tslr-infobox .tslr-infobox__title,
  .tslr-infobox .tslr-infobox__content p,
  .tslr-infobox .tslr-infobox__content h3 {
    font-size: 17px;
    line-height: 24px;
  }
}

@media (max-width:1200px) {
  .tslr h2 {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width:820px) {
  .tsil-sd-branding {
    display: block;
    font-size: 20px;
    line-height: 34px;
  }

  .tsil-sd-branding > div {
    margin: 15px auto;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}


@media (max-width:760px) {
  .tslr h2 {
    font-size: 24px;
    line-height: 29px;
    padding-left: 0;
    padding-right: 0;
  }

  .tslr h2 > span {
    padding: 0;
    background: transparent;
    display: inline;
  }

  .tslr h2::after {
    display: none;
  }
}

@media (max-width:480px) {
  .tslr h1.tslr-lead__title {
    font-size: 32px !important;
    line-height: 40px !important;
  }

  .tsil-sd-branding {
    font-size: 17px;
    line-height: 24px;
  }
}

@media (max-width:530px) {
  .backtodashboard {
    padding-left: 28px;
  }

  .backtodashboard span {
    display: none;
  }
}

@media (max-width:420px) {

  .tsil-sd-branding {
    font-size: 16px;
    line-height: 20px
  }

  .tsil-sd-branding > div {
    width: auto;
  }

  .tsil-sd-branding div:first-child img {
    height: 40px;
  }

  .tsil-sd-branding div:last-child img {
    height: 65px;
  }
}

.tslr.tslr--gray .tslr-relatedarticles a {
  background-image: none !important;
  text-shadow: none !important;
}
