@font-face {
    font-family: Montserrat;
    src: url('../../fonts/Montserrat-Bold.ttf') ;
}
@font-face {
    font-family: Montserrat-regular;
    src: url('../../fonts/Montserrat-Regular.ttf') ;
}


.accordion-header.main{
    height: 100px;
    
}

/* From Uiverse.io by alexroumi */ 
.btn-subtemas {
  padding: 11px 25px;
  height: 100%;
  border: unset;
  border-radius: 15px;
  color: #ffffff;
  z-index: 1;
  font-family: Montserrat-regular;
  background: #26221f;
  position: relative;
  font-weight:500;
  font-size: 15px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  transition: all 250ms;
  overflow: hidden;
  width: 75%;
  
 }
 
 .btn-subtemas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
 background: #ffffff;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
  transition: all 250ms
 }
 
 .btn-subtemas:hover {
  color: #000000;
 }
 
 .btn-subtemas:hover::before {
  width: 100%;
 }


  .lineatitle{
    background-color: transparent;
    transition: all ease-in-out 0.2s;
  }

  .lineatitle:hover{
    background-color:#9beaaf ;
    transition: all ease-in-out 0.2s;
    border-radius: 5px;
  }

  .subtematitle{
    font-family: Montserrat-regular;
    padding-left: 5px;
  }




.logos-gob{
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 10;
    background-color: rgba(21, 49, 23, 0.8);
    padding: 10px;
    border-radius: 15px;
}


.logo1{
    width: 100px;
    height: 30px;
}

@media screen and (max-width: 305px) {
  .logo1{
    width: 60px;
    height: 20px;
}
}

/* From Uiverse.io by css.buttons-io */ 
.btn-temas {
    position: relative;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px;
    display: grid;
    grid-template-columns: 40% 40%;
    align-items: center;
    justify-items: center;
    cursor: pointer;
    transition: all ease-in-out 0.2s;
    border: none;
    font-family: Montserrat-regular;
    font-weight: bold;
    color: rgb(255, 255, 255);
    width: 100%;
    height: 100%;
    word-wrap: break-word;
    overflow-y: auto;
   

    
  }


  
  .btn-temas:hover {
    background-color: #2b5520;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform:translateX(-35px);
    /*transform: scale(0.9);*/
  }
  
  @media screen and (max-width: 990.40px) {
    .btn-temas:hover {
       
        transform:translateX(-10px);
      }
  }

  @media screen and (max-width: 767.20px) {
    .btn-temas:hover {
       
        transform:translateX(-35px);
      }
  }
  
  .btn-temas:active {
    
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  }
  
  
  
  

  .img-tema{
    width: 50px;
    height: 50px;
    padding: 6px;
    background-color: rgb(26, 26, 26);
    border-radius: 10px;
    grid-column: 1;

  }

    .title-tema{
      grid-column: 2;
    }
        
.tm-clima{
          background-color: rgb(80, 150, 107);
      }
      .tm-zonarural{
          background-color: rgb(172, 169, 44);
      }
      .tm-economina{
          background-color:  rgb(111, 117, 91);
      }
       .tm-sustento{
          background-color: rgb(83, 130, 52);
      }
      .tm-salud{
          background-color: rgb(196, 154, 40);
      }
      .tm-educacion{
          background-color: rgb(81, 182, 195);
      }
      .tm-cultura{
          background-color: rgb(227, 58, 87);
      }
      .tm-fortaleza{
          background-color: rgb(147, 36, 199);
      }


        .tm-gan{
            background-color: rgb(141, 64, 43);
        }

        .tm-agri{
            background-color: rgb(150, 139, 75);
        }

        .tm-hidro{
            background-color: rgb(54, 94, 116);
        }

        .tm-acui{
          background-color: rgb(65, 153, 180);
        }

        .tm-uso_suelo{
          background-color: rgb(113, 88, 71);
        }

        .tm-base{
          background-color: rgb(78, 131, 92);
      }

      



      /*lasttab*/

.last-tab{
  position: sticky;
  bottom: 0;
  height: auto;
  width: 100%;
  z-index: 5;
}


/*checkboxes*/

/* The switch - the box around the slider */
.switch {
  font-size: 10px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;

}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(182, 182, 182);
  transition: .4s;
  border-radius: 5px;
}

.slider:before {
  position: absolute;
 
  content: "";
  height: 1.4em;
  width: 1.4em;
  border-radius: 2px;
  left: 0.3em;
  bottom: 0.3em;
  transform: rotate(270deg);
  background-color: rgb(255, 255, 255);
  transition: .4s;
}

.switch input:checked + .slider {
  background-color: #21cc4c;
}

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

.switch input:checked + .slider:before {
  transform: translateX(1.5em);
}


/*leyenda*/

#leyenda-container {
  position: absolute;
  top: 120px;
 right: 20px;
  z-index: 10;
}

#btnLeyendaWidget {
  background-color: white;
      border: 1px solid #444;
      border-radius: 10px;
      width: 35px;
      height: 35px;
      font-size: 20px;
      text-align: center;
     display: grid;
     place-items: center;
      cursor: pointer;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}



#btnCerrarLeyenda {
  background-color: transparent;
  border: none;
  font-size: 18px;
  color: #ffffff;
  float: right;
  cursor: pointer;

 
}





.legend {
 /* width: 200px;
  
  position: absolute;
  bottom: 10px;
  right: 10px;*/
  max-height: 400px;
  max-width: 200px;
  background: white;
  padding: 5px;
  border: 1px solid black;
  box-shadow: 1px 1px 10px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: sans-serif;
  font-size: 14px;
  overflow-y: auto;
  
}

/*
.legend::-webkit-scrollbar{
  display: none;
}*/


@media screen and (max-height: 500px) and (max-width: 1500px) {
  .legend{
    max-height: 38vh !important; 
    font-size: 10px;
  }
}

@media screen and (max-width: 655px) {
    .legend{
      
      
      width: 130px;
      max-height: 150px; 
      font-size: 10px;
    }
    .legend-title{
      font-size: 16px !important;
    }
}




.legend-title {
  font-weight: bold;
  font-size: 16px;
  font-family: Montserrat;
  margin-bottom: 5px;
  text-align: center;
  font-size: 16px;
  position: sticky;
  top: -5px; 
  background: rgb(54, 89, 57); 
  z-index: 10; 
  border-radius: 5px;
  color: aliceblue;
}

.legend-item {
  font-family: Montserrat-Regular;
  border-radius: 10px;
  padding: 2px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  
  border: solid 1px black;
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.5);
  
}

.legend-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px;
}

.legend-header input[type="checkbox"] {
  margin-right: 5px;
  transform: scale(1.2);
  cursor: pointer;
  accent-color: #254f26; 
}

.legend-layer-title {
  font-weight: normal;
  text-align: center;
  font-weight: bold;
}

.legend-image {
  
  max-width: 100% !important;
  margin-top: 5px;
  
}



.legend-layer-source{
  text-align: center;
  font-size: 12px;
  color: #2b5520;
}

@media screen and (max-width: 655px) {
  .legend-image {
  
    max-width: 90% !important;
    margin-top: 5px;
    
  }

  .legend-layer-source{
    font-size: 9px;
  }
  
}

/*ajustes div*/
.ajustes-div{
  font-size: 14px;
  font-family: Montserrat;
}

/*contacto div*/

.contacto-div{
  padding: 10px;
}

/*chks ajustes*/
.list-group{
  accent-color: #254f26;  
}

  .chks{
    cursor: pointer;
  }


/*slider opacidad*/
.slider-opacidad {
  cursor: pointer;
}

/*coordenadas*/

.coord-div{
  position: absolute;
  display:none; 
  color:green; 
  background-color: #f8f8f8;
 
}



  


