*{box-sizing: border-box;}
body{text-align: center;font-family: Roboto;padding:0;margin:0;background:#dbe0e4;}
header { background: #012346; color: white; font-size: 26px; font-weight: bold; text-transform: uppercase; padding: 20px; }
main { max-width: 630px; margin: auto;padding: 20px; }
.disclaimer {border-bottom:1px solid #012346; padding: 15px; margin-top: 30px; font-size: 14px; color: #012346; }
.resultados {width: 100%;align-items: center; justify-content: center; display: grid; grid-template-columns: repeat(8,1fr); max-width: 590px;margin:auto;}

.resultados .row:nth-child(odd)  {background-color: #edf0f2;}
.resultados .row:nth-child(even)  {background-color: #e4e8eb;}
.resultados .row {display: grid;grid-template-rows: 45px 1fr 1fr;align-items: center;gap: 10px;padding: 16px 4px;}
.resultados .row .candidatos {height: 100%;display: flex;align-items: center;font-size: 14px;font-weight: 700;color: #678298;}
.resultados .row .porcentaje{font-weight:900;font-size: 18px;color: #012346;}
.resultados .row .votos {    font-size: 11px;color: #012346;font-weight: 400;}
.seleccion { margin:20px 0px 10px; background: white; border-radius: 100px; }
.seleccion #searchComunas-flexdatalist { padding: 10px 21px; width: 100%; text-align: center; text-transform: uppercase; font-family: Roboto; font-size: 17px; color: #012346; font-weight: bold; border-radius: 100px; border: none; box-sizing: border-box; }
.seleccion #searchComunas-flexdatalist:focus-within {outline: none;}
.resultados-comuna { font-weight: bold; text-transform: uppercase; font-size: 24px; color: #444444; padding: 20px; box-sizing: border-box;line-height: 25px;}

.resultados-opcion-nombre { font-size: 19px; margin-bottom: 0px; }
.resultados-opcion-votos { font-weight: initial; line-height: 14px; }
.resultados-opcion-porcentaje { font-size: 30px; line-height: 30px; margin: 5px 0; }
.resultados-opcion-votos::after { content: " Votos"; }
ul#searchComunas-flexdatalist-results {box-shadow: none;border: none;}
.flexdatalist-results li {border-bottom: 1px solid #eeeeee;}


path { stroke: #fff;stroke-width: 0.8;fill:#eeeeee;cursor: pointer;}

path:hover{filter:brightness(0.6)}
#mapa{padding: 35px 0px 0px;}
.nomenclatura .row {align-self: flex-start;text-align: center;font-weight: bold;margin: 5px 0;text-transform: uppercase;font-size: 15px;    font-size: 15px;display: flex;flex-direction: column-reverse;justify-content: center;align-items: center;row-gap: 10px;max-width: 136px;width: 100%;}
.nomenclatura {    padding-top: 26px;max-width: 590px;margin: auto;    display: flex;gap: 15px;flex-flow: wrap;align-items: center;justify-content: center;}
.nomenclatura .row div {padding: 5px 0;}
.nomenclatura .row .color {width: 30px;height: 30px;border-radius: 50%;}
.nomenclatura .row:nth-child(1) .color {background-color: #912828;}
.nomenclatura .row:nth-child(2) .color {background-color: #ff78c3;}
.nomenclatura .row:nth-child(3) .color {background-color: #0a5aff;}
.nomenclatura .row:nth-child(4) .color {background-color: #14aa46;}
.nomenclatura .row:nth-child(5) .color {background-color: #f02846;}
.nomenclatura .row:nth-child(6) .color {background-color: #0a28aa;}
.nomenclatura .row:nth-child(7) .color {background-color: #0a9bff;}
.nomenclatura .row:nth-child(8) .color {background-color: #ff6e1e;}

@media (max-width: 800px){
    header { font-size: 20px;font-size: 18px;padding: 10px;}
    .resultados-comuna { font-size: 18px; line-height: 19px;padding: 10px;grid-row: 1; grid-column: 1/-1;}
    .resultados-opcion-nombre { font-size: 16px; margin-bottom: 0px; }
    .resultados-opcion-porcentaje { font-size: 24px; }
    .resultados-opcion-votos { font-size: 12px; }
    .resultados { display: flex;overflow: scroll;justify-content: left;}
    .nomenclatura .row {font-size: 12px;align-items: center;letter-spacing: -1px;}
     #mapa {padding:0px;}
    #mapa svg {height: 400px;}
    .disclaimer {margin-top: 0px;}
    path:hover{filter:none;}
}
.to_update__button {
    text-transform: uppercase;
    background: none;
    color: #0a6cb5;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    font-weight: 900;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Roboto';
    transition: opacity 0.4s;
    margin: 0px auto 10px;
    border: 0px;
}
.to_update__button:hover {
    opacity: 0.3;
}
.to_update__button span {
    line-height: initial;
    margin-left: 4px;
    border-top: 2px solid #0a6cb5;
    border-right: 2px solid #0a6cb5;
    width: 8px;
    height: 8px;
    display: block;
    transform: rotate(45deg);
    margin-top: -3px;
}
#sin-resultados {display:none;}