/* 
    Created on : 16-ene-2015, 8:04:54
    Author     : Luis Sevillano | @sepirdata
*/
@charset "UTF-8";
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
b{font-weight: bold;font-size: 1em;}
i{font-style: italic;}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    color: #777;
}
h1{
    font-size: 2em;
    padding: 15px 10px;
}
h3{
    font-size: 1em;
    padding: 5px 10px;
}
#wrapper{
    width: 990px;
    height: 725px;
    font-size: 1em;
    margin: 5px;
    float: left;
}
line {stroke: #c1c1c1;stroke-width:1px;opacity: .8;}

#mapa{    
    width: 990px;
    height: 650px;
    float: left;
}
#mapa_andalucia{
    float: left;
    padding: 2px;
}
optgroup[label] {
    background-color: #F8F8F8 ;
    line-height: 15px;

}
#zoom{
    float: left;
    padding: 5px;
    top: -566px;;
    opacity: 0;
    display: inline-block;
    left: 0;
    width: 55px;
    height: 55px;
    position: relative;
    background-size: 50px;  
    background-position: 5px 5px;
    background-image: url("img/zoom.png");
    background-repeat: no-repeat;
    cursor: pointer;
    background-color: #F8F8F8 ;
}
select{
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 4px 6px;
    margin-bottom: 10px;
    font-size: .95em;
    line-height: 20px;
    color: #555;
    vertical-align: middle;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
#d_municip{
    margin-top: 3px;   

}
path:hover{
    stroke-width: 1.5px;
}
div.tooltip{
    padding-bottom: 3px;
    float: left;
    position: relative;
    margin: 10px 0 0 5px;    
    text-align: left;
    border-bottom: 1px solid #777;
    //width: 245px;
    width: auto;
    min-width: 245px;
    max-width: 266px;
    height: 20px;
    font-size: 1.2em;
    pointer-events: none;
    line-height: 24px;
    z-index: 2;
    opacity: 0;
    color: #777;
    float: left;
}
.diferencia{
    float: left;
    width: 245px;
    height: 15px;
    margin: 5px 0 0 5px;
    font-size: .8em;
    color: #888888 ;
}
.div_svg{
    float: left;
    width: 245px;
    height: 170px;
}
.contenedor{
    opacity: 0;
    padding: 5px;
    position: absolute;
    background-color: #F8F8F8;
    width: auto;
    min-width: 250px;
    max-width: 275px;
    height:auto;
    border: 1px solid #D8D8D8;
    pointer-events: none;
    float: left;
    top:280px;
    left: 450px;
}
.cifras,.values{
    font-size: 12px;
}
.buscar{
    float: left;
    height: 35px;
}

.reload{
    font-size: 1.3em;
    float: left;
    display: inline-block;
    width: 135px;
    height: 20px;
    padding: 10px 0 ;
    padding-left: 30px;
    margin-right: 20px;
    margin-left: 10px;
    cursor: pointer;
    line-height: 17px;
    background-size: 25px;  
    background-position: 0 5px;
    background-image: url("img/reload.png");
    background-repeat: no-repeat;    
    cursor: pointer;
}
#leyend{
    padding: 10px 0px 10px 10px;
    display: block;    
    height: 20px;
    font-size: 1em;
    width: 615px;
    float: right;
}
.legend{
    float: left;
    display: inline-block;
    height: 16px;
    margin-right: 20px;
    cursor: pointer;
    font-size: .9em;
    line-height: 17px;
}
.legend:last-child{
    margin: 0;
}
.pp,.psoe,.podemos,.ciudadanos,.iu,.upyd,.pa{
    margin: 0 5px;
    display: inline-block;
    float: left;
    width: 15px;
    height: 15px;
    border-radius:1em;

}
.pp{margin-left: 20px; background-color: #2D9AC7;}
.psoe{ background-color: #C10A13;}
.podemos{ background-color: #9E7C9D;}
.ciudadanos{ background-color: #EC8968;}
.iu{ background-color: #74C175;}
.pa{ background-color: #484E4B;}
.upyd{ background-color: #D60176;}
.mayor_voto{
    float: left;
    width: 120px;
    height: 20px;
    cursor: pointer;
    color: #333333;
    text-align: center;
    display: inline-block;
    padding: 4px 12px;
    margin-left: 10px;
    line-height: 20px;
    background-color: #F0F0F0 ;
    border: 1px solid #E0E0E0 ;
}
#scale{
    position: relative;
    top: -30px;
    width: 440px;
    float: right;      
    height: 20px;
    opacity: 0;
}

.color_scale,.color_value{    
    display: inline-block;
    float: left;
    pointer-events: none;
}
.color_scale{
    background-color: white;
    width: 30px;
    height: 15px;    
}
.color_value{
    width: 45px;
    height: 15px;
}
.color_value{
    margin: 0 5px; 
}
.color_value:last-child{
    margin-right: 0;
}

#cont_buscar{
    margin-top: 10px;
    float: right;          
    height: 45px;
}