@font-face {
  font-family: "hiragino-kaku-gothic";
  src: url("hiragino-kaku-gothic-std-w8.otf");
  font-weight: 900;
}
@font-face {
  font-family: "hiragino-kaku-gothic";
  src: url("Heisei Kaku Gothic Std W3.otf");
  font-weight: 300;
}
@font-face {
  font-family: "hiragino-kaku-gothic";
  src: url("Heisei Kaku Gothic Std W5.otf");
}
@font-face {
  font-family: "hiragino-kaku-gothic";
  src: url("Heisei Kaku Gothic Std W7.otf");
  font-weight: 500;
}
@font-face {
  font-family: "hiragino-kaku-gothic";
  src: url("Heisei Kaku Gothic Std W9.otf");
  font-weight: 700;
}

body {
  font-family: "hiragino-kaku-gothic";
}
 .leaflet-overlay-pane svg path{
      pointer-events: auto;
  }
#reg-Amazon-map {
  max-height: 600px;
  border-radius: 8px;
}
div.leaflet-control-zoomhome.leaflet-bar.leaflet-control, div.leaflet-control{
  opacity: .83;
}
/* Start Maps Stlyles */
.biomas {
  fill: none;
  stroke: #126706;
  stroke-width: 2.5;
  opacity: 1;
}
.parques{
  fill: #33df3f;
  stroke: #22af2b;
  stroke-width: 2;
  opacity: 0.6;
}
.resguardos{
  fill: #c8c80a;
  stroke: #84842f;
  stroke-width: 2;
  opacity: 0.6;
}
.minas {
  stroke: #BEA54B;
  stroke-width: 2;
  opacity: 0.5;
}
.vias {
  cursor: pointer;
  /* fill: none;
  stroke: #000000;
  stroke-width: 3;
  stroke-dasharray: 3 5;
  stroke-dashoffset: 0; */
}
/* End Maps Stlyles */
.legend-up .list-group-item:first-child{
  border-radius: .25rem 0 0 .25rem;
}
.legend-up .list-group-item:last-child{
  border-radius: 0 .25rem .25rem 0;
}
.legend-up .list-group-item{
  margin-bottom: 0;
}

.legend-image{
  width: 30px;
  height: 15px;
}
.legend-image-up{
  width: 15px;
  height: 5px;
  font-size: 14px;
}
.rect-one{
  border: #126706 3px solid;
}
.rect-two{
  border: #33df3f 3px solid;
}
.rect-trhee{
  border: #000000 3px solid;
}
.rect-four{
  border: #84842f 3px solid;
}
.line-one-up{
  background: #126706;
}
.line-two-up{
  background: #33df3f;
}
.line-three-up{
  background: #fa2ae5;
}
.line-four-up{
  background: #000000;
}.line-five-up{
  background: #d7fa2a;
}
/* icon ganaderia styles */
#cowIcon{
  background-image: url("../images/Vaca-icon.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}
.marker-cluster span {
  color: #fff;
  font-weight: bold;
  z-index: 100;
}

ul.button-control {
  list-style-type: none;
  padding: 0;
  display: grid;
  width: 100%;
}
ul.button-control-up {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 1rem;
  width: 100%;
}
h1 {
  font: normal normal normal 24px/30px "hiragino-kaku-gothic";
  margin-bottom: 13px;
  margin-top: 20px;
}
p.txt-intro {
  font: normal normal normal 16px/21px "hiragino-kaku-gothic";
  letter-spacing: 0px;
  color: #3d3538;
}
ul.button-control li, ul.button-control-up li {
  display: flex;
  flex-wrap: wrap;
  color: #3d3538;
  text-align: left;
  padding: 12px 10px 12px 12px;
  text-decoration: none;
  width: 100%;
  font-size: 14px;
  border-radius: 8px;
  vertical-align: middle;
  transition: all 0.3s ease-in-out;
  font: normal normal normal 14px/18px "hiragino-kaku-gothic";
  position: relative;
  align-items: center;
  margin-bottom: 10px;
  min-height: 60px;
  background: #fff;
  cursor: pointer;
}
li#deforesLayer {
  /* border:solid 2px #F8B836; */
  border: solid 2px #fa4232;
}
li#viasLayer {
  border: solid 2px #161817;
}
li#cocaLayer {
  border: solid 2px #802176;
}
li#cowLayer {
  border: solid 2px #9c500d;
}

li#deforesLayer.activo {
  background: #fa4232;
}
li#cocaLayer.activo {
  background: #802176;
}
li#cowLayer.activo {
  background: #9c500d;
}
li#viasLayer.activo{
  background-color: #161817;
}
ul.button-control li.activo, ul.button-control-up li.activo {
  color: #ffffff;
}
div#sources {
  margin-top: 1rem;
}
div#sources p {
  margin-bottom: 1rem;
  font-size: 12px;
}
.legend-list-up{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.legend-list-up .list-group-item{
  width: 100%;
}
.legend ul li{
  list-style: none;
  width: 100%;
}
.item-list{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 0.5rem;
  gap: .5rem;
}
.item-list:hover{
  background: #f5f5f5;
  cursor: pointer;
}

.legend-image{
  width: 30px;
  height: 15px;
}
.green-img{
  filter: contrast(0.5);
}
.leaflet-popup-content-wrapper{
  border-radius: 8px;
}
.text-popup{
  font-size: 13px;
  font-weight: bold;
  color: #228627;
}

.info{
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
}
.info p, .info hr{
  padding: .3rem 0;
  margin: 0;
}
@media (max-width: 768px) {

  #reg-Amazon-map {
    border-radius: 0;
  }
  ul.button-control {
    list-style-type: none;
    padding: 0;
    display: grid;
    gap: 3%;
    grid-template-columns: 1fr 1fr 1fr;
    width: 94%;
  }
  ul.button-control-up {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: .5rem;
    width: 94%;
  }

  ul.button-control li, ul.button-control-up li {
    /*
    width: 23%;
    display: table-cell;
    
    */
    padding: 12px 5px 12px 10px;
    font-size: 14px;
    vertical-align: middle;
    font: normal normal normal 11px/15px "hiragino-kaku-gothic";
    min-height: 50px;

    position: relative;
  }
  /* li#viasLayer{
    width: 100%;
  }
  li#cocaLayer {
    left: 4%;
  }
  li#cowLayer {
    left: 9%;
  } */
  div#sources p {
    padding: 0 1rem;
  }

  .legend-up .list-group-item{
    font-size: 10px;
    width: 100%;
  }
  .legend-image-up{
    width: 10px;
    height: 5px;
  }
}
