/*estiloGrafica.ccs*/
/*en: Style sheet used for maps */
/*es: Hoja de estilo utilizada para las gráficas */

.titulo {
    font: 'Source Sans Pro', sans-serif;
    font-size: 30px;
    fill: #000;
}
.subtitulo{
    font: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: bold;
    fill: #000;
}
.periodo{
    font: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    opacity: .7;
    fill: #000;
}
.leyendaX,
.leyendaY {
    font: 'Source Sans Pro', sans-serif;
    font-size: 13px;
    font-weight: normal;
    fill: #000;
}

#GraMap {
    font-size: 9px;
    //background-color: bisque;
}

#GraTab {
    font-size: 11px;
    //background-color: beige;
}

div.tooltip {
    position: absolute;
    text-align: center;
    width: auto!important;
    height: auto;
    padding: 2px;
    font: 14px 'Source Sans Pro', sans-serif;
    color:black;
    background: lightsteelblue;
    border: 0px;
    border-radius: 4px;
    pointer-events: none;
}

.container-fluid {
    margin-top: 5%;
}

/* para las multilíneas de la gráfica  18/Sept./2017*/
path { 
    stroke: steelblue;
    stroke-width: 2;
    fill: none;
}

/* para el color de la línea de las escalas */
.axis path,
.axis line {
    fill: none;
    stroke: darkblue;
    shape-rendering: crispEdges;
    opacity: .6;
}

/* para barras verticales, no lineas */
.x.axis path {
}


/* para barras horizontales, no ver linea eje "y" */
.yh.axis path {
}

.regla {
    stroke: black;
    stroke-opacity: .4;
}
.reglaH {
    stroke: black;
    stroke-opacity: .4;
}
.xsup {
    fill: none;
    stroke: darkblue;
}

.reglaMeta {
    stroke: red;
    stroke-width: 2.5px;
}

.reglaMeta:hover {
    cursor: pointer;
    opacity: .5;
    stroke: red;
}

.line1 {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
}
.line2 {
    fill: none;
    stroke: orange;
    stroke-width: 1.5px;
}

circle {
    fill: maroon;
}

.bar {
    fill: steelblue;
}

.bar:hover,
.barNal:hover{
    cursor: pointer;
    fill: steelblue;
    opacity: .6;
    stroke: steelblue;
}

.barNal {
    fill: #8fb192;
}

.barCero {
    fill: #fff;
    opacity: .0;
}
.barCero:hover{
    cursor: pointer;
    fill: white;
    opacity: .6;
}

circle:hover {
    cursor: pointer;
    fill: white;
    stroke-width: 10px;
    opacity: .5;
    stroke: steelblue;
}

.d3-tip {
    line-height: 1;
    font-weight: bold;
    padding: 13px;
    background: rgba(255, 255, 255, .9);
    color: black;
    border-radius: 3px;
    box-shadow: 4px 4px 7px #577777;
    border: 3px solid rgba(67, 158, 219, .4);
}


/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
    width: 100%;
    box-sizing: border-box;
    display: inline;
    /*: block */
    font-size: 15px;
    line-height: 1;
    color: rgba(67, 158, 219, .7);
    content: "\25BC";
    position: absolute;
    text-align: center;
}


/* Style northward tooltips differently */
.d3-tip.n:after {
    margin: -1px 0 0 0;
    top: 100%;
    left: 0;
}

#table table {
    //margin-top: 10%;
}
.table-graf {font-size: 12pt; border: 0px!important; width:100%!important;}
.table-graf>thead>tr>th {padding: 2px 4px; color:#31708f; text-align: left;}
.table-graf>tbody>tr>td {padding: 2px 4px; color:#31708f; text-align: left; width: auto!important; }
