/* include_portada elecciones autonómicas Galicia - País Vasco 25 Sept 2016 */
@font-face {
    font-family: 'Benton Sans';
    src: url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-light-webfont.eot');
    src: url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-light-webfont.eot?#iefix') format('embedded-opentype'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-light-webfont.woff') format('woff'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-light-webfont.ttf') format('truetype'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-light-webfont.svg#bentonsans') format('svg');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Benton Sans';
    src: url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-medium-webfont.eot');
    src: url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-medium-webfont.eot?#iefix') format('embedded-opentype'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-medium-webfont.woff') format('woff'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-medium-webfont.ttf') format('truetype'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-medium-webfont.svg#bentonsans') format('svg');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Benton Sans';
    src: url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-bold-webfont.eot');
    src: url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-bold-webfont.eot?#iefix') format('embedded-opentype'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-bold-webfont.woff') format('woff'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-bold-webfont.ttf') format('truetype'), url('https://ep01.epimg.net/fonts/v2.x/v2.0/benton/bentonsans-bold-webfont.svg#bentonsans') format('svg');
    font-weight: 700;
    font-style: normal;
}
body {
	margin: 0;
	padding: 0;
	font-family: 'Benton Sans';
}
a {
	text-decoration: none;
}
.resultados_e {
    margin: 0 auto;
	max-width: 980px;
	position: relative;
}
.resultados_e:after {
	content: '';
	display: table;
	clear: both;
}


.header-electoral{background:#016CA2; width: 100%}
.header-electoral ul{ display: inline-block; width: 100%; height: 100%; padding: 0; margin: 0;}
.header-electoral ul li{ display: inline-block; width: 50%; margin: 0; padding: 0; text-align: center; position: relative; height: 100%;  }
.header-electoral ul li.header-electoral_galicia:after{ content: ''; position: absolute; height: 100%; width: 1px; background: #FFF; right: 0; top: 0 }
.header-electoral ul li a{ display: block; width: 94%; height: 50px; margin: 0 auto; }
.header-electoral ul li.header-electoral_paisvasco a{ background: url(/especiales/2020/elecciones-autonomicas/pais-vasco/img/agrupador-nombre-dt2.svg) center no-repeat; background-size: 120px auto; border-bottom: 5px solid #3DAD2B; text-indent: -9999em;}
.header-electoral ul li.header-electoral_galicia a{ background: url(/especiales/2020/elecciones-autonomicas/galicia/img/agrupador-nombre-dt.svg) center no-repeat; background-size: 120px auto; border-bottom: 5px solid #2399C9;text-indent: -9999em; cursor: pointer;}

.modulo_e {
	float: left;
	position: relative;
	width: 50%;
	box-sizing: border-box;
	height: 326px;
}
.modulo_paisvasco{border-left:1px solid #fff; }
.rosco {
/*	min-height: 250px;*/
	height: 250px;

}

#rosco_galicia_div_c, #rosco_paisvasco_div_c {
	height: 218px;
}





.grf_cabecera {
	/*text-transform: uppercase;*/
	font-size: 12px;
	color:#444444;
	background: #fff;
	padding: 15px 0 5px;
	text-align: center;
}
.grf_cabecera .grf_dato {
	display: none;
}
.grf_cabecera > div{line-height: 16px;}

.grf_cabecera h2{
	color: white;
	margin: 0;
	font-weight: normal;
	display: block;
	background: #006093;border-top: 4px solid #005B8C;
	text-transform: none;
	line-height: 43px;
	display: none;
}
.modulo_galicia h2{background:#006093 url('/estaticos/2016/09/25s-elecciones-autonomicas/img/galicia.png') 10px center no-repeat ;padding-left:50px; border-top:1px solid #0087E7;}
.modulo_paisvasco h2{background:#006093 url('/estaticos/2016/09/25s-elecciones-autonomicas/img/pais-vasco.png') calc(100% - 10px) center no-repeat ;padding-right:50px; text-align: right;border-top: 1px solid #8DFF1E;}

.grf_escrutado,
.grf_participacion,
.grf_actualizado{
	width: 31%;
	padding:0 1%;
	text-align: center;
	display: inline-block;
	position: relative;
	background: #fff;
}

/*.grf_escrutado:after {
	content: "/";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
}*/
.grf_escrutado span,
.grf_numero_porcentaje,
.grf_hora{
	font-weight: bold;
}
/*.grf_participacion {
	width: 48%;
	padding-left: 2%;
	display: inline-block;
	background: #fff;
}
.grf_actualizado {
	position:absolute;
	top: 35px;
	right: -10px;
	line-height: 18px!important;
	width: 120px;
	text-align: left;
	font: normal 11px Tahoma,Arial,Helvetica,sans-serif;
	padding-left: 14px;
	padding-top: 0;
	padding-bottom: 0;	z-index: 5;
}
.grf_actualizado:before {
	position: absolute;left: 0;top: 4px;
	content: '!';
	display: inline-block;
	color: #fff;
	font-size: 8px;
	height: 10px;width: 10px;text-align: center;line-height: 10px;background-color: #016CA2;border-radius:100%; margin-right:3px;
}*/
.grf_actualizado .grf_fecha {
	display: none;
}
.grf_actualizado .grf_hora {
	font-weight: bold;
}
.grf_barra_porcentaje {
	display: none;
}
.grf_etiqueta_fuera_tarta {
	font-size: 11px;
	color: #666;
	padding: 1px 0;
	max-width: 60px;
}
.grf_etiqueta_dentro_tarta {
	font-size: 11px;
	text-shadow: #333 0 1px 1px;
	color: #fff;
	text-align: center !important;
	pointer-events: none;
}
.grf_etiqueta_dentro_tarta .grf_electos{
	display: block;
}

.grf_n_partido {
	overflow: hidden;
	text-overflow:ellipsis;
}
.grf_tip {
	background-color: #000;
	background: rgba(0,0,0,0.85);
	color: #fff;
	font-size: 11px;
	padding: 5px;
	border-radius: 5px;
}
.grf_agujero {
    font-weight: 700;
    margin: 50px 0 0;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 120%;
    color: #444444;
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%);
    top: 95px !important;
}
.grf_numero_escanos {
    margin-right: 2px;
    display: block;
    text-align: center;
}
.grf_etiqueta_escanos{
	margin-left: 2px;
}
span.grf_electos {
	font-weight: bold;
	padding: 1px 4px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
}
.grf_etiqueta_mayoria {
    font-size: 9px;
    text-align: center;
    left: 50% !important;
    transform: translateX(-50%);
    position: absolute;
    top: 68px !important;
    color: #666;
}
.c_rosco .detalles a {
	display: inline-block;
	color: #016CA2;
	margin-left: 10px;
	font-size: 12px;
	float: right;
	padding-right: 40px;
}
.c_rosco .detalles  select {
	font-size: 12px;
}

.grf_mensaje_error {
	font: bold 11px Arial,Helvetica,sans-serif;
	color: #f10000;
	padding: 10px;
	text-align: center;
}

.grf_mensaje {
	position: relative;
}
.grf_mensaje div {
	position: absolute;
	top: 43%;
	width: 100%;
}
.grf_mensaje div p {
	position: absolute;
	top: 0;
	width: 100%;
	text-align: Center;
	font: normal 14px Arial,Helvetica,sans-serif;
	margin: 10px 0;
}
.grf_mensaje_resultados_inminentes {
	background: #fff url(https://rsl00.epimg.net/elecciones/2011/img/animacion_urna.gif) no-repeat center center;
	height: 254px !important;
	z-index: 5;
}
.grf_mensaje_resultados_inminentes p {
	padding-top: 40px;
	color: #666;
}
.grf_mensaje_quedan_dias {
	background: #fff url(https://rsl00.epimg.net/elecciones/2012/img/calendario.png) no-repeat center center;
}
.grf_mensaje_quedan_dias p {
	padding-top: 80px;
	color: #666;
}

.detalles{padding: 10px 0;background: #F0F0F0; margin-top: 15px; padding: 10px;}
.detalles a{font-weight: 700;font-size: 14px;line-height: 33px;display: inline-block; color: #016CA2; text-transform: uppercase; background: transparent url(/especiales/2020/elecciones-autonomicas/img/icono-resultados.svg) right center no-repeat; padding-right: 25px;}
.detalles .selector{width: 230px;overflow: hidden;position: relative;display: inline-block; background: }
.detalles select{height: 33px;line-height: 33px;border: none;width: 100%;padding-left: 5px; color: #016CA2; border: 1px solid #016CA2;	border-radius: 3px;	background: #FFF url(/especiales/2020/elecciones-autonomicas/img/flecha-combos.svg) right center no-repeat; -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  outline: none;}



/**************/
/* Pactómetro */
/**************/

/* Toggle the comment on the following line to show/hide the Pactómetro links */
/*.widget-resultados {display: none;}*/
.widget-resultados a:after{content: '';display: table;clear: both;}
.widget-resultados a{color: #fff;line-height: 38px;padding: 0 0.625rem;margin-bottom: -1px;display: block;}
.widget-resultados strong,
.widget-resultados span{display: inline-block;line-height: 2.375rem;}
.widget-resultados strong{font-size:  0.625em;color: #333333;text-transform: uppercase;float: left;}
.widget-resultados span{font-size: 0.875em;float: right;font-weight: 700;}
.widget-resultados .widget-calculadora_gallegas{background-color: #44C8FD;border-bottom:1px solid #007CDA;}
.widget-resultados .widget-calculadora_vascas{background-color: #27BC08;border-bottom:1px solid #70FF19;}

/*********************/
/* Css para gráficas */
/*********************/

.rosco_galicia_anterior, .rosco_paisvasco_anterior {
    pointer-events: none;
    position: absolute;
    overflow: hidden;
    height: 100px;
    width: 175px;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
}
.smallGraphs .div_tarta_c_etiquetas text {
	font-size: 30px;
	font-family: Arial, sans-serif;
	font-weight: bold;
	fill: #fff;
}
.graphYears {
	position: relative;
	top: -50px;
	color: #8b8b8b;
	font-size: 11px;
	margin-bottom: -24px;
	width: 320px;
    left: 50%;
    transform: translateX(-50%);
}
.graphYears span {
	width: 50px;
    display: inline-block;
    text-align: center;
    margin-right: 20px;
}
.grf_numero_mayoria {
	/*display: block; */
	display: inline;
}

.grf_c_leyenda {
    top: 233px !important;
    font-size: 11px;
    border-top: 1px dotted #CCC;
    padding: 10px 20px;
    text-align: center;
    box-sizing: border-box;
}
.grf_etiqueta_leyenda{
	display: inline-block;
}
.grf_recuadro{
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 100%;
	margin-right: 5px;
}

@media(max-width: 900px){
	.detalles .selector{width: 180px;}
	.grf_agujero {}
}
@media(max-width: 745px){
	.resultados_e{border: 0;}
	.grf_cabecera .grf_titulo{display: block;}
	.modulo_e{float: none;width: 100%;}
	.modulo_paisvasco{border-left:none; }
	.rosco_galicia_anterior, 
	.rosco_paisvasco_anterior{left: 50%;transform: translate(-50%, 0);top: 117px;}
	.grf_etiqueta_mayoria {margin-top: -9px;}
	.graphYears {top: -45px;}
	.graphYears span {

	}
	.grf_agujero {}
	.widget-resultados strong{display: none;}
	.modulo_e{padding: 0;}
	.grf_cabecera{margin-left:-5px;margin-right: -5px;}
	.widget-resultados span{white-space: nowrap;float: none;text-align: center;display: block;}
	.widget-resultados a{padding: 0;}
	.detalles .selector{width: 180px;}
	.grf_cabecera{font-size: 11px;}
	.grf_actualizado{right: 0;}
	/*.grf_cabecera > .grf_actualizado {left: calc(50% - 60px);right: auto;line-height: 14px;top: 75px;}*/
	.grf_etiqueta_mayoria {
	    margin-top: 7px;
	}
}

@media(max-width: 600px){
	.graphYears span {

	}
	.detalles .selector{width:50%;}
	.c_rosco .detalles a{font-size: 10px;margin: 0;}
	
}
@media(max-width: 450px){
	.graphYears span {
	}
	.detalles .selector{width: auto; min-width: 120px;}
}
@media(max-width: 380px){
	.grf_agujero {top: 85px !important;
	}
	.detalles .selector{min-width: 100px;}
	.grf_escrutado, 
	.grf_participacion, 
	.grf_actualizado{
		width: 21%;
		padding:0 6%;
	}
	.grf_etiqueta_mayoria {
	    margin-top: -9px;
	}
}

@media(max-width: 320px){
	.c_rosco .detalles a {
	    background: none;
	    padding-right: 10px;
	}
}
/*
LOADER
*/
.grf_cargando{
	height: 269px; 
	position: relative; 
	margin: 0;
	padding: 0;
	width: 100%;
	background: #f6f6f6;
	z-index: 50; 
	display: block; 
	float: left;
}
.grf_icono_cargando,
.grf_icono_cargando:before,
.grf_icono_cargando:after {
  border-radius: 50%;display: block;
}
.grf_icono_cargando:before,
.grf_icono_cargando:after {
  position: absolute;
  content: '';
}
.grf_icono_cargando:before {
  width: 5.2em;
  height: 10.2em;
  background: #f6f6f6;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.grf_icono_cargando {
  color: #ffffff;
  font-size: 11px;
  text-indent: -99999em;
  margin: 75px auto 0;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.modulo_galicia .grf_icono_cargando{color: #44C8FD;}
.modulo_paisvasco .grf_icono_cargando{color: #27BC08;}

.grf_icono_cargando:after {
  width: 5.2em;
  height: 10.2em;
  background: #f6f6f6;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}

@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.sin_datos .grf_cabecera,
.sin_datos .smallGraphs,
.sin_datos .graphYears,
.sin_datos .detalles,
.sin_datos .widget-resultados {
	opacity: 0;
}
.sin_datos .detalles,
.sin_datos .widget-resultados {
	display: none;
}
.sin_datos #rosco_galicia_div_c > *:not(.grf_cargando),
.sin_datos #rosco_paisvasco_div_c > *:not(.grf_cargando){display: none;}

.grf_cabecera,
.smallGraphs,
.graphYears,
.detalles,
.widget-resultados{opacity: 1;
	-webkit-transition: all .6s ease-in-out;
  -moz-transition: all .6s ease-in-out;
  -o-transition: all .6s ease-in-out;
  transition: all .6s ease-in-out;}


.detalles{
	clear: both;
}

	/*  -------------------------------------------------------------------------------------------------- */

.pestanas_movil{ display: none; background: #2399C9;}
.pestanas_movil ul{width: 100%; padding: 0;	margin: 0; height: 55px;}
.pestanas_movil ul:after{content: ''; display: table;	clear: both;}

.pestanas_movil li{
	width: 50%;
	display: inline-block;
	box-sizing: border-box;
	float: left;
	line-height:100%;
	background:transparent;
}

.pestanas_movil a{
	font-size: 10px;
    font-weight: bold;
    color: #919191	;
	display: inline-block;
	width: 100%;
	text-align: center;
	text-transform: uppercase;
	height: 50px;
	border-top: 5px solid #FFF;
}
.pestanas_movil a span{ display: block; width: 100%; height: 100%; text-indent: -9999em; }

.pestanas_movil .pestana-galicia a span{ background: url(/especiales/2020/elecciones-autonomicas/galicia/img/agrupador-nombre-dt.svg) center no-repeat; background-size: 120px auto;}
.pestanas_movil .pestana-paisvasco  a span{background: #179C44 url(/especiales/2020/elecciones-autonomicas/pais-vasco/img/agrupador-nombre-dt.svg) center no-repeat; background-size: 120px auto;}

.pestanas_movil .pestana-galicia a.activo span{ background: url(/especiales/2020/elecciones-autonomicas/galicia/img/agrupador-nombre-dt-active.svg?01) center no-repeat; background-size: 120px auto;}
.pestanas_movil .pestana-paisvasco a.activo span{background: url(/especiales/2020/elecciones-autonomicas/pais-vasco/img/agrupador-nombre-dt-active.svg?01) center no-repeat; background-size: 120px auto;}

.pestanas_movil .activo{
	background-color: #fff;
	color: #000;
	border-top: 5px solid #62CFFF;
}

.pestanas_movil .pestana-paisvasco .activo{
	border-top: 5px solid #179C44;
}

.c_principal > .activo{opacity: 1;visibility: visible;}

@media (min-width: 970px) {
	.pestanas_movil { display: none!important; }
}

@media (max-width:969px) {
	.pestanas_movil{ display: block;}
	.header-electoral {display: none!important; }
	.grf_titulo {display: none!important; }

	.modulo_paisvasco, 
	.modulo_galicia {
		margin: 0;
		display: block;
		visibility: hidden;
		opacity: 0;
		width: 100%;
		position: absolute;
		top: 0px;
		left: 0;
	}

	.c_principal {
		position: relative;
		height: 260px;
	}
}

