@font-face {
    font-family: 'Bebas Neue';
    src: url('elections/font/bebasneue_bold-webfont.eot');
    src: url('elections/font/bebasneue_bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('elections/font/bebasneue_bold-webfont.woff2') format('woff2'),
    url('elections/font/bebasneue_bold-webfont.woff') format('woff'),
    url('elections/font/bebasneue_bold-webfont.ttf') format('truetype'),
    url('elections/font/bebasneue_bold-webfont.svg#bebas_neuebold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('elections/font/bebasneue_book-webfont.eot');
    src: url('elections/font/bebasneue_book-webfont.eot?#iefix') format('embedded-opentype'),
    url('elections/font/bebasneue_book-webfont.woff2') format('woff2'),
    url('elections/font/bebasneue_book-webfont.woff') format('woff'),
    url('elections/font/bebasneue_book-webfont.ttf') format('truetype'),
    url('elections/font/bebasneue_book-webfont.svg#bebas_neuebook') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('elections/font/bebasneue_light-webfont.eot');
    src: url('elections/font/bebasneue_light-webfont.eot?#iefix') format('embedded-opentype'),
    url('elections/font/bebasneue_light-webfont.woff2') format('woff2'),
    url('elections/font/bebasneue_light-webfont.woff') format('woff'),
    url('elections/font/bebasneue_light-webfont.ttf') format('truetype'),
    url('elections/font/bebasneue_light-webfont.svg#bebas_neuelight') format('svg');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('elections/font/bebasneue_regular-webfont.eot');
    src: url('elections/font/bebasneue_regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('elections/font/bebasneue_regular-webfont.woff2') format('woff2'),
    url('elections/font/bebasneue_regular-webfont.woff') format('woff'),
    url('elections/font/bebasneue_regular-webfont.ttf') format('truetype'),
    url('elections/font/bebasneue_regular-webfont.svg#bebas_neueregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('elections/font/bebasneue_thin-webfont.eot');
    src: url('elections/font/bebasneue_thin-webfont.eot?#iefix') format('embedded-opentype'),
    url('elections/font/bebasneue_thin-webfont.woff2') format('woff2'),
    url('elections/font/bebasneue_thin-webfont.woff') format('woff'),
    url('elections/font/bebasneue_thin-webfont.ttf') format('truetype'),
    url('elections/font/bebasneue_thin-webfont.svg#bebas_neuethin') format('svg');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanssemibold';
    src: url('elections/font/OpenSans-Semibold-webfont.eot');
    src: url('elections/font/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
    url('elections/font/OpenSans-Semibold-webfont.woff') format('woff'),
    url('elections/font/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

.elections {
    margin-bottom: 10px;
    background: url('elections/background.png') repeat-y center;
}
.elections-li {
    margin-bottom: 20px;
}
.elections-ranking {
    box-sizing: border-box;
    width: 100%;
    padding: 20px 10px;
}
.election-info {
    font-family: 'Bebas Neue';
    text-align: center;
    color: #fff;
}
.elections-ranking .elections-constituencies {
    width: auto;
    text-align: center;
    padding: 35px 0 0;
}
.bars {
    clear: right;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    max-width: 450px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    height: 197px;
    margin: 18px auto 0;
    padding-bottom: 10px;
    background: url('elections/svg/pod_wykres_wide.svg') no-repeat center bottom;
    background-size: 100% 21px;
}
.elections-wide .bars{
    clear: none;
    float: left;
    width: 57%;
    height: 375px;
}
.bar {
    position: relative;
    flex: 0 1 auto;
    align-self: auto;
    width: 13.2%;
    height: 0;
    margin-left: 5.8%;
}
.bar:after {
    position: absolute;
    content: '';
    opacity: 0;
    bottom: -20px;
    left: 50%;
    width: 76%;
    margin-left: -38%;
    padding-top: 76%;
    background-color: #fff;
    box-shadow: 0px 0px 10px -5px rgba(0,0,0,0.75);
}
.bar-number {
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
    min-height: 25px;
    bottom: 32px;
    font-family: 'Bebas Neue';
    font-weight: 300;
    font-size: 20px;
    text-align: center;
    white-space: nowrap;
    color: #fff;
}
.bar-number:after {
    content: '%';
}
.has-logo.bar:after,
.has-logo .bar-number {
    opacity: 1;
    transition: opacity 10ms linear .5s
}
.logo-pis {
    background-color: #035fb0;
}
.logo-ko {
    background-color: #fb6308;
}
.logo-sld {
    background-color: #a11843;
}
.logo-psl {
    background-color: #2ed397;
}
.logo-kwin {
    background-color: #fff000;
}
.logo-bis {
    background-color: #ff0c00;
}
.logo-splm {
    background-color: #8a31a2;
}
.logo-azer {
    background-color: #42a723;
}
.logo-p {
    background-color: #ad1008;
}
.logo-mn {
    background-color: #a95f00;
}
.bellow-threshold {
    background-color: #2d3645;
    opacity: 0.6;
}
.has-logo {
    transition: height .6s;
}
.has-logo:after {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.logo-pis:after {
    background-image: url('elections/img/51x51/pis_sm.svg');
}
.logo-ko:after {
    background-image: url('elections/img/51x51/ko.svg');
}
.logo-sld:after {
    background-image: url('elections/img/51x51/sld.svg');
}
.logo-psl:after {
    background-image: url('elections/img/51x51/psl.svg');
}
.logo-kwin:after {
    background-image: url('elections/img/51x51/kwin.svg');
}
.logo-bis:after {
    background-image: url('elections/img/51x51/bis.svg');
}
.logo-splm:after {
    background-image: url('elections/img/51x51/splm.svg');
}
.logo-azer:after {
    background-image: url('elections/img/51x51/azer.svg');
}
.logo-p:after {
    background-image: url('elections/img/51x51/p.svg');
}
.logo-mn:after {
    background-image: url('elections/img/51x51/mn.svg');
}
a.elections-header,
.elections-header {
    display: inline-block;
    margin: 0 auto;
    color: #ffffff;
    padding: 10px 15px;
    font-size: 29px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #a01f30;
    transition: background 0.3s ease-in-out;
    white-space: nowrap;
    /* text-overflow: ellipsis; */
    /* overflow: hidden; */
    /* max-width: 100%; */
}

a.elections-header:hover {
    background: #a93545;
    text-decoration: none;
}
.elections-header2{
    float: none;
    font-family: 'Bebas Neue';
    display: inline-block;
    text-transform: uppercase;
    background: #a12331;
    color: #ffffff;
    font-size: 29px;
    font-weight: bold;
    text-align: center;
    /*line-height: 40px;*/
    padding: 7px 18px 5px;
    transition: background 0.3s ease-in-out;
    max-width: 100%;
}

a.elections-header2{
    color: #ffffff;
}

a.elections-header2:hover{
    background: #a93545;
    text-decoration: none;
}

.elections-detail {
    padding: 3px 20px 0;
    font-family: open_sanssemibold, Arial, sans-serif;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: -0.2px;
    text-align: center;
}
.elections-frequency {
    display: inline-block;
    margin: 0 auto;
    padding: 11px 0 7px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 4px solid #951d34;
    text-transform: uppercase;
}
.elections-description{
    font-family: 'open_sanssemibold';
    display: block;
    font-weight: 500;
    font-size: 12px;
    line-height: 17px;
    margin: 6px 0 14px;
    letter-spacing: -0.1px;
}

.elections-chairs{
    color: #ffffff;
    padding: 20px 20px 0;
    text-align: center;
}

.elections-chairs *{
    box-sizing: border-box;
}

.elections-chairs svg{
    width: 100%;
    max-width: 100%;
    margin: 4px auto;
}

.elections-chairs-svg {
    width: 460px;
    margin: auto;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: flex-end;
    position: relative;
}

.elections-chairs-svg svg{
    margin: 0 -10px;
    width: calc(100% + 20px);
    max-width: calc(100% + 20px);
}

.elections-constituencies{
    display: block;
    margin: -5px auto;
    list-style: none;
    font-size: 0;
    padding: 34px 10px;
    max-width: 100%;
    width: 465px;
    color: #ffffff;
}

.elections-constituencies li{
    display: inline-block;
    vertical-align: middle;
    padding: 5px 9px;
    text-align: left;
    text-transform: uppercase;
    font-size: 20px;
    font-family: "Bebas Neue";
}

.elections-constituencies li small{
    font-size: 13px;
}

.elections-constituencies-circle{
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    margin-right: 10px;
}

.elections-constituencies-circle.pis,
.elections-dg-bar-fill.pis{
    background: #035fb0;
}

.elections-constituencies-circle.sld,
.elections-dg-bar-fill.sld{
    background: #a11843;
}

.elections-constituencies-circle.psl,
.elections-dg-bar-fill.psl{
    background: #2ed397;
}

.elections-constituencies-circle.ko,
.elections-dg-bar-fill.ko{
    background: #fb6308;
}

.elections-constituencies-circle.kwin,
.elections-dg-bar-fill.kwin{
    background: #fff000;
}

.elections-constituencies-circle.p,
.elections-dg-bar-fill.p{
    background: #ad1008;
}

.elections-constituencies-circle.azer,
.elections-dg-bar-fill.azer{
    background: #42a723;
}

.elections-constituencies-circle.bis,
.elections-dg-bar-fill.bis{
    background: #ff0c00;
}

.elections-constituencies-circle.splm,
.elections-dg-bar-fill.splm{
    background: #8e31a2;
}

.elections-constituencies-circle.mn,
.elections-dg-bar-fill.mn{
    background: #a95f00;
}

.elections-constituencies-circle.i,
.elections-dg-bar-fill.i{
    background: #50677c;
}

svg#senat .st0{opacity:0.15;fill-rule:evenodd;clip-rule:evenodd;fill:#09121E;fill-opacity:0.68;enable-background:new    ;}
svg#senat .st1{opacity:0.32;fill-rule:evenodd;clip-rule:evenodd;fill:#09121E;fill-opacity:0.88;enable-background:new    ;}
svg#senat .st2{clip-path:url(#SVGID_2_);}
svg#senat .st3{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}
svg#senat .st4{fill-rule:evenodd;clip-rule:evenodd;fill:#2d3645;}

svg#sejm .st0{clip-path:url(#SVGID_2_2);}
svg#sejm .st1{opacity:0.15;fill:#09121E;enable-background:new;}
svg#sejm .st2{opacity:0.32;fill:#09121E;enable-background:new;}
svg#sejm .st3{fill:#FFFFFF;}
svg#sejm .st4{fill:#2d3645;}

svg#sejm .pis, svg#senat .pis, svg#mapa .st1.pis{fill:#035fb0;}
svg#sejm .sld, svg#senat .sld, svg#mapa .st1.sld{fill:#a11843;}
svg#sejm .psl, svg#senat .psl, svg#mapa .st1.psl{fill:#2ed397;}
svg#sejm .ko, svg#senat .ko, svg#mapa .st1.ko{fill:#fb6308;}
svg#sejm .kwin, svg#senat .kwin, svg#mapa .st1.kwin{fill:#fff000;}
svg#sejm .p, svg#senat .redhard, svg#mapa .st1.p{fill:#ad1008;}
svg#sejm .azer, svg#senat .azer, svg#mapa .st1.azer{fill:#42a723;}
svg#sejm .bis, svg#senat .bis, svg#mapa .st1.bis{fill:#ff0c00;}
svg#sejm .splm, svg#senat .splm, svg#mapa .st1.splm{fill:#8e31a2;}
svg#sejm .mn, svg#senat .mn, svg#mapa .st1.mn{fill:#a95f00;}
svg#sejm .i, svg#senat .i, svg#mapa .st1.i{fill:#50677c;}