@font-face {
  font-family: 'climateact';
  src: url('../font/climateact.eot?14585331');
  src: url('../font/climateact.eot?14585331#iefix') format('embedded-opentype'),
       url('../font/climateact.woff2?14585331') format('woff2'),
       url('../font/climateact.woff?14585331') format('woff'),
       url('../font/climateact.ttf?14585331') format('truetype'),
       url('../font/climateact.svg?14585331#climateact') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'climateact';
    src: url('../font/climateact.svg?14585331#climateact') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "climateact";
  font-style: normal;
  font-weight: normal;
  speak: never;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-right-open:before { content: '\e806'; } /* '' */

.campaign-stats {
  background: #f3fcfd;
}

.campaign-stats .wrap > h2 {
  color: #123c4c;
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
}

.campaign-stats .filter-content {
  display: none;
  color: #123c4c;
  padding: 10px;
  text-align: center;
}

.campaign-stats .filter-content--active {
   display: flex;
   flex-direction: column;
}


.campaign-stats .filter-content h2 {
  font-size: 45px;
}
.campaign-stats label {
  cursor: pointer;
  color: #14b8cd;
  display: block;
  font-size: 18px;
  padding: 10px;
  border-top: 1px solid #123c4c;
  font-weight: bold;
  position: relative;
}
.campaign-stats label:focus {
  border: none;
  border-top: 1px solid #123c4c;
  outline: 0;
  -moz-outline-style: none;
}

.campaign-stats label:after {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #14b8cd;
  display: block;
  position: absolute;
  right: 10px;
  top: 18px;
  transition: all 0.3s;
}

.campaign-stats input:checked + label:after {
  border-left: 5px solid #123c4c;
  transform: rotate(90deg);
}

.campaign-stats label:hover {
  color: #123c4c;
}

.campaign-stats input:checked + label {
  color: #123c4c;
}

.state {
  margin: 0;
}

.state li span {
  border: 2px solid #123c4c !important;
  color: #123c4c !important;
  cursor: pointer;
}
.state li {
  margin: 0 5px 10px 0;
}
.state li span:hover,
.state li span.active {
  background: #123c4c !important;
  color: #fff !important;
}
.electorate {
  display: block;
  margin: 0 0 10px;
}
.electorate select {
  border: 1px solid #e5e5e5;
  max-width: 300px;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .campaign-stats .wrap > h2 {
    margin-bottom: 60px;
  }

  .campaign-stats .wrap {
display: block;
    padding: 40px;
    background: #fff;
  }

  .stats-wrap {
    display: flex;
    position: relative;
    min-height: 350px;
  }
  .stat-filters {
    width: 30%;
    align-self: flex-start;
  }
  .campaign-stats .filter-content {
    padding: 0;
    position: absolute;
    right: 0;
    width: 60%;
    top: 0;
    height: 100%;
    font-weight: bold;
  }
  .campaign-stats .filter-content h2 {
    font-size: 85px;
  }

  .campaign-stats .filter-content .state {
    margin-bottom: 20px;
  }

  .campaign-stats input:checked + label:after {
    transform: none;
  }
}

.state {
  margin-bottom: 20px;
}

.state ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.state li {
  display: inline-block;
  margin: 0 10px 10px 0;
}

.state li span {
  display: block;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  background: none;
  border-radius: 3px;
  padding: 12px 15px 10px 15px;
  font-weight: bold;
  line-height: 1;
  font-size: 14px;
  transition: background .3s;
}