html,
body {
  position: relative;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
.leaflet-container a {
	color: #fff;
}
:root {
  --icon-clr: #4fb370;
  --facebook-clr: #3b5998;
  --twitter-clr: #55acee;
  --instagram-clr: #bc2a8d;
  --reddit-clr: #ff4500;
}

* {
  list-style: none;
  text-decoration: none;
}

.tablero-page {
  background-color: #F5F5F5;
  width: 100%;
  height: 99vh;

}

.iconolaterals {
  width: 125px;
}

.tab-content {
  position: relative;
}

.ui-sortable-placeholder {
  border: 1px dashed #ccc;
  background: #f0f0f0;
  height: 50px;
  /* Ajusta según tus necesidades */
  margin: 5px 0;
}

.form-check.form-switch.ui-sortable-helper {
  background: #e0e0e0;
  border: 1px solid #bbb;
}

.form-check.form-switch {
  position: relative;
  padding-left: 40px;
  display: flex;
  align-items: center;
}

.drag-handle {
  position: absolute;
  left: -4px;
  cursor: move;
}

.form-check-input {
  margin-right: 10px;
}

.form-check-label {
  flex-grow: 1;
  width: 250px;
}

.icon-container {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.icon-container i {
  margin-left: 5px;
  cursor: pointer;
  font-size: 14px;
  color: #828282;
}

.popover {
  max-width: none;
  /* Permite contenido amplio */
}

.slider-container {
  width: 250px;
  padding: 10px;
  
}

.slider-mark {
  position: absolute;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.slider-mark span {
  font-size: 12px;
}


.tab-content>.active {
  display: block;
  width: 350px;
  padding: 15px;
  
}

.tab-pane{
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100vh;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: #fff;
  background-color: #fff;
  width: 115px;
}

.nav-pills .nav-link {
  background-color: #d8d8d8;
  border: 0;
  border-radius: 0;
  width: 115px;
}


#tablero-resultado {
  width: calc(100%);
  height: 100vh;
}

.bi {
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
  fill: currentcolor;
}

#sidebarContent {
  top: 0;
  background-color: #fff;
  width: 0;
  overflow: hidden;
  transition: width 0.2s ease;
}

.tab-content {
  /*        padding: 5px;*/
  font-size: 12px;
  color: #4c4c4c;
	margin-top: 1px !important;
  /*text-transform: uppercase;*/
}


.border {
  border: 0;
}

.form-check-input:checked {
  background-color: #4FB370;
  border-color: #20c997;
}


.accordion-body {
  padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
  width: 100px;
}

.accordion-button {
  color: #212529 !important;
  background-color: #d8d8d8 !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
  font-size: 14px;
}

.form-switch {
  margin-top: 10px;
}

.card {
  max-width: 280px;
  z-index: 10000;
}

.card-text {
  font-weight: 150;
}

.tema {
  font-weight: 300;
  font-size: 13px;
  color: #A97C50;
}

.card-title {
  margin-top: 20px;
  font-weight: 600;
  font-size: 15px;
  color: #4c4c4c;
}

.botone,
.botoni {
  cursor: pointer;
}

.botone {
  padding: 10px;
  background-color: #eeeadf;
  color: #A97C50;
  border: none;
  border-radius: 5px;
  font-size: 12px;
}

.botoni {
  color: #4fb370;
  font-size: 14px;
}

.botoni img {
  width: 30px;
}


.botone:hover,
.botone:active {
  background-color: #d7cfba;
}

#sidebarContent.opened {
  width: 100% !important;
  padding-left: 70px;
  right: 0;
}

ul.no-bullets {
  list-style-type: none;
  /* Remove bullets */
  padding: 0;
  /* Remove padding */
  margin: 0;
  /* Remove margins */
}

.swiper,
.swiper-slide {
  width: 99%;
  left: 10px;
  right: 5px;
  height: 800px;
  background: #fff;
}

.swiper-slide {
  padding: 20px;
}

.swiper-pagination-vertical.swiper-pagination-bullets,
.swiper-vertical>.swiper-pagination-bullets {
  top: 12%;
}

.wrapper {
  display: flex;
  justify-content: right;
}

.ss_wrap .ss_btn {
  color: var(--icon-clr);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
}

.ss_btn .icon {
  display: flex;
}

.ss_wrap .dd_list {
  position: absolute;
}

.ss_wrap .dd_list ul {
  display: none;
  width: auto;
  background: #fff;
  margin: 0 10px;
  border-radius: 25px;
}

.ss_wrap .dd_list ul li a {
  display: flex;
  width: 50px;
  height: 50px;
  margin: 0 10px;
  justify-content: center;
  align-items: center;
  color: var(--icon-clr);
}

/* social share 3 */

.ss_wrap.ss_wrap_3 .dd_list {
  top: 70px;
  transform: translateX(-50%);
}

.ss_wrap.ss_wrap_3 .dd_list ul {
  flex-direction: column;
  width: 175px;
  border-radius: 5px;
}

.ss_wrap.ss_wrap_3 .dd_list ul li a {
  width: 100%;
  margin: 0;
  justify-content: unset;
}

.ss_wrap.ss_wrap_3 .dd_list ul li a span {
  display: flex;
}

.ss_wrap.ss_wrap_3 .dd_list ul li a span.icon {
  width: 25px;
  margin-right: 10px;
}

.ss_wrap.ss_wrap_3 .dd_list ul li a span.text {
  width: 125px;
}

.ss_wrap.ss_wrap_1 .dd_list ul li a.facebook.active span.icon,
.ss_wrap.ss_wrap_2 .dd_list ul li a.facebook span.icon:hover {
	color: var(--icon-clr);
}

.ss_wrap.ss_wrap_1 .dd_list ul li a.twitter span.icon:hover,
.ss_wrap.ss_wrap_2 .dd_list ul li a.twitter.active span.icon {
	color: var(--icon-clr);
}

.ss_wrap.ss_wrap_3 .dd_list ul li a.instagram span.icon,
.ss_wrap.ss_wrap_3 .dd_list ul li a.instagram span.text:hover {
	color: var(--icon-clr);
}

.ss_wrap.ss_wrap_3 .dd_list ul li a.reddit span.icon,
.ss_wrap.ss_wrap_3 .dd_list ul li a.reddit span.text:hover {
	color: var(--icon-clr);
}


.ss_wrap .ss_btn.active+.dd_list ul {
  display: flex;
}

#tituloDetalle {
  margin-top: 0px;
  font-weight: 600;
  font-size: 20px;
  color: #4c4c4c;
}

.mensaje {
  margin-top: 25px;
  margin-bottom: 25px;
  width: 95%;
}

.verde {
  color: #4fb370;
}

.campos {
  text-transform: uppercase;
  font-size: 13px;
  line-height: 2;
  color: #4c4c4c;

}

.swiper-pagination-bullet-active {
  background: #4fb370;
}

.tituloIndicador {
  font-weight: 600;
  font-size: 16px;
  color: #4c4c4c;
  width: 350px;
}

.mensajeIndicador {
  font-weight: 300;
  font-size: 14px;
  color: #4c4c4c;
}

.idIndicador {
  font-weight: 200;
  font-size: 14px;
  color: #4c4c4c;
}

#cabecera1 {
  height: 60px;
  width: auto;
  background-color: #4d4d4d;
}


#logos {
  margin-left: 20px;
  vertical-align: middle;
  height: 60px;
  width: auto;
}

.plecaLogos {
  opacity: 0.5;
  vertical-align: middle;
  height: 50px !important;
}

.perfilvegetacion {
  opacity: 0.6;
  vertical-align: middle;
  height: 50px !important;
  margin-right: -20px;
}

.sidebar {
  color: #ffffff;
  top: 0;
  bottom: 0;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
  width: 60px;
  height: 200vh;
  --bs-gutter-x: 0rem;
  background: #6B702E;
  height: 100vh;
}

.sidebar-grafica {
  color: #ffffff;
  top: 0;
  bottom: 0;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
  width: 60px;
  height: 200vh;
  --bs-gutter-x: 0rem;
  background: #6B702E;
  height: 100vh;
}

.iconolateral {
  background-color: #fff;
  width: 60px;
  padding: 5px;
  margin-bottom: 0.5px;
}
.iconolateral:hover {
  background-color: #EAEAEA;
}
.iconolateral:active {
  background-color: #EAEAEA;
}
 .iconolateral:focus {
  background-color: #EAEAEA;
}

.iconolateral2 {
  background-color: #fff;
  width: 60px;
  padding: 5px;
  margin-bottom: 0.5px;
}
.iconolateral2:hover {
  background-color: #EAEAEA;
}
.iconolateral2:active {
  background-color: #EAEAEA;
}
 .iconolateral2:focus {
  background-color: #EAEAEA;
}

.tituloMenu {
  padding: 5px;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 600;
}

.mapOptions-Header {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #4a4a4a;
  text-transform: uppercase;
  margin-bottom: 10px;
}

#snira {
  width: 145px;
  margin-left: -25px;

}

.instucciones {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  font-weight: 300;
  font-size: 13px;
  text-transform: none;
  color: #4c4c4c;
  margin-top: 1px;
}

.iconoseleccion {
  display: flex;
  width: 25px;
  padding: 5px;
}

.textindicacion {
  padding: 5px;
  font-weight: 600;
  font-size: 13px;
  text-transform: none;
  margin-top: 2px;
  vertical-align: top;
	width: 300px;
}

.textindicacionmin {
  display: flex;
  width: 250px;
}

.fa-ellipsis-v:before,
.fa-ellipsis-vertical:before {
  content: "\f0dc";

}

.element {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin-top: -15px;
  width: 300px;
  height: 150px;
  border-color: #4c4c4c;
  border-width: 2px;
  border-style: dashed;
}
.nav-link.iconolateral.active {
  background-color: #EAEAEA; /* Cambia el color de fondo al estar activo */
}
.nav-link.iconolateral2.active {
  background-color: #EAEAEA; /* Cambia el color de fondo al estar activo */
}
.plecaLogos {
  max-width: 600px;  /* Tamaño máximo para pantallas más grandes */
  min-width: 300px;  /* Tamaño mínimo para pantallas más pequeñas */
}

 ion-icon {
font-size : 16px;
  }
  ion-m {
font-size : 22px !important;
  }



#cabecera1 {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5000; /* Asegúrate de que el header esté encima de otros elementos */
}

.tablero-page {
  position: fixed;
  margin-top: 60px; /* Ajusta esto según la altura de tu header */
}

.sidebar {
  position: fixed;
  top: 60px; /* Asegúrate de que coincida con la altura del header */
  bottom: 10;
  left: 0;
  width: 60px;
  height: calc(100vh - 60px); /* Ajusta la altura considerando el header */
  z-index: 999;
}

.sidebar-grafica {
  position: fixed;
  top: 60px; /* Asegúrate de que coincida con la altura del header */
  bottom: 10;
  right: 0;
  width: 60px;
  height: calc(100vh - 60px); /* Ajusta la altura considerando el header */
  z-index: 999;
}

.tab-content {
  margin-left: 60px; /* El ancho del menú lateral */
}

.tab-content-grafica {
  margin-right: 60px; /* El ancho del menú lateral */
}
    /* Asegura que el contenido del tab se ajuste correctamente */
.tab-pane {
  max-height: calc(100vh - 80px); /* Ajusta la altura del tab para que quepa todo */
  overflow-y: auto; /* Permite hacer scroll si el contenido excede la altura */
  padding-bottom: 20px; /* Añade un pequeño padding para que el botón no se vea pegado */
}
.perfilvegetacion {
  position: absolute; /* Asegura que la imagen esté fuera del flujo normal */
  right: 0; /* Siempre pegada a la derecha */
  top: 0; /* Puedes ajustar si la quieres en la parte superior o mover hacia abajo */
  z-index: 1000; /* Asegura que esté encima de otros elementos si es necesario */
  height: auto;
}

.modal-content {
    margin-top: 105px;
}

.leaflet-right {
	right: 65px !important; /*Se sobre escribe*/
}

.sidebar-grafica .nav-link {
	color: white;
	text-align: center;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.sidebar-grafica .nav-link.tema-header {
	font-weight: bold;
	font-size: 14px;
	cursor: default;
	border-bottom: 1px solid #495057;
}

/* Contenedor de gráficas */
.contenedor-graficas {
	position: fixed;
	top: 60px;
	right: 60px;
	width: 700px;
	/* height: calc(100vh - 60px); */
	background-color: #f8f9fa;
	overflow-y: hidden;
	z-index: 1030;
	display: none;
	border-left: 1px solid #ccc;
	transition: opacity 0.3s ease;
}

.contenedor-graficas.active {
	display: block;
}

.grafica-wrapper {
	display: none;
	padding: 10px;
}

.grafica-wrapper.active {
	display: block;
}

.grafica-wrapper iframe {
	width: 100%;
	height: calc(100vh - 60px);
	border: none;
	margin-bottom: 10px;
}

/* Botón para cerrar */
.cerrar-btn {
	position: sticky;
	top: 0;
	left: 0;
	border: none;
	padding: 5px 10px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1;
	text-align: left;
}

.content {
	margin-top: 80px;
	padding: 20px;
}
.boton-descarga {
	position: fixed;
	top: 0;
	right: 0;
}
.bi-info-circle {
	transition: color 0.3s ease;
	cursor: pointer;
}
.bi-info-circle:hover {
	color: #0d6efd; /* Bootstrap primary */
}
#loader {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}
.spinner {
	border: 8px solid #f3f3f3;
	border-top: 8px solid #3498db;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
	margin: auto;
}
.table-scroll-container {
	height:552px;
	min-height: 552px;
	overflow-y: scroll;
	display: block; /* Important for proper scrolling behavior */
}

#datosProyectos {
	table-layout: auto;
	width: 100%;
}

.table-responsive {
	max-width: 664px;  /* el ancho que tengas */
	overflow-x: auto;
}

#datosProyectos td a {
	display: inline-block;
	max-width: 200px;   /* ajusta a gusto */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#datosProyectos th:nth-child(1) { width: 50px; }   /* # */
#datosProyectos th:nth-child(2) { width: 314px; }  /* Proyecto */
#datosProyectos th:nth-child(3) { width: 300px; }  /* Reporte */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
a.disabled {
	opacity: 0.5;
	pointer-events: none;
	cursor: default;
}
.opacity-panel {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    z-index: 9999;
    width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    left: -80px;
    top: -80px;
}

.opacity-panel .close-opacity {
    float: right;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    margin-top: -5px;
    margin-right: -2px;
    color: #666;
}

.opacity-panel .close-opacity:hover {
    color: #000;
}

.icon-container {
    position: relative;
}
