body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}
a {
    text-decoration: none;
    color:#000;
}
h2 {
    margin-top: 0;
    margin-bottom: 0;
}
.layout-container--1200 {
    max-width: calc(1200px - 60px);
    margin: 0 auto;
}
/*ESTILOS PARA FASE 1 Y 2*/
#dias {display: none;}
#apertura {display: none;}
#cierre {display: none;}
.counter-wrapper {display: none;}
.elecciones-abril { 
    background: url(bg.jpg)center center no-repeat  #bbcbd4;
    background-size: cover;
}
.header-pre-results {
    padding: 40px 52px;
}
.header-pre-results-container {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    justify-content: center;
    align-items: center;
    max-width: 1066px;
    width: 100%;
    margin: auto;
    grid-gap: 30px 60px;

}
.header-pre-results-container .title {
    grid-column: 2/-1;
    grid-row: 1;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    color: #202528;
    font-size: 24px;
    line-height: 24px;
}
.header-pre-results-logo {
    grid-column: 1;
    background: url(logo-tudecides-25.svg)no-repeat;
    width: 266px;
    height: 114px;
    display: block;
    transition: opacity 0.4s;
    grid-row: 1/-1;
}
.header-pre-results-logo:hover {
    opacity: 0.3;
}
.counter-title {
    color: #0a6cb5;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 16px;
    text-align: end;
    margin-right: 18px;
    font-weight: 700;
    
}
.counter-title strong {
   color: #e73b31;
}
.counter {
    color: #0a6cb5;
    font-weight: 900;
    font-size: 38px;
    line-height: 16px;
    display: flex;
}
.counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
    border-radius: 10px;
    grid-column: 2/-1;
    grid-row: 2;
    background: #f2f2f2;
}
.disclaimer {
    font-size: 14px;
    color: white;
    text-align: right;
    width: 465px;
    margin: 10px auto;
    font-style: italic;
}
.banner-widget {
    background: url(https://www-storage.13.cl/t13/_images/banner-falta-v2.jpg)no-repeat;
    width: 744px;
    height: 170px;
    display: block;
    margin: 34px auto 0px;
    transition: opacity 0.4s;
}
.banner-widget:hover {
    opacity: 0.3;
}
/*.btn-result {
    grid-column: 3;
    grid-row: 2;
    background: url(bot-votar.png)center no-repeat;
    max-width: 318px;
    width: 100%;
    display: block;
    background-size: auto;
    transition: opacity 0.3s;
}*/
#buttons-content {
    grid-column: 2 / -1;
    grid-row: 3;
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: center; 
}
#buttons-content a {
    border-radius: 50px;
    background: #0a6cb5;
    padding: 10px 20px;
    color: #ffffff;
    display: block;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s;
}
#buttons-content a:hover {
    opacity: 0.5;
}

.btn-result:hover {
    opacity: 0.3;
}
/*ESTILOS PARA LOS RESULTADOS*/
.header-results {
    display: none;
}
.header-results .wrapper {
    grid-gap: 30px 60px;
    padding: 0px;
    display: grid;
    grid-template-columns: 266px auto;
    max-width: 900px;
    margin: auto;
    width: 100%;
    grid-template-rows: auto auto;
    padding: 40px 50px;
}
.header-results .wrapper .title {
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
    color: #202528;
    font-size: 24px;
    line-height: 24px;
}
.banner-resultados {
    background: url(bot-resultados.png) center no-repeat;
    max-width: 560px;
    width: 100%;
    margin: auto;
    height: 58px;
}
/* .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/_images/logo-portada-widget-02.png) no-repeat center;
    display: block;
    width: auto;
    height: 68px;
    transition: 0.3s;
}
.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: #ededeb;
}
.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: #ededeb;
}
.mesas-escrutadas::before {
    content: "";
    background: url(./voto-rojo.svg);
    height: 24px;
    width: 24px;
    margin-right: 10px;
}
.mesas-escrutadas span {
    color: #ed392f;
    text-indent: 4px;
}
/*
#logo-elecciones {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
} */
#logo-elecciones {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    max-width: 885px;
    width: 95%;
    margin: 0 auto;
    align-items: flex-end;
    justify-content: center;
    column-gap: 40px;
}
#logo-elecciones h2 {
    color: #ededeb;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
}
#logo-elecciones h2 span {
    color: #fe1d25;
}
.versus-candidatos {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    max-width: 885px;
    width: 95%;
    margin: 32px auto 0px;
    gap: 40px;
    align-items: center;
    justify-items: center;
}
.versus-candidatos:hover{
    opacity: .6;
}
.candidato-imagen {
    border-radius: 100%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    border: 4px solid #ededeb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.candidato-imagen img {
    width: 100%;
    height: 100%;
}
.candidato:nth-child(1) {
    grid-column: 1;
    grid-row: 1/2;
}
.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;
    width: 100%;
    grid-template-rows: repeat(3, min-content);
}
.grafico {
    height: 10px;
    width: 100%;
    background: #fe1d25;
    grid-column: 1/-1;
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: center;
}
.grafico:before {
    content: "";
    height: 22px;
    width: 2px;
    background: #ededeb;
    opacity: 0.6;
    z-index: 2;
}
.grafico:after {
    content: "";
    width: 0; 
    height: 0; 
    border-bottom: 10px solid #ededeb;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent; 
    position: absolute;
    top: 20px;
}
.meter {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0px 10px 10px 0px;
    background: #1747cd;
}
.versus-candidatos .candidato {
    font-size: 26px;
    color: #ededeb;
    text-transform: uppercase;
    font-weight: 700;
    background: #fe1d25;
    border-radius: 8px;
    padding: 30px 15px;
}
.versus-candidatos .candidato:last-child {
    background: #1747cd;
}
.versus-candidatos .porcentaje {
    font-size: 46px;
    font-weight: 900;
}
.versus-candidatos .porcentaje:nth-child(1) {
    color:#fe1d25;
    grid-column: 1;
    grid-row: 1;
    justify-self: left;
}
.versus-candidatos .porcentaje:nth-child(2)  {
    color: #1747cd;
    grid-column: 2;
    grid-row: 1;
    justify-self: right;
}
.versus-candidatos  .votos {
    font-size: 14px;
    color: #ededeb;
    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: 15px;
    color: #ededeb;
    font-weight: 700;
    line-height: 17px;
    text-transform: uppercase;
    background: #17467f;
    padding: 14px 22px;
    border-radius: 10px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    grid-column: 2;
    grid-row: 3;
    border: 2px solid #547eb1;
}

.versus-mesas {
    font-size: 16px;
    font-weight: 900;
    color: #ededeb;
    display: block;
    grid-column: 1/-1;
    grid-row: 2;
    text-transform: uppercase;
    display: flex;
    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: #ed392f;
    text-indent: 4px;
}

/*ESTILOS VERSION TABLET*/
@media only screen and (min-width: 768px) and (max-width: 1099px) {
    .elecciones-abril  {
        background-size: cover;
    }
    .header-pre-results-container {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        grid-gap: 13px 0px;
        justify-items: center;
    }
    .header-pre-results-container .title {
        font-size: 16px;
        line-height: 18px;
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0px;
        max-width: 213px;
        width: 100%;
        margin: auto;
    }
    .header-pre-results-logo  {
        width: 100px;
        grid-column: 1;
        grid-row: 1;
        height: 50px;
        background-size: 100%;
    }
    .counter-wrapper {
        padding: 10px 20px;
        grid-column: 1/-1;
        grid-row: 2;
        margin: 0px;
        width: 100%;
        max-width: initial;
    }
    .btn-result {
        background: url(btn-desk-01.png) center no-repeat;
        grid-column: 1/-1;
        grid-row: 3;
        width: 100%;
        background-size: 100%;
        height: 60px;
        max-width: initial;
    }
    
}
/*ESTILOS VERSION MOBILE*/
@media(max-width:767px) {
    /*Estilos para fase 1 y 2*/
    .header-pre-results-container {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        grid-gap: 20px 10px;
        justify-items: center;
    }
    .header-pre-results-container .title {
        font-size: 16px;
        line-height: 18px;
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0px;
        max-width: 213px;
        width: 100%;
        margin: auto;
    }
    .counter-wrapper {
        padding: 20px 20px;
        grid-column: 1/-1;
        grid-row: 2;
        margin: 0px;
        width: fit-content;
        max-width: 280px;
    }
    .header-pre-results-logo  {
        width: 100px;
        grid-column: 1;
        grid-row: 1;
        height: 50px;
        background-size: 100%;
    }
    .counter-title {
        max-width: initial;
        font-size: 13px;
        line-height: 13px;
        margin-right: 18px;
        text-align: center;
    }
    .counter {
        font-size: 26px;
        line-height: 13px;
    }
    .disclaimer {
        text-align: center;
        width: auto;
    }
    .btn-result {
        background: url(btn-mob.png) center no-repeat;
        grid-column: 1/-1;
        grid-row: 3;
        width: 100%;
        background-size: 100%;
        height: 42px;
        max-width: 317px;
    }
    .banner-widget {
        background: url(https://www-storage.13.cl/t13/_images/banner-falta-mob-v2.jpg)no-repeat center;
        max-width: 320px;
        width: 100%;
        margin: 20px auto;
    }
    .header-pre-results {
        padding: 28px 20px;
    }
    .banner-widget:hover {
        opacity:initial;
    }
    .header-pre-results-logo:hover {
        opacity: initial;
    }
    #buttons-content {
        gap: 10px;
        justify-content: center;
        flex-direction: column;
        grid-column: 1 / -1;
        gap: 10px;
    }
   #buttons-content a {
        padding: 10px 20px;
   }
    /*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;
    }
    .header-results {
        padding: 12px 20px;
    }
    .header-results .wrapper {
        max-width: initial;
        margin: auto;
        width: 100%;
        grid-template-rows: auto auto;
        grid-template-columns: 50px auto;
        padding:10px 0px;
        grid-gap: 16px 30px;
        justify-content: center;
    }
    .header-results .wrapper .title {
        font-size: 16px;
        line-height: 18px;
        max-width: 200px;
        margin: auto;
        width: 100%;
    }
    .banner-resultados {
        background: url(bot-resultados-mov.png) center no-repeat;
        background-size: 100%;
        grid-column: 1/-1;
        width: 320px;
    }
    
    .banner-comunas:hover {
        opacity: unset;
    }
    .header-results .logo-image a {
        background: url(https://www-storage.13.cl/t13/_images/logo-portada-widget-02-mob.png)no-repeat center;
        background-size: auto;
        background-position: bottom;
        height: 100px;
        width: 100px;
    }
    .elecciones-abril .header-top.results .logo-image img {
        display: block;
    }
    .candidato-imagen {
        width: 54px;
        height: 54px;
        border: 2px solid #ededeb;
    }
    #logo-elecciones {
        display: grid;
        grid-template-columns: 1fr 4fr;
        width: 90%;
        margin: 0 auto;
        align-items: flex-end;
        justify-content: center;
        padding: 0px 10px;
        column-gap: 10px;
    }
    #logo-elecciones h2 {
        font-size: 22px;
        line-height: 22px;
        text-align: left;
    }
    .versus-candidatos {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 4fr;
        width: 90%;
        margin: 32px auto 0px;
        column-gap: 5px;
        align-items: center;
        justify-items: center;
    }
    .versus-candidatos .candidato {
        grid-row: 2;
        padding: 15px 0px;
        width: 100%;
        margin-top: -15px;
    }
    .versus-candidatos .candidato:last-child {
        grid-column: 2 / 3;
    }
    .versus-candidatos .candidato-nombre {
        font-size: 24px;
    }
    .versus-data {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        grid-template-rows: repeat(3, min-content);
    }
    .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: 0 auto;
        grid-row: 4;
        grid-column: 1 / 3;
    }
    
    .mesas-escrutadas {
        display: none;
    }
    .versus-mesas {
        grid-row: 3;
    }
   
}
.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;
}


