/* layout
--------------------------------------------------------------- */
.election-entry {
    margin: 0.75em 0;
    border-bottom: 1px solid #dcdfde;
    padding-bottom: 0.75em;
    }
.election-entry .row {
    margin: 0;
    }
.election-entry .row [class^=col-] {
    margin-bottom: 0;
    }

/* colors
--------------------------------------------------------------- */
.election-result--elected {
    color: green;
    }
.election-result--notelected {
    color: red;
    }

.election {
    background-color: red;
    }
.vote-yes,
.election---elected {
    background-color: green;
    }
.vote-no,
.election---notelected {
    background-color: red;
    }
.vote-open {
    background-color: white;
    }
.vote-equal {
    background-color: yellow;
    }
    
/* progress-bar native
--------------------------------------------------------------- */
.progress-bar {
    position: relative;
    width: 100%;
    height: 1.5em;
    margin-bottom: 0.75em;
    border: 1px solid #888;
    background-color: #d9d9d9;
    box-shadow: inset 0 3px 6px -3px rgba(0,0,0,0.3);
    }
.progress-bar::after {
    position: absolute;
    content: attr(data-legend);
    display: block;
    top: 0;
    height: 100%;
    width: 100%;
    line-height: 1.3;
    position: absolute;
    z-index: 2;
    padding-left: 0.35em;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 1px 0 #000;
    }
.progress-bar > span {
    display: block;
    height: 100%;
    text-indent: -9999px;
    -webkit-animation-name: progress;
            animation-name: progress;
    -webkit-animation-duration: 2s;
            animation-duration: 2s;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
    -webkit-animation-fill-mode: backwards;
            animation-fill-mode: backwards;
    -webkit-transform: translate3d(0, 0, 0);
    will-change: transform;
    }

@-webkit-keyframes progress {
    from {width: 0%}
    to {}
    }

@keyframes progress {
    from {width: 0%}
    to {}
    }