#yleVaalipallo.standalone {
  width: 850px;
  height: 850px;
}
#yleVaalipallo.standalone .yleVaalipallo__placeholder {
  -moz-transition: none;
  -o-transition: none;
  -webkit-transition: none;
  transition: none;
  display: none;
}
#yleVaalipallo.standalone .yleVaalipallo__svg {
  top: 0;
  -moz-transition: none;
  -o-transition: none;
  -webkit-transition: none;
  transition: none;
  opacity: 1;
}
#yleVaalipallo.standalone .yleVaalipallo__candidate--fadeOut {
  -moz-transition: none;
  -o-transition: none;
  -webkit-transition: none;
  transition: none;
}
#yleVaalipallo {
  position: relative;
  margin: 0;
}
#yleVaalipallo #yleVaalipallo__instructionLink {
  display: none;
}
#yleVaalipallo .yleVaalipallo__svg {
  -moz-transition: opacity 0.25s ease-in;
  -o-transition: opacity 0.25s ease-in;
  -webkit-transition: opacity 0.25s ease-in;
  transition: opacity 0.25s ease-in;
  position: absolute;
  top: 20px;
  width: 100%;
  height: 100%;
  opacity: 0;
}
#yleVaalipallo .yleVaalipallo__svg svg {
  width: 100%;
  height: 100%;
}
#yleVaalipallo .yleVaalipallo__placeholder {
  top: 20px;
  opacity: 1;
  -moz-transition: opacity 0.25s ease-in;
  -o-transition: opacity 0.25s ease-in;
  -webkit-transition: opacity 0.25s ease-in;
  transition: opacity 0.25s ease-in;
  background: none;
  position: absolute;
  width: 100%;
  height: 100%;
  color: #ffffff;
}
#yleVaalipallo .yleVaalipallo__placeholder.yleVaalipallo__placeholder--resultsAvailable .yleVaalipallo__placeholder__infoBox {
  display: none;
}
#yleVaalipallo .yleVaalipallo__placeholder.yleVaalipallo__placeholder--fi.yleVaalipallo__placeholder--resultsAvailable {
  background: url('/vaalit/ev2015/vaalipallo/png/latest/vaalipallo-99-fi.png') top left no-repeat;
}
#yleVaalipallo .yleVaalipallo__placeholder.yleVaalipallo__placeholder--sv.yleVaalipallo__placeholder--resultsAvailable {
  background: url('/vaalit/ev2015/vaalipallo/png/latest/vaalipallo-99-sv.png') top left no-repeat;
}
#yleVaalipallo .yleVaalipallo__placeholder.yleVaalipallo__placeholder--en.yleVaalipallo__placeholder--resultsAvailable {
  background: url('/vaalit/ev2015/vaalipallo/png/latest/vaalipallo-99-en.png') top left no-repeat;
}
#yleVaalipallo .yleVaalipallo__placeholder .yleVaalipallo__placeholder__infoBox {
  left: calc(50% - 250px);
  top: calc(50% - 85px);
  position: absolute;
  width: 500px;
  background: #487648;
  text-align: center;
  padding: 20px 0;
}
#yleVaalipallo .yleVaalipallo__placeholder .yleVaalipallo__placeholder__infoBox.yleVaalipallo__placeholder__infoBox--hidden {
  display: none;
}
#yleVaalipallo .yleVaalipallo__placeholder .yleVaalipallo__placeholder__heading {
  background: url('/vaalit/ev2015/vaalipallo/dist/css/icons/icon-hourglass.png') top center no-repeat;
  padding-top: 35px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}
#yleVaalipallo .yleVaalipallo__placeholder .yleVaalipallo__placeholder__infoText {
  margin: 20px 0;
  font-size: 16px;
}
#yleVaalipallo .yleVaalipallo__tooltip {
  position: absolute;
  font-family: arial, sans-serif;
  font-size: 12px;
  padding: 10px;
  background-color: #ffffff;
  color: #333;
  border: solid 1px #dddddd;
  border-radius: 0;
  z-index: 41;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  line-height: 1.33;
}
#yleVaalipallo .yleVaalipallo__tooltip:after,
#yleVaalipallo .yleVaalipallo__tooltip:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
#yleVaalipallo .yleVaalipallo__tooltip:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: #ffffff;
  border-width: 10px;
  margin-left: -10px;
}
#yleVaalipallo .yleVaalipallo__tooltip:before {
  border-color: rgba(221, 221, 221, 0);
  border-top-color: #dddddd;
  border-width: 11px;
  margin-left: -11px;
}
#yleVaalipallo .yleVaalipallo__tooltip.yleVaalipallo__tooltip--pointerEventsFix {
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='transparent.png', sizingMethod='scale');
  background: none !important;
  background-color: #ffffff !important;
  margin-top: -10px;
}
#yleVaalipallo .yleVaalipallo__tooltip.yleVaalipallo__tooltip--pointerEventsFix:after,
#yleVaalipallo .yleVaalipallo__tooltip.yleVaalipallo__tooltip--pointerEventsFix:before {
  content: none;
}
#yleVaalipallo .yleVaalipallo__partyTooltip {
  max-width: 150px;
  min-width: 75px;
}
#yleVaalipallo .yleVaalipallo__candidateTooltip {
  max-width: 150px;
  min-width: 140px;
}
#yleVaalipallo .yleVaalipallo__candidateTooltip .yleVaalipallo__candidateTooltip__image__container {
  max-width: 150px;
  height: 175px;
  overflow-y: hidden;
  margin-bottom: 5px;
  background: url('/vaalit/ev2015/vaalipallo/dist/css/load-indicator.gif') no-repeat center;
}
#yleVaalipallo .yleVaalipallo__candidateTooltip .yleVaalipallo__candidateTooltip__image__container .yleVaalipallo__candidateTooltip__image {
  max-width: 100%;
  height: auto;
}
#yleVaalipallo .yleVaalipallo__candidateTooltip .yleVaalipallo__candidateTooltip__name {
  font-weight: bold;
}
#yleVaalipallo .yleVaalipallo__candidateTooltip .yleVaalipallo__candidateTooltip__party {
  margin-bottom: 1em;
}
#yleVaalipallo .yleVaalipallo__candidateTooltip .yleVaalipallo__candidateTooltip__totalVotes {
  font-size: 0.95em;
}
#yleVaalipallo .yleVaalipallo__candidateTooltip .yleVaalipallo__candidateTooltip__municipality {
  font-size: 0.95em;
}
#yleVaalipallo .yleVaalipallo__candidateTooltip .yleVaalipallo__candidateTooltip__showCandidateCardLink {
  display: block;
  margin-top: 5px;
  color: #1c7ac4;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}
#yleVaalipallo .zelect {
  opacity: 0;
}
#yleVaalipallo.yleVaalipallo--ready .yleVaalipallo__svg {
  opacity: 1;
  z-index: 2;
}
#yleVaalipallo.yleVaalipallo--ready .yleVaalipallo__placeholder {
  opacity: 0;
  z-index: 1;
}
#yleVaalipallo.yleVaalipallo--ready .yleVaalit__zelect {
  opacity: 1;
  z-index: 40;
}
#yleVaalipallo.yleVaalipallo--ready .yleVaalit__candidateSelectPlaceholder {
  opacity: 0;
  z-index: 39;
}
#yleVaalipallo.yleVaalipallo--ready #yleVaalipallo__instructionLink {
  display: block;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut {
  -moz-transition: fill 0.25s ease-in, stroke 0.25s ease-in 0.2s ease;
  -o-transition: fill 0.25s ease-in, stroke 0.25s ease-in 0.2s ease;
  -webkit-transition: fill 0.25s ease-in, stroke 0.25s ease-in 0.2s ease;
  transition: fill 0.25s ease-in, stroke 0.25s ease-in 0.2s ease;
  -moz-transition: fill 0.25s ease-in, stroke 0.25s ease-in;
  -o-transition: fill 0.25s ease-in, stroke 0.25s ease-in;
  -webkit-transition: fill 0.25s ease-in, stroke 0.25s ease-in;
  transition: fill 0.25s ease-in, stroke 0.25s ease-in;
  stroke: none;
  pointer-events: none;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--4 {
  fill: #B8BFE2;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--1 {
  fill: #F5B6B8;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--23 {
  fill: #AEDEEA;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--2 {
  fill: #ADD6B6;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--15 {
  fill: #DCAFBE;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--13 {
  fill: #D9EAB3;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--5 {
  fill: #EED6AD;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--9 {
  fill: #CAB8E2;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--30 {
  fill: #C8CACF;
}
#yleVaalipallo .yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--99 {
  fill: #dbdbdb;
}
#yleVaalipallo .yleVaalit__candidateSelect.yleVaalit__candidateSelect--disabled {
  opacity: 0.1;
}
#yleVaalipallo .yleVaalit__candidateSelect.yleVaalit__candidateSelect--disabled .yleVaalit__zelect {
  display: none;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  min-width: 223px;
  line-height: 40px;
  border: 2px solid #404041;
  background-color: #ffffff;
  font: normal 14px 'Open Sans', arial, sans-serif;
  color: #404041;
  cursor: pointer;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__placeholder,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__placeholder,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__zelected,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__zelected {
  margin: 0;
  padding: 2px 0 0 10px;
  line-height: 38px;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__zelected:after,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__zelected:after {
  content: "";
  display: block;
  background: url('/vaalit/ev2015/vaalipallo/dist/css/icons/icon-clear-search.png') no-repeat;
  width: 18px;
  height: 18px;
  float: right;
  margin: 9px 11px 0 0;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__placeholder:after,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__placeholder:after {
  content: "";
  display: block;
  background: url('/vaalit/ev2015/vaalipallo/dist/css/icons/icon-search.png') no-repeat;
  width: 20px;
  height: 21px;
  float: right;
  margin: 7px 8px 0 0;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect.yleVaalit__zelect--open,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder.yleVaalit__zelect--open {
  border-bottom: none;
  z-index: 42;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__dropdown,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__dropdown {
  position: absolute;
  left: -2px;
  top: 40px;
  width: 223px;
  padding: 0;
  border: 2px solid #404041;
  border-top: none;
  background-color: #ffffff;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__dropdown input,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__dropdown input {
  outline: none;
  border: 1px solid #404041;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 209px;
  margin-left: 6px;
  padding: 6px;
  font: normal 14px 'Open Sans', arial, sans-serif;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__dropdown ol,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__dropdown ol {
  margin: 6px 0 3px 0;
  padding: 0;
  list-style-type: none;
  max-height: 155px;
  overflow-y: scroll;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__dropdown ol li,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__dropdown ol li {
  margin: 0;
  padding: 6px;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__dropdown ol li.yleVaalit__zelect__dropdown__current,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__dropdown ol li.yleVaalit__zelect__dropdown__current {
  color: #ffffff;
  background-color: #404041;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__dropdown ol li .yleVaalit__zelect__dropdown__zelectItem--highlighted,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__dropdown ol li .yleVaalit__zelect__dropdown__zelectItem--highlighted {
  font-weight: normal;
  text-decoration: underline;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__zelect .yleVaalit__zelect__dropdown .yleVaalit__zelect__dropdown__noResults,
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder .yleVaalit__zelect__dropdown .yleVaalit__zelect__dropdown__noResults {
  margin: 12px 10px 0 10px;
  padding: 0;
}
#yleVaalipallo .yleVaalit__candidateSelect .yleVaalit__candidateSelectPlaceholder {
  cursor: default;
}
.yleVaalipallo__candidate--fadeOut circle {
  -moz-transition: fill 0.25s ease-in, stroke 0.25s ease-in 0.2s ease;
  -o-transition: fill 0.25s ease-in, stroke 0.25s ease-in 0.2s ease;
  -webkit-transition: fill 0.25s ease-in, stroke 0.25s ease-in 0.2s ease;
  transition: fill 0.25s ease-in, stroke 0.25s ease-in 0.2s ease;
  -moz-transition: fill 0.25s ease-in, stroke 0.25s ease-in;
  -o-transition: fill 0.25s ease-in, stroke 0.25s ease-in;
  -webkit-transition: fill 0.25s ease-in, stroke 0.25s ease-in;
  transition: fill 0.25s ease-in, stroke 0.25s ease-in;
  stroke: none;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--4 circle {
  fill: #B8BFE2;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--1 circle {
  fill: #F5B6B8;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--23 circle {
  fill: #AEDEEA;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--2 circle {
  fill: #ADD6B6;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--15 circle {
  fill: #DCAFBE;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--13 circle {
  fill: #D9EAB3;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--5 circle {
  fill: #EED6AD;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--9 circle {
  fill: #CAB8E2;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--30 circle {
  fill: #C8CACF;
}
.yleVaalipallo__candidate--fadeOut.yleVaalipallo__candidate--party--99 circle {
  fill: #CCCCCC;
}
.yleVaalipallo__candidate--selected circle {
  stroke: #404041   !important;
  stroke-width: 5   !important;
  stroke-opacity: .9 !important;
}
.yleVaalipallo__candidateBubble--hover {
  stroke-width: 2 !important;
  stroke-opacity: 1 !important;
  stroke: #fff;
}
.yleVaalipallo__partyLabel rect {
  stroke-opacity: 0;
}
.yleVaalipallo__partyLabel text {
  font-family: Arial;
  color: #ffffff;
  cursor: default;
}
.yleVaalipallo__candidate__info {
  pointer-events: none;
  font-family: 'Open Sans', arial, sans-serif;
  fill: #ffffff;
  text-transform: uppercase;
  font-size: 13px;
}
.yleVaalipallo__candidate__info .yleVaalipallo__candidate__info__totalVotes {
  font-size: 12px;
}
#yleVaalipallo__instructionLink {
  display: block;
  position: absolute;
  bottom: 60px;
  right: 0;
  padding-left: 26px;
  height: 21px;
  line-height: 21px;
  z-index: 4;
  text-transform: uppercase;
  background: url('/vaalit/ev2015/vaalipallo/dist/css/icons/icon-help.png') top left no-repeat;
  color: #1c7ac4;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}
#yleVaalipallo__instructions {
  z-index: 5;
  position: absolute;
  width: 900px;
  height: 600px;
  bottom: 120px;
  display: none;
  overflow: hidden;
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__close {
  background: url('/vaalit/ev2015/vaalipallo/dist/css/icons/icon-close.png');
  display: block;
  position: absolute;
  z-index: 6;
  top: 16px;
  right: 17px;
  width: 32px;
  height: 32px;
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__primaryAction {
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  display: block;
  width: 300px;
  background: #2d6f91;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
  z-index: 3;
  width: 155px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  margin-left: -78px;
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__primaryAction.hidden {
  display: none;
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__secondaryAction {
  text-decoration: none;
  position: absolute;
  bottom: 63px;
  left: 50%;
  margin-left: -240px;
  color: #009FE8;
  display: block;
  width: 150px;
  text-align: right;
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__slides {
  margin-left: 0;
  position: relative;
  -moz-transition: margin-left 0.5s ease;
  -o-transition: margin-left 0.5s ease;
  -webkit-transition: margin-left 0.5s ease;
  transition: margin-left 0.5s ease;
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__slides--next {
  margin-left: -900px;
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__slide {
  width: 900px;
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__slide--1 {
  position: absolute;
  top: 0;
  left: 0;
}
#yleVaalipallo__instructions .yleVaalipallo__instructions__slide--2 {
  position: absolute;
  top: 0;
  left: 900px;
}
@media (max-width: 899px) {
  #yleVaalipallo__instructions {
    width: 700px;
    height: 467px;
    bottom: 120px;
  }
  #yleVaalipallo__instructions .yleVaalipallo__instructions__close {
    top: 16px;
    right: 17px;
    width: 32px;
    height: 32px;
  }
  #yleVaalipallo__instructions .yleVaalipallo__instructions__primaryAction {
    width: 155px;
    bottom: 50px;
    left: 50%;
    margin-left: -78px;
  }
  #yleVaalipallo__instructions .yleVaalipallo__instructions__secondaryAction {
    bottom: 63px;
    left: 50%;
    margin-left: -240px;
    width: 150px;
  }
  #yleVaalipallo__instructions .yleVaalipallo__instructions__slide {
    width: 700px;
  }
  #yleVaalipallo__instructions .yleVaalipallo__instructions__slide img {
    min-width: 100%;
    max-width: 100%;
  }
  #yleVaalipallo__instructions .yleVaalipallo__instructions__slides--next {
    margin-left: -700px;
  }
  #yleVaalipallo__instructions .yleVaalipallo__instructions__slide--1 {
    position: absolute;
    top: 0;
    left: 0;
  }
  #yleVaalipallo__instructions .yleVaalipallo__instructions__slide--2 {
    position: absolute;
    top: 0;
    left: 700px;
  }
}
