.prelection #miniplayer-instance {
    display:block!important;
}

.prelection {
    font-family: 'Lato';
    background: #AC2939 url('../images/wybory2020/bg.jpg') no-repeat;
    /* background-repeat: no-repeat; */
    background-size: cover;
    padding: 20px 0px;
    background-position: top center;
}

/* .prelection .province {
    margin-top: 15px;
} */

.prelection h2 {
    font-size: 25px;
    text-align: center;
    color: #fff;
    margin: 0 5px 13px;
    font-weight: 900;
}

.prelection_header .logo {
    text-align: center;
}

.prelection_header .logo svg {
    margin: 13px auto;
    height: 55px;
}

.prelection_header .menu {
    width: 100%;
    margin: 0 auto 25px;
    padding-top: 20px;
    border-top: solid 1px #8f6b93;
    display: none;
}

.prelection_header .menu ul {
    text-align: center;
    list-style-type: none;
    width: 100%;
    padding: 0;
}

.prelection_header .menu li {
    list-style-type: none;
    display: inline-block;
    margin: 0 10px;
}

.prelection_header .menu li a {
    padding: 5px;
    display: inline-block;
    color: #c5c5c5;
    font-size: 18px;
    letter-spacing: 1.35px;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    transition: all, .2s;
}

.prelection_header .menu li.active a {
    color: #fff;
    font-weight: bold;
    border-bottom: 4px solid #8f6b93;
}

.prelection_header .menu li a:hover {
    color: #fff;
    transition: all, .2s;
}

.prelection .bar__logotypes {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 10px 0;
    margin-left: 50px;
    height: 100%;
}

.prelection .bar__picture {
    width: 66px;
    height: 66px;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin-top: -7px;
}

.prelection .bar__picture svg {
    width: 66px;
    height: 66px;
}

.candidates__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: space-around; */
}

.candidates__item {
    width: calc(100% / 2);
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;  
}

.candidates__item--eliminated {
    filter: grayscale(1);
}

.candidates__logo {
    width: 125px;
    height: 125px;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 50%;   
    display: block; 
}

.candidates__logo svg {
    width: 125px;
    height: 125px;
}

.candidates__item a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.candidates__item p {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin-top: 15px;
    padding: 0 2px;
}

.prelection .bar__info {
    flex-basis: 100%;
    text-align: center;
    font-size: 10px;
    position: relative;
}

.prelection .bar__title {
    font-size: 11px;
    display: block;
    padding: 0 2px;
    line-height: 120%;
    text-align: center;
}

.prelection .bar__labels {
    display: flex;
    flex-direction: row;
    margin-left: 50px;
}

.prelection .attendance__wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 34px;
    margin-top: 20px;
}

.prelection .attendance__block {
    background: #3d4877;
    width: 211px;
    height: 19px;
    position: relative;
    margin: 0 20px;
}

.prelection .attendance__text,
.prelection .attendance__value {
    font-size: 13px;
    color: #fff;
    font-weight: bold;
}

.prelection .attendance__progress {
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    height: 100%;
    display: block;
}

.prelection .title {
    border-bottom: 1px solid #ac2a3a;
    padding-bottom: 7px;
    margin: 5px 0 15px;
    font-size: 14px;
    font-weight: bold;
    height: 36px;
    display: flex;
    align-items: center;
    color: #fff;
}

.prelection .title svg {
    margin-right: 11px;
    height: 16px;
}

.prelection .tabs {
    padding: 20px 13px;
    background: #232c52;
    width: 100%;
    margin: 0 auto;
    color: #fff;   
    position: relative;  
    box-sizing: border-box; 
}
.prelection .tabs::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    width: 100%;
    background: linear-gradient(to left, #ac2a3a, rgba(128, 188, 255, 0.88));
}

.prelection .info {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    right: 25px;
    bottom: 10px;
}

.prelection .info__text {
    font-size: 12px;
    color: #9d9d9d;
}

.province__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.province__info {
    width: 100%;
}
.province__map {
    display: none;
}
.province__map polygon {
    cursor: pointer;
}

.prelection .selectr-container {
    font-size: 13px;
    font-weight: bold;
    color: #000;
}

.prelection .selectr-selected {
    border-radius: 8px;
    padding: 13px 28px 13px 14px;
}
.prelection .selectr-selected:focus {
    outline: 0;
}
.prelection .selectr-container.open .selectr-selected {
    border-radius: 8px 8px 0 0;
}
.prelection .selectr-option.active {
    background: #ac2a3a;
}
.prelection .news_list {
    margin-top: 30px;
    padding: 0 10px;
    box-sizing: border-box;
}

.elections-iframe-wrapper {
    background-size: cover;
    padding: 20px 0 23px;
}

.prelection .layout-flex {
    display: flex;
    flex-wrap: wrap;
}

.prelection .elections-box {
    flex: auto;
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.prelection .elections-box__image {
    display: block;
    max-width: 144px;
    height: auto;
    flex-shrink: 0;
}

.prelection .elections-box__content {
    padding-left: 15px;
    padding-right: 10px;
}

.prelection .elections-box__title-link {
    color: inherit
}

.prelection .elections-box__title {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}

.prelection .elections-button-wrapper {
    display: flex;
    justify-content: center;
}

.prelection .elections-button {
    display: block;
    color: #b91d21;
    background-color: #fff;
    padding: 10px 37px;
}

.prelection .elections-button:hover {
    color: #fff;
    background-color: #b91d21;
}

.prelection .election__btn-more {
    background-image: url('../images/wybory2020/arrow_wybory2.svg');
    margin-bottom: 50px; 
    padding: 11px 60px 12px 30px;
}

.prelection .election__btn-more:hover {
    background: #232c52;
    background-image: url('../images/wybory2020/arrow_wybory1.svg');
    background-repeat: no-repeat;
    background-position: right 40px top 11px;
}

.prelection .election__btn-more a{
    color: #9c293a;
    font-weight: bold;
}

.prelection .election__btn-more:hover a{
    color: #fff;
}

.prelection .video_wrapper {
    width: 100%;
}

.prelection .video_wrapper .js-tvplayer {
    position: relative;
    padding-bottom: 56%;;
}

.prelection .only-stream .video_wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.prelection .video_wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
}

.prelection .video_label {
    background: #f5a623;
    color: #232c52;
    font-weight: bold;
    font-size: 20px;
    height: auto;
    display: flex;
    padding: 10px;
}

.prelection .overall__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.prelection .overall__wrapper-video {
    flex-direction: column;
}

.prelection .overall__video {
    width: 100%;
    margin-right: 26px;
    margin-bottom: 15px;
}

.prelection .overall__results {
    width: 100%;
}

.prelection .bar_wrap-canvas {
    min-height: 200px;
}

.prelection .bar_wrap-horizontal {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 20px;
}

.prelection .bar__logotypes {
    flex-direction: column;
    width: 70px;
    margin: 0;
}

.prelection .bar__labels {
    display: none;
}

.prelection .bar_wrap-canvas {
    width: calc(100% - 70px);
}

.province__mobile-wrap,
.overall__results-wrapper {
    display: flex;
    flex-direction: column-reverse;
}

.second-round {
    color: #fefa00;
    font-size: 14px;
    text-align: center;
}

.prelection .tab-wrapper {
    margin-bottom: 20px;
}
.prelection .tab-wrapper:last-child {
    margin-bottom: 0;
}

.prelection .bar__picture-title {
    display: none;
}

@media (min-width: 768px) {
    .prelection .tab-wrapper {
        margin-bottom: 0px;
    }
    .prelection .elections-box {
        flex: 0 1 50%;
    }
    .prelection .elections-box__title {
        font-size: 19px;
    }
    .prelection h2 {
        font-size: 50px;
        margin: 0 30px 30px;
    }
    .prelection_header .logo svg {
        margin: 23px auto;
        height: 70px;
    }
    .prelection .elections-box__image {
        max-width: 178px;
    }
    .prelection .title {
        font-size: 18px;
    }
    .prelection .title svg {
        height: 23px;
    }
    .prelection .video_label {
        padding: 20px;
        font-size: 30px;
    }
    .province__mobile-wrap,
    .overall__results-wrapper {
        flex-direction: column;
    }
    .prelection .attendance__wrapper {
        margin-top: 0;
    }
    .province .attendance__wrapper {
        margin-top: 20px;
    }
    .prelection .elections-box__title {
        font-size: 16px;
    }
    .candidates__item {
        width: calc(100% / 4);
    }
    .candidates__logo {
        width: 145px;
        height: 145px;
        opacity: .95;
        transform-origin: center center;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
        transition: all, .2s;
        transform: translate(0, -1%)scale(1);
        will-change: transform, scale;
    }
    .candidates__logo svg {
        width: 145px;
        height: 145px;
    }
    .candidates__logo:hover {
        transition: all, .2s;
        opacity: 1;
        transform:translate(0, -1%)scale(1.05,1.05);
    }
    .prelection .bar_wrap-canvas {
        width: calc(100% - 120px);
    }
    .prelection .bar__logotypes {
        width: 120px;
    }
    .prelection .bar__picture {
        /* position: relative; */
        margin-top: 0;
    }
    .prelection .bar__picture, 
    .prelection .bar__picture svg{
        width: 100px;
        height: 100px;
    } 
    .prelection .bar__picture-title {
        display: block;
        position: absolute;
        margin-top: 10px;
    }
}

@media screen and (min-width: 992px) {
    .prelection {
        padding: 20px;
    }
    .prelection_header .menu {
        display: block;
    }
    .prelection .overall__wrapper-video {
        flex-direction: row;
    }
    .prelection .overall__video {
        width: 420px;
        margin-bottom: 0;
    }
    .prelection .overall__results {
        width: calc(100% - 446px);
    }
    .prelection .overall__results--novideo {
        width: 100%;
    }
    .prelection .tabs {
        height: 550px;
        padding: 23px;
    }
    .prelection .elections-box__image {
        max-width: 208px;
    }
    .prelection .election__btn-more{
        width: 230px;
    }
    .prelection .elections-box__title {
        font-size: 20px;
        padding-right: 5px;
    }
    .prelection .bar__info {
        height: 80px;
    }
    .prelection .bar_wrap-video .bar__title,
    .prelection .province .bar__title{
        position: absolute;
        transform: translateX(-50%) rotate(-55deg);
        width: 98px;
        transform-origin: left center;
        bottom: 0;
        left: 50%;
    }
    .prelection .bar_wrap-nofreq {
        margin-top: 20px;
    }
    .prelection .info {
        margin-top: 0;
    }
    .candidates__item {
        width: 16.666%;
    }
    .candidates__item p {
        font-size: 14px;
    }
    .province__info {
        width: 540px;
    }
    .province__map {
        display: flex;
        justify-content: center;
        width: calc(100% - 566px);
    }
    .prelection .bar_wrap-canvas {
        width: calc(100% - 100px);
    }
    .prelection .bar__logotypes {
        width: 100px;
    }
    .prelection .bar__picture, 
    .prelection .bar__picture svg{
        width: 80px;
        height: 80px;
    } 
    .bar_wrap-novideo {
        width: 700px;
        margin: 0 auto;
    }
    .prelection .bar_wrap-horizontal {
        margin-top: 0;
    }
}

@media (min-width: 1300px) {
    .prelection .overall__video {
        width: 540px;
    }
    .prelection .overall__results {
        width: calc(100% - 566px);
    }
    .prelection .overall__results--novideo {
        width: 100%;
    }
    .province__info {
        width: 680px;
    }
    .province__map {
        width: calc(100% - 706px);
    }
    .prelection .bar_wrap-canvas {
        width: calc(100% - 170px);
        margin-right: 20px;
    }
    .prelection .bar__logotypes {
        width: 120px;
    }
    .prelection .bar__picture, 
    .prelection .bar__picture svg{
        width: 100px;
        height: 100px;
    } 
}

@media (min-width: 1470px) {
    .prelection .elections-box {
        flex: 0 1 33.33%;
    }  
    .province__info {
        width: 760px;
    }
    .province__map {
        display: flex;
        justify-content: center;
        width: calc(100% - 786px);
    }
    .prelection .bar__title {
        font-size: 13px;
        padding: 0 5px;
    }
    .prelection .bar_wrap-video .bar__title,
    .prelection .province .bar__title {
        font-size: 11px;
        padding: 0 3px;
    }
    .prelection .bar__info {
        height: auto;
    }
    .prelection .bar_wrap-video .bar__title,
    .prelection .province .bar__title{
        position: static;
        transform: translateX(0%) rotate(0deg);
        width: auto;
        transform-origin: left center;
        bottom: unset;
        left: unset;
    }
    .prelection .info {
        margin-top: 10px;
    }
    /* .prelection .bar__picture-title {
        font-size: 16px;
    } */
}

@media (min-width: 1920px) {

}