body {
-ms-touch-action: pan-y;
touch-action: pan-y;
} 

#resultados {
  display: block;
  width: 100%;
  padding-bottom: 10px;
}

#res-header {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: flex-end;
}

#res-header h1 {
  font-family: 'robotobold';
  font-weight: normal;
  margin:0px;
  font-size: 24px;
  line-height: 24px;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  text-indent: 5px;
  width: 66.6%;
  position: relative;
  display: inline-block;
}

#res-header h1 span {
  font-family: 'roboto';
  font-weight: normal;
  position: absolute;
  right:100px;
  top:0px;
  font-size: 12px;
  line-height: 20px;
}

#res-header h1 span:before {
  content: attr(data-txt);
}

#res-header h1 span i {
  font-family: 'robotobold';
  font-style: normal;
}

#res-header h1 span i:after {
  content: '%';
}

#res-header h1 a:link,
#res-header h1 a:visited {
  font-size: 12px;
  line-height: 12px;
  font-family: 'roboto';
  font-weight: normal;
  position: absolute;
  right: 0px;
  top:0px;
  text-indent: 0px;
  text-decoration: none;
  background-color: #63ba75;
  color: #fff;
  text-transform: uppercase;
  padding: 5px 7px;
  display: inline-block;
  border-radius: 5px;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
}

#res-header h1 a:hover {
  background-color: #3b994f;
}

#res-header h1 a:before {
  content: '\f021';
  font-family: 'fontAwesome';
  display: inline-block;
  margin-right: 4px;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
}

#res-header h1 a:hover:before {
  transform: rotate(180deg);
}

#buscador-res {
  display: inline-block;
  width: 33.3%;
  margin:0px 0px 0px 10px;
}

#buscador-res input {
  width: 100%;
  margin:0px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  height: 20px;
  padding: 15px 10px;
  font-size: 15px;
  background-image: url(//static.emol.cl/emol50/Fotos/2020/10/16/file_20201016183928.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  border-radius: 3px;
}

#res-header input::-webkit-input-placeholder,
#res-header input::placeholder {
  color: #999;
}

/*Nav regiones top*/

#res-nav-regiones {
  display: block;
}

#res-nav-regiones ul {
  font-family: 'roboto', Helvetica, sans-serif;
  list-style-type: none;
  margin:10px 0px 10px 0px;
  padding:0px;
  display: flex;
}

#res-nav-regiones ul li {
  width: 5.8823%;
  text-align: center;
  font-size: 18px;
  background-color: #dedede;
  padding: 5px 0px;
  border-radius: 5px;
  font-size: 20px;
  position: relative;
  height: 24px;
  line-height: 24px;
  max-height: 24px;
  min-height: 24px;
  vertical-align: top;
  cursor: pointer;
  transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

#res-nav-regiones ul li.fa-globe {
font-size: 25px;
color:  #28425d;
}

#res-nav-regiones ul li:hover {
  background-color: #efefef;
}

#res-nav-regiones ul li.activo {
  cursor: default;
  background-color: #28425d;
  color: #fff;
}

#res-nav-regiones ul li:after {
  content: '';
  position: absolute;
  right: 0px;
  top: 0px;
  bottom: 0px;
  left: 0px;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

/*Box central*/

#res-box {
  display: block;
  width: 100%;
}

#res-box-mobile {
  display: block;
  width: 100%
}

#res-nav-zonas {
  display: inline-block;
  vertical-align: top;
  width: 25%;
  position: sticky;
  top:5px;
}

#res-nav-zonas > span {
  font-family: 'roboto', Arial, Helvetica, sans-serif;
  text-decoration: none;
  display: block;
  position: relative;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  background-color: #5ca95f;
  padding: 7px 25px 7px 10px;
  margin-bottom: 5px;
  cursor:  pointer;
  transition: background-color 0.3s linear;
  -webkit-transition: background-color 0.3s linear;
  -ms-transition: background-color 0.3s linear;
  -moz-transition: background-color 0.3s linear;
  -o-transition: background-color 0.3s linear;
}

#res-box[data-region="tot"] #res-nav-zonas > span {
  display: none;
}

#res-nav-zonas > span:after {
    font-family: 'fontAwesome';
    content: '\f053';
    position: absolute;
    font-size: 13px;
    right: 10px;
    top: 11px;
    transition: right 0.3s linear;
    -webkit-transition: right 0.3s linear;
    -ms-transition: right 0.3s linear;
    -moz-transition: right 0.3s linear;
    -o-transition: right 0.3s linear;
}

#res-nav-zonas > span:hover {
  background-color: #197d1d;
}

#res-nav-zonas a:hover:after {
  right: 20px;
}

#res-nav-zonas a {
  display: none;
}

#res-nav-zonas ul {
list-style-type: none;
margin:0px;
padding:0px;
display: none;
max-height: 550px;
overflow-y: auto;
}

#res-nav-zonas ul:before {
  display: block;
  font-family: 'roboto', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  background-color: #dedede;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 5px;
  position: sticky;
  top: 0px;
  z-index: 2;
}

/*#res-box[data-eleccion="c"] #res-nav-zonas ul:before { content: "Distritos"; }
#res-box[data-eleccion="a"] #res-nav-zonas ul:before { content: "Comunas"; }*/

#res-box ul[data-region="xv"]:before { content: "Regi\00f3n de Arica y Parinacota"; }
#res-box ul[data-region="i"]:before { content: "Regi\00f3n de Tarapac\00e1"; }
#res-box ul[data-region="ii"]:before { content: "Regi\00f3n de Antofagasta"; }
#res-box ul[data-region="iii"]:before { content: "Regi\00f3n de Atacama"; }
#res-box ul[data-region="iv"]:before { content: "Regi\00f3n de Coquimbo"; }
#res-box ul[data-region="v"]:before { content: "Regi\00f3n de Valpara\00edso"; }
#res-box ul[data-region="rm"]:before { content: "Regi\00f3n Metropolitana"; }
#res-box ul[data-region="vi"]:before { content: "Regi\00f3n de O'Higgins"; }
#res-box ul[data-region="vii"]:before { content: "Regi\00f3n del Maule"; }
#res-box ul[data-region="xvi"]:before { content: "Regi\00f3n de \00d1uble"; }
#res-box ul[data-region="viii"]:before { content: "Regi\00f3n del Biob\00edo"; }
#res-box ul[data-region="ix"]:before { content: "Regi\00f3n de la Araucan\00ed a"; }
#res-box ul[data-region="xiv"]:before { content: "Regi\00f3n de Los R\00edos"; }
#res-box ul[data-region="x"]:before { content: "Regi\00f3n de Los Lagos"; }
#res-box ul[data-region="xi"]:before { content: "Regi\00f3n de Ays\00e9n"; }
#res-box ul[data-region="xii"]:before { content: "Regi\00f3n de Magallanes"; }
#res-box ul[data-region="ext"]:before { content: "Voto en el exterior"; }

#res-box[data-eleccion="g"] #res-nav-zonas ul:before { content: "Regiones"; }

#res-nav-zonas ul li {
  display: block;
  border-bottom: 1px dotted #ddd;
  padding: 6px 12px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s linear;
      -webkit-transition: background-color 0.2s linear;
      -ms-transition: background-color 0.2s linear;
      -moz-transition: background-color 0.2s linear;
      -o-transition: background-color 0.2s linear;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

#res-nav-zonas ul li:first-child {
  font-weight: bold;
}

#res-nav-zonas ul li:hover {
  background-color: #efefef;
  border-bottom: 1px solid #ddd;
}

#res-nav-zonas ul li.activo {
  background-color: #28425d;
  color: #fff;
  border-bottom: 1px solid #28425d;
  cursor: default;
}

#res-nav-zonas ul li:last-child {
  border-bottom: 0px;
}

#res-nav-zonas ul li[data-el="c"] {
  font-size: 15px;
  font-weight: bold;
  color: #33375d;
  padding: 8px 12px;
}

#res-nav-zonas ul[data-region="po"] li[data-el="c"] {
  font-weight: normal;
}

#res-nav-zonas ul li.activo[data-el="c"] {
  color: #fff;
}

#res-nav-zonas ul li.activo[data-el="c"] span {
  color: #a2b7ce;
}

#res-nav-zonas ul li[data-el="c"] span {
  font-size: 11px;
  margin-top: 5px;
  color: #555;
  font-weight: normal;
  display: block;
  line-height: 15px;
}

/*CombinaciÃ³n nav regiones*/

#res-box[data-eleccion="g"] #res-nav-zonas ul[data-region="tot"] { display: block; }
#res-box[data-eleccion="g"] #res-nav-zonas ul.ul-region { display: none; }

#res-box[data-region="xv"] ul[data-region="xv"],
#res-box[data-region="i"] ul[data-region="i"],
#res-box[data-region="ii"] ul[data-region="ii"],
#res-box[data-region="iii"] ul[data-region="iii"],
#res-box[data-region="iv"] ul[data-region="iv"],
#res-box[data-region="v"] ul[data-region="v"],
#res-box[data-region="vi"] ul[data-region="vi"],
#res-box[data-region="vii"] ul[data-region="vii"],
#res-box[data-region="viii"] ul[data-region="viii"],
#res-box[data-region="ix"] ul[data-region="ix"],
#res-box[data-region="x"] ul[data-region="x"],
#res-box[data-region="xi"] ul[data-region="xi"],
#res-box[data-region="xii"] ul[data-region="xii"],
#res-box[data-region="rm"] ul[data-region="rm"],
#res-box[data-region="xiv"] ul[data-region="xiv"],
#res-box[data-region="xvi"] ul[data-region="xvi"],
#res-box[data-region="ext"] ul[data-region="ext"],
#res-box[data-region="tot"] ul[data-region="tot"] { display: block; }

/*Autocompletar*/

.ui-autocomplete {
  position: absolute;
  top: 0;
  left: 0;
  cursor: default;
}

.ui-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  outline: 0;
  z-index: 2;
  background-color: #fff;
  border: 1px solid #ccc;
  border-top: none;
}
.ui-menu .ui-menu {
  position: absolute;
}
.ui-menu .ui-menu-item {
  font-size: 16px;
  margin: 0;
  padding: 8px 8px;
  cursor: pointer;
  border-bottom: 1px dotted #efefef;
  list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}
.ui-menu .ui-menu-item-wrapper {
  position: relative;
  padding: 4px 1em 4px .4em;
}
.ui-menu .ui-menu-divider {
  margin: 5px 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  border-width: 1px 0 0 0;
}
.ui-menu .ui-state-hover,
.ui-menu .ui-state-focus,
.ui-menu .ui-state-active {
color: #b71433;
}
  
.ui-helper-hidden,
.ui-helper-hidden-accessible {
  display: none;
}

/*Contenido candidatos */

#res-box-info {
  display: inline-block;
  vertical-align: top;
  width: 75%;
  box-sizing: border-box;
}

#res-box-info .res-mob-a {
  display: none;
}

#res-box-info div.res-box-content {
  min-height: 500px;
  display: block;
  background-color: #f7f7f7;
  margin-left: 10px;
  padding-bottom: 20px;
}

#res-box-info div.res-box-content h3:after {
  color:  #000;
  font-size: 14px;
  position: absolute;
  right:20px;
  top:12px;
  padding: 3px 5px;
  border-radius: 4px;
  background-color: #ffc965;
/*  margin-right: 5px;*/
/*  border-right: 1px solid #3a5f86;*/
/*  padding-right: 5px;*/
}

#res-box div.res-box-content h3:after {
  content: 'Comuna';
}

#res-box[data-region="ext"] div.res-box-content h3:after { content: 'Pa\00eds' }
/*#res-box[data-region="tot"] div.res-box-content h3:after { content: 'Regi\00f3n' }*/

#res-box[data-zona^="30"] div.res-box-content h3:after,
#res-box[data-zona="19001"] div.res-box-content h3:after,
#res-box[data-zona="10001"] div.res-box-content h3:after,
#res-box[data-zona="10002"] div.res-box-content h3:after { display: none; }

#res-box-info div.res-box-content h3 {
  font-family: 'roboto',Helvetica, sans-serif;
  display: block;
  background-color: #28425d;
  color: #fff;
  position: relative;
  font-weight: normal;
  padding: 10px 85px 10px 20px;
/*  text-transform: uppercase;*/
  font-size: 22px;
  margin:0px;
}

#res-box-info div.res-box-content h3 span {
  display: none;
  animation: slideDown 0.3s 1;
}

#res-box-info div.res-box-content h3 span i {
  display: none;
}

@keyframes slideDown {
    0%   {height: 0px; padding-top:0px; color: transparent; line-height: 0px; overflow: hidden;}
    100% {height: auto; padding-top:5px; color: #98a9bb; line-height: 14px;}
}


#res-box[data-eleccion="c"] div.res-box-content h3 span {
  display: block;
  font-size: 11px;
  line-height: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: #98a9bb;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dotted #435f7b;
}

#res-box div.res-box-content h3 i {
  font-family: 'robotobold';
  position: absolute;
  font-weight: normal;
  font-style: normal;
  right: 10px;
  top: 8px;
  font-size: 20px;
  color: #ffc000;
  border-left: 1px dotted #435f7b;
  padding-left: 10px;
}

#res-box[data-eleccion="a"] div.res-box-content h3 i { display: none; }

#res-box div.res-box-content h3 i:after {
  content: ' esca\00f1os';
  font-family: Arial, Helvetica, sans-serif;
  margin-top: -5px;
  margin-left: 5px;
  vertical-align: middle;
  display: inline-block;
  font-size: 12px;
  color: #fff;
}

#res-box[data-region="po"] div.res-box-content h3 i:after {
  content: ' esca\00f1o';
}

#res-box[data-zona="6029"] div.res-box-content h3 i:after,
#res-box[data-zona="6035"] div.res-box-content h3 i:after {
  content: ' esca\00f1os';
}
#res-box[data-eleccion="j"] div.res-box-content h3 i:after {
  content: ' concejales';
}

#res-box[data-eleccion="c"] div.res-box-content h3 span:empty {
  display: none;
}

#res-box-info ul.res-ul-candidatos {
  list-style-type: none;
  margin:0px;
  padding: 20px 20px;
}

#res-box-info ul.res-ul-candidatos[style="display: none;"] + #box-empty {
  display: block;
  height: 200px;
  background-image: url(https://static.emol.cl/emol50/Fotos/2021/04/06/file_20210406121020.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80px 80px;  
}

#res-box-info ul.res-ul-candidatos h5 {
  margin: 0px 0px 0px 0px;
  background-color: #e2e2e2;
  padding: 8px 15px;
  font-size: 16px;
  line-height: 17px;
  font-weight: bold;
  border-bottom: 2px solid #ccc;
  color: #353535;
}

/*#res-box-info ul.res-ul-candidatos.apruebo-dignidad h5 {
  background-color: #c3443a;
}

#res-box-info ul.res-ul-candidatos.chile-vamos h5 {
  background-color:  #3d98c1;
}*/

#res-box-info ul.res-ul-candidatos.apruebo-dignidad {
  border-bottom: 1px dashed #ccc;
}

#res-box-info ul.res-ul-candidatos h5 i {
  font-style: normal;
}

#res-box-info ul.res-ul-candidatos li {
  background-color: #fff;
  padding: 10px;
  position: relative;
  display: flex;
  align-content: center;
  align-items: center;
  border-top: 1px solid #ddd;
  transition: all 0.1s linear;
      -webkit-transition: all 0.1s linear;
      -ms-transition: all 0.1s linear;
      -moz-transition: all 0.1s linear;
      -o-transition: all 0.1s linear;
}

#res-box-info ul.res-ul-candidatos li.seg-vuelta .res-candidato > b:after {
  color: #ffa500;
}

#res-box-info ul.res-ul-candidatos li .res-candidato > b:after {
  content: '';
  opacity: 0;
  margin-left: 5px;
  transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
}

#res-box-info ul.res-ul-candidatos li:before {
  content: '';
  opacity: 0;
  left: -10px;
  bottom: 5.5px;
  position: absolute;
  color: transparent;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
}

#res-box-info ul.res-ul-candidatos li.seg-vuelta:before,
#res-box-info ul.res-ul-candidatos li.ganador:before {
  content: '\f058';
  font-family: 'fontAwesome';
  display: inline-block;
  color: #5acc68;
  opacity: 1;
  bottom: 5.5px;
  left: 10px;
  z-index: 2;
}

#res-box-info ul.res-ul-candidatos li.seg-vuelta:before {
  color: #ffa500;
}

#res-box-info ul.res-ul-candidatos li:after {
  content: '';
  visibility: hidden;
  position: absolute;
  font-size: 11px;
  padding: 7px 8px 7px 29px;
  background-color: transparent;
  color: transparent;
}

#res-box-info ul.res-ul-candidatos li > img {
  width: 80px;
  height: 80px;
  /*border-radius: 80px;*/
  border-right: 1px dotted #ddd;
  padding-right: 5px;
}

#res-box-info ul.res-ul-candidatos .res-candidato {
  display: block;
  margin-left: 10px;
  position: relative;
  width: 100%;
}

#res-box[data-eleccion="j"] ul.res-ul-candidatos .res-candidato {
  margin-left: 0px;
}

#res-box-info ul.res-ul-candidatos .res-candidato > b {
  display: block;
  font-size: 17px;
  line-height: 22px;
  color: #28425d;
  padding-right: 80px;
}

#res-box-info ul.res-ul-candidatos .res-candidato > span {
  display: block;
  font-size: 13px;
  line-height: 18px;
  margin-top: 6px;
  padding-right: 80px;
}

#res-box-info ul.res-ul-candidatos .res-candidato > span abbr {
  display: none;
  text-decoration: none;
}

#res-box-info ul.res-ul-candidatos li.ganador.alternativa .res-candidato > b:after {
  display: none;
}

#res-box-info ul.res-ul-candidatos li.ganador.alternativa .res-candidato > span abbr:after {
  content: '\f058';
  font-family: 'fontAwesome';
  display: inline-block;
  margin-left: 5px;
  font-size: 16px;
  color: #5acc68;
  opacity: 1;
}

#res-box-info ul.res-ul-candidatos .res-candidato > span abbr b {
  color: #666;
}

#res-box-info ul.res-ul-candidatos .res-candidato > span img {
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 20px;
  margin-right: 4px;
  vertical-align: middle;
  margin-top:-2px;
}

#res-box-info ul.res-ul-candidatos .res-candidato div.res-votos {
  display: block;
  text-align: right;
  position: absolute;
  right:0px;
  top:0px;
}

#res-box-info ul.res-ul-candidatos .res-candidato div.res-votos span {
  font-family: 'robotobold';
  color: #333;
  font-size: 26px;
  line-height: 26px;
  display: block;
}

#res-box-info ul.res-ul-candidatos .res-candidato div.res-votos span:after {
  content: '%';
  font-family: 'roboto';
  font-size: 20px;
}

#res-box-info ul.res-ul-candidatos .res-candidato div.res-votos i {
  display: block;
  font-style: normal;
  font-size: 12px;
  line-height: 12px;
  color: #666;
  margin-top: 5px;
}

#res-box-info ul.res-ul-candidatos .res-candidato div.res-votos i:after {
  content: ' votos';
  display: inline;
}

#res-box-info ul.res-ul-candidatos .res-barra {
  display: block;
  margin-top: 8px;
  width: 100%;
  background-color: #ddd;
  height: 20px;
}

#res-box-info ul.res-ul-candidatos .res-barra span {
  display: block;
  height: 20px;
  background-color: #ce3939;
  transition: width 0.5s linear;
      -webkit-transition: width 0.5s linear;
      -ms-transition: width 0.5s linear;
      -moz-transition: width 0.5s linear;
      -o-transition: width 0.5s linear;
}

#res-box-info ul.res-ul-candidatos.chile-vamos .res-barra span {
    background-color: #749cb9;
}

#res-box-info ul.res-ul-candidatos i.tltp-info {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #dad6d6;
  color: #d2d2d2;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-size: 14px;
  border-radius: 11px;
  margin-left: 3px;
  cursor: pointer;
  position: relative;
  font-style: normal;
}

#res-box-info ul.res-ul-candidatos i.tltp-info:before {
  content: '\f129';
  font-family: 'fontAwesome';
}

.res-resumen-votacion {
  display: flex;
  align-items: center;
  padding:8px 8px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  margin: 0px 20px 20px 20px;
}

.res-resumen-votacion dt {
  font-weight: bold;
  font-size: 14px;
  line-height: 18px;
  margin:0px;
  padding:0px;
  width: 33.333%;
  text-align: center;
  border-left: 1px dotted #ddd;
  color: #28425d;
}

.res-resumen-votacion dt:first-child {
  border-left: 0px;
}

.res-resumen-votacion dt i {
  font-style: normal;
  font-size: 15px;
  line-height: 15px;
  display: block;
  font-weight: normal;
  margin-top: 4px;
  color: #111;
}

.res-resumen-zona {
  padding: 0px 0px 0px 0px;
  margin: 0px 20px;
}

.res-resumen-zona:before {
  content: 'Participaci\00f3n';
  margin: 0px 0px 0px 0px;
  display: block;
  background-color: #e2e2e2;
  padding: 8px 15px;
  font-size: 16px;
  line-height: 18px;
  font-weight: bold;
  border-bottom: 2px solid #ccc;
  color: #353535;
  }

.res-resumen-zona ol {
  list-style-type: none;
  margin:0px;
  background-color: #fff;
  padding:70px 0px 0px 0px;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
}

.res-resumen-zona ol li:first-child {
  width: 20%;
}

.res-resumen-zona ol li {
  width: 40%;
  position: relative;
}

.res-resumen-zona ol li[data-year]:before {
  content: attr(data-year);
  position: absolute;
  top:-60px;
  width: 50px;
  left: calc(50% - 25px);
  display: inline-block;
  background-color: #134681;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 3px 0px;
  border-radius: 4px;

}

.res-resumen-zona ol li > div {
  display: block;
  height: 150px;
  position: relative;
  border-bottom: 1px dotted #ddd;
  border-top: 1px solid #f7f7f7;
}

.res-resumen-zona .res-participacion:before {
  content: '';
  border-top: 1px solid #f7f7f7;
  left:20%;
  right:0px;
  position: absolute;
  top:146px;
  height: 1px;
}

.res-resumen-zona ol li:first-child {
  font-weight: bold;
  color: #555;
  text-align: right;
}

.res-resumen-zona ol li:first-child > span {
  text-align: right;
}

.res-resumen-zona ol li:first-child > div {
  border-top-color: transparent;
}

.res-resumen-zona ol li:first-child > div:before,
.res-resumen-zona ol li:first-child > div:after {
  position: absolute;
  display: block;
  background-color: #fff;
  right:0px;
  text-align: right;
  padding: 0px 5px;
  color: #ccc;
  font-size: 11px;
}

.res-resumen-zona ol li:first-child > div:before {
  content: '100%';
  top:-7px;
}

.res-resumen-zona ol li:first-child > div:after {
  content: '50%';
  top:68px;
}

.res-resumen-zona ol li > div span {
  position: absolute;
  bottom:0px;
  background-color: #f7cb2d;
  max-height: 100%;
  width: 80px;
  height: 1%;
  left: calc(50% - 40px);
  transition: height 0.5s linear;
      -webkit-transition: height 0.5s linear;
      -ms-transition: height 0.5s linear;
      -moz-transition: height 0.5s linear;
      -o-transition: height 0.5s linear;
}

.res-resumen-zona ol li > div span b {
  position: absolute;
  font-family: 'robotobold';
  font-weight: normal;
  font-size: 18px;
  color: #28425d;
  top:-32px;
  left:0px;
  right:0px;
  text-align: center;
}

.res-resumen-zona ol li > div span b:before {
  content: '';
  display: block;
  height: 8px;
  width: 1px;
  background-color: #ccc;
  position: absolute;
  bottom:-8px;
  left:50%;
}

.res-resumen-zona ol li > div span b:after {
  content: '%';
  font-size: 18px;
}

.res-resumen-zona ol li > span {
  display: block;
  font-size: 14px;
  text-align: center;
  padding: 8px 5px;
  background-color: #fff;
  border-bottom: 1px dotted #ddd;
}

.res-resumen-zona ol li > span:last-child {
  border-bottom: 0px;
}

.tooltip-auxiliar {
  font-family: 'arial';
  color: #333;
  position: absolute;
  border: 1px solid #e7ecc7;
  top: 22px;
  background-color: #faffcc;
  font-size: 11px;
  width: 180px;
  padding: 4px;
  left: -90px;
  /*white-space: nowrap;*/
  z-index: 2;
}

#res-creditos {
  background-color: #f4f4f4;
  border-top: 1px solid #ccc;
  padding: 15px 15px 0px 15px;
  text-align: center;
  font-size: 13px;
  line-height: 16px;
}

#res-creditos span {
  display: block;
  color: #333;
}

#res-creditos span b {
  color: #333;
}

#res-creditos ul {
  list-style-type: none;
  padding:0px 0px 10px 0px;
  margin:0px;
  display: flex;
  align-items: top;
  justify-content: center;
}

#res-creditos ul li {
  width: auto;
  margin: 0px 20px;
}

#res-creditos ul li a:link,
#res-creditos ul li a:visited {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 30px;
  background-color: #ddd;
  border-radius: 5px;
}

#res-creditos ul li a:before {
  font-family: 'fontAwesome';
}

#res-creditos ul li a:hover {
  opacity: 0.9;
}

#res-creditos ul li a.res-fb { background-color: #3b5998; }
#res-creditos ul li a.res-tw {

  background-color: #000000;
  background-image: url(https://static.emol.cl/emol50/Fotos/2025/04/14/file_20250414170622.png);
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center center;

}
#res-creditos ul li a.res-wh { background-color: #25d366; }
#res-creditos ul li a.res-em { background-color: #1c64ca; text-align: center; }

#res-creditos ul li a.res-fb:before {
  content: '\f09a';
}
#res-creditos ul li a.res-tw {
background-size: 60%;
}
#res-creditos ul li a.res-wh:before {
  content: '\f232';
}

#res-creditos ul li a.res-em img {
    width: 33px;
    margin-top: 11px;
}

#res-creditos p {
  font-size: 12px;
  line-height: 20px;
  border-top: 1px dotted #ddd;
  border-bottom: 1px dotted #ddd;
  padding: 15px;
  color: #555;
  margin: 5px 0px 0px 0px;
}


#res-creditos ul li:last-child {
  display: none;
}

@media (max-width: 1024px) { 

#res-header {
  flex-wrap: wrap;
}

#res-header h1 {
  width: 100%;
}

#buscador-res {
  width: 100%;
  margin-top: 10px;
  margin-left: 0px;
}

#res-nav-regiones ul {
  flex-wrap: wrap;
}

#res-nav-regiones ul li {
  width: 11.1111%;
  margin-top: 1px;
  margin-bottom: 1px;
}

}

@media (max-width: 725px) {

#res-box-info div.res-box-content {
  background-color: #fff;
}

#res-nav-zonas > span {
  display: none;
}

#res-nav-regiones {
  display: none;
}

#resultados {
  padding: 10px 10px 10px 10px;
  box-sizing: border-box;
}

#res-header {
  flex-wrap: wrap;
  position: sticky;
  top:-40px;
  z-index: 9;
}

#res-header h1 {
  width: 100%;
  font-size: 28px;
  line-height: 30px;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 8px;

}

#res-header h1 span {
  top: 0px;
  line-height: 14px;
  text-align: center;
  text-indent: 0px;
  border: 1px solid #eee;
  padding: 1px 8px;
  border-radius: 4px;
  color: #444444;
}

#res-header h1 span:before {
  content:  attr(data-abr);
  display: block;
}

#buscador-res {
  width: 100%;
  margin-top: 10px;
  margin-left:0px;
  box-shadow: 0px 3px 6px -3px rgba(0,0,0,0.30);
  -webkit-box-shadow: 0px 3px 6px -3px rgba(0,0,0,0.30);
  -moz-box-shadow: 0px 3px 6px -3px rgba(0,0,0,0.30);
}

#buscador-res input {
  height: 45px;
  font-size: 17px;
}

#res-box-mobile {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

#res-box[data-vista="1"] #res-box-mobile,
#res-box[data-vista="2"] #res-box-mobile {
  max-height: 600px;
}

#res-nav-zonas {
  width: 100%;
  position: absolute;
  top:0px;
  left:0px;
   transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
}

#res-box #res-box-info div.res-box-content {
  margin-left:0px;
}

#res-box #res-box-info { width: 100%; }

#res-box #res-nav-zonas ul {
 position: absolute;
 width: 100%;
 z-index: 2;
 background-color: #fff;
 min-height: 600px;
 }

#res-box #res-nav-zonas ul[data-region="tot"] {
 z-index: 3;
}

#res-nav-zonas ul:before {
  background-color: #28425d;
  color: #fff;
}

#res-box[data-region="tot"] #res-nav-zonas a {
  display: none;
}

#res-box #res-nav-zonas a {
  display: block;
}

#res-nav-zonas a:link,
#res-nav-zonas a:visited {
font-family: 'roboto', Arial, Helvetica, sans-serif;
color: #fff;
background-color: #5ca95f;
text-align: center;
margin-bottom: 10px;
padding: 10px;
font-size: 16px;
text-align: right;
text-decoration: none;
text-transform: uppercase;
position: relative;
}

#res-nav-zonas a:before,
#res-box-info .res-mob-a:before {
    content: '\f053';
    font-family: 'fontAwesome';
    position: absolute;
    font-size: 20px;
    left: 10px;
    top: 11px;
}

#res-nav-zonas ul li {
  font-size: 18px;
  line-height: 22px;
  padding: 11px 35px 11px 12px;
  position: relative;
  font-family: 'roboto', Helvetica, sans-serif;
}


#res-nav-zonas ul li:after {
  content: '\f054';
  font-family: 'fontAwesome';
  position: absolute;
  right: 8px;
  top: 11px;
  font-size: 20px;
  color: #dcdcdc;
}

#res-nav-zonas ul li[data-el="c"]:after {
  top: 11px;
}

#res-nav-zonas ul li.activo {
  background-color: #fff;
  color: #333;
  border-bottom: 1px dotted #ddd;
}

#res-nav-zonas ul li.activo[data-el="c"] {
  color: #33375d;
}

#res-nav-zonas ul li.activo[data-el="c"] span {
  color: #555;
}

#res-nav-zonas ul li[data-el="c"] {
  font-size: 18px;
  padding: 11px 35px 11px 8px;
  border-bottom: 1px dotted #ddd;
}

#res-nav-zonas ul li[data-el="c"] span {
  padding: 10px;
  margin-top: 10px;
  /*border-top: 1px  dotted #ddd;*/
  font-size: 12px;
  line-height: 16px;
  background-color: #f7f7f7;
  margin-right: -27px;
}

#res-box[data-eleccion] #res-nav-zonas ul[data-region="tot"]:before { content: 'Regiones'; }

#res-box[data-vista="0"] #res-nav-zonas { margin-left: -100%; }
#res-box[data-vista="0"] #res-box-info { margin-left: 0%; }

#res-box[data-vista="1"] #res-nav-zonas { margin-left: 0%; }
#res-box[data-vista="1"] #res-box-info { margin-left: 100%; }

#res-box[data-vista="1"][data-eleccion="c"] #res-nav-zonas ul[data-region="tot"] { display: block;  }
#res-box[data-vista="1"][data-eleccion="a"] #res-nav-zonas ul[data-region="tot"] { display: block;  }
#res-box[data-vista="1"][data-eleccion="j"] #res-nav-zonas ul[data-region="tot"] { display: block;  }

#res-box[data-vista="2"] #res-nav-zonas { margin-left: 0%; }
#res-box[data-vista="2"] #res-box-info { margin-left: 100%; }
#res-box[data-vista="2"][data-eleccion="c"] #res-nav-zonas a,
#res-box[data-vista="2"][data-eleccion="a"] #res-nav-zonas a { display: block;  }
#res-box[data-vista="2"][data-eleccion="j"] #res-nav-zonas a { display: block;  }

#res-box-info .res-mob-a:link,
#res-box-info .res-mob-a:visited {
display: block;
font-family: 'roboto', Arial, Helvetica, sans-serif;
color: #fff;
background-color: #5ca95f;
text-align: center;
margin-bottom: 10px;
padding: 10px;
font-size: 16px;
text-align: right;
text-decoration: none;
text-transform: uppercase;
position: relative;
}

#res-box .res-mob-a:after { content: 'Ver otras comunas'; }
#res-box[data-region="tot"] .res-mob-a:after { content: 'Ver otras regiones'; }
#res-box[data-zona="19001"] .res-mob-a:after { content: 'Ver resultados por zonas'; }
#res-box[data-region="ext"] .res-mob-a:after { content: 'Ver otros pa\00edses'; }

#res-creditos ul li:last-child {
  display: inline-block;
}

#res-box-info ul.res-ul-candidatos {
  padding: 20px 0px;
}

#res-box-info ul.res-ul-candidatos .res-candidato > span {
  font-size: 12px;
  line-height: 16px;
}

.res-resumen-votacion {
  margin: 0px;
  background-color: #f7f7f7;
}

.res-resumen-zona {
  margin: 15px 0px 0px 0px;
}

#res-header h1 a:link,
#res-header h1 a:visited {
  padding: 9px 7px;
}

}

@media (max-width: 480px) {

#res-header {
  top: -55px;
}

#res-header h1 {
  font-size: 22px;
}

#res-header h1 span {
  display: block;
  position: static;
  border: 0px;
  text-align: left;
  padding: 0px;
  text-indent: 5px;
}

#res-header h1 span:before {
  content: attr(data-txt);
  display: inline;
}

#res-nav-eleccion ul {
  flex-wrap: wrap;
}

#res-nav-eleccion ul li {
  font-size: 14px;
  box-sizing: border-box;
  line-height: 18px;
  width: 50%;
  border-bottom: 2px solid #fff;
}

}

@media (max-width: 420px) {

#res-box[data-eleccion="j"] div.res-box-content > ol li,
#res-box[data-eleccion="a"] div.res-box-content > ol li,
#res-box[data-eleccion="c"] div.res-box-content > ol li { width: 100%; box-sizing: border-box; }

#res-box-info div.res-box-content > ol li {
  text-align: left;
}

#res-box-info div.res-box-content > ol b {
  display: inline;
}

#res-box-info ul.res-ul-candidatos li {
  padding: 10px 5px;
}

.res-resumen-votacion {
  flex-wrap: wrap;
}

.res-resumen-votacion dt {
  width: 100%;
  text-align: center;
  border-bottom:  1px dotted #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-left: 0px;
  color:  #28425d;
}

.res-resumen-votacion dt i {
  font-size: 15px;
  display: block;
  margin:  6px 0px;
  color:  #333;
}

.res-resumen-votacion dt:last-child {
  border-bottom: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

}


@media (max-width: 380px) {

#res-header h1 {
  font-size: 20px;
}

#res-box-info ul.res-ul-candidatos li > img {
  width: 70px;
  height: 70px;
}

#res-box-info ul.res-ul-candidatos .res-candidato > b {
  font-size: 14px;
  line-height: 18px;
}

#res-box-info ul.res-ul-candidatos .res-candidato div.res-votos span {
  font-size: 22px;
  line-height: 24px;
}

#res-creditos ul li {
  margin: 0px 10px;
}

}