/* ///////ASPECTO DEL CUERPO PRINCIPAL DE LA PAGINA/////////// */
body{
  overflow: hidden;
  margin: 0;
  font-family: 'Catamaran', sans-serif;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  background-color: #333;
  transition: background-color .5s;
  z-index: 0;
  font-weight: normal;
}



/* ///////ASPECTO DEL ENCABEZADO DEFINIDO/////////// */
header{
  z-index: 2;
  position: absolute;
  top: 5px;
  left:5px;
  width: 280px;
  max-width: 530px;
  height: auto;
  margin: 0px;
  padding: 8px;
  background-color: #111;
  font-family: 'Catamaran', sans-serif;
  font-weight: normal;
  color:white;
  border-radius: 3px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  transition: all 0.25s ease;
}

.menu-container {
  display: flex !important;
  height: 100%;
  width: 6vh;
  display: inline-block;
}


.menu-container a {
  margin: auto;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

.menu-container .dropdown-menu a {
  margin: auto;
  color: white;
  font-size: 15px;
  cursor: pointer;
}

.menu-container a:hover {
  color: #6e6b6b;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-menu{
  z-index: 1 !important;
  display: inline;
  top: 40px !important;
  left: -800px !important;
  background: #111;
  opacity: 0;
  transition: all 0.25s ease;
}

.dropdown-menu.show {
  top: 9px !important;
  left: -12px !important;
  opacity: 1;
}

.title-box {
  display: inline-block;
}


header h2 {
  margin: 0;
  margin-left: 10px;
  font-size: 20px;
}

header h6 {
  font-weight: normal;
  font-size: 12px;
  font-style: italic;
  margin: 0;
  margin-left: 10px;
}




/* ///////ASPECTO DE LA VENTANA PRINCIPAL BAJO LA BARRA DE NAVEGACION/////////// */
#map { 
  position: absolute;
  width: 100%;
  top:0vh;
  left:0vh;
  bottom:0vh;
  right:0vh;
  background-color: rgb(180, 182, 184);
  color: black;
  transition: margin-left .5s;
  z-index: -2;
}

/* ///////ASPECTO DE LA BARRA LATERAL/////////// */
/*---Aspecto de la barra lateral izquierda - Menu Geodiversidad---*/
.sidepanel {
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 2; /* Stay on top */
  top: 11vh;
  left: 0;
  bottom: 1vh;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  padding-bottom: 60px; /* Place content 60px bottom the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}
.sidepanel a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}
.sidepanel a:hover {
  color: #f1f1f1;
}
.sidepanel a button{
  left:0;
  padding: 8px 8px 8px 0px;
  text-decoration: none;
  font-size: 25px;
  background-color: #111;
  color: #818181;
  border:none;
  display: block;
  transition: 0.3s;
  text-align: left;
}

.sidepanel a button:hover {
  color: #f1f1f1;
}

.sidepanel .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/*----- Aspecto del modal del menu diversidad----------*/

.modal {
  z-index: 99999;
}

.modal-header {
  background: #111;
  color: white;
}

.modal-header span{
  color: white;
}

.modal-content{
  margin-top: 15vh;
}

/* containers */
.container {
  font-size: 20px;
  color: #333;
  font-weight: normal;

  }



/* Clear floats after containers */
.container::after {
content: "";
clear: both;
display: table;
}



/* Add media queries for responsiveness. This will center both the text and the image inside the container */
@media (max-width: 500px) {
.container {
  text-align: center;
}

.container img {
  margin: auto;
  float: none;
  display: block;
}
}

.leaflet-container {
  font-family: 'Catamaran', sans-serif;
}

.leaflet-sidebar { 
  position: absolute;
  top: 80px;
  bottom: 30px;
  width: 100%;
  overflow: hidden;
  z-index: 2000;
  font-weight: normal;
  transition: all 0.25s ease;
}

.leaflet-sidebar-content {
  float:right;
  font-weight: normal;
  font-size: 16px;

}

.leaflet-sidebar.collapsed {
  float:right;

}

.leaflet-sidebar-header {
  background-color: #333; 
  font-weight: normal;
}

.leaflet-sidebar-tabs > li.active, .leaflet-sidebar-tabs > ul > li.active {
  background-color: #333; 
} 

#capasContent {
  height: 74vh;
}

#capasContent .child-container{
  background: #ddd;
}

.fa-solid, .fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.leaflet-controllable-legend-body {
  height: 100%;
  max-height: none;
}

.leaflet-control-basemapsSwitcher {
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.basemapImg {
  margin: 10px 5px;
  text-align: center;
  font-size: 12px;
}

.basemapImg:hover {
  transform: scale(1.15);
  transition: all 0.5s ease;
}

#buscadorContent {
  height: 75vh;
}

.fa-magnifying-glass-location{
  font-size: 15px;
  margin-right: 0px;
}

#buscadorContent .result-item{
  border-bottom: 1px dotted #0000003b;
  cursor: pointer;
}



.form-control {
  display: block;
  width: 90%;
  padding: 0.375rem 0.75rem;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.file-cargarCapa {
  display: inline-block;
  color: #333;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-comun {
  display: inline-block;
  color: #333;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 15px;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-comun {
  color: #333;
  background: #ffffff;
  border-color: #666;
}
.btn-comun:hover {
  color: #ffffff;
  background: #333;
  border-color: #333;
}

#modal-perfil-container{
  margin-top: 20px;
  text-align: center;
}
#modal-perfil-container img {
    width: 30%;
    height: 30%;
    border-radius: 50%;
    border: 5px solid #333;
    margin-bottom: 20px;
}


@media (min-width: 577px) {

  header{
    width: 400px;
    top: 15px;
    left:15px;
  }

  header h2 {
    margin: 0px;
    font-size: 24px;
  }
  
  header h6 {
    font-size: 13px;
    margin: 0;
  }

  .menu-container .dropdown-menu  a {
    font-size: 21px;
  }

  .dropdown-menu.show {
    top: 13px !important;
    left: -18px !important;
  }

  .leaflet-sidebar { 
    top: 95px;
  }

}

@media (min-width: 769px) {

  header{
    width: 530px;
  }

  .menu-container .dropdown-menu  a {
    font-size: 24px;
  }

  .dropdown-menu.show {
    top: 4px !important;
    left: -37px !important;
  }

  .leaflet-sidebar { 
    top: 80px;
  }

}

@media (min-width: 993px) {

  .leaflet-sidebar { 
    top: 10px;
  }

}
