.darkmode-toggle {
	z-index: 9999;
	width: 130px; /* O el tamaño apropiado para tu diseño */
	height: 130px;
}

body.darkmode--activated .darkmode-custom {
	background-color: #000000 !important;
	color: #ffffff !important;
}

body.darkmode--activated .darkmode-custom-targets {
	background-color: #3c3c3c !important;
	color: #000000 !important;
	border-color: #3c3c3c !important;
}

body.darkmode--activated .darkmode-custom-black-b {
	background-color: #000000 !important;
	color: #ffffff !important;
	border-color: #000000 !important;
}

body.darkmode--activated .darkmode-custom-titulos {
	color: #ffffff !important;
}

body.darkmode--activated .darkmode-custom-whites {
	color: #ffffff !important;
}

body.darkmode--activated .darkmode-custom-footer {
	background-color: #3c3c3c !important;
	color: #ffffff !important;
	border-top: 1px solid #3c3c3c !important;
}

body.darkmode--activated .darkmode-custom-header {
	background-color: #ffffff !important;
	color: #000000 !important;
	border-top: 1px solid #ffffff !important;
}

body.darkmode--activated .darkmode-custom2 {
	background-color: #ffffff !important;
	color: #000000 !important;
	border-color: #ffffff !important;
}

body.darkmode--activated .darkmode-custom-marco {
    fill: #000000 !important;
    stroke: #000000 !important;
}

.marco-svg {
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
    fill: #f7c32f; /* Color por defecto */
    /* O usa currentColor para heredar del padre */
    /* fill: currentColor; */
}

/* Estilos para pantallas mayores a 992px */
\@media (min-width: 992px) {
  /* Estilos específicos para la etiqueta <a> con \$palabrota2 en pantallas grandes */
  .palabrota2:hover {
	color: #6a1908; /* Cambia el color para palabrota2 al hacer hover */
  }
  /* Estilos específicos para la etiqueta <a> con \$palabrota3 en pantallas grandes */
  .palabrota3:hover {
	color: #6a1908; /* Cambia el color para palabrota3 al hacer hover */
  }
}

/* Estilo para el botón de la ayuda */
.floating-button {
	position: fixed;
	bottom: 128px; /* Subido 20px desde 108px */
	left: 32px;
	right: unset;
	width: 50px;
	height: 50px;
	background-color: white;
	color: black;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 24px;
	font-weight: bold;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	transition: transform 0.2s ease;
}

.floating-button:hover {
	transform: scale(1.1);
}

/* Estilo del texto emergente, ahora a la derecha */
.tooltip-text {
	position: absolute;
	top: 50%; /* Centrado verticalmente respecto al botón */
	left: 70px; /* A la derecha del botón (50px del botón + 20px de separación) */
	transform: translateY(-50%); /* Ajuste vertical para centrar */
	background-color: white;
	color: black;
	padding: 10px;
	border-radius: 5px;
	font-size: 14px;
	width: 250px;
	text-align: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s ease;
}

/* Mostrar texto al pasar el ratón */
.floating-button:hover .tooltip-text {
	visibility: visible;
	opacity: 1;
}

/* Ocultar texto en móviles */
@media (max-width: 767px) {
	.tooltip-text {
		display: none;
	}
}

.custom-marg-head {
	margin-right:100px;
	margin-left:100px;
}

/* Quitar margen en dispositivos pequeños */  
@media (max-width: 992px) {
	.custom-marg-head {
		margin-right:0px;
		margin-left:0px;
	}
}

.container-custom-marg-right {
	margin-right:100px;
	margin-left:0px;
}

/* Quitar margen en dispositivos pequeños */  
@media (max-width: 992px) {
	.container-custom-marg-right {
		margin-right:0px;
	}
}

.container-custom-marg-left {
	margin-right:0px;
	margin-left:100px;
}

/* Quitar margen en dispositivos pequeños */  
@media (max-width: 992px) {
	.container-custom-marg-left {
		margin-left:0px;
	}
}




/* Esto son estilos específicos para los IDIs de la sección Recursos */
.asignatura-btn {
	min-width: 60px;
	max-width: 115px;
	min-height: 30px;
	font-size: 0.7rem;
	padding: 2px 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 768px) {
	.asignatura-btn {
		min-width: 50px;
		max-width: 70px;
		font-size: 0.65rem;
	}
}

@media (max-width: 576px) {
	.asignatura-btn {
		min-width: 40px;
		max-width: 60px;
		font-size: 0.6rem;
	}
}

.contenedor-asignaturas {
	flex: 1;
}

.contenedor-principal {
	flex: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	cursor: pointer;
	transition: background-color 0.3s;
	background-color: #308446;
}

.contenedor-principal:hover {
	background-color: #2a5235;
}

/*
.custom-marg-head {
	margin-right: 100px;
	margin-left: 100px;
}

@media (max-width: 1200px) {
	.custom-marg-head {
		margin-right: 50px;
		margin-left: 50px;
	}
}

@media (max-width: 768px) {
	.custom-marg-head {
		margin-right: 20px;
		margin-left: 20px;
	}
}

@media (max-width: 576px) {
	.custom-marg-head {
		margin-right: 10px;
		margin-left: 10px;
	}
}
*/

@media (max-width: 768px) {
	.d-flex.contenedor-responsive {
		justify-content: center;
	}
}

.seccion-contenido {
	margin-top: 20px;
	padding: 20px;
	border: 1px solid #dee2e6;
	border-radius: 5px;
	background-color: #f8f9fa;
	scroll-margin-top: 20px;
}

.seccion-activa {
	border-color: #0d6efd;
	border-width: 2px;
}

/* Estilos para preguntas y subpreguntas */
.pregunta-boton {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	border: 2px solid #037a54;
	border-radius: 8px;
	background-color: #f8efe0;
	color: #037a54;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	margin-bottom: 20px;
}

.pregunta-boton:hover {
	border-color:#037a54;
	background-color: #037a54;
	color: white;
}

.pregunta-boton.activa {
	border-color:#037a54;
	background-color: #037a54;
	color: white;
	margin-bottom: 0;
}

.descripcion-pregunta {
	padding: 20px;
	background-color: #f8efe0;
	border: 1px solid #f8efe0;
	border-top: none;
	border-radius: 0 0 8px 8px;
	margin-bottom: 30px;
}

.separador {
	margin: 40px 0;
	border: none;
	height: 2px;
	background: linear-gradient(to right, transparent, #037a54, transparent);
}

/* NUEVOS ESTILOS PARA PREGUNTAS ESPECIALES */
.pregunta-especial-contenedor {
	position: relative;
	margin-bottom: 15px;
}

.pregunta-especial-boton {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px 30px;
	border: 2px solid #6f42c1;
	border-radius: 8px;
	background-color: white;
	color: #6f42c1;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	min-height: 80px;
	margin-bottom: 15px;
	padding-top: 30px; /* Espacio para el botón de asignatura */
}

.pregunta-especial-boton:hover {
	background-color: #6f42c1;
	color: white;
}

.pregunta-especial-boton.activa {
	background-color: #6f42c1;
	color: white;
}

.boton-asignatura-especial {
	position: absolute;
	top: -10px;
	right: 10px;
	min-width: 80px;
	max-width: 100px;
	height: 25px;
	font-size: 0.65rem;
	padding: 2px 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #6c757d;
	border-radius: 4px;
	background-color: white;
	color: #ffffff;
	font-weight: 500;
	z-index: 1;
}

/* Estilos para subpreguntas (se mantienen pero con color diferente) */
.subpregunta-boton {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 2px solid #037a54;
	border-radius: 6px;
	background-color: #f8efe0;
	color: #037a54;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	min-height: 80px;
	margin-bottom: 15px;
}

.subpregunta-boton:hover {
	background-color: #037a54;
	color: white;
}

.subpregunta-boton.activa {
	background-color: #037a54;
	color: white;
}

/* Estilos para tareas */
.tarea-boton {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px;
	border: 2px solid #7349f5;
	border-radius: 6px;
	background-color: white;
	color: #7349f5;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 10px;
	text-align: left;
}

.tarea-boton:hover {
	background-color: #7349f5;
	color: white;
}

.tarea-boton.activa {
	background-color: #7349f5;
	color: white;
}

.tarea-boton .icono {
	margin-left: 10px;
	font-size: 1.1rem;
}

.guia-boton {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px;
	border: 2px solid #f7c32f;
	border-radius: 6px;
	background-color: #f7c32f;
	color: #212529;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 10px;
	text-align: left;
}

.guia-boton:hover {
	background-color: #ffc107;
	color: #212529;
}

.contenido-columna {
	padding: 20px;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	background-color: white;
	height: 100%;
	position: relative;
}

.boton-impresora {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	color: #6c757d;
	font-size: 1.2rem;
	cursor: pointer;
	transition: color 0.3s;
}

.boton-impresora:hover {
	color: #0d6efd;
}

/* ESTILOS PARA COLUMNA 3 */
.columna-formatos {
	padding: 10px 0;
}

.contenedor-formatos-tarea {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.formato-boton {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid #17a2b8;
	border-radius: 4px;
	background-color: white;
	color: #17a2b8;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 8px;
	text-align: left;
	width: 100px;
	max-width: 120px;
}

.formato-boton:hover {
	background-color: #17a2b8;
	color: white;
}

.formato-boton .icono {
	margin-right: 6px;
	font-size: 0.9rem;
}

/* Para que las columnas de contenido tengan la misma altura */
.row-tareas {
	display: flex;
	flex-wrap: wrap;
}

.columna-contenido {
	display: none;
}

.columna-contenido.activa {
	display: block;
}

.contenedor-formatos {
	display: none;
}

.contenedor-formatos.activa {
	display: flex;
	flex-direction: column;
}

@media (max-width: 768px) {
	.row-tareas {
		flex-direction: column;
	}
	
	.columna-formatos {
		padding: 15px 0;
	}
	
	.formato-boton {
		margin-right: 8px;
		margin-bottom: 8px;
	}
}



/* Estos son los estilos específicos para las tarjetas de colaboradores y socios del proyecto */

.circular-image-container {
  overflow: hidden;          
  border-radius: 50%;        
  aspect-ratio: 1 / 1;       
}

.circular-image {
  width: 100%;
  height: 100%;
  object-fit: cover;         
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;      
  border-radius: 50%;        
}

