/***** Tooltip *****/
.d3-tip {
    line-height: 1;
    padding: 12px;
    border-radius: 2px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
  }
  
.d3-tip:after {
    display: inline;
    top: 100%;
    left: 0;
    width: 100%;
    margin: -1px 0 0 0;
    box-sizing: border-box;
    font-size: 10px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    content: "\25BC";
    position: absolute;
    text-align: center;
}

/***** Body *****/
body {
  margin:0;
  background-color: #2880B1;
  font-family: arial,sans-serif;
}

/***** Navigation bar *****/
.navbar {
  /* margin-left:0; */
  overflow: hidden;
  background-color: #2880B1;
  position: fixed;
  top: 0;
  width: 100%;
  display: block;
  z-index: 1100;
}
/* Navigation bar options */
.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  border-right-style: solid;
  border-color: white;
  border-width: 1px;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
/* Change navigation bar options background on mouse-over */
.navbar a:hover {
  background: #A5DAF9;
  color: black;
}

/***** Footer *****/
.footer {
  bottom: 0;
  background-color: #2880B1;
  color: #f2f2f2;
  text-align: center;
}

/***** Main Page *****/
.main-page {
  margin: 30px auto;
  width: 90%;
  padding: 16px;
  background-color: white;
}

/***** Page title *****/
.page-title {
  margin-top: 50px;
  margin-bottom: 70px;
  text-align: center;
  font-size: 25px;
}
.page-title h1 {
  font-size: 40px;
  font-weight: bold;
}

/***** Normal text *****/
.normal-text {
  margin: auto;
  max-width: 80%;
  text-align: justify;
  font-size: 20px;
  text-indent: 50px;
  padding-bottom: 50px;
}
/***** Main sections *****/
.main-sections {
  padding-top: 70px;
  margin: auto;
  max-width: 80%;
}
.main-sections h2 {
  font-size: 28px;
  font-weight: bold;
}
.main-sections h3 {
  padding-top: 30px;
  font-size: 21px;
  font-weight: bold;
}
.main-sections .normal-text {
  max-width: 100%;
}
.dataviz-name {
  margin: 50px auto;
  max-width: 80%;
  text-align: center;
  font-size: 16px;
  text-decoration: underline;
}

.vcenter {
  align-items: center;
}

#part-2 h2 {
  padding-top: 90px;
}
#part-2 .normal-text {
  padding-top: 10px;
  padding-bottom: 5px;
}
#part-2-2 .normal-text {
  padding-top: 10px;
  padding-bottom: 40px;
}

#part-3 .normal-text {
  padding-top: 20px;
  padding-bottom: 20px;
}


/***** Dataviz *****/
.dataviz {
  margin: auto;
}

.dataviz-inline{
    margin: 0;
}

.flex-div {
  display: flex;
  justify-content: center;
  padding-bottom: 30px;

}

.selected {
  animation: flash-animation 0.8s ease-out infinite;
  animation-direction: alternate;
}

@keyframes flash-animation {
  from {
      fill-opacity: 0.9;
  }
  to {
      fill-opacity: 0.3;
  }
}

.vert {
  flex-direction: column;
}

h1 {
  font-size: 20px;
  align-content: center;
  text-align: center;
  padding-top: 40px;
}

#h1-1 {
  margin-left: 220px;
  margin-right: 35px;
}

#h1-2 {
  margin-right: 35px;
}

#h1-3 {
  margin-right: 200px;
}

.legendIndef {
  font-size: 11px;
}

.legendQuant {
  font-size: 11px;
}

#h5-1 {
  text-align: center;
}
