

/*ESCALA DE GRISES*/
.escala-grises {
	filter: grayscale(100%) !important;
}


/*Alto Contraste*/
.accesibilidad-panel {
			position: fixed;
			top: auto;
			right: 20px;
			background: white;
			border: 2px solid #ccc;
			padding: 10px;
			display: none;
			z-index: 9999;
		}

		.accesibilidad-panel button {
			display: block;
			width: 100%;
			margin-bottom: 5px;
		}

		.alto-contraste {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste a {
			color: #ff0 !important;
		}

		/* Ajustes para el alto contraste */
		.alto-contraste {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste a {
			color: #ff0 !important;
		}

		/* Aplicar estilo de alto contraste a tablas */
		.alto-contraste .tg,
		.alto-contraste .tg th,
		.alto-contraste .tg td {
			background-color: #000 !important;
			color: #fff !important;
			border-color: #fff !important;
		}

		/* Aplicar estilo de alto contraste al contenido del collapse */
		.alto-contraste .card-body,
		.alto-contraste .card-header-square,
		.alto-contraste .card-body h4 {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste iframe {
			border: 2px solid #fff;
		}

		.alto-contraste .bg-grey-sesea {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste .bg-grey-sesea img {
			border: 2px solid #fff;
		}

		.alto-contraste .bg-turquoise-sesea {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste .tabla_calendario,
		.alto-contraste .tabla_calendario th,
		.alto-contraste .tabla_calendario td {
			background-color: #000 !important;
			color: #fff !important;
			border: 1px solid #fff !important;
		}

		.alto-contraste #calendario {
			background-color: #000 !important;
		}

		.calendario-fondo {
			background-color: #DDDDDD;
		}

		.alto-contraste .calendario-fondo {
			background-color: #111111 !important;
		}

/* Encabezado del footer */
				.footer-sitios {
					background-color: #1E2037;
					padding: 60px 0;
					text-align: center;
				}

				.footer-header {
					display: flex;
					align-items: center;
					justify-content: center;
					gap: 40px;
					margin-bottom: 50px;
				}

				.footer-header h1 {
					font-size: 2.5rem;
					color: #333333;
					text-align: center;
					font-weight: bold;
					letter-spacing: 1.5px;
				}

				.footer-icon-left, .footer-icon-right {
					width: 80px;
					margin-top: 10px;
				}

				/* Enlaces del footer */
				.footer-links {
					display: flex;
					flex-wrap: wrap;
					justify-content: center;
					gap: 40px;
					max-width: 1400px;
					margin: 0 auto;
				}

				.footer-links a {
					flex: 1 1 250px;
					max-width: 300px;
					transition: transform 0.3s ease, box-shadow 0.3s ease;
				}

				.footer-links a:hover {
					transform: scale(1.08);
					box-shadow: 0 15px 30px rgba(0,0,0,0.2);
				}

				.footer-links img {
					width: 100%;
					height: auto;
					border-radius: 15px;
					display: block;
				}

				/* Gradiente de fondo */
				#bg-gradient {
					background: linear-gradient(to bottom, #1E2037 0%, #53A496 100%);
				}

				/* Formulario */
				form {
					background-color: rgba(0, 0, 0, 0.6);
					border-radius: 10px;
					padding: 20px;
					margin-bottom: 20px;
					color: #ffffff;
				}

				form input[type="text"],
				form input[type="email"],
				form textarea {
					background-color: rgba(255, 255, 255, 0.2);
					color: #ffffff;
					border: 1px solid rgba(255, 255, 255, 0.3);
					border-radius: 5px;
					padding: 10px;
					width: 100%;
					transition: all 0.3s ease;
				}

				form input[type="text"]:focus,
				form input[type="email"]:focus,
				form textarea:focus {
					background-color: rgba(255, 255, 255, 0.3);
					border-color: #ffffff;
					outline: none;
				}

				/* Placeholder */
				form input::placeholder,
				form textarea::placeholder {
					color: #ffffff;
					opacity: 1;
				}

				/* Botón de envío */
				.btn-enviar {
					background-color: #00A6ED;
					color: #ffffff;
					border: none;
					border-radius: 5px;
					padding: 10px 20px;
					cursor: pointer;
					transition: background-color 0.3s ease;
				}

				.btn-enviar:hover {
					background-color: #007bbf;
				}

				/* Contenedor general */
				.contact-container {
					display: flex;
					flex-wrap: wrap;
					background: linear-gradient(to bottom, #1E2037 0%, #53A496 100%);
					padding: 30px;
					color: #ffffff;
					
					align-items: stretch;
				}

				/* Información de contacto */
				.contact-info {
					flex: 1 1 300px;
					padding: 20px;
					background-color: rgba(0, 0, 0, 0.5);
					margin-bottom: 20px;
					display: flex;
					border-radius: 15px;
					flex-direction: column;
					justify-content: space-between;
				}

				/* Contenedor del Mapa */
				.map-container {
					flex: 2 1 600px;
					margin-left: 20px;
					overflow: hidden;
					background-color: rgba(255, 255, 255, 0.1);
					display: flex;
					align-items: stretch;
				}

				.map-container iframe {
					flex: 1;
					width: 100%;
					height: 100%;
				}


				/* ============================
				MODO ALTO CONTRASTE
				============================ */
				.alto-contraste .contact-container {
					background: black !important;
					color: yellow !important;
				}

				.alto-contraste .contact-info {
					background-color: #111 !important;
					color: yellow !important;
					border: 2px solid yellow;
				}

				.alto-contraste .map-container {
					background-color: #111 !important;
					border: 2px solid yellow;
  					filter: grayscale(100%) brightness(0.6) contrast(2);
				}

				.alto-contraste img {		
					border: 3px solid #FFFF00 !important; /* Amarillo brillante para buena visibilidad */
					border-radius: 4px;
				}

				/* Estilos para alto contraste: texto blanco */
				.alto-contraste, 
				.alto-contraste * {
					color: #ffffff !important;        /* Todo el texto blanco */
					border-color: #ffffff !important; /* Bordes blancos si aplica */
					fill: #ffffff !important;         /* SVG o íconos */
					stroke: #ffffff !important;       /* Líneas SVG */
				}


				.alto-contraste .copyright-container {
					background-color: #111 !important;
					color: yellow !important;
					border-top: 1px solid yellow;
				}

				/* Formularios accesibles */
				.alto-contraste input,
				.alto-contraste textarea {
					background-color: #000 !important;
					color: white !important;
					border: 2px solid yellow !important;
				}

				.alto-contraste .btn-enviar {
					background-color: yellow !important;
					color: black !important;
					font-weight: bold;
					border: none;
				}

        

				/* Copyright */
				.copyright-container {
					width: 100%;
					color: #ffffff;
					text-align: center;
					padding: 15px 0;
					margin-top: 20px;
					background-color: transparent;
				}

				/* Ajustes para pantallas pequeñas */
				@media (max-width: 768px) {
					.footer-header h1 {
						font-size: 2rem;
					}

					.footer-header {
						gap: 20px;
					}

					.footer-links {
						gap: 30px;
					}

					.footer-icon-left, .footer-icon-right {
						width: 60px;
					}

					.contact-container {
						flex-direction: column;
					}

					.map-container {
						margin-left: 0;
						margin-bottom: 20px;
					}

          .map-container iframe {
            flex: 1;
            width: 100%;
            height: 100%;
          }
				}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu-left {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.dropdown-submenu .dropdown-menu-right {
    top: 0;
    right: 100%;
    margin-top: -1px;
}

.total-ancho{
    width: 100% !important;
    margin: 0;
    padding: 0;
}
.total-ancho2{
  width: 90% !important;
  margin-left: 5% !important;
  margin: 0;
  padding: 0;
}

#modalTamanio{
    width: 80% !important;
}

.hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0);
            box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }
  .hvr-sweep-to-right {
    position: relative;
    color: white;
    display: inline-block;
    text-decoration: none;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.hvr-sweep-to-right::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #36A2FF;
    transition: width 0.3s ease, left 0.3s ease;
}

.hvr-sweep-to-right:hover {
    color: #36A2FF;
}

.hvr-sweep-to-right:hover::before {
    width: 100%;
    left: 0;
}


.dropdown-item{
  background: #1E2037 !important;
}
  
  
  .box2 {
    min-height: 419px;
    max-height: 420px;
  }
  
  .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    -webkit-transition: -webkit-transform 0.8s;
    transition: -webkit-transform 0.8s;
    transition: transform 0.8s;
    transition: transform 0.8s, -webkit-transform 0.8s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
  }
  
  .card-body-wp2{
    -webkit-transition: -webkit-transform 0.8s;
    transition: -webkit-transform 0.8s;
    transition: transform 0.8s;
    transition: transform 0.8s, -webkit-transform 0.8s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
  }

  .card2:hover .card-body-wp2 {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  
  .flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
  
  .flip-box-front {
    background-color: #fff;
  }
  
  .flip-box-back {
    background-color: #fff;
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }

  .ver-mas{
    padding: 1%;
    border-radius: 5px;
  }

  .redes{
    width: 25px; 
    height: 25px;
  }

  .link-inicio{
    width: 165px !important;
  }

  .table{
    text-align: center;
    font-weight: bold;
  }
  .table thead th{
    background: #777777 !important;
    border-color: #777777 !important;
  }
  .table tbody{
    background: #F1F1F1;
  }
  .table td{
    vertical-align: middle;
  }
  .semaforo{
    height: 50%;
    max-width: 31px !important;
    max-height: 31px !important;
  }

  

  .convocatorias_link a{
    color: #53A496;
  }
  #collapseTwo2 li{
    color: #53A496;
  }
  #collapseTwo2 li a{
    color: #53A496;
  }
  #collapseTwo32 li{
    color: #53A496;
  }
  #collapseTwo32 li a{
    color: #53A496;
  }

  #collapse3 li{
    color: #fff;
  }
  #collapse3 li a{
    color: #fff;
  }


  #boletines li{
    color: #53A496;
  }
  #boletines li a{
    color: #53A496;
  }

  .sitios .col-lg-3{
    padding-right: 0px !important;
    padding-left: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    text-align: center;
  }
  .sitios .col-lg-3 img{
    width: 70%;
    height: 50%;
    padding-top: 10%;
    padding-bottom: 10%;
  }
  .sitios_seseas .col-lg-3{
    padding-right: 0px !important;
    padding-left: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    text-align: center;
  }
  .sitios_seseas .col-lg-3 img{
    width: 70%;
    height: 60%;
    padding-top: 10%;
    padding-bottom: 10%;
  }
  .historico .col-lg-3{
    padding-right: 0px !important;
    padding-left: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  .historico .col-lg-3 img{
    width: 100%;
  }
  .historico .col-lg-6{
    padding-right: 0px !important;
    padding-left: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  .historico .col-lg-6 img{
    width: 100%;
  }

  .municipios .card {
    margin-top: 1% !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
}
.card-m{
  background: #ffffff !important;
    background-color: #ffffff !important;
    border-bottom: 0 !important;
}
  .card-m h5{
    background: #2C95A1 ;
    background-color: #2C95A1 ;
    width: 100% !important;
    margin-left: 4% !important;
    padding-left: 8% !important;
    padding-top: 1% !important;
    padding-bottom: 1% !important;
    border-radius: 3em !important;
}
.card-m a{
  color: white !important;
}

.shadow-box .col-lg-5{
  -webkit-box-shadow: 6px 6px 13px 0px rgba(0,0,0,0.77);
  -moz-box-shadow: 6px 6px 13px 0px rgba(0,0,0,0.77);
  box-shadow: 6px 6px 13px 0px rgba(0,0,0,0.77);
  padding: 3%;
  margin-right: 5%;
  margin-bottom: 5%;
}
.shadow-box a{
  text-decoration: none;
}

.juega_limpio img{
  cursor:pointer; 
  cursor: hand;
}

@media (min-width: 992px) {
  .modal-lg2 {
    max-width: 1200px;
  }
}

.evento_dia .col-lg-4{
  padding: 0 !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.tabla_calendario{
  width: 60%;
  margin: auto;
  border: 0 !important;
  border-radius: 1em !important;
  background-color: #ffffff !important;
  color: #c8c8c8;
}

#boton-accesibilidad {
					position: fixed;
					bottom: 20px;
					right: 20px;
					background-color: #0066cc;
					color: white;
					border: none;
					border-radius: 50%;
					width: 60px;
					height: 60px;
					font-size: 28px;
					cursor: pointer;
					z-index: 1000;
					box-shadow: 0 4px 8px rgba(0,0,0,0.3);
				}

				.accesibilidad-panel {
					position: fixed;
					bottom: 90px;
					right: 20px;
					background-color: white;
					border: 1px solid #ccc;
					border-radius: 8px;
					padding: 10px;
					z-index: 1001;
					display: none;
				}

				.accesibilidad-panel button {
					display: block;
					width: 100%;
					margin: 5px 0;
					padding: 6px;
					font-size: 14px;
					background-color: #f1f1f1;
					border: none;
					border-radius: 4px;
					cursor: pointer;
				}

				.alto-contraste {
					background-color: #000 !important;
					color: #FFF !important;
				}

				.alto-contraste a {
					color: #0ff !important;
					font-weight: bold;
					text-decoration: underline;
				}

				.alto-contraste .navbar,
				.alto-contraste .footer-sitios,
				.alto-contraste header,
				.alto-contraste footer,
				.alto-contraste .botonera-container {
					background-color: #111 !important;
					color: #fff !important;
					border-color: #fff !important;
				}

				.alto-contraste button,
				.alto-contraste input,
				.alto-contraste textarea {
					background-color: #222 !important;
					color: #fff !important;
					border: 1px solid #fff !important;
				}

				.alto-contraste img {
					filter: brightness(0.9) contrast(1.3);
				}

				.cursor-grande {
					cursor: url('https://cur.cursors-4u.net/cursors/cur-11/cur1010.cur'), auto !important;
				}

				.subrayado a {
					text-decoration: underline !important;
				}
		

		


thead, tbody{
  border: 0 !important;
}

.tabla_calendario thead th{
  border: 0 !important;
  font-size: x-large;
  padding-top: 12px;
  padding-bottom: 12px;
}

.tabla_calendario tbody td{
  border: 0 !important;
  font-size: large;
  padding-top: 12px;
  padding-bottom: 12px;
}

.tabla_calendario .borde_derecha{
  border-right: 2px solid #C8C8C8 !important;
  width: 42% !important;

}

.tabla_calendario .borde_bajo{
  border-bottom: 2px solid #C8C8C8 !important;
}

@keyframes subir {
				from {
					opacity: 0;
					transform: translateY(20px);
				}
				to {
					opacity: 1;
					transform: translateY(0);
				}
				}

				.accesibilidad-panel.animado {
				animation: subir 0.3s ease-out;
				}



/*CPC_QUEES*/
table {
			width: 100%;
			border-collapse: collapse;
		}
	
		table a {
			color: #F7F7F7;
		}
	
		table, th, td {
			border: 2px solid white;
			padding: 10px;
			text-align: left;
			vertical-align: top;
		}
	
		.caja {
			border: 2px solid white;
			padding: 2%;
		}

		table.tg {
		border-collapse: collapse;
		width: 100%;
		}

		table.tg th, table.tg td {
		border: 1px solid #009688;
		padding: 10px;
		text-align: left;
		vertical-align: top;
		}

		@media (max-width: 808px) {
		iframe {
			width: 400px;
		}
		}
		
		.accesibilidad-panel {
			position: fixed;
			top: auto;
			right: 20px;
			background: white;
			border: 2px solid #ccc;
			padding: 10px;
			display: none;
			z-index: 9999;
		}

		.accesibilidad-panel button {
			display: block;
			width: 100%;
			margin-bottom: 5px;
		}

		.alto-contraste {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste a {
			color: #ff0 !important;
		}

		/* Ajustes para el alto contraste */
		.alto-contraste {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste a {
			color: #ff0 !important;
		}

		/* Aplicar estilo de alto contraste a tablas */
		.alto-contraste .tg,
		.alto-contraste .tg th,
		.alto-contraste .tg td {
			background-color: #000 !important;
			color: #fff !important;
			border-color: #fff !important;
		}

		/* Aplicar estilo de alto contraste al contenido del collapse */
		.alto-contraste .card-body,
		.alto-contraste .card-header-square,
		.alto-contraste .card-body h4 {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste iframe {
			border: 2px solid #fff;
		}

		.alto-contraste .bg-grey-sesea {
			background-color: #000 !important;
			color: #fff !important;
		}
		.alto-contraste .bg-grey-sesea img {
			border: 2px solid #fff;
		}
		
		.alto-contraste .bg-turquoise-sesea {
			background-color: #000 !important;
			color: #fff !important;
		}
		.alto-contraste .tabla_calendario,
		.alto-contraste .tabla_calendario th,
		.alto-contraste .tabla_calendario td {
			background-color: #000 !important;
			color: #fff !important;
			border: 1px solid #fff !important;
		}

		.alto-contraste #calendario {
			background-color: #000 !important;
		}

		.calendario-fondo {
			background-color: #DDDDDD;
		}

		.alto-contraste .calendario-fondo {
			background-color: #111111 !important;
		}

		

		table a {
			color: #53A496;
		}

		table,
		th,
		td {
			border: 2px solid white;
		}

		.caja {
			border: 2px solid white;
			padding: 2%;
		}


		/* Estilo para la tabla */
		.tg {
			width: 100%;
			border-collapse: collapse;
			margin-bottom: 20px;
		}

		/* Estilo para las celdas */
		.tg th,
		.tg td {
			border: 1px solid #009688;
			padding: 15px;
			text-align: left;
			vertical-align: top;
		}

		/* Ajuste de los encabezados */
		.tg th {
			background-color: #e0f2f1;
			color: #009688;
			font-weight: bold;
			white-space: nowrap;
		}

		/* Manejo de textos largos */
		.tg td {
			word-wrap: break-word;
			overflow-wrap: break-word;
			hyphens: auto;
		}

		/* Adaptación para pantallas móviles */
		@media (max-width: 768px) {
			.tg td {
				white-space: normal;
				word-break: break-word;
			}

			.tg th,
			.tg td {
				font-size: 14px;
				padding: 10px;
			}
		}

		.accesibilidad-panel {
			position: fixed;
			top: auto;
			right: 20px;
			background: white;
			border: 2px solid #ccc;
			padding: 10px;
			display: none;
			z-index: 9999;
		}

		.accesibilidad-panel button {
			display: block;
			width: 100%;
			margin-bottom: 5px;
		}

		.alto-contraste {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste a {
			color: #ff0 !important;
		}

		/* Ajustes para el alto contraste */
		.alto-contraste {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste a {
			color: #ff0 !important;
		}

		/* Aplicar estilo de alto contraste a tablas */
		.alto-contraste .tg,
		.alto-contraste .tg th,
		.alto-contraste .tg td {
			background-color: #000 !important;
			color: #fff !important;
			border-color: #fff !important;
		}

		/* Aplicar estilo de alto contraste al contenido del collapse */
		.alto-contraste .card-body,
		.alto-contraste .card-header-square,
		.alto-contraste .card-body h4 {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste iframe {
			border: 2px solid #fff;
		}

		.alto-contraste .bg-grey-sesea {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste .bg-grey-sesea img {
			border: 2px solid #fff;
		}

		.alto-contraste .bg-turquoise-sesea {
			background-color: #000 !important;
			color: #fff !important;
		}

		.alto-contraste .tabla_calendario,
		.alto-contraste .tabla_calendario th,
		.alto-contraste .tabla_calendario td {
			background-color: #000 !important;
			color: #fff !important;
			border: 1px solid #fff !important;
		}

		.alto-contraste #calendario {
			background-color: #000 !important;
		}

		.calendario-fondo {
			background-color: #DDDDDD;
		}

		.alto-contraste .calendario-fondo {
			background-color: #111111 !important;
		}

		/* Fondo por defecto */
		.footer-normal {
			background: linear-gradient(to bottom, #53A496, #1E2037);
		}

		/* Fondo en alto contraste */
		.alto-contraste .footer-normal {
			background: #000 !important;
			/* Fondo oscuro */
			color: #fff !important;
		}

		html,
		body {
			margin: 0;
			padding: 0;
			min-height: 100%;
			scroll-behavior: smooth;
			font-family: Arial, sans-serif;
		}




		.section {
			height: 100vh;
			display: flex;
			align-items: center;
			justify-content: center;
			scroll-snap-align: start;
			color: white;
			padding: 2rem;
			box-sizing: border-box;
			overflow: hidden;
			/* Evita scroll interno */
		}

		.section p {
			font-size: 1.2em;
			/* Aumenta el tamaño de los párrafos */
		}

		.section .container {
			max-width: 1200px;
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			align-items: center;
		}

		.text-block,
		.img-block {
			flex: 1 1 50%;
			padding: 1rem;
		}

		.img-block img {
			max-width: 100%;
			height: auto;
		}

		.content {
			opacity: 0;
			transform: translateY(20px);
			transition: opacity 1s ease-out, transform 1s ease-out;
		}

		.content.visible {
			opacity: 1;
			transform: translateY(0);
		}

		/* Sección por colores */
		.bg-turquoise-sesea {
			background: #1abc9c;
		}

		.bg-blue {
			background: #3498db;
		}

		.bg-white {
			background: white;
		}

		/* Textos */
		.text-white {
			color: white;
		}

		.text-white-bold {
			color: white;
			font-weight: bold;
		}

		.text-turquoise {
			color: #1abc9c;
		}

		.text-turquoise-bold {
			color: #1abc9c;
			font-weight: bold;
		}

		blockquote {
			margin: 1em 0;
			font-style: italic;
		}

		h1,
		h3 {
			margin-top: 0;
		}

		.scroll-snap-wrapper {
			scroll-snap-type: y mandatory;
			overflow-y: auto;
			height: 300vh;
			/* 3 secciones de 100vh */
		}

		.scroll-snap-wrapper .section {
			scroll-snap-align: start;
		}

		.fade-in-on-scroll {
			opacity: 0;
			transform: translateY(20px);
			transition: all 1s ease-in-out;
		}

		.fade-in-on-scroll.visible {
			opacity: 1;
			transform: translateY(0);
		}















		@media (max-width: 768px) {
			.section .container {
				flex-direction: column;
				/* Cambio importante */
				flex-wrap: nowrap;
				align-items: center;
				justify-content: flex-start;
				gap: 0.5rem;
				/* Menor espacio entre imagen y texto */
			}

			.text-block,
			.img-block {
				flex: none;
				max-width: 100%;
				padding: 0.5rem 0;
			}

			.img-block img {
				width: 100%;
				max-height: 160px;
				/* Reduce la altura máxima de la imagen */
				object-fit: contain;
			}

			.text-block h1,
			.text-block h3 {
				font-size: 1.2em;
				margin: 0.5rem 0;
			}

			.text-block p {
				font-size: 0.95em;
				margin: 0;
			}

			.section {
				padding: 1rem 0.5rem;
			}

			blockquote {
				margin: 0.5rem 0;
			}

			iframe {
				width: 100% !important;
				height: auto;
				aspect-ratio: 16 / 9;
				max-width: 100%;
				border: none;

			}
		}

		body.high-contrast,
		.high-contrast {
			background-color: #000 !important;
			color: #fff !important;
		}

		.high-contrast svg,
		.high-contrast canvas,
		.high-contrast iframe,
		.high-contrast img {
			filter: invert(100%) hue-rotate(180deg) !important;
		}

		.msg-sugerencia-modal {
            display: none; /* Oculto por defecto */
            position: fixed; 
            z-index: 100; /* Asegura que esté por encima de todo */
            left: 0;
            top: 0;
            width: 100%; 
            height: 100%; 
            background-color: rgba(0,0,0,0.6); /* Fondo semi-transparente oscuro */
            justify-content: center; /* Centra el contenido del modal */
            align-items: center;
        }

        /* Contenido del nuevo Modal (la caja interna) */
        .msg-sugerencia-content {
            background-color: #1E2037; /* Color de fondo solicitado */
            color: #ffffff; /* Texto blanco para contraste */
            margin: 8% auto; 
            padding: 20px;
            border: 1px solid #888;
            width: 80%; 
            max-width: 400px; /* Tamaño conforme/compacto */
            border-radius: 8px;
            position: relative; /* Necesario para posicionar la X */
        }

        /* Botón de cerrar (la X en la esquina) */
        .msg-sugerencia-close {
            color: #aaa;
            float: right; 
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            position: absolute; 
            top: 10px;
            right: 15px;
        }

        .msg-sugerencia-close:hover, .msg-sugerencia-close:focus {
            color: white;
        }

        /* Estilos del formulario */
        .msg-sugerencia-textarea {
            width: 100%;
            height: 120px; 
            padding: 12px;
            margin: 15px 0 10px 0; 
            display: inline-block;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            resize: none; 
        }

        .msg-sugerencia-send-btn {
            background-color: #53A496; 
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
            font-size: 16px;
        }

        .msg-sugerencia-send-btn:hover {
            background-color: #45a049;
        }

/* Ajustes responsivos CPC */
#programa,
#informes {
        overflow-x: hidden;
}

#programa > .row,
#informes > .row {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
}

#programa .col-lg-3,
#informes .col-lg-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
}

#programa .col-lg-3 img,
#informes .col-lg-3 img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 260px;
        width: 85%;
}

.contact-container,
.contact-info,
.map-container {
        max-width: 100%;
        box-sizing: border-box;
}

.contact-info form,
.contact-info .form-group,
.contact-info input,
.contact-info textarea {
        max-width: 100%;
        box-sizing: border-box;
}

.contact-info input:not([type="submit"]),
.contact-info textarea {
        width: 100%;
}

.map-container {
        overflow: hidden;
}

.map-container iframe {
        display: block;
        width: 100% !important;
        max-width: 100%;
}

@media (max-width: 425px) {
        #programa,
        #informes {
                padding-left: 15px;
                padding-right: 15px;
        }

        #programa > .row,
        #informes > .row {
                width: 100%;
                margin-left: 0;
                margin-right: 0;
        }

        #programa .col-lg-3,
        #informes .col-lg-3 {
                width: 100%;
                padding-left: 0;
                padding-right: 0;
                text-align: center;
        }

        #programa .col-lg-3 img,
        #informes .col-lg-3 img {
                width: min(85%, 260px);
        }

        .contact-container {
                width: 100%;
                padding-left: 15px;
                padding-right: 15px;
                overflow-x: hidden;
        }

        .contact-info {
                width: 100%;
                min-width: 0;
        }

        .contact-info a {
                overflow-wrap: anywhere;
        }

        .g-recaptcha {
                transform: scale(0.86);
                transform-origin: left top;
                margin-bottom: -10px;
        }

        .map-container {
                width: 100%;
                margin-left: 0;
                margin-right: 0;
        }

        .map-container iframe {
                height: auto !important;
                aspect-ratio: 16 / 9;
        }
}

@media (max-width: 350px) {
        .g-recaptcha {
                transform: scale(0.78);
                margin-bottom: -18px;
        }
}
