html{
    margin: 5px;

}

*{
    margin: 0;
    user-select: none;
}
a{
    text-decoration: none;
    color: black;
}
body{
    display: grid;
    grid-template-areas: "content line";
    grid-template-columns: calc(100% - 470px) 470px;
    position: relative;
    height: 100%;
    grid-gap: 10px;
}

.maincontent{
    grid-area: content;
    display: inline-block;
    height: 100%;
    overflow-x: hidden;
    overflow-wrap: anywhere;
}

#witnesses{
    grid-area: line;
    width: calc(100% - 5px);
    height: 100%;
    /*! border: 1px solid #000000; */
    display: flex;
    flex-basis: 100%;
    flex: 1;
    /*! align-self: stretch; */  
    flex-wrap: wrap;
    position: relative;
    overflow-y: scroll;
}

#witnesses > div:not(.escalado){
    transition: linear 3s;
}
#witnesses > div.escalado{
    transition: linear 1s;
}

#witnesses > div{
    display: inline-block;
    /*! grid-template-areas: "name sched"; */
    /*! grid-template-columns: 1fr min-content; */
    flex-basis: 100%;
    width: 100%;
    position: relative;
}
#witnesses > div > div{
    /*! float: right; */
    font-family: monospace;
    display: inline-block;
}
#witnesses > div > div:last-child{
    float: right;
    font-family: monospace;
    margin-right: 10px;
}
#witnesses > div > div:first-child{
    text-align: left;
    font-family: monospace;
    min-width: 40px;
}
.top20{
    background-color:#0080004f;
}

[public=STM1111111111111111111111111111111114T1Anm]{
    position: relative;
    display: none !important;
}
[public=STM1111111111111111111111111111111114T1Anm]::after{
    position: absolute;
    height: 2%;
    width: 100%;
    top: 49%;
    left: 0;
    background-color: black;
    display: inline-block;
    content: "";
}

.selected > div{
    font-weight: bold;
}


#witnesses > .escalado:not(.top20){
    background-color:#0000ff5c;
}
#witnesses > .feito:not(.escalado){
    animation-name: down_animate;
    animation-duration: 60s;
    animation-iteration-count: 1;
}

@keyframes down_animate {
    0% 
    {
        background-color:#0000ff5c;
    }

    100% 
    {
        background-color: transparent;
    }
}

.pronto{
    font-style: italic;
}

.escalado.pronto:before{
    content: "✓";
    position: absolute;
    height: 100%;
    font-size: medium;
    vertical-align: middle;
    line-height: normal;
    display: inline;
    overflow: visible;
    top: -4px;
}


#fernandosoder{
    background-color: chartreuse;
}
#perfilbrasil{
    background-color: chartreuse;
}

.primeiro{
    background-color: red !important; 
}
.progressVotes{
    display: inline-grid;
    width: 100%;
    grid-template: "antes meio depois" "barra barra barra"
}

.progressVotes :nth-child(1){
    grid-area: antes;
}
.progressVotes :nth-child(2){
    grid-area: meio;
    text-align: center;
}
.progressVotes :nth-child(3){
    grid-area: depois;
    text-align: right;
}
.progressVotes :nth-child(4){
    grid-area: barra;
}
