html, body {
  /* font-family: "Proxima Nova Regular","Segoe UI",Roboto,"Droid Sans","Helvetica Neue",Arial,sans-serif; */
  font-family: 'Montserrat', sans-serif;
}

/* Funky default viewBox styling suggestions. Don't use! */

/* .svg-container {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;*/
    /* padding-bottom must be set to the ratio between the SVG's height and width */
    /*padding-bottom: 48%;
    vertical-align: top;
    overflow: hidden;
}
.svg-content {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
} */

/* styling from SDFB project that works much better */
.svg-container {
  width: 99%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 0;
  background-color: #f7f7f0;
}

.svg-container > * {
  width: 100%;
  height: 100%;
  display: block;
}

.tooltip {
    position: absolute;
    z-index: 10;
    visibility: hidden;
    background-color: #ffffe6;
    text-align: center;
    padding: 4px;
    border-radius: 4px;
    color: #000000;
}

.biobox {
    position: fixed; /* keeps the lightbox window in the current viewport */
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,.7);
    visibility: hidden;
}


.biobox img {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* The sidepanel menu */
.sidepanel {
  height: 100%; /* Specify a height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 2; /* Stay on top */
  top: 0;
  right: 0;
  background-color: #FEF0C9;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#bio-content {
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 3em;
  text-align: justify;
}

figure {
  margin: 0;
}

figcaption {
  font-style: italic;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: tomato;
  color: white;
  right: 0;
  top: 0;
  padding: 10px 15px;
  border: none;
  visibility: hidden;
  position: flex;
}

.openbtn:hover {
  background-color: #444;
}

#bio-content img {
  max-height: 32em;
}

@media (max-width: 414px) {
  img {
    max-width: 280px;
  }
}

.label rect {
  fill: #fff;
  opacity: 1;
  stroke: #b9babc;
  stroke-width: 0.5px;
}

.label {
  visibility: hidden;
  /* prevent interference of label with node mouse events */
  pointer-events: none;
  font-size: 75%;
  z-index: 100
}

.label.selected rect {
  fill: #FEF0C9;
}

.label.show-label {
  visibility: visible !important;
}

.node {
  cursor: pointer;
}


button {
  position: absolute;
  z-index: 1;
}

.collection-filter {
  /*the container must be positioned relative:*/
  position: relative;
  display: flex;
  z-index: 1;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}

.filter-btn {
  background-color: DodgerBlue;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  flex-grow: 1;
}

#reset-button {
  visibility: hidden;
  display: flex;
  position: absolute;
  top: 2em;
}

#collection-view {
  padding-right: 0.5em;
}
.reset-btn {
  position: absolute;
  background-color: DodgerBlue;
  color: #fff;
  padding: 1em;
  left: 0.5em;
}
