* {
    font-family: 'Roboto', sans-serif;
}

.wrapper {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;

  grid-gap: 40px;
  padding: 40px;
}

.wrapper > div {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 40px 0;
}

.highlight {
    fill: black;
}





/*Element Styling*/

circle {
    fill: #d9d9d9;
    stroke: gray;
    opacity: .8;
}

circle.selected-region {
    stroke: #122f3d;
}

circle.selected-country {
    stroke-width: 3px;
    stroke: #000000;
    opacity: 1;
}

circle.hidden {
    opacity: .2;
}

path.hidden {
    opacity: .4;
}


/*ID Styling*/

#country-detail {
    display: inline-block;
    width: 750px;
    height: 100px;
    margin: auto;
    position: relative;
    padding-left: 30px;
}

#country-detail .stat {
    font-style: bold;
    display: block;
    width: 500px;
}

#country-detail .stats span {
    font-weight: bold;
}

#country-detail div.label {
    font-size: 26px;
    display: block;
    width: 100%;
    padding-top: 10px;
}

#country-detail div.label span {
    font-size: 22px;
    padding-bottom: 15px;
    font-weight: bold;
}

#map-chart {
    height: 450px;
}

#scatter-plot {
    height: 730px;
}

#map-chart svg {
    width: 100%;
    height: 100%;
    margin: auto;
}

#map-chart svg {
    margin: auto;
}


/*class styling*/

.boundary {
    fill: none;
    stroke: #fff;
    stroke-width: .8px;
}

.countries {
    fill: #d9d9d9;
}

.circle-legend {
    width: 200px;
    height: 120px;
    padding-right: 20px;
    margin: auto;
    display: inline-block;
    float: right;
}

.circle-legend svg {
    width: 100%;
    height: 90%;
}

.circle-legend text {
    font-size: 11px;
}

.circle-legend .label {
    font-size: 12px;
    font-weight: bold;
    text-anchor: middle;
}

.circle-legend .subLabel {
    font-size: 11px;
    font-weight: bold;
}

.stroke {
    fill: none;
    stroke: #000;
    stroke-width: 2px;
}

.fill {
    fill: #fff;
    pointer-events: none;
}

.graticule {
    fill: none;
    stroke: #777;
    stroke-width: .5px;
    stroke-opacity: .2;
    pointer-events: none;
}

.header {
    width: 600px;
    margin: auto;
    text-align: center;
}

.wrapper {
    width: 1600px;
    margin: auto;
}

.view {
    width: 750px;
    /*margin: auto;*/
    padding: 5px;
    display: inline-block;
    float: left;
}

.innerWrapper {
    width: 790px;
    display: inline-block;
    float: left;
}

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

.axis-label {
    font-size: 11px;
}

div.toggle-panel {
    display: block;
    width: 100%;
    height: 30px;
    padding: 2px;
}

div.dropdown-wrapper {
    display: inline-block;
    margin-left: 75px;
    width: 320px;
    height: 130px;
    padding: 2px;
}

.dropdown {
    float: right;
}

.y-label,
.x-label,
.c-label {
    width: 1%7;
    display: inline-block;
    float: left;
    padding-right: 5px;
}


/*dropdown menu*/

.select-selected {
    background-color: DodgerBlue;
}


/*style the arrow inside the select element:*/

.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}


/*point the arrow upwards when the select box is open (active):*/

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}


/*style the items (options), including the selected item:*/

.select-items div,
.select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}


/*style items (options):*/

.select-items {
    position: absolute;
    background-color: DodgerBlue;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}


/*hide the items when the select box is closed:*/

.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}


/* slider styling */

.slider {
    -webkit-appearance: none;
    width: 725px;
    height: 15px;
    border-radius: 5px;
    background: #f2f2f2;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin-left: 20px
}




.button {

  position: absolute;
  left: 10px;
  top: 890px;

  box-sizing: border-box;
  height: 74px;

  border-color: transparent transparent transparent #202020;
  transition: 100ms all ease;
  will-change: border-width;
  cursor: pointer;

  // play state
  border-style: solid;
  border-width: 37px 0 37px 60px;

  // paused state

}

.pause {
  position: absolute;
  left: 10px;
  top: 890px;

  box-sizing: border-box;
  height: 74px;

  border-color: transparent transparent transparent #202020;
  transition: 100ms all ease;
  will-change: border-width;
  cursor: pointer;

    border-style: double;
    border-width: 0px 0 0px 60px;
  }



.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: black;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #D4E157;
    cursor: pointer;
}

.slider:hover {
    opacity: 1;
}

.slider-label svg {
    width: 750px;
    height: 35px;
}

.slider-label svg text {
    text-anchor: middle;
}

.slider-wrap {
    display: inline-block;
    float: left;
    width: 750px;
    margin-left: 50px;
}


/*tooltip */

div.tooltip {
    position: absolute;
    text-align: center;
    min-width: 60px;
    height: 28px;
    padding: 2px;
    background: white;
    stroke: gray;
    border-radius: 8px;
    pointer-events: none;
}

.tooltip h2 {
    margin: auto;
    font: 14px sans-serif;
}


/* Styling for Counties */
.asia {
    fill: #AD1457;
}


.australia {

    fill: #FFCA28;
    /*  stroke-width: 1px;*/
}


.europe {
    fill: #85C1E9;
}


.northamerica {
    fill: #D4E157;
}


.activeYear-background {
    font-size: 80px;
    opacity: .4;
}

#matchTable thead{
  padding: 12px;
 text-align: center;
 background-color: #add8e6;
 color: black;
height: 55px;
font-weight: bold;
}
/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #4CAF50;
  color: white;
}



svg {
    font-family: Sans-Serif, Arial;
}
.line {
  stroke-width: 2;
  fill: none;
}

.axis path {
  stroke: black;
}

.text {
  font-size: 12px;
}

.title-text {
  font-size: 12px;
}

tbody tr:hover {
    background-color: #d8ffd8;
}


.row {
    width:1010px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.subcat{
color: green;
}
