/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
}

@font-face {
  font-family: 'Brace';
  src: url('Brace-Bold.eot');
  src: url('Brace-Bold.eot?#iefix') format('embedded-opentype'),
      url('Brace-Bold.woff2') format('woff2'),
      url('Brace-Bold.woff') format('woff'),
      url('Brace-Bold.ttf') format('truetype'),
      url('Brace-Bold.svg#Brace-Bold') format('svg');
  font-weight: bold;
  font-style: normal;
}

/* Banner CSS */
#banner > * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Brace';
  font-weight: bold;
}

#banner > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#banner {
  width: 900px;
  height: 250px;
  position: relative;
  overflow: hidden;
}
.canditates-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 970px;
  height: 517px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url('all.jpg');
}

.election-wrapp {
  position: relative;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  height: 100%;
  padding: 0 10px;
}
.election-wrapp h1 {
  font-size: 100px;
  color: #ffffff;
  letter-spacing: 2px;
}
.election-wrapp .title {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 85px;
}
.empty-div {
  position: relative;
  width: 100%;
  height: 85px;
  margin: 5px 0;
}
.overflow {
  position: relative;
  overflow: hidden;
}
.overflow span {
  display: inline-block;
}
.election-wrapp  .overflow span {
  position: relative;
  color: #ffffff;
  font-size: 25px;
}
.election-wrapp  .overflow {
  overflow: inherit;
}
.election-wrapp .overflow:first-child{
  top: 0;
}
.election-wrapp .overflow:last-child{
  bottom:0;
}
.election-wrapp .overflow:first-child span:before, 
.election-wrapp .overflow:first-child span:after, 
.election-wrapp .overflow:last-child span:before, 
.election-wrapp .overflow:last-child span:after {
  position: absolute;
  content: '';
  width: 0%;
  height: 1px;
  background-color: #ffffff;
  top: 12px;
  left: 0;
  transition: 1.5s all;
}
.election-wrapp .overflow.active:first-child span:before, 
.election-wrapp .overflow.active:first-child span:after {
  width: 250px;
}
.election-wrapp .overflow.active:last-child span:before, 
.election-wrapp .overflow.active:last-child span:after {
  width: 225px;
}
.election-wrapp .overflow:first-child span:before,
.election-wrapp .overflow:last-child span:before {
  right: calc(100% + 10px);
  left: auto;
}
.election-wrapp .overflow:first-child span:after,
.election-wrapp .overflow:last-child span:after {
  left: calc(100% + 10px);
}

.plr-logo {
  position: absolute;
  bottom: -3px;
  right: 30px;
  transform: translateY(100%);
  z-index: 2;
}
.plr-logo img {
  width: 305px;
}
.text-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 80px 0 0 20px;
  background-color: #ffffff;
  z-index: 1;
}
.text-wrap .overflow {
 float: left;
 padding-right: 30px;
}
.text-wrap span { 
  font-size: 30px;
  color: #0d5cab;
}