/* 
    Created on : 11-feb-2015, 14:00:22
    Author     : Luis
*/

@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}
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1em;
    color: #777;

}
#wrapper{    
    width: 980px;
    font-size: 1em;
    margin: 2px;
    float: left;
    height: 1200px;
}
#years{
    margin-top: 35px;
    width: 470px;
    height: 75px;
    float: left;
}
.axis line {
    fill: none;
    stroke: black;
    shape-rendering: crispEdges;
}
.x_label{
    font-size: .95em;
    pointer-events: none;
    color: #777;
    opacity: .7;
}
.border{
    outline: 2px solid #AF4F50;
}
#sort{
    top: 45px;
    left: 15px;
    width: 30px;
    height: 30px;
    position: relative;
    background-size: 15px;  
    opacity: .7;
    background-image: url("img/sort.png");
    background-repeat: no-repeat;
    background-position: 7px 9px;
}
#both, #men,#women{
    margin-bottom: 5px;    
}
#both{
    width: 85px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    border-bottom:1px solid #ECEAE0;
    color: #5A5555;
    padding: 7px 10px ;
    margin: 5px 2px;
    display: inline-block;
}

.generos{
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    border-bottom: 1px solid #ECEAE0;
    color: #5A5555;
    padding: 7px 10px ;
    width: 338px;
    margin: 5px 2px;
    display: inline-block;
}
#men{
    text-align:  right;
    float:  right;
    padding-right: 0;
}
#women{
    padding-left: 0;
    text-align:  left;
    float:  left;
}
.years{    
    cursor: pointer;
    background-color:#ECEAE0;
    color: #5A5555;    

}
path:hover{
    cursor: pointer;
    opacity: .95;
}
.page-header{
    background-color: #F5F5F5 ;    
    padding: 15px;
}
#leyend{
    padding: 10px;
    padding-left: 20px;
    display: block;    
    height: 20px;
    font-size: 1em;
}
#legend p{
    margin: 0;
}
.legend{
    float: left;
    display: inline-block;
    height: 10px;
    margin-right: 15px;
}
.mas_dos,.mas_cinco,.mas_siete{
    margin: 0 5px;
    display: inline-block;
    float: left;
    width: 25px;
    height: 15px;
    border: 1px solid #D0D0D0 ;
}
.mas_dos{background-color:  #FAEBF2;}
.mas_cinco{ background-color: #DBBEDC;}
.mas_siete{ background-color: #C591BF;}

#datos{
    padding-right: 70px;
    float: left;
    width: 400px;    
}
#desc{
    width: 400px;
    float: left;
    height: 20px;
    margin-bottom: 80px;
}
#title_desc{
    color:#509CD5;
    font-size: 1.3em;
    padding: 5px 0;   
}
#content_desc{
    text-align: justify;    
    float: left;
    padding: 5px 0;
}

#year{
    border-right: 1px solid #777;
    font-size: 4.5em;
    padding: 0 5px;
    width: 180px;
    float: left;
    margin: 10px 0;
}
#year, #nacional{
    margin-top: 20px;
}
#nacional{
    font-size: .9em;
    text-align: left;
    width: 180px;
    height: 60px;
    float: left;
    padding: 10px 10px;
    margin-bottom: 15px;
}
#media_nacional{
    padding-top: 5px;
    font-size: 2.5em;
}
#cantidad_mayor,#cantidad_menor{
    margin-top: 5px;
    font-size: 1.8em;
    float: left;
}

#min, #max{
    width: 37px;
    height: 10px;
    display: inline-block;
}
#min{
    border: none;
    background-color: #addd8e;
    float: left;
}
#max{
    border: none;
    background-color: #31a354;
    float: left;
}
#mapas{ 
    float: left;    

}
#mapas,#datos{
    height: 470px;
}
#mapas, #legend{
    width: 485px;
}
#mapas svg{
    // padding-top: 5px;
}
.datos_provincia{
    float: left;
    width: 400px;
    height: auto;

}

#cantidad_mayor,cantidad_menor{
    margin-top: 1px;
}
#ccaa_mayor,#ccaa_menor{
    font-size: 1.5em;
    float: left;
}
#mayor_sueldo,#menor_sueldo{
    float: left;
    width: 340px;
    font-size: 1.1em;
}
#provinciaMayor, #provinciaMenor{
    width: 175px;
    float: left;
    font-size: 1.1em;
    padding: 5px 0;
}
.datos_provincia{   
    float: left;   
    text-align: left;
    padding-top: 10px;   
    padding-bottom: 5px;
    font-size: 1em;
}
#provinciaMenor{
    text-align: left;    
}
#triangle-up,#triangle-down {
    clear: left;
    margin-right: 15px;
    float: left;
    width: 0;
    height: 0;
    border-left: 17px solid transparent;
    border-right:17px solid transparent;
}
#triangle-up {
    margin-top: 5px;
    border-bottom: 40px solid #C490BE;
}
#triangle-down {   
    margin-top: 3px;
    border-top: 40px solid #E5E5E5;
}
#grafica_comunidades{
    float: left;
    width: 900px;
    height: 645px;
    margin-top: 30px;    
    margin-left: 50px;
}
.chart rect:hover{
    opacity: .8;
}
#chart_men, #chart_women{
    float: left;
    width: 360px;
    padding: 0 1px 0 1px;

}
#comunidades{
    float: left;
    width: 110px;

}
#chart_men, #chart_women,#comunidades{
    height: 600px;
    margin: 10px;
}

#edades{width: 60px;float: left}
.edades{font-size: 14px;padding-top: 0;}
.chart rect.men{ fill: #60B9C7;}
.chart rect.women{ fill: #C490BE;}

#mapa{
    float: right;
}
#canarias {
    top: -85px;
    float: right;
    height: 80px;
    width: 190px;
    position: relative;
    border-top: solid 1px graytext;
    border-left: solid 1px graytext;
    border-radius: 25px 0;
}
#contenedor svg{
    background-color: #F5F5F5 ;    
}
.div_svg{
    position: relative;
    top: -30px;
}
#mapas path:hover{
    opacity: .9;
    cursor: pointer;
}
.contenedor{
    opacity: 0;
    padding: 5px;
    position: absolute;
    background-color: #F8F8F8;
    width: 230px;
    height: 130px;
    border: 1px solid #D8D8D8;
    pointer-events: none;
    top:300px;
}
.cifras,.values{
    font-size: 12px;
}
div.tooltip{
    padding-bottom: 3px;
    float: left;
    position: relative;
    margin: 10px 5px 0 5px;    
    text-align: left;
    border-bottom: 1px solid #777;
    width: 220px;
    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: 220px;
    height: 15px;
    margin: 5px 0 0 5px;
    font-size: .8em;
    color: #888888 ;
}
#media_nacional,#nacional,.datos_provincia,#year, #max, #min, #provinciaMayor, #provinciaMenor, text.values, .comunidades, .legend{
    pointer-events:none;
}
#fuente{
    margin-top: 30px;
    float: left;
    height: 15px;
    width: auto;
    font-size: .8em;    
}
.italic{
    font-style: italic;
}