body {
  margin: 0;
  padding: 0;
  color: #0C1B34;
  font-family: 'IBM Plex Sans', sans-serif;
}
#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}
h1 {
  font-size: 17px;
  line-height: 25px;
}
h2 {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 10px;
}
a {
  text-decoration: none;
  color: #2dc4b2;
}
.subtitle{
  font-size:16px;
  margin-top: 30px;
}
#console {
  opacity: 0.9;
  position: absolute;
  width: 290px;
  margin: 10px;
  padding: 0px 20px 10px 30px;
  background-color: #F0F0F1;
  border-radius: 5px;
  z-index: 15;
  transition: 0.3s ease-in-out;
  box-shadow: 0 1px 1px 0 rgba(66, 66, 66, 0.08), 0 1px 3px 1px rgba(66, 66, 66, 0.16);
}

#profile {
  display:none;
  opacity: 0;
  position: absolute;
  top:0px;
  left:310px;
  width: 220px;
  margin: 10px;
  padding: 10px;
  background-color: #F0F0F1;
  border-radius: 5px;
  z-index: 15;
  transition: all 1s ease-in-out;
  box-shadow: 0 1px 1px 0 rgba(66, 66, 66, 0.08), 0 1px 3px 1px rgba(66, 66, 66, 0.16);
}
.active{
  transform:translate3d(-260px,0,0);
  transition: 0.3s ease-in-out;
}

.itemWrapper{
  margin-top: -20px;
}

.itemWrapper2{
  top: 5px;
  left:5px;
  position:absolute;
}

#toggleConsole{
  position:absolute;
  right:5px;
  top:5px;
}
#toggleConsole{
  width:30px;
  height:30px;
}
#toggleConsole:hover{
  opacity: 0.5;
  transition: all .5s ease;
  cursor:pointer;
}
.toggle, .toggle2,.toggle3,.toggle4,.toggle5,.toggle6,.toggle7,.toggle8,.toggle9,.toggle10,
.toggle11, .toggle12,.toggle13,.toggle14,.toggle15,.toggle16 {
  position: relative;
  height: 14px;
  width: 35px;
  border-radius: 15px;
  background: #cfcfcf;
  margin: 8px 0;
}
.toggle input, .toggle2 input,.toggle3 input,.toggle4 input,.toggle5 input,
.toggle6 input,.toggle7 input, .toggle8 input,.toggle9 input,.toggle10 input,
.toggle11 input, .toggle12 input,.toggle13 input,.toggle14 input,.toggle15 input,
.toggle16 input  {
  opacity: 0;
  width: 100%;
  height: 200%;
  position: absolute;
  top: -7px;
  left: 18px;
  z-index: 2;
  margin: 0
}
.toggle input:nth-child(2):checked,
.toggle2 input:nth-child(2):checked,
.toggle3 input:nth-child(2):checked,
.toggle4 input:nth-child(2):checked,
.toggle5 input:nth-child(2):checked,
.toggle6 input:nth-child(2):checked,
.toggle7 input:nth-child(2):checked,
.toggle8 input:nth-child(2):checked,
.toggle9 input:nth-child(2):checked,
.toggle10 input:nth-child(2):checked,
.toggle11 input:nth-child(2):checked,
.toggle12 input:nth-child(2):checked,
.toggle13 input:nth-child(2):checked,
.toggle14 input:nth-child(2):checked,
.toggle15 input:nth-child(2):checked,
.toggle16 input:nth-child(2):checked {
  z-index: 1;
}
.toggle__pointer {
  position: absolute;
  top: -3.5px;
  left: 18px;
  width: 20px;
  height: 20px;
  border-radius: 15px;
  background-color: #DF4C3B;
  -webkit-transition: left .15s ease-out;
  transition: left .15s ease-out;
}

.toggle input:hover, .toggle2 input:hover, .toggle3 input:hover, .toggle4 input:hover,
.toggle5 input:hover, .toggle6 input:hover, .toggle7 input:hover, .toggle8 input:hover,
.toggle9 input:hover, .toggle10 input:hover, .toggle11 input:hover, .toggle12 input:hover{
  cursor:pointer;
}

.toggle input:nth-child(2):checked + .toggle__pointer,
.toggle2 input:nth-child(2):checked + .toggle__pointer,
.toggle3 input:nth-child(2):checked + .toggle__pointer,
.toggle4 input:nth-child(2):checked + .toggle__pointer,
.toggle5 input:nth-child(2):checked + .toggle__pointer,
.toggle6 input:nth-child(2):checked + .toggle__pointer,
.toggle7 input:nth-child(2):checked + .toggle__pointer,
.toggle8 input:nth-child(2):checked + .toggle__pointer,
.toggle9 input:nth-child(2):checked + .toggle__pointer,
.toggle10 input:nth-child(2):checked + .toggle__pointer,
.toggle11 input:nth-child(2):checked + .toggle__pointer,
.toggle12 input:nth-child(2):checked + .toggle__pointer,
.toggle13 input:nth-child(2):checked + .toggle__pointer,
.toggle14 input:nth-child(2):checked + .toggle__pointer {
  left: 0;
  background-color: #777777;
}
.toggle15 input:nth-child(2):checked + .toggle__pointer {
  left: 0;
  background-color: rgb(16,75,109);
}
.toggle__pointer.color1{
  background-color: #3F261A;
}

.toggle__pointer.color1_1{
  background-color: #B2B2B2;
}

.toggle__pointer.color2{
  background-color: #7C3219;
}

.toggle__pointer.color2_1{
  background-color: #9BC9DD;
}

.toggle__pointer.color3{
  background-color: #CC7F1F;
}

.toggle__pointer.color3_1{
  background-color: #5BA3CC;
}

.toggle__pointer.color5{
  background-color: #FFAE00;
}

.toggle__pointer.color6{
  background-color: #E1B174;
}

.toggle__pointer.color6_1{
  background-color: #0081AA;
}

.toggle__pointer.color7{
  background-color: #F8D68B;
}

.toggle__pointer.color7_1{
  background-color: #2E525E;
}


#console h1,
#console h2 {
  text-align: left;
}

#title {
  font-family: 'IBM Plex Sans', sans-serif;
  color: #0c1b34;
  font-weight: 700;
  margin-left: -15px;
  margin-top: 10px;
  margin-bottom: 5px;
}
#title a{
  color:#0c1b34;
}
#title a:hover{
  color: black;
  transition: all 1s ease;
  text-decoration: underline !important;
}
.mapboxgl-popup {
  min-width: 280px !important;
  font-family: 'IBM Plex Sans', sans-serif;
  text-align: left;
  z-index: 20;
  border-radius: 10px;
}
.mapboxgl-popup-content {
  font-family: 'IBM Plex Sans', sans-serif;
  padding: 0;
  border-radius: 0px 0px 10px 10px;
}

.mapboxgl-popup-content h3 {
  border-radius: 10px 10px 0px 0px;
  text-align: left;
  font-size:16px;
  margin: 0;
  display: block;
  padding: 15px;
  font-weight: 700;
  margin-top: -5px;
}

.mapboxgl-popup-content h4 {
  padding: 8px;
  font-size:14px;
  line-height: 20px;
}

.mapboxgl-popup.color1 h3{
  background: #3F261A !important;
  color: #fff;
}

.mapboxgl-popup.color1_1 h3{
  background: #B2B2B2 !important;
  color: #fff;
}

.mapboxgl-popup.color2 h3{
  background: #7C3219 !important;
  color: #fff;
}

.mapboxgl-popup.color2_1 h3{
  background: #9BC9DD !important;
  color: #fff;
}

.mapboxgl-popup.color3 h3{
  background: #CC7F1F !important;
  color: #fff;
}

.mapboxgl-popup.color3_1 h3{
  background: #5BA3CC !important;
  color: #fff;
}

.mapboxgl-popup.color5 h3{
  background: #FFAE00 !important;
  color: #fff;
}

.mapboxgl-popup.color6 h3{
  background: #E1B174 !important;
  color: #fff;
}

.mapboxgl-popup.color6_1 h3{
  background: #0081AA !important;
  color: #fff;
}

.mapboxgl-popup.color7 h3{
  background: #F8D68B !important;
  color: #fff;
}

.mapboxgl-popup.color7_1 h3{
  background: #2E525E!important;
  color: #fff;
}

.mapboxgl-container {
  cursor: pointer;
}
.mapboxgl-popup-anchor-top>.mapboxgl-popup-content {
  margin-top: 3px;
}
.mapboxgl-popup-anchor-top>.mapboxgl-popup-tip {
  border-bottom-color: rgb(61, 59, 59);
}
.mapboxgl-popup-close-button{
  transform:scale(2);
  color:#fff;
  margin-right: 3px;
  top: -5px;
}
.mapboxgl-popup-close-button:hover,.mapboxgl-popup-close-button:active,.mapboxgl-popup-close-button:target{
  background:none !important;
  border: none !important;
  outline: none!important;
  color:#cfcfcf;
  transition: all 0.5s ease;
}

.button-main {
  border: 1.5px solid rgb(16,75,109);
  color: rgb(16,75,109);
  padding: 10px 10px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  min-width: 80px;
  background:none;
}

.button-main:hover {
  transition: 0.5s linear;
  background: rgb(16,75,109);
  color: white;
  cursor: pointer;
}

.button-wrapper {
  position: relative;
  margin-left: -50px;
  margin-top: 20px;
  margin-bottom: 30px;
}

a,
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
  color: inherit !important;
}

@media (max-width:600px) {
  .button-main {
    font-size: 12px;
  }
}

.button {
  margin-bottom: 10px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
  background-color: none;
  max-width: 200px;
  text-align: center;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  transition: all .5s ease;
  padding: 10px;
  width:100px;
}



.button:hover {
  cursor: pointer;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  transition: all .5s ease;
}
a:hover{
  text-decoration: none !important;
}

.filters{
  margin-top: 20px;
}
.legend.label{
  display:inline;
}
.legend img{
  width:10px;
  height:10px;
  display:inline;
}
.label{
  color:black;
  font-size:12px;
  font-weight:400;
}
.instruction{
  margin-left: -15px;
  margin-top:0px;
}

.instruction2{
  margin-left: -15px;
  margin-top:10px;
}
.instruction p{
  color:#7C3219;;
  font-weight: 700;
  font-size: 13px;
}

.instruction2 p{
  color:#FFAE00;;
  font-weight: 700;
  font-size: 13px;
}

.item{
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-left: -8px;
}
.item2{
  display: inline-block;
  margin-left: 2px;
  font-size: 12px;
}

#loading {
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  opacity: .9;
  background-color: #fff;
  z-index: 99;
}
#loading-image {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(50vh - 80px);
  z-index: 100;
  width:100px;
  height:100px;
}
#loading{
  width: 100%;
  text-align: center;
  height: 100%;
}

.addRange{
  width: 25px;
  height: 25px;
  fill: #767676;
  margin-left: -11px;
  margin-top:18px;
}

.addRange:hover{
  cursor: pointer;
}

#minCircle{
  width: 10px;
  height: 10px;
}

#maxCircle{
  width: 62px;
  height: 62px;
}

#logo{
  position: absolute;
  bottom:22px;
  right:0px;
  z-index:5;
}
#logo img{
  width:120px;
}

#yearSelection{
  margin-left: 0px;
  margin-top: -30px;
}

#circleSizes{
  margin-left: 0px;
  margin-top: 20px;
}

#traded{
  margin-left: 0px;
  margin-top: 20px;
  margin-bottom: -30px;
  font-weight: 600;
}

input[type="range"] {
  -webkit-appearance: none !important;
  width: 95%;
  height: 15px;
  background-color: #cfcfcf;
  border-radius: 10px;
  transition: all 0.3s ease;
}

input[type="range"]:active,input[type="range"]:focus,input[type="range"]:target{
  border: none !important;
  outline: none!important;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 20px;
  height: 20px;
  background-color: rgb(16,75,109);
  border-radius: 30px;
  transition: all 0.5s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  background-color: rgb(16,75,109);
  transition: all 0.5s ease;
  cursor: pointer;
}

#sliderbar{
  margin-top: 10px;
}

.currentYear{
  margin-left: -15px;
}

#start{
   position: relative;
   display:inline;
   margin-top: 10px;
   margin-left: -15px;
   font-size: 14px;
   }
 #end{
   position: relative;
   display:inline;
   margin-top: 10px;
   margin-left: 150px;
   font-size: 14px;
 }

.legendWrapper{
  display:inline-block;
}

.click, .key{
  width:20px;
  display: inline-block;
}


@media screen and (max-width: 800px) {

  #console {
    width: 240px;
  }
  .active{
    transform:translate3d(-220px,0,0);
  }
  .label{
    font-size:10px;
    margin-left:-5px;
  }
  .item2{
    font-size:10px;
    margin-left:2px;
  }
  h1{
    font-size:15px;
  }
  h2{
    font-size:11.5px;
  }
  .subtitle{
    font-size:13px;
  }
  #console{
    padding: 10px 20px;
  }
  #title{
    margin-top:-10px;
  }
  .mapboxgl-popup {
    max-width: 250px !important;
    min-width: 220px !important;
  }

  #start{
     margin-left: 0px;
     font-size: 11px;
  }
  #end{
    margin-left: 110px;
    font-size: 12px;
  }
}
@media screen and (max-width: 600px) {

  body{
  font-size:11px !important;
  }
  #title{
    font-size:13px;
  }
  .subtitle{
    font-size:12px;
  }
  .label{
  font-size:10px;
  margin-left:-5px;
  }
  .item2{
  font-size:9px;
  margin-left:1px;
  }
  #sliderControls{
    margin-top: -10px;
  }
  h1{
  font-size:14px;
  }
  h2{
  font-size:11.5px;
  }
  .instruction p, .instruction2 p{
    font-size:10px;
  }
 #logo{
   position: absolute;
   bottom:15px;
   right:0px;
 }
 #logo img{
   width:100px;
 }
 #start{
    margin-top:10px;
    margin-left: -10px;
    font-size: 11px;
    }
  #end{
    margin-top:5px;
    margin-left: 125px;
    font-size: 11px;
  }
  #toggleConsole{
    width:20px;
    height:20px;
  }
  .mapboxgl-popup {
    transform:none !important;
    top: auto !important;
    bottom: 20px !important;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .legendWrapper{
    display:none;
  }

  .mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
  .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
  .mapboxgl-popup-anchor-center .mapboxgl-popup-tip,
  .mapboxgl-popup-anchor-left .mapboxgl-popup-tip,
  .mapboxgl-popup-anchor-right .mapboxgl-popup-tip,
  .mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,
  .mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
  .mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip,
  .mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{
           display:none !important;
    }
}

@media screen and (max-width: 600px) {
  /* #loading{
    display:none;
  } */
}

/* Tooltip text */
 .tooltiptext {
  visibility: hidden;
  width: 120px;
  margin-top: 8px;
  margin-left: 5px;
  background-color: #2E525E;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
#breedinginfo:hover .tooltiptext,
#commercialinfo:hover .tooltiptext,
#personalinfo:hover .tooltiptext,
#scientificinfo:hover .tooltiptext,
#zooinfo:hover .tooltiptext {
  visibility: visible;
}

.info img{
  width:20px;
  height:20px;
  margin-top: 12px;
  margin-left: 5px;
}

.info img:hover{
  cursor:pointer;
}
