/*************************/
/* CHOROPLETH MAP STYLES */
/*************************/

#mapVis svg {
    /*margin: 20px;*/
    background-color: white;
    border-radius: 15px;
}

#mapVis {
    text-align: center;
}

path.map-paths {
    stroke: #262626;
    /*stroke: #fff;*/
    stroke-width: 0.5;
}

rect.legend-rect {
    /*stroke: #636363;*/
    /*stroke-width: 0.5;*/
}

rect#no-data {
    fill: #BCBCBC;
}

/*circle#no-data {*/
/*    fill: #BCBCBC;*/
/*}*/

text.legend-label {
    text-anchor: start;
    font-size: 10px;
}


/*********************/
/*  TOOLTIP OVERLAY  */
/*********************/

.tooltip-title {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.d3-tip {
    line-height: 1.5;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 2px;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    content: "\25BC";
    position: absolute;
    text-align: center;
}

/* Style northward tooltips differently */
.d3-tip.n:after {
    margin: -1px 0 0 0;
    top: 100%;
    left: 0;
}
