/**
 * Name: Mercylyn Wiemer (10749306)
 * Course: Data Processing
 * Date: 18-05-2018
 *
 * Linked-views: Better Life Index 2016 (Life expectancy, air pollution, water quality
 * and self-reported health).
 *
 * http://bl.ocks.org/davegotz/bd54b56723c154d25eedde6504d30ad7
 */

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

body {
    overflow-x:hidden;
}

#chart {
      padding-top: 20px;
      height: 100%;
}

#datamap {
    width: 470px;
    height:470px;
    position: relative;
    text-align: left;
}

/* On small screens, set height to 'auto' for sidenav and grid */
@media screen and (max-width: 767px) {
  #chart {
    height: auto;
    padding: 15px;
 }

.row.content {
    height:auto;}
}

.jumbotron {
    background-color: #6baed6;
    color: #ffffff;
    text-align: center;
    width: 100%;
}

.col-sm-6 {
    text-align: center;
}

.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;
  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;
}

.btn {
    border-width: 2px;
}
