body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}
a {
    text-decoration: none;
    color:#000;
}
.layout-container--1200 {
    max-width: calc(1200px - 60px);
    margin: 0 auto;
}
/*ESTILOS PARA FASE 1 Y 2*/
.header-pre-results {
    background: #002140;
    padding: 24px 0px;
}
.header-pre-results-container {
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.header-pre-results-logo {
    background:url(https://www-storage.13.cl/t13/resources/elecciones-2025/portada/logo-tudecides-25.svg)no-repeat ;
    width: 146px;
    height: 68px;
    display: block;
    margin-right: 20px;
    background-size: 100%;
    transition: opacity 0.4s;
}
.header-pre-results-logo:hover {
    opacity: 0.3;
}
.counter-title {
    color: #f2f2e5;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 16px;
    max-width: 168px;
    text-align: end;
    margin-right: 25px;
}
.counter {
    color: #2c81ba;
    font-weight: 700;
    font-size: 42px;
    line-height: 27px;
}
.counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2c81ba;
    padding: 12px 34px;
    border-radius: 5px;
}
.banner-widget {
    background: url(./banner-widget-portada.jpg)no-repeat;
    width: 744px;
    height: 170px;
    display: block;
    margin: 34px auto 0px;
    transition: opacity 0.4s;
}
.banner-widget:hover {
    opacity: 0.3;
}
/*ESTILOS PARA LOS RESULTADOS*/
.header-results {
    background: #002140;
    padding: 50px 0px;
}
.header-results .wrapper {
    padding: 0px;
    display: initial;
}
/* .elecciones-abril .header-top.results .banner-resultados {
    background: url(https://www-storage.13.cl/t13/resources/elecciones-2021/images/banner-resultados-desktop.jpg)no-repeat center;
    width: 100%;
    height: 166px;
    margin-left: 43px;
    display: block;
    max-width: 926px;
    transition:opacity 0.3s;
    border-radius: 14px;
    overflow: hidden;
    background-size: 100%;
} */
.header-results .logo-image a {
    background:url(https://www-storage.13.cl/t13/resources/elecciones-2025/portada/logo-tudecides-25.svg)no-repeat bottom center;
    display: block;
    max-width: 90px;
    width: 100%;
    height: 64px;
    transition: 0.3s;
    background-size: auto;
    background-position-y: 20px;
}
.elecciones-abril .header-top.results .logo-image a:hover {
    opacity: 0.4;
}
.elecciones-abril .header-top.results .logo-image img {
    display: none;
}
.header-results.results {
    background: #e3e3d7;
}
.mesas-escrutadas {
    color: #072640;
    font-size: 19px;
    font-weight: 900;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    justify-content: center;
    padding: 24px 0px 28px;
    background: #e3e3d7;
    text-align: center;
}
.mesas-escrutadas::before {
    content: "";
    background: url(./voto-rojo.svg);
    height: 24px;
    width: 24px;
    margin-right: 10px;
}
.mesas-escrutadas span {
    color: #d71f27;
    text-indent: 4px;
}
#logo-elecciones {
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 0px 10px;
}
#logo-elecciones h2 {
    margin: 0 0px 0px 22px;
    color: #f2f2e5;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
}
#logo-elecciones h2 span {
    color: #f51b27;
}
.versus-candidatos {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    max-width: 885px;
    width: 100%;
    margin: 32px auto 0px;
}
.candidato-imagen {
    border-radius: 100%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    border: 4px solid #e3e3d7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.candidato-imagen img {
    width: 100%;
    height: 100%;
}
.candidato:nth-child(1) .candidato-imagen img {
        background: #d71f27;
} 
.candidato:nth-child(5) .candidato-imagen img {
        background: #2c81ba;
} 
.candidato:nth-child(1) {
    grid-column: 1;
    grid-row: 1/3;
}
.candidato:nth-child(2) {
    grid-column: 3;
    grid-row: 1/3;
}
.versus-data {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 443px;
    grid-template-rows: repeat(3, min-content);
}
.grafico {
    height: 10px;
    width: 100%;
    background: #d71f27;
    grid-column: 1/-1;
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: center;
}
.grafico:before {
    content: "";
    height: 22px;
    width: 2px;
    background: #e3e3d7;
    opacity: 0.6;
    z-index: 2;
}
.grafico:after {
    content: "";
    width: 0; 
    height: 0; 
    border-bottom: 10px solid #e3e3d7;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent; 
    position: absolute;
    top: 20px;
}
.grafico.voto-cero {
    background: #e3e3d7;
}
.meter {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0px 10px 10px 0px;
    background: #2c81ba;
}
.versus-candidatos .candidato-nombre {
    font-size: 16px;
    color: #e3e3d7;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 18px;
    margin-top: 18px;
}
.versus-candidatos .porcentaje {
    font-size: 46px;
    font-weight: 900;
}
.versus-candidatos .porcentaje:nth-child(1) {
    color: #f51b27;
    grid-column: 1;
    grid-row: 1;
    justify-self: left;
}
.versus-candidatos .porcentaje:nth-child(2)  {
    color: #2c81ba;
    grid-column: 2;
    grid-row: 1;
    justify-self: right;
}
.versus-candidatos  .votos {
    font-size: 14px;
    color: #e3e3d7;
    text-transform: uppercase;
    margin-top: 12px;
}
.versus-candidatos  .votos:nth-child(4)  {
    justify-self: left;
}
.versus-candidatos  .votos:nth-child(5)  {
    justify-self: right;
}
.btn-resultados-generales {
    font-size: 13px;
    color: #f2f2e5;
    font-weight: 700;
    line-height: 17px;
    text-transform: uppercase;
    background: #2c81ba;
    padding: 14px 22px;
    border-radius: 10px;
    display: block;
    width: fit-content;
    margin: 36px auto 0px;
    grid-column: 2;
    grid-row: 2;
    transition: opacity 0.4s;
}
.btn-resultados-generales:hover {
    opacity: 0.3;
}
.versus-mesas {
    display: none;
}
/*ESTILOS VERSION TABLET*/
@media only screen and (min-width: 768px) and (max-width: 1099px) {
    
}
/*ESTILOS VERSION MOBILE*/
@media(max-width:767px) {
    /*Estilos para fase 1 y 2*/
    .header-pre-results-container {
        flex-direction: column;
        padding: 0px 10px;
    }
    .counter-wrapper {
        flex-direction: column;
        padding: 10px 20px;
    }
    .header-pre-results-logo  {
        margin-right: 0px;
        width: 120px;
        margin-bottom: 22px;
    }
    .counter-title {
        max-width: initial;
        margin-bottom: 12px;
        margin-right: 0px;
        text-align: center;
    }
    .counter {
        font-size: 36px;
    }
    .banner-widget {
        background: url(./banner-widget-portada-mob.jpg)no-repeat center;
        max-width: 320px;
        width: 100%;
        margin: auto;
    }
    .header-pre-results {
        padding: 18px 0px 0px;
    }
    .banner-widget:hover {
        opacity:initial;
    }
    .header-pre-results-logo:hover {
        opacity: initial;
    }
   
    /*estilos para los resultados*/
    .elecciones-abril .header-top.results {
        padding: 26px 10px;
    }
    .header-results.results {
        display: none;
    }
    .elecciones-abril .header-top.results .wrapper  {
        padding: 0px 10px;
    }
    .elecciones-abril .header-top.results .banner-resultados {
        display: none;
    }
    
    .banner-comunas:hover {
        opacity: unset;
    }
    .elecciones-abril .header-top.results .logo-image img {
        display: block;
    }
    .candidato-imagen {
        width: 54px;
        height: 54px;
        border: 2px solid #e3e3d7;
    }
    #logo-elecciones h2 {
        font-size: 22px;
        line-height: 22px;
        margin: 0 0px 0px 14px;
        width: min-content;
    }
    .versus-candidatos .candidato-nombre {
        font-size: 13px;
        line-height: 13px;
        margin-top: 12px;
    }
    .versus-candidatos .porcentaje {
        font-size: 26px;
        margin-bottom: 6px;
    }
    .grafico {
        height: 4px;
        border-radius: 10px;
    }
    .versus-candidatos .votos {
        display: none;
    }
    .grafico:before {
        margin-top: -18px;
    }
    .grafico:after {
        top: -22px;
        transform: rotate(180deg);
    }
    .btn-resultados-generales {
        margin: 32px auto 0px;
        grid-column: 1/-1;
        grid-row: 3;
    }
    .versus-mesas {
        font-size: 16px;
        font-weight: 900;
        color: #e3e3d7;
        display: none;
        grid-column: 1/-1;
        grid-row: 2;
        text-transform: uppercase;
        margin-top: 27px;
        align-items: center;
        justify-content: center;
    }
    .versus-mesas:before {
        content: "";
        background: url(./voto-rojo.svg);
        height: 24px;
        width: 24px;
        display: inline-block;
        background-size: 100%;
        margin-right: 10px;
    }
    .versus-mesas span {
        color: #d71f27;
        text-indent: 4px;
    }
    .mesas-escrutadas {
        display: none;
    }
   
}
.dias,.hrs,.min,.seg {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}
.dias {
    margin-right: 10px;
    color:#e73b31;
}
.dias strong,.hrs strong, .min strong, .seg strong {
    display: block;
    font-size: 11px;
    font-weight: 400;
    margin-top: 10px;
    color: #0a6cb5;
}
.header-results, .mesas-escrutadas, .header-pre-results {display: none;}