/*16/05/2016 14:18*/
@import url(https://fonts.googleapis.com/css?family=Montserrat);


/* Colores Partidos */

.enmarea,.podemos,.mar { color:#2C58A1; }
.pp{ color:#08A5DC; }
.psoe { color:#E20032; }
.nos, .bng { color:#8FD1F1; }
.ciudadanos { color:#F08825; }

.elecciones25s.graficos, .elecciones2016.graficos {
  background: #fff !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
  position: inherit !important;
}

.elecciones25s.graficos .cliche, .elecciones2016.graficos .cliche {
  margin-bottom: 20px;
}

.elecciones25s.graficos .localidad, .elecciones2016.graficos .localidad  { margin-bottom: 0 !important; }

.elecciones25s.graficos h3, h4.cliche, .elecciones2016.graficos h3 {
  font-size:14px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 15px 0;
  font-family: 'Montserrat', sans-serif;

}

.elecciones25s.graficos h3:before, h4.cliche:before, .elecciones2016.graficos h3:before, h4.cliche:before {
  content:"";
  width: 8px;
  height: 8px;
  background: #003181;
  display: inline-block;
  margin-right: 7px;
  margin-bottom: 1px;
}

.elecciones25s.graficos h3 small, .elecciones2016.graficos h3 small {
  color: #999;
  font-weight:500;
  font-size: 1em;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.elecciones25s .grafico, .elecciones2016 .grafico {
  position: relative;
  width: 100%;
}

#mapa_espana {
    width: 100%;
    margin: 0 auto;
    margin-top: 0;
}


#mapa_canarias {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    width: 130px;
    height: 90px;
    margin: 0 auto;
    position: absolute;
    right: 40px;
    bottom: 20px;
    z-index: 99999;
    display: none;
}

#mapa_ceuta {
    height: 35px;
    width: 60px;
    margin: 0 auto;
    position: absolute;
    left: 65px;
    bottom: -10px;
    z-index: 99999;
    background: transparent;
    display: none;
}

#escrutinio {
  position: absolute;
  top: 3px;
  right: 20px;
  left: 20px;
  border-bottom: 1px solid #e5e5e5;
  text-align: right;
  padding: 7px;
  text-transform: uppercase;
  font-size: 14px;
  color: #333;
}

#escrutinio strong {
  color: #111;
}

#buscar_municipio {
   font-family: "FontAwesome", sans-serif;
}

#buscar {
  background: #eee;
  clear: both;
  padding: 10px 20px;
  margin-top: 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.form_buscar {
  float: left;
  background: #fff;
  border-radius: 6px;
  border-bottom: 1px solid #e5e5e5;
  padding: 0 10px;
}

.form_buscar input {
  border: none;
  padding: 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  color: #666;
  font-size: 14px;
  font-weight: bold;
  width: 250px;
}


.form_buscar textarea:focus, .form_buscar input:focus{
    outline: 0;
}

.form_buscar *:focus {
    outline: 0;
}

.form_buscar i {
  border-right: 1px solid #ccc;
  padding-right: 10px;
}

#buscar .fuente {
  float: right;
  line-height: 40px;
  font-size: 13px;
  color: #888;
}

#buscar .fuente a {
  font-weight: bold;
  color: #666;
}

#buscar .consulta_todos a {
  float: left;
  font-size: 13px;
  color: #444;
  font-weight: bolder;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  text-transform: uppercase;
  display: block;
  margin-left: 15px;
  line-height: 40px;
  border-left: 1px solid #e5e5e5;
  padding-left: 10px;
  text-decoration: none;
}
#buscar .consulta_todos a:hover { color: #003181; }


.tooltip-reparto {
  min-height: 40px;
  overflow: hidden;
  clear: both;
  width: 165px;
}
.tooltip-reparto figure {
  width: 40px;
  overflow: hidden;
  border-radius: 50%;
  float: left;
}
.tooltip-reparto img {
  width: 100%;
}
.tooltip-reparto > div {
  float: left !important;
  padding: 0 10px;
}

.tooltip-reparto > div strong {
  font-weight: bolder;
}
.tooltip-reparto > div span {
  display: block;
  color: #666;
}

.tooltip-porcentaje {
  text-align: center;
  min-height: 70px;
}

.tooltip-porcentaje figure {
  display: block;
  text-align: center;
  margin-bottom: 5px;
}

.tooltip-porcentaje figure img { width:35px; }

#porcentaje_leyenda {
  display: none;
  text-align: left;
  padding-left: 0;
  margin-top: 0;
}
#porcentaje_leyenda a {
  width: 66px;
  text-align: center;
  display: inline-block;
}

#porcentaje_leyenda a img {
  max-width: 40px;
}

.ano2016 {
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  bottom: 20px;
  left: 72px;
  color: #111;
  font-weight: bold;
  font-size: 1.1em;
  display: none;
}

.ano2012 {
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  bottom: 20px;
  left: 185px;
  color: #666;
  font-weight: bold;
  font-size: 0.9em;
  display: none;
}

.reparto_leyenda {
  text-align: center;
  font-weight: normal;
  margin-top: -35px;
  min-height: 1%;
  overflow: hidden;
}

.reparto_leyenda figure {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 5px;
  display: block;
}
.reparto_leyenda img {
  width: 100%;
}

.reparto_leyenda strong {
  font-size: 1.2em;
  display: block;
  text-transform: uppercase;
}
.reparto_leyenda span {
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4em;
  padding: 3px 5px;
  display: inline-block;
}

.detalle_graficos .reparto_leyenda span {
  background: rgba(0,0,0,0.6);
}

.portada .reparto_leyenda.leyenda_pp figure  {
  margin-right: 20px;
}

.portada .reparto_leyenda.leyenda_enmarea figure  {
  margin-left: 20px;
}

.portada .reparto_leyenda.leyenda_psoe {
  margin-left: 20px;
  margin-top: -45px;
}

.portada .reparto_leyenda.leyenda_psoe figure  {
  margin-left: 20px;
}


.portada .reparto_leyenda.leyenda_ciudadanos {
  margin-top: 5px !important;
  margin-left: 70px !important;
}

.portada .reparto_leyenda.leyenda_ciudadanos figure  {
  width: 32px;
  height: 32px;
  float: right;
  margin-left: 20px;
}

.portada .reparto_leyenda.leyenda_ciudadanos span {
  font-size: 1.3em !important;
}

.portada .reparto_leyenda.leyenda_bng {
  margin-top: -15px !important;
  margin-left: 40px !important;
}

.portada .reparto_leyenda.leyenda_bng span {
  font-size: 1.3em !important;
  margin-top: 10px;
}

.portada .reparto_leyenda.leyenda_bng figure  {
  width: 35px;
  height: 35px;
  float: right;
  margin-left: 22px;
}

.reparto_leyenda.leyenda_mini {
  margin-top: 0 !important;
}

.reparto_leyenda.leyenda_mini span {
  font-size: 12px !important;
  padding: 0 !important;
}

.reparto_leyenda.portada_mini {
  margin-top: -15px !important;
  margin-left: 20px !important;
}

.reparto_leyenda.portada_mini span {
  font-size: 1.3em !important;
  margin-top: 10px;
}

.reparto_leyenda.portada_mini figure  {
  width: 35px;
  height: 35px;
  float: right;
  margin-left: 22px;
}

.reparto_leyenda.portada_mini.esc_1 {
  margin-left: 70px !important;
  margin-top: -10px !important;
}

.reparto_leyenda.portada_mini.esc_2 {
  margin-left: 90px !important;
  margin-top: 0px !important;
}

.reparto_leyenda_2012 {
  margin: 0 0 0 -7px;
  text-align: center;
  font-weight: normal;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.reparto_leyenda_2012 span {
  font-size: 1em;
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.9);
  font-family: 'Montserrat', sans-serif;
  padding: 1px 5px;
  display: inline-block;
  text-shadow: none;
}

.reparto_porcentaje {
  margin: 0 0 0 0;
  text-align: center;
  font-weight: normal;
}

.reparto_porcentaje span {
  font-size: 1.1em;
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.9);
  font-family: 'Montserrat', sans-serif;
  padding: 2px 5px;
  display: inline-block;
  text-shadow: none;
}


.reparto_porcentaje_2012 {
  margin: 0;
  text-align: center;
  font-weight: normal;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: bold;
  border-radius: 4px;
  background: rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.95);
  padding: 1px 5px;
  display: block;
  font-size: 1em;

}

.reparto_porcentaje_2012:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(51, 51, 51, 0);
	border-top-color: rgba(0,0,0,0.4);
	border-width: 5px;
	margin-left: -5px;
}

.reparto_porcentaje_2012 span {
  font-weight: 300;
  display: block;
  text-shadow: none;
  font-weight: 300;
}

/* <figure><img src="img/logo_'+ this.point.name +'.png" /></figure> */

/*
#tabla_galicia {
  min-height: 1%;
  overflow: hidden;
  padding: 10px;
}
*/

.galicia_container {
  clear: both;
  min-height: 1%;
  overflow: hidden;
  padding: 0 27px;
}

.tabla_galicia {
  float: left;
  display: block;
  margin-top: 5px;
  margin-right: 10px;
  margin-bottom: 5px;
  position: relative;

}

.tabla_galicia h4 {
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bolder;
  margin: 0 0 10px 0;
}

.tabla_galicia .tabla_2016{
  position: absolute;
  top: 15px;
  right: 58px;
  font-size: 10px;
  color: #333;
}

.tabla_galicia .tabla_2012{
  position: absolute;
  top: 15px;
  right: 23px;
  font-size: 10px;
  color: #888;
}

.tabla_galicia ul {
  margin: 0;
  padding: 15px 22px;
  border: 1px solid #e5e5e5;
  min-height: 122px;
  /*
  -webkit-box-shadow: 5px 5px 0 0 #eee;
  box-shadow: 5px 5px 0 0 #eee;
  */
}

.tabla_galicia ul li {
  list-style: none;
  margin: 0;
  font-size: 12px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.tabla_galicia ul li i { padding-right: 10px; }
.tabla_galicia ul li span {
  width: 85px;
  display: inline-block;
  font-weight: 400;
}
.tabla_galicia ul li strong {
  color: #111;
  text-align: center;
  width: 15px;
  display: inline-block;
  width: 30px;
}
.tabla_galicia ul li small {
  color: #666;
  text-align: center;
  display: inline-block;
  background: #eee;
  margin-left: 10px;
  padding: 5px 8px;
  font-size: 1em;
}

.tabla_galicia.galicia {
  background: #f4f4f4;
  margin-left: 10px;
}

.tabla_total {
  border: none;
  display: inline-block;
  margin: 0 !important;
  padding: 10px 15px !important;
  background: #fff;
  position: absolute;
  right: 20px;
  bottom: 35px;
  display: none;
  background: #f4f4f4;
  width: 180px;
}

.tabla_total:after {
	right: 100%;
	bottom: 20px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(244, 244, 244, 0);
	border-right-color: #f4f4f4;
	border-width: 15px;
	margin-top: -15px;
}

.tabla_total ul {
  margin: 0;
  padding: 0;
}

.tabla_total li {
  list-style: none;
  /*border-bottom: 1px dotted #e5e5e5;*/
  margin: 0;
  padding: 3px 0;
  font-size: 12px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.tabla_total li i { padding-right: 10px; }
.tabla_total li span {
  width: 120px;
  display: inline-block;
}

.tabla_total li strong {
  color: #111;
  width: 20px;
  display: inline-block;
  text-align: center;
}


#galicia_box {
  margin-top: 20px;
  padding: 7% 10% 10% 12%;
  background: #eee;
  min-height: 1%;
  overflow: hidden;
}

#galicia_box:after {
	left:0;
	top: 3%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(255, 255, 255, 0);
	border-left-color: #fff;
	border-width: 30px;
	margin-left: 15px;
}

#galicia_box h3 {
  margin: -10px 0 0 10px;
  font-size: 1.4em;
  padding: 10px;
  text-align: center;
  font-family: 'Raleway',sans-serif;
  font-weight: 400;
}

#galicia_box #reparto_galicia {
  background: #eee;
  padding-bottom: 20px;
}

#mapa_galicia {
    margin: -10px 0 20px 0;
    display: block;
    width: 100%;
    max-width: 350px;
}

#galicia_box h4.cliche {
  color: #555;
}

#galicia_box .dataTable {
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;

}

#galicia_box #form_buscar_municipio {
  margin-bottom: 30px;
}

#galicia_box #buscar_municipio {
  background: #e5e5e5;
  border-radius: 6px;
  border: none;
  padding: 10px 20px;
  font-family: "FontAwesome", sans-serif;
  width: 100%;
  margin: auto;
  display: block;
  font-size: 1.1em;
  text-align: center;
}

#galicia_box #buscar_municipio:focus {
    outline: 0;
}

#galicia_box .reparto_leyenda {
/*  font-size: 0.9em !important;*/
}

#galicia_box .reparto_leyenda span {
/*  font-size: 1.1em !important;*/
}

#galicia_box #form_buscar_municipio {
  background: #e5e5e5;
  border-radius: 4px;
}

#galicia_box .twitter-typeahead {
  width: 100%;
}

 #galicia_box .tt-hint {
   bottom:0;
   width: 100%;
 }

 #galicia_box .tt-hint{ display: none !important;}

 #galicia_box .tt-dropdown-menu {
   background: #fff;
   right: 0 !important;
 }

  #galicia_box .tt-dropdown-menu li {

    cursor: pointer;
    list-style: none !important;
  }



  .form_buscar li {
    list-style: none !important;
    padding: 4px 15px;
    cursor: pointer;
  }

.site-home h2 {
  margin: 0 0 15px 0;
  padding: 0 !important;
  border: none !important;
  font-size: 3.3em;
  min-height: 1%;
  font-weight: 600;
  overflow: hidden;
}

.site-home .dataTable {
  margin-top: 20px;
  padding: 0 !important;
}

.site-home .escrutado {
  font-size: 1.1em;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif !important;
  color: #333;
  text-shadow: none;
  color: #666;
}
.site-home .escrutado strong {
  color: #555;
  background: #f4f4f4;
  border-radius: 8px;
  padding: 5px;
}

.buscar {
  padding: 2%;
  margin-top: 0;
  margin-bottom: 0;
  background: #eee;
  display: inline-block;
}

.buscar select {
  font-size: 1em;
  border: none;
  padding: 10px;
  background: #fff;
  margin-left: 10px;
}

hr {
  margin-bottom: 3%;
}

.senado {
  padding-top: 20px;
}

/*

.tt-dropdown-menu {
  background: #fff !important;
  padding: 5px !important;
  left: 70px !important;
  top: 96% !important;
}

.tt-dropdown-menu ul {
  margin: 0;
  padding: 0;
}
.tt-dropdown-menu li {
  padding: 5px;
  list-style: none;
}

*/


.elecciones25s.graficos .tt-dropdown-menu, .elecciones2016.graficos .tt-dropdown-menu {
position: absolute !important;
top: -215px !important;
left: 0px !important;
height:  210px;
overflow-y: scroll;
width: 100%;
border: 1px solid #ebebeb;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
border-radius: 7px;
background: #fff;

}

.elecciones25s.graficos .form_buscar input, .elecciones2016.graficos .form_buscar input {
  padding: 0px 10px;
}

.elecciones25s.graficos #buscar, .elecciones2016.graficos #buscar {
  overflow: visible !important;
}

.elecciones25s.graficos .form_buscar, .elecciones2016.graficos .form_buscar {
  padding: 0 !important;
  margin: 5px 0 !important;
  position: relative;
}

.elecciones25s.graficos #form_buscar .btn-brand, .elecciones2016.graficos #form_buscar .btn-brand  {
position: absolute !important;
top: 0;
right: 0;
margin-right: -20px !important;
margin-bottom: -10px !important;
}

.portada .col-xs-10 .grafico:before {
  content: "";
  width: 1px;
  background: #d5d5d5;
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 70px;
  z-index: 999;
}

.portada .col-xs-10 .grafico:after {
  content: "Mayoría absoluta: 38";
  position: absolute;
  bottom: 38px;
  left: 44%;
  width: 70px;
  font-size: 9px;
  text-transform: uppercase;
  color: #999;
  text-align: center;
}

.detalle_graficos .w .dataTable .tab-content { overflow: hidden; }
.detalle_graficos .more {
  margin-top: 10px;
  background: #e5e5e5;
  border: none;
  padding: 10px;
  font-weight: bold;
  font-family: Arial;
  border-radius: 6px;
}

.detalle_graficos .reparto_leyenda {
  /*margin-top: 0 !important;*/
  font-size: 1.3em !important;
  z-index: 9999;
}
.detalle_graficos .reparto_leyenda span  {
  font-size: 1.1em !important;
}


.dataTable td {
  font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif !important;
  color: #666 !important;
  text-shadow: none !important;
  padding: 8px 0 !important;
}

.dataTable td.partido {
  color: #444 !important;
  font-weight: normal;
}
.dataTable tfoot td {
  font-weight: bold !important;
  text-align: center;
}

.leyenda_mapa {
  margin: 0;
  padding: 0;
}

.leyenda_mapa strong {
  display: block;
  padding-bottom: 5px;
}

.leyenda_mapa li {
  padding: 2px 0;
  margin: 0;
  list-style: none;
}

.leyenda_mapa li i { margin-right: 5px; }
.leyenda_mapa li .partido {
  display: inline-block;
  width: 100px;
}
.leyenda_mapa li .escanos { display: inline-block; font-weight: bold; }


.ad_block.faldon {
  margin: 10px auto;
  text-align: center;
}

.ad_block.faldon div[id^="google_ads"] {
  margin: auto;
}

.ad_block.faldon div[id^="google_ads"]:before {
  content: "Publicidad";
  display: block;
  font-size:0.9em;
}


.tabla_asturias  {
	width: 100%;
	margin-bottom: 10px;
}

.tabla_asturias h4 { display: none; }

.tabla_asturias ul {
	background: none;
}
.tabla_asturias li {
	display: inline-block;
	padding: 8px 15px;
	background: #fff;
	border-radius: 8px;
	margin-right: 15px;
	border: 1px solid #e5e5e5;
}

.tabla_asturias li .logo img {
	height: 30px;
	width: 30px;
	display: inline-block;
	margin-right: 10px;
	border-radius: 50%;
}

.tabla_asturias li strong {
	margin-left: 10px;
	display: inline-block;
	color: #333;
	font-size: 1.2em;
}

@media(max-width:767px){
  .site-home h2 {
    display: block;
    text-align: center !important;
  }
  .site-home .escrutado {
    display: block;
    text-align: center;
  }
  .buscar {
    text-align: center;
  }
  .buscar select {
    display: block !important;
    text-align: center !important;
    margin: 0 !important;
    width: 100%;
    margin-top: 10px;
    clear: both;
  }

}
