@font-face {
  font-family: Roboto Condensed;
  src: url('fonts/RobotoCondensed-Regular.ttf');
}


@font-face {
  font-family: 'Roboto Slab Regular';
  src: url('fonts/RobotoSlab-Regular.ttf');
}

@font-face {
  font-family: 'Roboto Slab Bold';
  src: url('fonts/RobotoSlab-Bold.ttf');
}

body, html{
  font-family: 'Roboto Slab Regular', sans-serif;
  margin: 0;
  padding: 10px;
  overflow-x: hidden;
}

h1{
  font-family: 'Roboto Slab Bold';
}

#chord-checkbox{
  font-size: 12px;
}

td{
  width: 100px;
  font-family: 'Roboto Condensed';
  color: #666666;
}

.node rect {
  fill-opacity: .9;
  shape-rendering: crispEdges;
}

.link {
  fill: none;
  stroke: #000;
}

.heading-description{
  font-size: 20px; 
  max-width: 1000px; 
  vertical-align: middle; 
  margin: 0 auto;
  text-align: justify;
}

#visualization{
  position: fixed;
  width: 100%;
  max-width: 1200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-x: hidden;
}

.fixed_paragaph{
  display: none;
  position: fixed;
  width: 100%;
  max-width: 1200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-x: hidden;
}

#chord-checkbox{
  display: none;
}

#rank-diagram{
  display: none;
}

#chord-diagram{
  overflow-x: hidden;
  display: none;
}

#chord-legend{
  display: none;
}

#chord-image{
  display: none;
}

#linear-diagram{
  display: none;
}

.block-text{
  background: white;
  padding: 20px;
  font-size: 18px;
  margin-bottom: 100vh;
  z-index: 1;
  position: relative;
  /*
  border-radius: 10px;
  border-style: solid;
  border-color: black;
  */
  opacity: 0.8;
}

.column {
  float: left;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.cover{
  width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 1200px) {
      .cover {
         width: 100%;
      }
   }

.d3-tip {
  line-height: 1;
  padding: 15px;
  background: #fff;
  border-radius: 1px;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  opacity: 0.9;
  position: absolute;
  z-index: 10;
  visibility: hidden;
}
/* Style northward tooltips differently */
.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22.6px;
  margin: 0;
  margin-bottom: -4px;
  padding: 0;
}

.switch input {display:none;}
/*
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #6a51a3;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17.3px;
  width: 17.3px;
  left: 3.8px;
  bottom: 2.6px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #e7298a;
}

input:focus + .slider {
  box-shadow: 0 0 1px #e7298a;
}

input:checked + .slider:before {
  -webkit-transform: translateX(17.3px);
  -ms-transform: translateX(17.3px);
  transform: translateX(17.3px);
}

 Rounded sliders 
.slider.round {
  border-radius: 25px;
}

.slider.round:before {
  border-radius: 50%;
}


.row{
  overflow-y: hidden;
}

.line {
  fill: none;
  stroke-width: 3px;
  stroke-linejoin: round;
} */

.slidecontainer {
  width: 900px;
}

.slider {
  -webkit-appearance: none;
  width: 805px;
  height: 5px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5px;
  height: 10px;
  border-radius: 50%;
  background: #666666;
  cursor: pointer;
}

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

.dot {
  height: 4px;
  width: 3px;
  background-color: #666666;
  border-radius: 50%;
  display: inline-block;
}