html, body {
  height: 100%;
  margin: 0;
}

#map {
  border-radius: 25%;
}

/* #legend {
  margin-top: 15px;
  margin-bottom: 15px;
  width: 500px;
  height: 25px;
  border-radius: 25px;
  background-image: linear-gradient(to right, #000000,#ff9999,#ffff85,#b1ff99,#99fff3); ;
} */

#legend-legend {
  margin-top: 15px;
  margin-left: 25px;
}

#taulaConjunta {
  border: 1px solid rgba(0, 0, 0, 0.5);
  text-align: center;
  background-color: rgba(232, 234, 244, 1);
}

#taulaConjunta td {
  padding: 10px;
}

#mesDe100tb {
  border: 1px solid rgba(0, 0, 0, 0.5);
  text-align: center;
  background-color: rgba(232, 234, 244, 1);
}

#especiesCaixes, #especiesRefugis {
  border: 1px solid rgba(0, 0, 0, 0.5);
  text-align: center;
  background-color: rgba(232, 234, 244, 1);
}

#mesDe100tb td {
  padding: 10px;
}

#gradient_afluencia_especies {
  padding-left: 200px;
  background: linear-gradient(90deg, rgba(255,241,0,1) 0%, rgba(255,24,0,1) 90%, rgba(102,10,0,1) 100%); 
}

.infoExtra {
  background-color: rgb(255, 253, 179);
  padding: 7px;
}

.notSelected {
  filter: grayscale(100%);
}

.btn-protocols {
  border: black 1px solid;
  background-color: transparent;
}

.leaflet-container {
  height: 600px;
  width: 1170px;
  max-width: 100%;
  max-height: 100%;
}

.hidden {
  visibility: hidden;
}

.btn-up {
  text-transform: uppercase;
}

.btn-bats {
  border-color: rgba(0, 0, 0, 1);
  background-color: rgba(255, 2, 2, 0.3);
}

.btn-adoptar {
  border-color: rgba(0, 0, 0, 1);
  background-color: rgba(255, 113, 0, 0.3);
}

.btn-baixa {
  border-color: rgba(0, 0, 0, 1);
  background-color: rgba(0, 0, 0, 0.3);
}

.btn-select {
  border-color: rgba(0, 0, 0, 1);
  background-color: rgba(255, 248, 1, 0.3);
}

.btn-bats-sel {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(255, 2, 2, 1);
}

.btn-adoptar-sel {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(255, 113, 0, 1);
}

.btn-baixa-sel {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 1);
}

#menysDe100tb {
  margin-bottom: 50px;
}

#menysDe100tb>tbody>tr>td,
#menysDe100tb>tbody>tr>th {
  border: none;
  font-weight: bold;
}

#mesDe100tbresum {
  margin-bottom: 50px;
}

#mesDe100tbresum>tbody>tr>td,
#mesDe100tbresum>tbody>tr>th {
  border: none;
  font-weight: bold;
}

.info-text {
  color: rgba(0, 0, 255, 1);
}

.especie {
  height: 120px;
}

.especie-sm {
  height: 90px;
  vertical-align: middle;
}

.especie-sm-grey {
  height: 90px;
  vertical-align: middle;
  background-color: rgba(128, 128, 128, 0.3);
  border-radius: 25px;
}

.badge {
  position: absolute;
}

.totalCaixes {
  background-color: rgba(232, 234, 244, 1);
}

.especie_descripcio {
  color: rgba(0, 0, 255, 1);
}

.badge-grid {
  position: absolute;
  margin-left: 30px;
}

@keyframes spinner {
  0% {
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
  } 100% {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 9999;
}

.spin::before {
  animation: 1.5s linear infinite spinner;
  animation-play-state: inherit;
  border: solid 5px #cfd0d1;
  border-bottom-color: #e20816;
  border-radius: 50%;
  content: "";
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  vertical-align: center;
  z-index: 99999;
  transform: translate3d(-50%, -50%, 0);
  width: 40px;
  will-change: transform;
}

/* GRAFIC GENERAL */
.highcharts-figure,
.highcharts-data-table table {
    min-width: 310px;
    max-width: 800px;
    margin: 1em auto;
}

#generalProtocols {
    height: 400px;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}