﻿@charset "UTF-8";
/* RESET STYLES & VARIABLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* –––––––––––––––––––––––––––––––––––––––––––––––––– */
/* MIXINS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* –––––––––––––––––––––––––––––––––––––––––––––––––– */
.elections {
  display: flex;
  /* flex-flow: column wrap; */
  /* max-width: 800px; */
  margin: 0 auto;
  /* padding: 0 0 20px 0;
  border-bottom: 2px solid #CE1D2E; */
  position: relative;
}
.elections-home {
    margin: 0 auto 20px auto;
}
.elections:not(.elections--banner) {
  flex-flow: column wrap;
  max-width: 1200px;
}
.elections footer {
  flex-basis: 100%;
}
.elections footer > p {
  font-style: italic;
  text-align: right;
  line-height: 1.2em;
  font-size: 0.85em;
}
.elections button {
  width: 100%;
  text-align: center;
  color: #333;
  background-color: #f4f4f4;
  border-radius: 0.25em;
  text-transform: lowercase;
  border: none;
  font-size: 1em;
  line-height: 1.2em;
  padding: 1em 0.5em;
}
.elections button span {
  color: #fff;
  font-size: 0.85em;
  margin-left: 0.85em;
  padding: 0.5em 1em;
  border-radius: 25px;
  background-color: #ce1c2c;
}
.elections button.open {
  margin: 0;
  padding: 0.5em 0.5em;
  background-color: transparent;
}
.elections button.open span {
  margin: 0;
  padding: 0.5em 1em;
}
.elections ul {
  list-style: none;
  overflow: hidden;
  position: relative;
  margin: 0;
}
.elections li::after {
  overflow: hidden !important;
  text-overflow: ellipsis;
}
.elections > section {
    z-index: 2;
}
.elections .president {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  padding: 0;
  align-items: end;
  animation: fx-addpadding 0.3s linear forwards;
}
.elections .president::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0%;
  bottom: 30px;
  border-bottom: 1px solid #ce1c2c;
}
.elections .president li {
  position: relative;
  height: 100%;
  min-height: 17%;
  height: calc(var(--full) * 1.5);
  margin: 0 5% 0 25%;
  background-color: var(--fill);
  animation: 0.45s ease-out 0s 1 fx-from-bottom;
  white-space: nowrap;
}
.elections .president li::before {
  content: attr(data-voteproc) " %";
  counter-reset: variable var(--voteproc);
  position: absolute;
  top: -20px;
  right: 0;
  width: 100%;
  text-align: right;
  font-family: "TheSerifDnevnikSemiBold";
}
.elections .president li::after {
  content: attr(data-name);
  counter-reset: variable var(--name);
  position: absolute;
  left: -25%;
  right: 0%;
  white-space: nowrap;
  text-align: right;
  bottom: -24px;
  font-size: 12px;
  font-family: "TheSerifDnevnikBold";
  text-overflow: unset;
}
.elections .president li:nth-child(1) img, .elections .president li:nth-child(1)::after {
  backface-visibility: hidden;
  animation: fx-fade-in 0.15s linear forwards;
}
.elections .president li:nth-child(2) img, .elections .president li:nth-child(2)::after {
  backface-visibility: hidden;
  animation: fx-fade-in 0.3s linear forwards;
}
.elections .president li:nth-child(3) img, .elections .president li:nth-child(3)::after {
  backface-visibility: hidden;
  animation: fx-fade-in 0.45s linear forwards;
}
.elections .president li:nth-child(4) img, .elections .president li:nth-child(4)::after {
  backface-visibility: hidden;
  animation: fx-fade-in 0.6s linear forwards;
}
.elections .president li img {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 90%;
  transform: translateX(-35%);
}
.elections .elections--title {
  grid-area: header;
}
.elections .graph {
  grid-area: graph;
  position: relative;
  padding: 0;
  overflow: hidden;
}
.elections .graph li {
  background-color: var(--fill);
  font-size: 0.85em;
  font-family: "TheSerifDnevnikSemiBold";
  line-height: 1.6em;
  backface-visibility: hidden;
  animation-fill-mode: forwards;
  animation-duration: 1.2s;
}
.elections .chart {
  grid-area: chart;
  align-self: end;
}
.elections .parlament {
  display: grid;
  padding-left: 10px;
}
.elections .chart {
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
  z-index: 0;
}
.elections .chart *, .elections .chart:before {
  box-sizing: border-box;
}
.elections .chart li {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.elections > * {
  position: relative;
  overflow: hidden;
  font-family: "TheSerifDnevnikSemiBold";
  font-size: calc(12px + 0.4vw);
  line-height: 1.1em;
}
.elections--title {
  grid-area: header;
  grid-column: 1/5;
  margin: 0;
  padding-left: 15px;
  padding-bottom: 5px;
  text-transform: uppercase;
  color: #212121;
  font-size: 20px;
  font-family: "TheSerifDnevnikBold";
}
.elections--title--banner {
  font-size: 1.4em;
}
.elections .elections--banner {
  flex-flow: column wrap;
  max-width: 800px;
}
.elections .elections--banner--president {
  display: flex;
  flex-flow: row wrap;
  max-width: 800px;
  margin: 0 auto;
  margin: auto 0;
}
.elections .elections--banner--president .elections--bg .dot {
  display: block;
}
.elections .elections--banner--president .elections--bg .dot::before {
  width: 6.5em;
  height: 6.5em;
  top: 50%;
  left: 0%;
  transform: translate(80%, -50%);
  background-color: transparent;
  border: 1.2em solid #f6f6f6;
}
.elections .elections--banner--president .elections--bg .dot::after {
  width: 2em;
  height: 2em;
  top: 60%;
  left: 50%;
  transform: translate(100%, -50%);
  background-color: #f6f6f6;
}
.elections .elections--banner--president .elections--bg .grid {
  top: 25%;
  bottom: 50%;
}
.elections .elections--banner--president .elections--bg .grid::before, .elections .elections--banner--president .elections--bg .grid::after {
  content: "";
  position: absolute;
  top: 0%;
  left: 5%;
  width: 0.15em;
  height: 30%;
  background-color: #ce1c2c;
  border: none;
}
.elections .elections--banner--president .elections--bg .grid::before {
  transform: rotate(-45deg);
}
.elections .elections--banner--president .elections--bg .grid::after {
  transform: rotate(45deg);
}
.elections .elections--banner--president ul {
  animation: none;
  height: 100px;
}
.elections .elections--banner--president ul:after {
  content: "";
  bottom: 0;
}
.elections .elections--banner--president li {
  margin: 0 20% 0 60%;
  min-height: 25%;
}
.elections .elections--banner--president li img {
  max-width: 300%;
  transform: translateX(-85%);
}
.elections .elections--banner--president li::after {
  display: none;
}
.elections .elections--banner--president + .parlament .elections--title,
.elections .elections--banner--president + .parlament .graph {
  background-color: #f4f4f4;
  padding: 1em;
}
.elections .elections--banner--president + .parlament .graph {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  width: 100%;
  height: 180px;
  animation: fx-addpadding 0.3s linear forwards;
}
.elections .elections--banner--president + .parlament .graph li {
  position: relative;
  height: 100%;
  width: 90%;
  min-height: 17%;
  height: calc(var(--full) * 2.5);
  animation: 0.45s ease-out 0s 1 fx-from-bottom;
  margin: 0 10% 0 0;
  color: transparent;
}
.elections .elections--banner--president + .parlament .graph li:before, .elections .elections--banner--president + .parlament .graph li:after {
  color: #333;
  left: 0;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}
.elections .elections--banner--president + .parlament .graph li:before {
  content: attr(data-voteproc) " %";
  counter-reset: variable var(--voteproc);
  position: absolute;
  top: -20px;
  font-family: "TheSerifDnevnikSemiBold";
}
.elections .elections--banner--president + .parlament .graph li:after {
  top: initial;
  bottom: -1.8em;
  font-size: 0.9em;
  font-style: italic;
}
.elections .elections--banner--president + .parlament .chart:before, .elections .elections--banner--president + .parlament .chart:after {
  position: absolute;
  top: 0;
  height: 32px;
  font-size: 1em;
  text-align: center;
  color: #212121;
  transform: none;
  border-top: none;
  background-color: transparent;
  opacity: 0;
  backface-visibility: hidden;
  animation-fill-mode: forwards;
  animation-name: fx-fade-in;
  animation-duration: 1.2s;
  animation-timing-function: ease-in-out;
}
.elections .elections--banner--president + .parlament .chart:before {
  content: "МАНДАТИ";
  left: 0;
  right: 0;
  width: 100%;
  font-size: 16px;
  line-height: 32px;
  text-align: left;
  text-indent: 1em;
  font-family: "TheSerifDnevnikSemiBold";
}
.elections .elections--banner--president + .parlament .chart:after {
  display: none;
}
.elections .elections--banner--president + .parlament .chart li {
  position: initial;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: var(--fill);
  animation-name: slideInFromLeft;
  width: calc(var(--mandates) * 2.4%);
  color: #fff;
  font-size: 1.25em;
  text-align: left;
  white-space: nowrap;
  padding-left: 2px;
  height: 54px;
  border-radius: 0;
  transform: none;
  border: none;
}
.elections .elections--banner--president + .parlament .chart li > span {
  position: absolute;
  color: #fff;
  left: 0;
  top: 50%;
  margin: 0;
  transform: translate(0.25em, -50%);
  font-size: 1em;
  opacity: 1;
  font-family: "TheSerifDnevnikSemiBold";
  
}
.elections .elections--banner--parlament {
  display: none;
  flex-direction: column;
  padding: 0;
}
.elections .elections--banner--parlament ul.chart {
  position: relative;
  display: flex;
  bottom: 0;
  width: 100%;
  height: auto;
  margin: 1em auto;
  font-size: 0.75rem;
  padding-top: 34px;
}
.elections--activity {
  position: absolute;
  top: 0;
  right: 0;
  font-family: "TheSerifDnevnikSemiBold";
  letter-spacing: 0.1em;
}
.elections--activity span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0;
}
.elections--activity:after {
  content: " ";
  position: absolute;
  background-size: cover;
  z-index: -1;
}
.elections.elections--banner .elections--activity {
  grid-column: 1/1;
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  color: #fff;
  padding: 1% 3% 0.4% 1.2%;
  
  letter-spacing: 0.1em;
  background-color: #999;
  font-size: 14px;
}
.elections.elections--banner .elections--activity span {
  font-size: 14px;
  line-height: 0.9em;
  letter-spacing: 0.05em;
  
  margin: 4px auto 8px;
}
.elections.elections--banner .elections--activity span:before {
  display: none;
}
.elections.elections--banner .elections--activity:before, .elections.elections--banner .elections--activity:after {
  content: "";
  position: absolute;
  z-index: 0;
}
.elections.elections--banner .elections--activity:before {
  width: 100%;
  top: 0;
  height: 20px;
  right: 20%;
  background-image: radial-gradient(rgba(51, 51, 51, 0.5) 1px, transparent 1px);
  background-size: 3px 3px;
  transform: translate(-100%, 0%);
}
.elections.elections--banner .elections--activity:after {
  background-image: url(/images/izbori2021/urna.svg);
  right: 1px;
  top: 2px;
  width: 70px;
  height: 26px;
  background-size: 25px 80%;
  background-position: right center;
  background-repeat: no-repeat;
}
.elections--bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.elections--bg .dot {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}
.elections--bg .dot::before, .elections--bg .dot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.elections--bg .dot::before {
  width: 9em;
  height: 9em;
  top: 40%;
  left: 25%;
  transform: translate(-80%, -50%);
  background-color: #f6f6f6;
}
.elections--bg .dot::after {
  width: 14em;
  height: 14em;
  top: 44%;
  right: 40%;
  transform: translate(70%, -50%);
  background-color: transparent;
  border: 2.4em solid #f6f6f6;
}
.elections--bg .grid {
  position: absolute;
  width: 16%;
  top: 30%;
  left: 4%;
  bottom: 60%;
  background-image: radial-gradient(rgba(51, 51, 51, 0.5) 1px, transparent 1px);
  background-size: 3px 3px;
}

.elections .runoff {
  display: flex;
  flex-flow: wrap row;
  flex-basis: 100%;
  overflow: hidden;
  font-family: 'TheSerifDnevnikSemiBold';
  padding: 0 0 10px 0;
  margin: 0;
  border-bottom: 2px solid #CE1D2E;
}
.elections-home .runoff {
  margin: 0 0 15px 0;
}
.elections .runoff > header {
  width: 100%;
  display: flex;
}
.elections .runoff > header h2 {
  flex: 1;
  padding: 0;
  font-size: 18px;
}
.elections .runoff > header .elections--activity {
  flex: 0 1;
  position: relative;
  width: auto;
  padding: 4px 0;
  font-size: 24px;
}
.elections .runoff > header .elections--activity span {
  font-size: 12px;
}
.elections .runoff > header .elections--activity span:before {
  display: none;
}
.elections .runoff > header .elections--activity:after {
  display: none;
}
.elections .runoff > footer {
  position: relative;
  display: flex;
  width: 100%;
  margin-top: 0.5em;
  justify-content: flex-end;
}
.elections .runoff > footer p {
  display: flex;
  position: relative;
  color: rgba(51, 51, 51, 0.8);
  margin-bottom: 0;
  padding-top: 0.75rem;
  justify-content: space-between;
  width: 100%;
}
.elections .runoff > footer p:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  right: 0;
  border-top: 1px solid rgba(51, 51, 51, 0.25);
}
.elections .runoff article {
  position: relative;
  overflow: hidden;
  width: var(--full);
  height: 160px;
  min-width: 15%;
  max-width: 85%;
}
.elections .runoff article img,
.elections .runoff article h5 {
  position: absolute;
}
.elections .runoff article img {
  opacity: 0;
  backface-visibility: hidden;
  animation-fill-mode: forwards;
  animation-name: fx-fade-in;
  animation-duration: 0.2s;
  animation-timing-function: ease-in-out;
  bottom: 36px;
  max-height: 75%;
}
.elections .runoff article h5 {
  opacity: 0;
  backface-visibility: hidden;
  animation-fill-mode: forwards;
  animation-name: fx-fade-in;
  animation-duration: 0.9s;
  animation-timing-function: ease-in-out;
  bottom: 4px;
  padding: 0 0.5em;
  font-size: 14px;
}
.elections .runoff article:first-of-type img,
.elections .runoff article:first-of-type h5 {
  left: 0;
  text-align: left;
}
.elections .runoff article:first-of-type .progress {
  justify-content: flex-end;
  margin-left: 10%;
  box-shadow: -10px 0 15px -15px #ffffff inset;
  /* left: -100%; */
  animation: fx-runoff-left 0.5s forwards;
}
.elections .runoff article:first-of-type .progress:hover span {
  transform: translateX(-10%);
}
.elections .runoff article:last-of-type img,
.elections .runoff article:last-of-type h5 {
  right: 0;
  text-align: right;
}
.elections .runoff article:last-of-type .progress {
  justify-content: start;
  margin-right: 10%;
  box-shadow: 10px 0px 15px -15px #ffffff inset;
  /* right: -100%; */
  animation: fx-runoff-right 0.8s forwards;
}
.elections .runoff article:last-of-type .progress:hover span {
  transform: translateX(10%);
}
.elections .runoff .progress {
  display: flex;
  align-items: center;
  background-color: var(--fill);
  position: relative;
  top: calc(100% - 36px);
  transform: translateY(-100%);
  height: 30%;
  border-radius: 0;
  opacity: 1;
  animation-timing-function: ease-in-out;
  animation-duration: 0.8s;
}
.elections .runoff .progress:hover span {
  font-size: 26px;
  transform: translateX(-10%);
}
.elections .runoff .progress span {
  opacity: 0;
  backface-visibility: hidden;
  animation-fill-mode: forwards;
  animation-name: fx-fade-in;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  transition: all 0.4s ease;
  color: #fff;
  font-size: 24px;
  margin: auto 0.25em;
}
.elections .runoff .progress span:after {
  content: " %";
}

.elections-cols {
  display: flex;
  flex-flow: nowrap row;
  justify-content: space-between;
  width: 100%;
}

.elections .runoff > footer strong {
  font-weight: 700;
}

.elections-home .elections--bg .dot::after {
    width: 12em;
    height: 12em;
    top: 40%;
    right: 40%;
    transform: translate(70%, -50%);
    background-color: transparent;
    border: 2.4em solid #f6f6f6;
}
.elections-home .president li::after {
    font-size: 0.85rem;
  }

/* BREAKPOINT max-width: 575.98px
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 575.98px) {
  .elections {
    flex-direction: column;
  }
  .elections.elections--banner .elections--activity {
    font-size: 1.25em;
  }
  .elections.elections--banner .elections--activity span {
    font-size: 0.7rem;
  }
  .elections--title {
    font-size: 13px;
  }
  .elections--activity {
    color: #fff;
    background-color: #999;
    padding: 1% 3% 0.4% 1.2%;
    font-size: 1.25em;
  }
  .elections--activity span {
    padding-right: 20px;
  }
  .elections--activity:after {
    content: "";
    z-index: 0;
    background-image: url(/images/izbori2021/urna.svg);
    right: 1px;
    bottom: 4px;
    width: 20px;
    height: 30px;
  }
  .elections--activity :before {
    content: "";
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    background-image: radial-gradient(#333 4%, transparent 4%);
    background-size: 11px 11px;
    transform: translate(-100%, 0%);
  }
  .elections--bg .dot::before {
    top: 25%;
    left: 35%;
  }
  .elections--bg .dot::after {
    width: 10em;
    height: 10em;
    top: 20%;
    right: 40%;
    border: 1.8em solid #f6f6f6;
  }
  .elections--bg .grid {
    top: 10%;
    bottom: 82%;
  }
  .elections--bg .grid:before, .elections--bg .grid:after {
    content: "";
    position: absolute;
    top: 0%;
    left: 5%;
    width: 0.15em;
    height: 6%;
    background-color: #ce1c2c;
    border: none;
  }
  .elections--bg .grid:before {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .elections--bg .grid:after {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .elections--banner--president .elections--activity:before {
    display: none;
  }
  .elections--banner--president li {
    font-size: 0.85em;
  }
  .elections--banner--president li::before {
    content: attr(data-voteproc) " %";
    counter-reset: variable var(--voteproc);
    width: 100%;
  }
  .elections .chart {
    display: flex;
    font-size: 0.75rem;
    padding-top: 38px;
    width: 100%;
  }
  .elections .chart:before, .elections .chart:after {
    position: absolute;
    top: 0;
    height: 32px;
    font-size: 1em;
    text-align: center;
    color: #212121;
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
  }
  .elections .chart:before {
    content: "МАНДАТИ";
    left: 0;
    font-size: 13px;
    
    line-height: 32px;
    text-indent: 1em;
  }
  .elections .chart:after {
    content: " ";
    right: 0;
  }
  .elections .chart li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-color: var(--fill);
    animation-name: slideInFromLeft;
    width: calc(var(--mandates) * 2.4%);
    color: #fff;
    font-size: 1.25em;
    text-align: left;
    white-space: nowrap;
    padding-left: 2px;
    height: 54px;
  }
  .elections .chart li span > span {
    display: none;
  }
  .elections .parlament {
    grid-template-areas: "header" "graph" "chart ";
  }
  .elections .parlament .graph {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    width: 100%;
    align-items: end;
    animation: fx-addpadding 0.3s linear forwards;
    height: 180px;
  }
  .elections .parlament .graph li {
    position: relative;
    height: 100%;
    min-height: 17%;
    height: calc(var(--full) * 2.5);
    animation: 0.45s ease-out 0s 1 fx-from-bottom;
    margin: 0 10%;
    color: transparent;
  }
  .elections .parlament .graph li::before, .elections .parlament .graph li::after {
    color: #333;
    left: 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }
  .elections .parlament .graph li::before {
    content: attr(data-voteproc) " %";
    counter-reset: variable var(--voteproc);
    position: absolute;
    top: -20px;
    
  }
  .elections .parlament .graph li::after {
    content: attr(data-name);
    counter-reset: variable var(--name);
    position: absolute;
    bottom: -20px;
    font-size: 0.9em;
    font-style: italic;
  }
  .elections .president {
    height: 180px;
  }
  .elections .president li:after {
    font-size: 11px;
    left: auto;
  }
}
/* BREAKPOINT min-width: 576px
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 576px) {
  .elections footer > p {
    color: #333333;
    font-size: 13px;
  }
  .elections:not(.elections--banner) .chart {
    width: 200px;
    height: 100px;
    overflow: initial;
    margin: 50px 130px 1em 50px;
  }
  .elections:not(.elections--banner) .chart:before, .elections:not(.elections--banner) .chart:after {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #212121;
  }
  .elections:not(.elections--banner) .chart:before {
    content: "МАНДАТИ";
    left: 50%;
    bottom: 0%;
    width: 50%;
    transform: translate(-50%, -25%);
    
    font-size: 0.9em;
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
  }
  .elections:not(.elections--banner) .chart:after {
    content: " ";
    height: 60px;
    bottom: 0;
    left: 50%;
    width: 104%;
    transform: translate(-50%, 100%);
    font-size: 0.85em;
    font-weight: 400;
    border-top: 2px solid #e5e5e5;
    background-color: #fff;
  }
  .elections:not(.elections--banner) .chart li {
    position: absolute;
    top: 100%;
    left: 0;
    width: inherit;
    height: inherit;
    border: 45px solid;
    border-top: none;
    transform-origin: 50% 0;
    border-color: transparent;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border-color: var(--fill);
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+1) {
    z-index: 0;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+1):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+1) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 0.3s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+2) {
    z-index: -1;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+2):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+2) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 0.5s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+3) {
    z-index: -2;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+3):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+3) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 0.7s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+4) {
    z-index: -3;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+4):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+4) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 0.9s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+5) {
    z-index: -4;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+5):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+5) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 1.1s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+6) {
    z-index: -5;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+6):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+6) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 1.3s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+7) {
    z-index: -6;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+7):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+7) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 1.5s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+8) {
    z-index: -7;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+8):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+8) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 1.7s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+9) {
    z-index: -8;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+9):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+9) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 1.9s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+10) {
    z-index: -9;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+10):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+10) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 2.1s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+11) {
    z-index: -10;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+11):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+11) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 2.3s;
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+12) {
    z-index: -11;
    animation: rotate 0.4s linear forwards 1;
  }
  @keyframes rotate {
    100% {
      transform: rotate(var(--offset));
    }
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+12):hover span {
    z-index: 20;
    
  }
  .elections:not(.elections--banner) .chart li:nth-child(1n+12) span {
    color: var(--fill);
    opacity: 0;
    backface-visibility: hidden;
    animation-fill-mode: forwards;
    animation-name: fx-fade-in;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-duration: 2.5s;
  }
  .elections:not(.elections--banner) .chart li > span {
    position: absolute;
    left: -90%;
    top: 50%;
    margin: 12px;
    transform: rotate(var(--shift));
    font-size: 1rem;
  }
  .elections .graph {
    width: calc(100% + 175px);
  }
  .elections .graph li {
    width: calc(var(--full) * 3);
    min-width: 7.5%;
    animation-name: slideInFromLeft;
    margin: 0 0 5px 0;
    padding: 0 5px 0 0;
    color: #fff;
    text-align: right;
  }
  .elections .graph li::after {
    content: attr(data-name);
    counter-reset: variable var(--name);
    position: absolute;
    right: -66px;
    color: #212121;
    overflow: hidden;
    width: 60px;
    text-align: left;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.09em;
    top: 0;
  }
  .elections li::before {
    top: -16px;
    width: 100%;
    font-size: 0.9em;
  }
  .elections li::after {
    bottom: -16px;
    font-size: 0.65em;
  }
  .elections .president {
    height: 240px;
  }
  .elections .parlament {
    grid-template-areas: "header header" "graph chart ";
    grid-template-columns: 2fr 1fr;
  }
  .elections--activity {
    width: 94px;
    background-color: transparent;
    text-align: center;
    padding-top: 40px;
    font-family: "TheSerifDnevnikBold";
  }
  .elections--activity span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
  .elections--activity:after {
    content: "";
    background: url(/images/izbori2021/urna-box.png) no-repeat center;
    background-size: 100% 90%;
    top: 0;
    right: 1px;
    width: 94px;
    height: 94px;
  }
  .elections .elections--banner {
    flex-flow: column wrap;
    max-width: 800px;
  }
  .elections .elections--banner--president li {
    margin: 0 20% 0 60%;
    min-height: 25%;
  }
  .elections .elections--banner--president li img {
    max-width: 220%;
    transform: translateX(-85%);
  }
  .elections button {
    padding: 1.5em 0.5em;
    margin: 0.15em 0;
  }
}
/* BREAKPOINT min-width: 768px
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 768px) {
  .elections > section {
    flex: 2;
  }
  .elections > section.parlament {
    flex: 3;
  }
  .elections:not(.elections--banner) {
    flex-flow: row wrap;
  }
  .elections .chart {
    width: 220px;
    height: 110px;
  }
  .elections .chart li {
    border-bottom-left-radius: 110px;
    border-bottom-right-radius: 110px;
  }
  .elections .chart li > span {
    left: -52%;
    top: 30%;
    margin: 5px;
  }
  .elections .runoff article {
    min-width: 25%;
    max-width: 75%;
  }
}
/* BREAKPOINT min-width: 992px
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 992px) {
  .elections :not(.elections--banner) .chart {
    width: 280px;
    height: 140px;
  }
  .elections :not(.elections--banner) .chart li {
    border-bottom-left-radius: 140px;
    border-bottom-right-radius: 140px;
  }
  .elections :not(.elections--banner) .chart li > span {
    left: -52%;
    top: 30%;
    margin: 5px;
  }
}
/* BREAKPOINT min-width: 1200px
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (min-width: 1200px) {
  .president li {
    margin: 0 5% 0 25%;
  }
  .president li::before {
    top: -20px;
    width: 50%;
    font-size: 1em;
  }
  .president li::after {
    bottom: -24px;
    font-size: 0.9em;
  }

  .elections :not(.elections--banner) .chart {
    width: 280px;
    height: 140px;
  }
  .elections :not(.elections--banner) .chart:before {
    content: "МАНДАТИ";
    font-size: 1.1em;
  }
  .elections :not(.elections--banner) .chart li {
    border-bottom-left-radius: 140px;
    border-bottom-right-radius: 140px;
  }
  .elections :not(.elections--banner) .chart li > span {
    left: -62%;
    top: 0%;
    margin: 5px 5px 5px 0px;
  }
}
/* ANIMATIONS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@keyframes fx-addpadding {
  0% {
    padding-bottom: 0;
  }
  100% {
    padding-bottom: 30px;
  }
}
@keyframes fx-fade-in {
  0%, 90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fx-from-bottom {
  0% {
    transform: translateY(100%);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
