@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,200,300,900);
a {
    color: #003181
}

a:hover {
    color: #e42644
}

body {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    text-shadow: 0 1px white;
    padding-bottom: 0;
}

#logo_voz {
    display: block;
    text-align: right;
    padding: 10px;
}

#logo_voz img {
    max-width: 150px;
}

@media only screen
   and (max-width : 1200px) {
   #logo_voz {
       text-align: center;
   }
}

.detalle_graficos {
    margin: 0
}

.detalle_graficos .container {
    max-width: 1010px
}

.detalle_graficos .head {
    padding: 0!important
}

.detalle_graficos .head .breadcrumb {
    background: #e5e5e5;
    text-shadow: 0 1px white;
    margin-bottom: 0!important;
    font-size: 1.3em;
    border-radius: 0;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    font-weight: 400;
    border-top: 2px solid #ccc;
    overflow: hidden
}

.detalle_graficos .head .breadcrumb a { color: #666 !important; }

.detalle_graficos .head .breadcrumb>li+li:before {
    color: #adaca4!important;
    content: "\f105";
    font-family: "FontAwesome"
}

.detalle_graficos .head .logo_lavoz {
    padding: 4px;
    text-align: center;
    border-bottom: 2px solid #00717d;
    border-top: none;
    display: hidden;
}

.detalle_graficos .head .logo_lavoz img {
    width: 160px
}

.detalle_graficos .head .header {
    text-align: center!important;
    background: #003181 url("../img/bg_site.png") center center;
    background-size: cover;
    padding: 5% 4%;
}

.detalle_graficos .head .header .logo img {
    max-width: 300px
}

.detalle_graficos .w {
    background: #fff;
    min-height: 1%;
    overflow: hidden;
    margin: 10px -14px!important
}

.detalle_graficos .w h1 {
    border: 1px double #e5e5e5;
    border-radius: 7px;
    margin: 10px 14px 10px 14px!important;
    padding: 10px 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    text-align: center
}

.detalle_graficos .w .grafico {
    clear: both;
    background: #fff;
    width: 100%;
    margin: 0 0 20px -15px;
    text-shadow: none;
    position: relative;
}

.detalle_graficos .highcharts-container { overflow: visible !important; }

.detalle_graficos .w .grafico div[class*="reparto_leyenda"] {
    text-shadow: 1px 1px #000
}

.detalle_graficos .w .grafico #reparto_escanos {
    background: #fff
}



.detalle_graficos .w .dataTable {
    padding: 15px
}

.detalle_graficos .w .dataTable .nav-tabs {
    border: 0
}

.detalle_graficos .w .dataTable .nav-tabs a {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    font-weight: normal;
    font-size: 1.2em;
    background: #f4f4f4;
    border: 0;
    border-top-right-radius: 7px
}

.detalle_graficos .w .dataTable .nav-tabs li a {
    border-top-left-radius: 0
}

.detalle_graficos .w .dataTable .nav-tabs li:first-child a {
    border-top-left-radius: 7px;
    border-top-right-radius: 0
}

.detalle_graficos .w .dataTable .nav-tabs .active a,
.detalle_graficos .w .dataTable .nav-tabs .detalle_graficos .nav-tabs .active a:focus,
.detalle_graficos .w .dataTable .nav-tabs .detalle_graficos .nav-tabs .active a:hover {
    background: #e5e5e5;
    border-color: #e5e5e5!important;
    color: #111;
    font-weight: bolder;
    margin: 0!important
}

.detalle_graficos .w .dataTable .tab-content>div {
    background: #e5e5e5;
    padding: 10px 15px;
    border-top-right-radius: 7px;
}

.detalle_graficos .w .dataTable .tab-content>div table thead td {
    padding: 5px 0;
    font-weight: bold;
    text-align: center;
    font-size: .8em;
    text-transform: uppercase
}


/*.detalle_graficos .w .dataTable .tab-content>div table tbody tr:last-child td{border-bottom:0;font-weight:400;color:#000}*/

.detalle_graficos .w .dataTable .tab-content>div table tbody td {
    text-align: center;
    padding: 4px 0;
    border-bottom: 1px solid #ccc;
    color: #555
}

.detalle_graficos .w .dataTable .tab-content>div table td.partido {
    text-align: left
}

 .detalle_graficos .w .dataTable.provincias .tab-content>div {
    background: none !important;
    border-radius: 0;
    font-size:0.9em;
}

.detalle_graficos .w .dataTable.provincias .tabla_cliche {
    background: #f4f4f4;
    padding: 10px 10px 10px 20px;
}

#reparto_escanos_det {
   position: relative;
}

#reparto_escanos_det:before {
  content: "";
  width: 1px;
  background: #d5d5d5;
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 60px;
  z-index: 999;
}

#reparto_escanos_det:after {
  content: "Mayoría absoluta: 38";
  position: absolute;
  bottom: 15px;
  left: 45%;
  width: 70px;
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  color: #999;
  text-align: center;
  background: #fff;
  display: block;
}



@media(max-width:578px){

   #reparto_escanos_det:before {
      bottom: 25px;
   }

   #reparto_escanos_det:after {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      width: 100%;
      background: none;
      text-align: center;
      width: 70px;
      background: none;
      text-align: center;
      margin: auto;
   }

   .detalle_graficos .w .grafico .ano2016{
      left: 20px;
      bottom: 0;
   }
   .detalle_graficos .w .grafico .ano2012{
      left: 120px;
      bottom: 0;
    }

}


@media(max-width:375px){

   #reparto_escanos_det:before {
      bottom: 55px;
   }

   #reparto_escanos_det:after {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      width: 70px;
      background: none;
      text-align: center;
      margin: auto;
   }

   .detalle_graficos .w .grafico .ano2016{
      left: 20px;
      bottom: 0;
   }
   .detalle_graficos .w .grafico .ano2012{
      left: 80px;
      bottom: 0;
    }

}


@media (min-width:961px) {
     .detalle_graficos .w .dataTable.provincias {
         margin-left: 25px !important;
     }

        .detalle_graficos .w .grafico .ano2016{
           bottom: 0;
           left: 20px;
        }
        .detalle_graficos .w .grafico .ano2012{
           bottom: 0;
           left: 160px;
         }

}


#tabla_coruna .tabla_cliche {
    background: #f4f4f4 url(../img/mapa_coruna.png) right center no-repeat;
}

#tabla_lugo .tabla_cliche {
    background: #f4f4f4 url(../img/mapa_lugo.png) right center no-repeat;
}

#tabla_pontevedra .tabla_cliche {
    background: #f4f4f4 url(../img/mapa_pontevedra.png) right center no-repeat;
}

#tabla_ourense .tabla_cliche {
    background: #f4f4f4 url(../img/mapa_ourense.png) right center no-repeat;
}

.detalle_graficos .w .dataTable.provincias .tabla_cliche h4 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
}

.detalle_graficos .w .dataTable.provincias .tabla_cliche h4 a {
   text-decoration: none !important;
   color: #222 !important;
}

.detalle_graficos .w .dataTable.provincias #toogleTabla {
    background: #fff;
    padding: 8px;
    font-size: 0.7em;
    display: block;
    border-radius: 6px;
    border: 1px solid #e5e5e5 !important;
    margin: 10px auto 0 auto;
    width: 80px;
    text-shadow: none;
    color: #666;
}

.detalle_graficos .source hr {
    margin: 0;
    display: none
}

.detalle_graficos .links {
    padding: 10px 0;
    margin: 0!important;
    border-radius: 7px;
    font-weight: 400;
    font-size: .9em
}

.detalle_graficos .links div {
    padding: 5px;
    overflow: hidden
}

.detalle_graficos .links h2 {
    text-transform: uppercase;
    font-size: 1.4em;
    padding: 10px;
    margin: 0;
    color: #adaca4!important
}

.detalle_graficos .links a {
    padding: 6px!important;
    display: block;
    font-size: 1em;
    border-radius: 7px;
    border: 1px solid #e5e5e5
}

.detalle_graficos .links a:hover {
    background: #e5e5e5
}

.detalle_graficos #toogleTabla {
    border-top: 1px dotted #c5c5c5 !important;
    padding: 20px 10px;
    background: #e5e5e5;
    border-radius: 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
    clear: both;
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 1em;
}

.detalle_graficos #toogleTabla:hover {
    background: #eee;
}

.detalle_graficos .fuente {
    display: block;
    margin-top: 30px;
}

.detalle_graficos .footer {
    font-size: .8em;
    text-align: center;
    margin-top: 15px;
    padding-top: 20px;
    background: #333;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
    color: #666;
    text-shadow: 0 1px #000
}

.detalle_graficos .footer a {
    color: #ccc
}

.detalle_graficos .footer ul li {
    display: inline;
    padding: 5px
}

.detalle_graficos .footer hr {
    display: none
}

.detalle_graficos .footer .logo_footer {
    padding: 10px 0
}

.detalle_graficos .footer .logo_footer img {
    max-width: 200px
}
