.contenido > .cell.size_50,.histoBox .arrays .pagBox {float:left;}
.contenido > .cell.size_50 {width:50%;}

/** TABLAS DATOS GENERALES **********************/
/************************************************/
.typeTab table {border-collapse:collapse;border-spacing:0;border:0 none;width:100%;}
.typeTab thead th, .typeTab tbody td {text-align:center;}
.typeTab thead th:first-child,.typeTab tbody th,.typeTab caption {text-align:left;}
.typeTab thead th {font-weight:normal;}
.typeTab td {padding:0.6rem 0;}
.typeTab tbody tr > th {padding:0.6rem 0 0.6rem 0.8rem;}
.typeTab thead th {padding:0.6rem 0.8rem 0.8rem 0.8rem;}
.typeTab tbody tr {border-bottom:0.1rem solid #eee;background:#fff;}
.typeTab thead {border-bottom:0.1rem solid #bbb;}
.typeTab tbody tr:nth-child(even) {background:#f8f8f8;}
.typeTab caption,.typeTab thead {background:#f4f4f4;}
.typeTab th > span,.typeTab td > span {font-size:1.3rem;line-height:2rem;}
.typeTab caption {padding:1em;}
.typeTab caption > span {font-size:1.1rem;line-height:1;width:5em;display:inline-block;margin-top:0.2rem;}
.typeTab caption strong {color:#777;font-size:2.6rem;line-height:1;float:left;margin-right:0.6rem;}
.typeTab thead span {color:#222;}
.typeTab caption {padding-bottom:0.5rem;}
.typeTab thead th#partidos {width:50%;}
.typeTab thead th:first-child,caption {padding-left:1rem;}
.typeTab tbody tr th > span {color:#777;text-align:left;text-transform:uppercase;font-weight:400;padding-left:1.6rem;}
.typeTab tbody .escanos th > span {padding:0;display:grid;grid-template-columns:1.6rem 1fr;align-items:center;}
.typeTab .color img {height:0.8rem;width:0.8rem;background-color:#acbcbc;position:static;
overflow:hidden;border-radius:100%;}
.typeTab tr:not(.escanos) th .color img,
.typeTab tr:not(.escanos) td:first-of-type span:not(.noOculta) {display:none;}
.dataBox.typeTab tfoot td {font-size:1.2rem;line-height:1.8rem;font-weight:400;padding:1.2rem 1.6rem;}
caption span:empty {display: none;}
/** TABLAS DATOS GENERALES **********************/
/** END *****************************************/
.container.gotoEnd {display: none;}
/** SLIDE RESULTADOS ****************************/
/************************************************/
.histoBox .arrays,.histoBox .arrays .gridBox,.histoBox .arrays .topBox {position:relative;}
.histoBox .arrays .gridBox {overflow:hidden;width:100%;border:4rem solid transparent;border-top:0 none;border-bottom:0 none;padding:0;}
.histoBox .arrays .topBox,.histoBox .arrays .controlBox {left:0;}
.histoBox .arrays .controlBox {position:absolute;height:0;width:100%;top:0;}
.histoBox .controlBox .ico {text-align:center;}
.histoBox .controlBox .ico img {height:7.6rem;width:4rem;display:inline-block;background-repeat:no-repeat;opacity:0.5;}
.histoBox .controlBox .ico:not(.beoff) {cursor: pointer;}
.histoBox .controlBox .ico.beoff img {opacity: .2;}
.histoBox .controlBox .next_ {float:right;}
.histoBox .controlBox .back_ img {background-image:url('/css/rtve.elecciones/i/iconos.svg/arrowL.svg');}
.histoBox .controlBox .next_ img {background-image:url('/css/rtve.elecciones/i/iconos.svg/arrowR.svg');}
.histoBox .arrays ul {width:2000%;}/*hasta 20 elementos*/
.histoBox .arrays .pagBox {width:5%;}
.histoBox .arrays ul {-webkit-transition: left 0.75s;-moz-transition: left 0.75s;-o-transition: left 0.75s;transition: left 0.75s;}
.histoBox .slideH .pagBox:first-child .typeTab {margin:0;}
.histoBox .slideH .typeTab tfoot {display:none;}
/** SLIDE RESULTADOS ****************************/
/** END *****************************************/
/** POP UP CARTELA ****************************/
/************************************************/
#popup {background:#fff;color:#444;border-radius:1.2rem;box-shadow:0 1rem 2rem rgba(0,0,0,0.19), 0 0.6rem 0.6rem rgba(0,0,0,0.23);z-index:2;padding:1.2rem;}
#popup.layerBox {position:absolute;width:24rem}
#popup .no_seat td:first-of-type span {color:#888;}
#popup table,#popup .pop_head span:nth-child(3) {font-size:1.3rem;}
#popup table * {font-weight:500;}
#popup table {margin-top:0.4rem;width:100%;}
#popup td,#popup th {padding:0 0 0.4rem 0;}
#popup td,#popup th,#popup td img {height:2.4rem;}
#popup tbody tr:first-of-type {display:none;}
#popup tbody td:first-of-type {text-align:left;}
#popup td img {width:auto;float:left;margin-right:0.8rem;}
#popup .no_seat {border-top:0.1rem solid #aaa;}
#popup .no_seat td:first-of-type img {display:none;}
#popup .varia {font-size:1.4rem;}
#popup .varia .scano:before {width:1.4rem;height:1.2rem;display:inline-block;float:left;position:relative;top:0.3rem;}
#popup .varia._sube .scano:before {content: url('https://css2.rtve.es/css/rtve.elecciones/i/iconos.svg/up.svg');}
#popup .varia._baja .scano:before {content: url('https://css2.rtve.es/css/rtve.elecciones/i/iconos.svg/down.svg');}
#popup .varia._cero {display:none;}
#popup .no_seat td:nth-of-type(2),#popup .varia._baja span {/*color:#C20000;*/}
#popup .varia._sube span {/*color:#008246;*/}


#popup .pop_head {border-bottom:0.1rem solid var(--oscuro);line-height:2.2rem;padding-bottom:0.8rem;}
#popup .pop_head span {font-size:1.2rem;width:100%;}
#popup .pop_head span:nth-child(2) {font-size:1.8rem;font-weight:500;}
#popup .pop_head span:nth-child(3) {/*float:right;font-weight:700;*/}
#popup .pop_head span:nth-child(2),#popup .pop_head span:nth-child(3) {/*line-height:2rem;padding:0.4rem 0; white-space: nowrap;text-overflow: ellipsis;*/} 

#popup .pop_head,#popup .pop_head > div  {display:flex;}
#popup .pop_head > div {flex-direction:column;}
#popup .pop_head > div span {width:100%;}
#popup .pop_head div:last-child span {text-align:center;}

#popup table tr td:first-of-type {display:flex;align-items:center;}
#popup .dots > .rtve-icons {margin-right:0.8rem;}

/** POP UP CARTELA  *****************************/
/** END *****************************************/
#popup.layerBox .content  table tr > td > img {display:none}
#popup.layerBox .content  table tr > td > img + span:before {content:'';width:1.2rem;height:1.2rem;display:inline-block;margin:0 0.4rem -0.2rem 0;background:#acbcbc;}
#popup.layerBox .content  table tr > td > img[src*="psoe"] + span:before, .typeTab tbody tr th[class*="psoe"] > span img{background:var(--psoe)}
#popup.layerBox .content  table tr > td > img[src*="pp.png"] + span:before, .typeTab tbody tr th.pp > span img{background:var(--pp)}
#popup.layerBox .content  table tr > td > img[src*="cs.png"] + span:before, .typeTab tbody tr th.cs > span img{background:var(--cs)}
#popup.layerBox .content  table tr > td > img[src*="vox"] + span:before, .typeTab tbody tr th.vox > span img{background:var(--vox)}
#popup.layerBox .content  table tr > td > img[src*="podemos"] + span:before, .typeTab tbody tr th[class*="podemos"] > span img{background:var(--podemos)}
/** CUSTOM LAYOUT SELECT ************************/
/************************************************/
.pagSelect{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .empy-heght{
    height: 27px;
    margin-bottom: 10px;
  }
  
  .pagSelect select{
    font-size: 16px;
    color: #333;
    background: #f4f4f4;
    width: 100%;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 1px;
    border: 0;
    border-radius: 0;
    margin-right: 0;
    padding: 0.3rem 1rem;
  }
  .pagSelect select { outline: none; }
  
/*
 .controlBox{
    display: none
  }
*/
  /* .topBox{
    transition: all ease 500ms;
  } */
 
  .histoBox .topBox{
    width: 100%  !important;
  }
  .histoBox .topBox .pagBox{
    width: 100%;
    display: none;
  }
  .histoBox .topBox .pagBox:first-child{
    display: block;
  }
.resumHead > .blindBox .toUpdate .fuente-info,.resumHead > .blindBox.be_on .toUpdate .fuente-info{font-size: 10px; margin-top: 15px;}
/** CUSTOM LAYOUT SELECT ************************/
/** END *****************************************/
@media only screen and (max-width:500px){
    .contenido > .cell.size_50 {width: 100%;clear: both;}
    .histoBox .arrays .gridBox {border: none;}
    .histoBox .arrays .controlBox {display:none}
}

/*NUEVA REFORMULACION DE POP-UPS*/
.pf_autonomia #popup {width:auto;max-width:28rem;min-width:20rem;}
.pf_autonomia #popup .pop_head > div:first-of-type {width:calc(100% - 5.6rem);}
.pf_autonomia #popup .pop_head > div:last-of-type {width:5.6rem;}
.pf_autonomia #popup .pop_head > div:first-of-type span:nth-of-type(2) {white-space:wrap;} 
.pf_autonomia #popup tbody * {font-size:1.4rem;line-height:2.4rem ;font-weight:400;padding:0;margin:0;}
.pf_autonomia #popup .resul_ strong {font-family:'Roboto Condensed','Roboto',sans-serif;}
.pf_autonomia #popup tbody .varia .rtve-icons {padding-top:1.8rem;margin-right:0.4rem;}
.pf_autonomia #popup tbody .igual .rtve-icons {background-position:calc(100% / 3) 50%;}
.pf_autonomia #popup tbody tr > td:first-of-type > strong {max-width:calc(18rem - 1.8rem);
overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.pf_autonomia #popup tbody tr > td:nth-of-type(2) {text-align:right;padding-right:0.8rem;}

/* no escanos */
.pf_localidad .typeTab tbody td#escanos {display: none;}