/*  Tim Verlaan
    11691328
    Displaying JSON data in HTML Canvas */

#headtext
{
    font:Verdana, Geneva, sans-serif;
    font-size:13.5px;
    text-align:middle;
    background-color:#CCD1D1;
    height:75px;
    width: 1260px;
    vertical-align:middle;
    white-space: pre;
    font-weight: bold;
}

#info
{
    font:Verdana, Geneva, sans-serif;
    font-size:13.5px;
    font-weight: bold;
}

#img {
    object-fit: cover;
    width:200px;
    height:250px;
  }

.bar:hover 
{
    fill: brown;
}

/* Tool tip CSS from: http://bl.ocks.org/Caged/6476579 */
.d3-tip 
{
    line-height: 1;
    font-weight: bold;
    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;
    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;
}

#buttons 
{
    padding: 10px; 
}

#title
{
    font-size: 22px;
    font-weight: bold
}

#titlePie
{
    font-size: 18px;
    font-weight: bold;
}

#titlePhoto
{
    font-size: 26px;
    font-weight: bold;
    padding: 5px;
}

#titleCountry
{
    font-size: 18px;
    font-weight: bold;
}