body,
html {
  height: 95%;
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
}
/*RESET*/
* {
  margin: 0;
  padding: 0;
}
/*HEADER*/
header {
  font-family: "Roboto", sans-serif;
  height: 110px;
  background-color: #621132;
  padding: 0 50px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  box-sizing: border-box;
  /* overflow: hidden; */ /* Comenta o elimina esta línea */
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.transparent-header {
  background-color: #6211318b; /* Aquí se establece la transparencia a 0 */ /* Establece el color de fondo transparente */
}
header > * {
  /* selecciona todos los elementos hijos directos dentro del elemento <header>. */
  max-width: calc(100% - 100px); /* Ajustar el ancho máximo del contenido */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 20px;
  font-weight: bold;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 10px 10px 10px; /* Ajusta el padding según tus preferencias */
}

.logo img {
  width: 60px;
  height: 60px;
  text-align: center;
}

.logo p {
  font-size: 8px;
  font-weight: bold;
  text-align: center;
  color: silver;
  letter-spacing: 1px;
}

/*COMIENZA LO DEL MENU */
.mostrar-menu,
.esconder-menu {
  font-size: 40px;
  cursor: pointer;
  display: none;
  transition: 0.4s;
}
.mostrar-menu {
  order: 1;
}
.mostrar-menu:hover {
  color: #ebc208;
}
/* Cuando el elemento está activo (se ha hecho clic en él) */

.menu a:last-child {
  margin-right: 0px;
}

#check {
  display: none;
}

/* submenu de municipio */
.iconodespliegue {
  display: flex;
  align-items: center;
  justify-content: center;
}

#flechaAbajo {
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 10px;
  border-bottom-width: 0px;
  border-color: rgb(235, 235, 247) transparent transparent transparent;
  cursor: pointer;
  padding-bottom: 6px;
}

.menu_links {
  list-style-type: none;
  margin: 0;
  padding: 3px;
  align-items: center;
}

.menu_links > li {
  display: inline-block;

  background: linear-gradient(
    to bottom,
    #621131f3,
    #10003621
  ); /* Degradado de color */
  border-radius: 8px;
  margin-right: 5px;
}

.menu_links li a {
  display: block;
  padding: 8px 5px 8px 5px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  transition: 0.4s;
}
.menu_links > li:hover > a:not(.submenu) {
  background-color: #437207;
  border-radius: 8px;
  color: #e3ee0d;
}
.iconodespliegue:hover,
.iconodespliegue:hover a {
  background-color: #437207;
  border-radius: 8px;
  color: #e3ee0d;
}

/* submenu de municipio */

.submenu {
  display: none;
  position: absolute;
  background-color: #100036;
  pointer-events: painted;
}

.menu_links li :hover .submenu {
  display: block;
}

.submenu li {
  display: block;
  font-size: 15px;
}

.submenu li a {
  padding: 10px;
  color: #fff;
  text-decoration: none;
}

.submenu li:hover {
  background-color: #ebc108ae;
  cursor: pointer;
}

/*IDIOMA SELECT*/

/* Estilo para el elemento select */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  background-size: 15px; /* Ajusta el tamaño de fondo de la imagen */
  padding: 0 10px 0 10px; /* Añade un espacio a la izquierda para la imagen */
  background-repeat: no-repeat; /* Evita la repetición de la imagen */
  width: 100%; /* Ajusta el ancho de la opción */
}

/* Ajusta el tamaño de la imagen en las opciones individuales */
.select2-results__option img {
  width: 20px !important; /* Ajusta el tamaño específico de la imagen */
}

.menu_links li #languageSelector {
  width: 157px; /* Ajusta el ancho según sea necesario */
}

#languageSelector option {
  padding-left: 40px; /* Ajusta el espacio entre la imagen y el texto según sea necesario */
}
#languageSelector option[data-translation-key="Spanish"]::before {
  content: url("../imagenes/BanderaMexico.png");
  margin-right: 10px; /* Espacio entre la imagen y el texto */
}

#languageSelector option[data-translation-key="English"]::before {
  content: url("../imagenes/banderaEU.jpg");
  margin-right: 10px; /* Espacio entre la imagen y el texto */
  width: 50px;
}

#languageSelector option[data-translation-key="Portuguese"]::before {
  content: url("../imagenes/banderaBrazil.png");
  margin-right: 10px; /* Espacio entre la imagen y el texto */
}

/* Estilo para las opciones del menú desplegable */
.img-flag {
  width: 20px; /* Ajusta el tamaño de las banderas según sea necesario */
  margin-right: 5px; /* Espacio entre la bandera y el texto */
}
/*----------*/


/*BANNER*/
section {
  display: flex;
  justify-content: center;
}
#banner {
  margin-top: 100px;
  padding: 0 50px;
  background-image: url(../imagenes/SanMarcosAyuntamiento.jpeg);
  height: 100vh;
  background-size: cover;
  background-position: center;
  z-index: 1; /* Ajusta el valor del z-index para que el banner esté por debajo del submenú */
}
#banner::before {
  content: "";
 background: rgb(195 202 192 / 25%);
  position: absolute;
  width: 100%;
  height: 100vh;
  left: 0;
}
.contenido-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.contenido-banner .contenedor_escudo_isotipo {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.contenido-banner .escudoSnMarcos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  letter-spacing: 2px;
}

.contenido-banner .escudoSnMarcos img {
  width: 190px;
  height: 188px;
  z-index: 3;
}
.contenido-banner .escudoSnMarcos h2 {
  text-align: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  width: 90%;
  z-index: 3;
}

.contenido-banner .isotipoSanMarcos {
  display: flex;
  z-index: 3;
  padding-bottom: 66px;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  letter-spacing: 2px;
}
.contenido-banner .isotipoSanMarcos img {
  width: 250px;
  height: 150px;
  background: linear-gradient(
    to bottom,
    rgb(255 255 255 / 0%),
    rgb(255 255 255 / 0%)
  );
  filter: hue-rotate(354deg);
  border-radius: 20px;
}
.contenido-banner .isotipoSanMarcos {
  color: white;
  text-align: center;
  z-index: 3;
  list-style: 20px;
}
.contenido-banner .isotipoSanMarcos h2 #text-SanMarcos {
  color: rgb(251, 249, 249);
  font-size: 25px;
  font-weight: bold;
}
.contenido-banner .isotipoSanMarcos h2 #text-SanMarcosAloGrande {
  color: rgb(255, 255, 255);
  font-size: 35px;
  font-weight: bold;
}
.contenido-banner .isotipoSanMarcos h2 #text-periodo {
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: bold;
}
.contenido-banner .imgsanmarcosAlogrande {
  padding: 10px; /* Añade un espaciado alrededor del texto */
  font-size: 20px; /* Ajusta el tamaño de fuente según tus preferencias */
  color: #333; /* Cambia el color del texto a tu elección */
  z-index: 3;
}

.contenido-banner .imgsanmarcosAlogrande img {
  width: 100%; /* Establece el ancho al 100% del contenedor */
  max-height: 400px; /* Establece la altura máxima deseada */
  filter: hue-rotate(45deg);
  transition: filter 0.3s ease-in-out;
  transform: scale(1); /* Escala inicial (sin zoom) */
}

.contenido-banner .imgsanmarcosAlogrande img:hover {
  transform: scale(1.1) translate(5px, 5px); /* Aplica un zoom y un pequeño desplazamiento al hacer hover */
  filter: hue-rotate(0deg); /* Restaura el tono original */
  transition: transform 0.3s ease-in-out; /* Agrega una transición suave de transformación */
}

/*MENSAJE PRESIDENTE*/
.logo-san_marcos {
  text-align: center;
}
.logo-san_marcos img {
  width: 174px;
  height: 166px;
}
.mensaje-presidente {
  display: flex;
  background-color: #f4f5f7;
  width: auto;
  justify-content: center;
  padding: 85px 0 85px 0;
  align-items: center;
  flex-wrap: nowrap;
}
.contenedor_mensaje {
  width: 58%;
  padding: 0px 80px 0px 20px;
}
.mensaje-presidente
  .mensaje-fotopresidente
  .contenedor_mensaje
  .conoce_tu_alcalde
  h2,
.nombre_alcalde h3,
.mensaje p {
  text-align: center;
}
.contenedor_mensaje #parrafo-presidente {
  text-align: justify;
}
.mensaje-fotopresidente {
  display: flex;
  align-items: flex-end;
  max-width: 1250px;
  align-items: center;
}
.contenedor_mensaje p {
  line-height: 2rem;

  font-family: "Manrope", sans-serif;
  font-size: 17px;
  color: #00102e;
  font-weight: 700;
}
/*Cambio al paso del cursor en la imagen presidente*/
.foto-presidente {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: relative;
  padding: 20px 20px 0px 20px;
}
.foto-presidente .image:hover {
  background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro y transparente */
}
.foto-presidente img {
  max-width: 100%;
  height: auto;
}

.foto-presidente .image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
  mask-image: 
        linear-gradient(to top, transparent, black 20%), /*Transparencia abajo*/
        linear-gradient(to bottom, transparent, black 5%), /*Transparencia arriba*/
        linear-gradient(to left, transparent, black 20%), /*Transparencia izquierdo*/
        linear-gradient(to right, transparent, black 20%); /*Transparencia derecho*/
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

.fotopresidente {
  mask-image: 
        linear-gradient(to top, transparent, black 20%), /*Transparencia abajo*/
        linear-gradient(to bottom, transparent, black 5%), /*Transparencia arriba*/
        linear-gradient(to left, transparent, black 20%), /*Transparencia izquierdo*/
        linear-gradient(to right, transparent, black 20%); /*Transparencia derecho*/
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
}

.linkCurricular {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.foto-presidente:hover .image {
  opacity: 0.7;
}

.foto-presidente:hover .linkCurricular {
  opacity: 1;
}

.texto {
  background-color: #8508088a;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
}
.texto:hover {
  background-color: #0d11e69a;
}

/*//////////////////////////////////////////////*/
.conoce_tu_alcalde {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
}

.conoce_tu_alcalde h2 {
  margin: 0; /* Elimina el margen por defecto del encabezado */
  position: relative;
}

.conoce_tu_alcalde::before,
.conoce_tu_alcalde::after {
  content: url("../imagenes/estrella.svg");
}

.conoce_tu_alcalde::before {
  left: -30px; /* Ajusta la posición de la estrella izquierda */
}

.conoce_tu_alcalde::after {
  right: -30px; /* Ajusta la posición de la estrella derecha */
}

.conoce_tu_alcalde h2 {
  color: #73122d;
  font-family: "Roboto", sans-serif;
}
.nombre_alcalde {
  margin: 10px;
}
.nombre_alcalde h3 {
  font-family: "Waterfall", Sans-serif;
  font-size: 45px;
  color: #030460;
}
.nombre_alcalde .linea-colores {
  text-align: center;
}
.nombre_alcalde .linea-colores img {
  width: 90%;
  height: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.mensaje p {
  margin: 10px;
}

/*separador de cada apartado playa*/
.img-separador {
  background-image: url("../imagenes/playa.jpeg");
  display: flex;
  align-items: center;
  width: auto;
  height: auto; /* Porcentaje de altura en relación con el elemento padre */
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;

  justify-content: space-around;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}
.contenedor_SmarcoAloGrande .logo_san_marcos_alogrande {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.img-separador .logo_san_marcos_alogrande img {
  width: 150px;
  height: 150px;
}
.contenedor_SmarcoAloGrande .logo_san_marcos_alogrande .Titulo-año {
  width: 100%;
  color: #ffffff;
  padding: 10px; /* Agrega un espaciado interno */
  background-color: #16161527; /* Agrega un fondo de color */
  border-radius: 8px; /* Añade bordes redondeados */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Agrega una sombra suave */
  transition: background-color 0.3s ease-in-out; /* Agrega una transición de color de fondo */
}
.contenedor_SmarcoAloGrande .logo_san_marcos_alogrande h2 {
  font-size: 15px; /* Aumenta el tamaño de fuente */
  font-weight: 700; /* Hace el texto más audaz */
  text-align: center;
  letter-spacing: 2px;
}

.contenedor_SmarcoAloGrande .logo_san_marcos_alogrande .Titulo-año:hover {
  background-color: #0000004f; /* Cambia el color de fondo al hacer hover */
}

.contenedor_SmarcoAloGrande {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

/*SEPARADOR DE SEGURIDAD PUBLICA*/
.img-separador-seguridad-publica {
  background-image: url("../imagenes/autopolicia.jpg");
  display: flex;
  align-items: center;
  width: auto;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  justify-content: space-around;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}
.contenedor_SmarcoAloGrande-policia {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  align-items: center;
  justify-content: center;
  background-color: #00000071;
}
.contenedor_SmarcoAloGrande-policia img {
  width: 150px;
  height: 150px;
  margin: 1.5rem 0 0 0;
}
.contenedor_SmarcoAloGrande-policia p {
  color: #ffffff;
  font-size: 28px;
  font-weight: 500;
  text-shadow: 1px 3px 1px #43059e;
  text-align: center;
}

.logo-policia {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

/*APARTADO DE SEGURIDAD PUBLICA SAN MARCOS y DIF*/
.Seguridad-publica {
  background-color: #03021c;
  width: 100%;
}
.DIF-MunicipalSanMarcos {
  display: flex;
  background-color: transparent;
  background-image: linear-gradient(298deg, #0a2496 9%, #a10b68 80%);
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.DIF-MunicipalSanMarcos .encabezado-DIF h1 {
  width: 80%;
  color: white;
  text-align: center;
}
.Seguridad-publica h1 {
  text-align: center;
  font-size: 35px;
  font-family: "Manrope", sans-serif;
  margin: 2rem;
  color: #fff;
}
.Seguridad-sanmarcos,
.DIF-Municipal-SanMarcos {
  padding: 0 40px 40px 40px;
}
.contenedor-seguridad-municipal,
.contenedor-DIF-municipal {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  align-content: center;
}
.contenedor-seguridad-municipal > div,
.contenedor-DIF-municipal > div {
  flex: 1;
  flex-basis: 2;
}
.contenedor-seguridad-municipal img,
.contenedor-DIF-municipal img {
  max-width: 100%;
  max-height: 100%;
  width: auto; /* Añadir esta propiedad para mantener la proporción */
  height: auto; /* Añadir esta propiedad para mantener la proporción */
}
.DIF-MunicipalSanMarcos .contenedor-DIF-municipal .Areas-DIF,
.Seguridad-sanmarcos .contenedor-seguridad-municipal .Policia-Municipal,
.Proteccion-civil,
.Transito-municipal {
  margin: 2px;
}
/*Deslizo en superposición desde la izquierda*/

.DIF-MunicipalSanMarcos .contenedor-Areas-DIF {
  display: flex;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;
  margin: 5px 3px 5px 5px;
  background-color: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: center;
  padding: 2px 2px 7px 2px;
}
.Seguridad-sanmarcos .contenedor-policia-municipal,
.Seguridad-sanmarcos .contenedor-proteccion-civil,
.Seguridad-sanmarcos .contenedor-transito-municipal {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;
  margin: 5px 3px 5px 5px;
  background-color: #fff;
}
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-Areas-DIF
  .Areas-DIF,
.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-policia-municipal
  .Policia-Municipal,
.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-proteccion-civil
  .Proteccion-civil,
.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-transito-municipal
  .Transito-municipal {
  position: relative;
  display: flex;
  flex-direction: column;
}
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-descripcion-AreasDIF-Psicologia {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #05365ea1;
  overflow: hidden;
  transition: 0.5s ease;
  width: 0;
  height: 100%;
  display: flex;
}
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-descripcion-AreasDIF-Fisioterapia {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #413700a1;
  overflow: hidden;
  transition: 0.5s ease;
  width: 0;
  height: 100%;
  display: flex;
}
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-descripcion-AreasDIF-Discapacidad {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #640444a1;
  overflow: hidden;
  transition: 0.5s ease;
  width: 0;
  height: 100%;
  display: flex;
}
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-descripcion-AreasDIF-Odontologia {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #625e64a1;
  overflow: hidden;
  transition: 0.5s ease;
  width: 0;
  height: 100%;
  display: flex;
}

.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-descripcion-seguridad-policia {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0b099a93;
  overflow: hidden;
  transition: 0.5s ease;
  width: 0;
  height: 100%;
  display: flex;
}
.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-descripcion-seguridad-proteccion-civil {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(101, 18, 3, 0.561);
  overflow: hidden;
  transition: 0.5s ease;
  width: 0;
  height: 100%;
  display: flex;
}
.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-descripcion-seguridad-transito {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #01010693;
  overflow: hidden;
  transition: 0.5s ease;
  width: 0;
  height: 100%;
  display: flex;
}
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-Areas-DIF
  .Areas-DIF:hover
  .contenedor-descripcion-AreasDIF-Psicologia,
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-Areas-DIF
  .Areas-DIF:hover
  .contenedor-descripcion-AreasDIF-Fisioterapia,
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-Areas-DIF
  .Areas-DIF:hover
  .contenedor-descripcion-AreasDIF-Discapacidad,
.DIF-Municipal-SanMarcos
  .contenedor-DIF-municipal
  .contenedor-Areas-DIF
  .Areas-DIF:hover
  .contenedor-descripcion-AreasDIF-Odontologia,
.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-policia-municipal
  .Policia-Municipal:hover
  .contenedor-descripcion-seguridad-policia,
.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-proteccion-civil
  .Proteccion-civil:hover
  .contenedor-descripcion-seguridad-proteccion-civil,
.Seguridad-sanmarcos
  .contenedor-seguridad-municipal
  .contenedor-transito-municipal
  .Transito-municipal:hover
  .contenedor-descripcion-seguridad-transito {
  width: 100%;
}

.contenedor-DIF-municipal
  .contenedor-descripcion-AreasDIF-Psicologia
  .text-descripcion-Areas,
.contenedor-DIF-municipal
  .contenedor-descripcion-AreasDIF-Fisioterapia
  .text-descripcion-Areas,
.contenedor-DIF-municipal
  .contenedor-descripcion-AreasDIF-Discapacidad
  .text-descripcion-Areas,
.contenedor-DIF-municipal
  .contenedor-descripcion-AreasDIF-Odontologia
  .text-descripcion-Areas {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  color: #ffff;
  justify-content: center;
  padding: 20px;
  font-size: 15px;
}

.contenedor-seguridad-municipal
  .contenedor-descripcion-seguridad-policia
  .text-descripcion,
.contenedor-seguridad-municipal
  .contenedor-descripcion-seguridad-proteccion-civil
  .text-descripcion,
.contenedor-seguridad-municipal
  .contenedor-descripcion-seguridad-transito
  .text-descripcion {
  display: flex;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
  color: #ffff;
  justify-content: center;
  padding: 20px;
  font-size: 25px;
}
.contenedor-descripcion-AreasDIF-Odontologia
  .text-descripcion-Areas
  .texto-Areas
  h3,
.contenedor-descripcion-AreasDIF-Discapacidad
  .text-descripcion-Areas
  .texto-Areas
  h3,
.contenedor-descripcion-AreasDIF-Fisioterapia
  .text-descripcion-Areas
  .texto-Areas
  h3,
.contenedor-descripcion-AreasDIF-Psicologia
  .text-descripcion-Areas
  .texto-Areas
  h3 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 25px;
}
.contenedor-descripcion-AreasDIF-Odontologia .text-descripcion-Areas p,
.contenedor-descripcion-AreasDIF-Discapacidad .text-descripcion-Areas p,
.contenedor-descripcion-AreasDIF-Fisioterapia .text-descripcion-Areas P,
.contenedor-descripcion-AreasDIF-Psicologia .text-descripcion-Areas p {
  font-size: 15px;
  font-weight: 500;
  text-align: justify;
}

.contenedor-descripcion-seguridad-policia .text-descripcion .texto-policia h3,
.contenedor-descripcion-seguridad-proteccion-civil
  .text-descripcion
  .texto-proteccion-civil
  h3,
.contenedor-descripcion-seguridad-transito
  .text-descripcion
  .texto-transito
  h3 {
  font-size: 25px;
  text-align: center;
  margin-bottom: 15px;
}
.contenedor-descripcion-seguridad-policia .text-descripcion p,
.contenedor-descripcion-seguridad-proteccion-civil .text-descripcion p,
.contenedor-descripcion-seguridad-transito .text-descripcion p {
  font-size: 17px;
  font-weight: 500;
  text-align: justify;
}
.contenedor-Areas-DIF .encabezado-gral,
.contenedor-policia-municipal .encabezado-policia,
.contenedor-policia-municipal .telefono_policia,
.contenedor-proteccion-civil .encabezado-proteccion-civil,
.contenedor-proteccion-civil .telefono_proteccion-civil,
.contenedor-transito-municipal .encabezado-transito,
.contenedor-transito-municipal .telefono_transito {
  text-align: center;
}
.contenedor-Areas-DIF .encabezado-gral h3,
.contenedor-policia-municipal .encabezado-policia h3,
.contenedor-proteccion-civil .encabezado-proteccion-civil h3,
.contenedor-transito-municipal .encabezado-transito h3 {
  font-size: 25px;
  font-weight: 700;
  padding: 20px 20px 0 20px;
}
.contenedor-policia-municipal .telefono_policia h3,
.contenedor-proteccion-civil .telefono_proteccion-civil h3,
.contenedor-transito-municipal .telefono_transito h3 {
  font-size: 25px;
  font-weight: 700;
  padding: 0 20px 20px 20px;
}
/*APARTADO DIF MUNICIPAL*/
.img-separador-DIF {
  width: 100%;
}

.contenedor_DIF {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  background-image: linear-gradient(298deg, #ffffff 60%, #c48dff 100%);
  opacity: 1;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}
.contenedor_DIF img {
  width: 205px;
  height: 241px;
}
.logo-DIF {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}
.encabezado-DIF {
  display: flex;
  padding: 50px;
  align-items: center;
  justify-content: center;
  width: auto;
}

/*-------------------------------------*/

/*APARTADO DE CARRUSEL*/
/* Slideshow container */
.contenedorNoticias {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.Noticias {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #0cb17e, #fb0604);
}

.contenedor-carrusel-noticias {
  max-width: 100%;
  background-color: #fff;
  display: flex; /* Para centrar la imagen verticalmente */
  align-items: center; /* Para centrar la imagen verticalmente */
  justify-content: center; /* Para centrar la imagen horizontalmente */
  flex-direction: column;
  padding: 0px 0px 80px;
}
.contenedor-carrusel-noticias .contenido-carrusel-noticias {
  width: 80%;
  display: flex;
  justify-content: center;
  margin: 2rem;
}

.contenedor-carrusel-noticias .Noticias h1 {
  text-align: center;
  margin: 1.3rem;
  font-family: "Manrope", sans-serif;
  font-weight: 900;
  color: #ffffff;
  font-size: 56px;
  text-shadow: 9px 3px 10px #040670;
}
.contenedor-carrusel-noticias .text-noticias {
  display: flex;
  justify-content: center; /* Centrar horizontalmente */
  text-align: center;
  line-height: 1.5; /* Aplicar interlineado de 1.5 veces el tamaño de fuente */
}

.contenedor-carrusel-noticias .text-noticias p {
  max-width: 80%; /* Ajustar el ancho máximo del párrafo */
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
  text-align: justify; /* Centrar verticalmente */
}
.Noticias .linea-colores {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.Noticias .linea-colores img {
  width: 30%;
  height: 5px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: 20px;
}
/* imagenes del carrusel*/

/* ESTILOS PARA IMAGENES DEL CARUSEL */
.contenido-carrusel-noticias .contenedor-imagenes-actividades {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Oculta cualquier contenido que exceda el contenedor */
}

.contenedor-carrusel-noticias
  .contenido-carrusel-noticias
  .contenedor-imagenes-actividades
  .carrusel-noticias
  img {
  width: 1000px; /* Ancho fijo para todas las imágenes grandes */
  height: 610px; /* Altura fija para todas las imágenes grandes */
  object-fit: cover; /* Corta o llena el espacio según la relación de aspecto */
}

/*botones para mover el carrusel */
.flecha-atras,
.flecha-siguiente {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: #ffffff; /* Cambia el color según tus preferencias */
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none; /* Para Safari 3+, Safari en iOS 3+ */
  user-select: none; /* Propiedad sin prefijo para navegadores compatibles */
  z-index: 3;
}
/* flechas */
.flecha-siguiente {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.flecha-atras:hover,
.flecha-siguiente:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.contenedor-carrusel-noticias .Noticias .boton-actividades {
  display: flex;
  justify-content: space-evenly;
  font-size: 25px;
  font-weight: 700;
  margin: 1rem 5rem;
}
.contenedor-carrusel-noticias .Noticias .boton-actividades a {
  border: rgb(147, 139, 139) solid;
  text-decoration: none;
  padding: 30px;
  border-radius: 5px;
  background-color: yellow;
  color: black;
}
.contenedor-carrusel-noticias .Noticias .boton-actividades a:hover {
  background-color: #43059e;
  color: #ffffff;
}

.mySlidescontenedor-imagen-titulo {
  display: none;
}

.contenedor-imagenes-titulo {
  max-width: 1200px;
  max-height: 650px;
  position: relative;
  margin: auto;
}

/* texto del carrusel*/

.imagen-oscura {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Cambia el valor alpha para ajustar la opacidad */
  z-index: 1;
}

/* ---------------------------Animación que se desvanece -----------------------------------*/

/* Imagen de la actividad en el carrusel */

/* Imagen de la actividad en el carrusel */
.imagen-actividad {
  position: relative;
  opacity: 1;
  transform: translateX(0); /* Ajusta el valor inicial */
  transition: opacity 1.5s ease-in-out, transform 1s ease-in-out; /* Ajusta el tiempo de transición */
}

/* Clase de salida para la animación de desvanecimiento y desplazamiento */
.imagen-actividad.salida {
  opacity: 0;
  transform: translateX(-100%);
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* Estilos para .contenedor-imagenes-titulo .contenedor-imagen .contenedor_Gral_btn_titulo */
.contenedor-imagenes-titulo .contenedor-imagen .contenedor_Gral_btn_titulo {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  flex-direction: column; /* Alinea verticalmente los elementos hijos */
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  width: 100%;
  height: 100%;
  z-index: 3;
}
.contenedor-imagenes-titulo .contenedor-imagen .contenedor_titulo_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  z-index: 3;
  color: #fff;
  flex-direction: column;
  width: 88%;
  padding: 30px 0px 30px 0px;
}

.contenedor-imagenes-titulo
  .contenedor-imagen
  .contenedor_titulo_btn
  .contenedor-titulo
  p {
  font-size: 35px;
  color: #fff;
  z-index: 3;
  padding-bottom: 50px;
  font-weight: 600;
  font-family: serif;
  text-align: center;
}

.contenedor-imagenes-titulo .contenedor_titulo_btn #logo_san_marcos_carrusel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 15px;
}
.contenedor-imagenes-titulo
  .contenedor_titulo_btn
  #logo_san_marcos_carrusel
  img {
  width: 125px;
  height: auto;
}
.contenedor-imagenes-titulo .contenedor_titulo_btn #logo_san_marcos_carrusel p {
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 8px;
  font-weight: 500;
  text-shadow: 0px 4px 4px #43059e;
  letter-spacing: 2px;
}

/*Apartado de Botn actividad*/

.active {
  background-color: #717171;
}

.contenedor-imagenes-titulo
  .contenedor-imagen
  .contenedor_titulo_btn
  .btn_actividad_individual
  a {
  border: rgb(147, 139, 139) solid;
  text-decoration: none;
  padding: 13px;
  border-radius: 5px;
  color: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  z-index: 6;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 9px 3px 10px #000000;
}
/* Botones de colores*/
/* Definir clases para los colores */
.color-amarillo {
  background-color: #bba10c;
}

.color-verde {
  background-color: #002400;
}

.color-marron {
  background-color: #573c01;
}

.color-rojo {
  background-color: #940505;
}

.color-azul {
  background-color: #180669;
}

/* Efecto hover para las clases de colores */
.color-amarillo:hover {
  background-color: #929006;
}

.color-verde:hover {
  background-color: #045504;
}

.color-marron:hover {
  background-color: #7a5607;
}

.color-rojo:hover {
  background-color: #ac0707;
}

.color-azul:hover {
  background-color: #1d0681;
}
/*Con librerias swuiper*/
/* para segundo carousel el de archivos */
.contenedorPrincipal-Carousel {
  display: flex;
  width: auto;
  padding: 50px;
}

.carousel-container {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 15px; /* Agrega esquinas redondeadas */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Agrega una sombra suave */
  padding: 14px 44px; /* Aumenta el espacio interno */
  background-color: #fff; /* Cambia el color de fondo */
}

/* Estilos para el contenedor de Swiper */
.swiper-container {
  overflow: hidden;
}
.Paginacion {
  padding-top: 10px;
}
/* Estilos para los slides del carrusel */

.swiper-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid turquoise;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.3s ease;
  margin-right: 10px;
  margin-left: 10px;
}
/* Estilos para la imagen dentro de cada slide */

.swiper-slide img {
  width: 100%; /* Ajusta el ancho de la imagen según tus necesidades */
  height: 300px;
}

/* Estilos para los botones de navegación (opcional) */
.swiper-button-prev,
.swiper-button-next {
  font-size: 20px;
  color: #ffffff;
  background-color: #333;
  padding: 10px;
  border-radius: 5px;
}

/* Estilos adicionales para las flechas de navegación de Swiper */
.swiper-button-prev::after,
.swiper-button-next::after {
  content: "\2039"; /* Código Unicode para la flecha izquierda '\2039' y la flecha derecha '\203A' */
}
/*APARTADO DE QUEJAS O SUGERENCIAS*/

.contenedor-quejas-sugerencias {
  display: flex;
  width: 100%;
  align-items: center;
  background-color: transparent;
  background-image: linear-gradient(298deg, #ffffff 42%, #c48dff 100%);
  opacity: 1;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  justify-content: space-evenly;
}

.contenedor-quejas-sugerencias .imagen-quejas-sugerencias img {
  max-width: 70%; /* Ancho máximo para la imagen */
  height: auto; /* Ajusta la altura de manera proporcional */
  opacity: 1;
}
.contenedor-quejas-sugerencias .texto-contacto-sugerencia p {
  font-size: 31px;
  font-weight: 600;
  text-align: center;
  padding: 15px 30px; /* Reduzco el relleno para que el texto no se desborde */
  margin: 0; /* Elimino el margen para un mejor ajuste */
  flex: 1; /* Hace que el párrafo ocupe todo el espacio disponible */
}

.contenedor-quejas-sugerencias .boton-sugerenciasoquejas {
  display: flex;
  justify-content: flex-end; /* Para alinear el botón al extremo derecho */
  align-items: center; /* Para alinear los elementos verticalmente */
}

/* Estilos para el botón */
.contenedor-quejas-sugerencias .boton-sugerenciasoquejas a {
  display: flex;
  box-sizing: border-box;
  padding: 10px 20px; /* Reduzco el relleno del botón */
  color: black;
  font-size: 20px;
  background-color: yellow;
  text-decoration: none;
  font-weight: 500;
}

.contenedor-quejas-sugerencias .boton-sugerenciasoquejas a:hover {
  background-color: #43059e;
  color: #ffffff;
}

/*APARTADO DE PIE DE PAGINA*/

.pie_pagina {
  background-color: #621132;
  width: 100%;
}
.pie_pagina .contenedor_gral_pie_pagina {
  display: flex;
  padding: 20px;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.pie_pagina .contenedor_contacto {
  display: flex;

  flex-direction: row-reverse;
}
.pie_pagina .contenedor_contacto .contacto {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 15px;
  text-align: center;
}

.pie_pagina .contenedor_contacto .contacto p,
.pie_pagina .contenedor_contacto .contacto span {
  color: #fff;
  font-size: 18px;
  padding-left: 10px;
}
.pie_pagina .contenedor_contacto .contacto h3,
.numeros_emergencias .encabezado_emergencias h3 {
  padding: 10px;
  font-size: 27px;
  color: #fff;
}
.contenedor_contacto .contacto .iconotelefono {
  display: flex;
  margin: 4px;
}
.contenedor_contacto .contacto .iconotelefono img {
  width: 30px;
  height: 30px;
}
.pie_pagina .contenedor_contacto .ubicacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}
.pie_pagina .contenedor_contacto .ubicacion h3 {
  color: #fff;
  font-size: 27px;
  padding-bottom: 23px;
}
.pie_pagina .contenedor_contacto p {
  margin: 5px 20px 20px 20px;
}
.pie_pagina .contenedor_contacto img {
  width: 50px;
  height: 50px;
}
.pie_pagina .contenedor_contacto .contacto .direccion {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 20px;
}
.pie_pagina .copyrigh {
  text-align: center;
  color: #fff;
}
/*APARTADO DE CONTACTO*/
.contacto .redesSociales {
  margin: 2rem;
}

.redesSociales ul {
  list-style: none;
  padding: 0;
  display: flex;
}

.redesSociales li {
  margin-right: 10px; /* Espacio entre los íconos */
}

.redesSociales img {
  width: 40px; /* Ancho deseado para los íconos */
  height: auto; /* Ajusta automáticamente la altura para mantener la proporción */
}

.contenedor_contacto .contacto .redesSociales img:hover {
  transform: scale(
    1.2
  ); /* Aumenta el tamaño al 120% al pasar el cursor por encima */
  transition: transform 0.3s ease; /* Agrega una transición suave para animar el cambio de tamaño */
}

.contenedor_gral_pie_pagina .logo_footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contenedor_gral_pie_pagina .logo_footer img {
  width: 100px;
  height: 100px;
  text-align: center;
}
.contenedor_gral_pie_pagina .logo_footer p {
  color: #fff;
  text-align: center;
}
.contenedor_gral_pie_pagina .numeros_emergencias {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.contenedor_gral_pie_pagina .numeros_emergencias ul {
  display: flex;
  list-style: none;
}
.contenedor_gral_pie_pagina .numeros_emergencias ul li {
  padding: 10px;
}

.contenedor_gral_pie_pagina .numeros_emergencias ul li img {
  width: 136px;
  height: 83px;
  border-radius: 16px;
}

/*APARTADO DEL MAPA*/
.mapouter {
  position: relative;
  text-align: right;
  width: 100%;
}

.gmap_canvas {
  display: flex;
  overflow: hidden;
  background: none !important;
  width: 100%;
  align-items: center;
  border-radius: 20px;
}

.gmap_iframe {
  height: 300px !important;
}
/*-------------------------*/

/*Responsive*/
@media screen and (max-width: 768px) {
  /*-------------------------------------------------------*/

  /*HEADER*/

  .mostrar-menu,
  .esconder-menu {
    display: block;
  }
  .menu {
    position: fixed;
    width: 50%;
    height: 100vh;
    background-color: rgba(
      77,
      77,
      92,
      0.5
    ); /* Cambia el valor alpha (0.5) según tu preferencia */
    left: -100%;
    text-align: center;
    padding: 50px 0px;
    z-index: 100;
    transition: 0.8s;
    top: 110px;
  }

  .menu_links li .submenu li {
    padding: 4px;
  }
  .menu_links li .submenu li a {
    font-size: 13px;
  }
  .menu_links li a {
    font-size: 18px;
  }

  .esconder-menu {
    position: absolute;
    top: 110px;
    right: 40px;
  }
  #check:checked ~ .menu {
    left: 0;
  }
  .submenu-container {
    display: block; /* Mostrar el submenu en pantallas grandes */
  }
  .menu_links li {
    display: block;
    padding: 10px;
    background: none; /* Elimina el fondo en dispositivos móviles */
  }
  .submenu {
    position: relative;
    background-color: #10003665;
  }
  .menu_links li .iconodespliegue a {
    margin-right: 10px;
  }
  /*-------------------------------------------------------*/

  /* Mnesaje del presidente */
  .mensaje-presidente {
    padding: 35px 0 35px 0;
  }
  .contenedor_mensaje {
    padding: 10px;
  }
  .contenedor_mensaje .logo-san_marcos img {
    width: 120px;
    height: 120px;
  }
  .contenedor_mensaje .conoce_tu_alcalde h2 {
    font-size: 20px;
  }
  .contenedor-DIF-municipal {
    display: flex;
    flex-wrap: wrap;
  }
  .contenedor_mensaje .nombre_alcalde h3 {
    font-size: 30px;
  }
  .contenedor_mensaje .mensaje p {
    font-size: 14px; /* Ajusta el tamaño de fuente según tus preferencias */
  }

  .nombre_alcalde h3 {
    font-size: 24px; /* Ajusta el tamaño de fuente según tus preferencias */
  }
  .linkCurricular a {
    text-align: center;
  }
  .texto {
    display: flex;
    flex-wrap: wrap;
  }
  /*-------------------------------------------------------*/
  /*CAROUSEL NOTICIAS*/

  /*Noticias*/
  .contenedor-carrusel-noticias .text-noticias p {
    font-size: 15px;
  }
  .contenedor-carrusel-noticias .Noticias h1 {
    font-size: 40px;
  }

  .contenedor-imagenes-titulo
    .contenedor-imagen
    .contenedor_titulo_btn
    .contenedor-titulo
    p {
    font-size: 20px;
  }

  .contenedor-carrusel-noticias .contenido-carrusel-noticias {
    width: 80%;
  }
  .contenedor-carrusel-noticias
    .contenido-carrusel-noticias
    .contenedor-imagenes-actividades
    .carrusel-noticias
    img {
    width: 604px;
    height: 610px;
    object-fit: cover;
  }

  /*-------------------------------------------------------*/
  /*SEGURIDAD PUBLICA*/
  .contenedor-descripcion-seguridad-policia .text-descripcion .texto-policia h3,
  .contenedor-descripcion-seguridad-proteccion-civil
    .text-descripcion
    .texto-proteccion-civil
    h3,
  .contenedor-descripcion-seguridad-transito
    .text-descripcion
    .texto-transito
    h3 {
    font-size: 27px;
  }
  .contenedor-descripcion-seguridad-policia .text-descripcion p,
  .contenedor-descripcion-seguridad-proteccion-civil .text-descripcion p,
  .contenedor-descripcion-seguridad-transito .text-descripcion p {
    font-size: 22px;
  }
  .contenedor-seguridad-municipal {
    flex-direction: column; /* Cambia a un diseño de columna en pantallas pequeñas */
  }

  .contenedor-policia-municipal,
  .contenedor-proteccion-civil,
  .contenedor-transito-municipal {
    width: 75%; /* Ocupan el ancho completo en pantallas pequeñas */
  }
  /*-------------------------------------------------------*/

  /*DIF*/
  .contenedor-DIF-municipal {
    flex-direction: column; /* Cambia a un diseño de columna en pantallas pequeñas */
  }
  .DIF-MunicipalSanMarcos .contenedor-Areas-DIF {
    width: 80%;
  }
  .contenedor-descripcion-AreasDIF-Odontologia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Discapacidad
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Fisioterapia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Psicologia
    .text-descripcion-Areas
    .texto-Areas
    h3 {
    font-size: 22px;
  }
  .contenedor-descripcion-AreasDIF-Odontologia .text-descripcion-Areas p,
  .contenedor-descripcion-AreasDIF-Discapacidad .text-descripcion-Areas p,
  .contenedor-descripcion-AreasDIF-Fisioterapia .text-descripcion-Areas P,
  .contenedor-descripcion-AreasDIF-Psicologia .text-descripcion-Areas p {
    font-size: 19px;
  }
  /*CAROUSEL ARCHIVOS*/

  .carousel-container .carousel img {
    max-width: 100%;
    height: 220px;
    display: block;
  }

  .contenedorPrincipal-Carousel {
    padding: 30px;
  }
  .carousel-item {
    padding: 3px 5px;
  }
  /*PIE DE PAGINA*/

  .pie_pagina .contenedor_gral_pie_pagina {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    flex-direction: column-reverse;
    flex-wrap: wrap;
  }
  .pie_pagina .contenedor_contacto .contacto h3,
  .numeros_emergencias .encabezado_emergencias h3,
  .pie_pagina .contenedor_contacto .ubicacion h3 {
    font-size: 22px;
  }
  .contenedor_gral_pie_pagina .numeros_emergencias ul li img {
    width: 116px;
    height: 73px;
  }
  .pie_pagina .contenedor_contacto .contacto p,
  .pie_pagina .contenedor_contacto .contacto span {
    font-size: 15px;
  }
}
@media screen and (max-width: 690px) {
  .contenedor-imagenes-titulo .contenedor-imagen .contenedor_titulo_btn {
    width: 70%;
  }
  .flecha-siguiente {
    right: 9%;
  }
  .flecha-atras {
    left: 9%;
  }
  .contenedor-quejas-sugerencias {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
  }
  .contenedor-quejas-sugerencias .imagen-quejas-sugerencias {
    display: contents;
  }
  .contenedor-quejas-sugerencias .imagen-quejas-sugerencias img {
    max-width: 50%;
  }
  .contenedor-quejas-sugerencias .texto-contacto-sugerencia p {
    font-size: 20px;
  }
  .contenedor-quejas-sugerencias .boton-sugerenciasoquejas a {
    font-size: 17px;
  }
}

@media screen and (max-width: 480px) {
  .mensaje-fotopresidente {
    display: flex;
    flex-direction: column;
  }
  .contenedor_mensaje {
    width: 85%;
  }
  .contenedor-carrusel-noticias .Noticias .boton-actividades a {
    padding: 15px;
  }
  /*Carousel NOTICIAS*/
  .contenedor-carrusel-noticias .contenido-carrusel-noticias {
    width: 90%;
  }
  .contenedor-carrusel-noticias
    .contenido-carrusel-noticias
    .contenedor-imagenes-actividades
    .carrusel-noticias
    img {
    height: 600px;
  }
  .contenedor-imagenes-titulo .contenedor-imagen .contenedor_titulo_btn {
    width: 60%;
  }
  .flecha-siguiente {
    right: 14%;
  }
  .flecha-atras {
    left: 14%;
  }
  /*DIF*/

  .DIF-MunicipalSanMarcos .encabezado-DIF h1 {
    width: 100%;
  }

  /*Carousel ARCHIVOS*/

  .contenedorPrincipal-Carousel {
    padding: 20px;
  }
  .carousel-container .carousel img {
    height: 141px;
  }
  /*QUEJAS Y SUGERENCIAS*/
  .contenedor-quejas-sugerencias {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
  }
  .contenedor-quejas-sugerencias .imagen-quejas-sugerencias {
    display: contents;
  }
  .contenedor-quejas-sugerencias .imagen-quejas-sugerencias img {
    max-width: 50%;
  }
  .contenedor-quejas-sugerencias .texto-contacto-sugerencia p {
    font-size: 20px;
  }
  .contenedor-quejas-sugerencias .boton-sugerenciasoquejas a {
    font-size: 17px;
  }
  /*PIE DE PAGINA*/
  .contenedor_gral_pie_pagina .logo_footer p {
    font-size: 10px;
  }
  .pie_pagina .contenedor_contacto .contacto h3,
  .numeros_emergencias .encabezado_emergencias h3,
  .pie_pagina .contenedor_contacto .ubicacion h3 {
    font-size: 15px;
  }
  .contenedor_gral_pie_pagina .numeros_emergencias ul li img {
    width: 75px;
    height: 54px;
  }
  .pie_pagina .contenedor_contacto .contacto p,
  .pie_pagina .contenedor_contacto .contacto span {
    font-size: 13px;
    margin: 2px;
  }
  .contenedor_contacto .contacto .iconotelefono img {
    width: 15px;
    height: 15px;
  }
  .pie_pagina .contenedor_contacto img {
    width: 40px;
    height: 40px;
  }
  .pie_pagina .copyrigh p {
    font-size: 13px;
  }
  .pie_pagina .contenedor_contacto {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 430px) {
  /*mensaje presidente*/
  .contenedor_mensaje {
    width: 90%;
  }
  .foto-presidente {
    width: 65%;
  }
  .menu_links li a {
    font-size: 15px;
  }
  .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding: inherit;
  }

  /*carousel*/

  .contenedor-imagenes-titulo .contenedor-imagen .contenedor_titulo_btn {
    width: 50%;
  }
  .flecha-atras {
    left: 18%;
  }
  .flecha-siguiente {
    right: 18%;
  }

  /*carousel archivos*/

  .carousel-container .carousel img {
    height: 131px;
  }
  .carousel-item {
    padding: 0px 4px;
  }
  /*DIF y seguridad*/

  .contenedor-descripcion-seguridad-policia .text-descripcion p,
  .contenedor-descripcion-seguridad-proteccion-civil .text-descripcion p,
  .contenedor-descripcion-seguridad-transito .text-descripcion p {
    font-size: 20px;
  }
  .contenedor-descripcion-AreasDIF-Odontologia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Discapacidad
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Fisioterapia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Psicologia
    .text-descripcion-Areas
    .texto-Areas
    h3 {
    font-size: 20px;
  }

  .contenedor-descripcion-AreasDIF-Odontologia .text-descripcion-Areas p,
  .contenedor-descripcion-AreasDIF-Discapacidad .text-descripcion-Areas p,
  .contenedor-descripcion-AreasDIF-Fisioterapia .text-descripcion-Areas P,
  .contenedor-descripcion-AreasDIF-Psicologia .text-descripcion-Areas p {
    font-size: 18px;
  }

  .Seguridad-sanmarcos,
  .DIF-Municipal-SanMarcos {
    padding: 0 25px 25px 25px;
  }
  .contenedor-descripcion-AreasDIF-Odontologia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Discapacidad
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Fisioterapia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Psicologia
    .text-descripcion-Areas
    .texto-Areas
    h3 {
    margin-bottom: 14px;
  }
  .Seguridad-sanmarcos .contenedor-policia-municipal,
  .Seguridad-sanmarcos .contenedor-proteccion-civil,
  .Seguridad-sanmarcos .contenedor-transito-municipal {
    width: 100%;
  }
  .DIF-MunicipalSanMarcos .contenedor-Areas-DIF {
    width: 100%;
  }
  .contenedor-quejas-sugerencias .imagen-quejas-sugerencias {
    display: contents;
  }
  .contenedor-quejas-sugerencias .imagen-quejas-sugerencias img {
    max-width: 50%;
  }
  .contenedor-quejas-sugerencias {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
  }
  /*Pie de pagina*/
  .contenedor_gral_pie_pagina .numeros_emergencias ul li {
    padding: 3px;
  }

  /*PIE DE PAGINA*/
  .contenedor_gral_pie_pagina .numeros_emergencias {
    width: 100%;
  }
  .pie_pagina .contenedor_contacto {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 390px) {
  /*MENU*/
  .menu_links li a {
    font-size: 14px;
  }
  .menu_links li .submenu li a {
    font-size: 12px;
  }
  .menu_links li .submenu li {
    display: flex;
    padding: 0px;
  }
  .menu_links li {
    padding: 6px;
  }
  /*Noticias*/
  .Noticias .linea-colores img {
    width: 60%;
  }
  .contenedor-carrusel-noticias .Noticias .boton-actividades {
    margin: 1rem;
    font-size: 20px;
  }
  .contenedor-carrusel-noticias .Noticias .boton-actividades a {
    width: 80%;
    padding: 15px;
  }

  /*Mensaje y Foto Presidente*/
  .foto-presidente {
    width: 70%;
  }
  .mensaje-fotopresidente {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contenedor_mensaje {
    width: auto;
  }
  /*CAROUSEL NOTICIAS*/

  /*Noticias*/
  .contenedor-carrusel-noticias .text-noticias p {
    font-size: 15px;
  }
  .contenedor-carrusel-noticias .Noticias h1 {
    font-size: 40px;
  }

  .contenedor-imagenes-titulo
    .contenedor-imagen
    .contenedor_titulo_btn
    .contenedor-titulo
    p {
    font-size: 20px;
  }

  .contenedor-carrusel-noticias .contenido-carrusel-noticias {
    width: 95%;
    height: 545px;
  }
  .contenedor-imagenes-titulo .contenedor-imagen .contenedor_titulo_btn {
    width: 45%;
  }
  .flecha-siguiente {
    right: 21%;
  }
  .flecha-atras {
    left: 21%;
  }
  /*-------------------------------------------------------*/
  /*Segurridad publicA*/
  .contenedor-policia-municipal,
  .contenedor-proteccion-civil,
  .contenedor-transito-municipal {
    width: 100%;
  }
  .contenedor-descripcion-seguridad-policia .text-descripcion .texto-policia h3,
  .contenedor-descripcion-seguridad-proteccion-civil
    .text-descripcion
    .texto-proteccion-civil
    h3,
  .contenedor-descripcion-seguridad-transito
    .text-descripcion
    .texto-transito
    h3 {
    font-size: 23px;
  }
  .contenedor-descripcion-seguridad-policia .text-descripcion p,
  .contenedor-descripcion-seguridad-proteccion-civil .text-descripcion p,
  .contenedor-descripcion-seguridad-transito .text-descripcion p {
    font-size: 19px;
  }
  /*DIF*/
  .DIF-MunicipalSanMarcos .encabezado-DIF h1 {
    font-size: 26px;
  }
  .encabezado-DIF {
    padding: 5px;
  }
  .DIF-MunicipalSanMarcos .contenedor-Areas-DIF {
    width: 100%;
  }

  .contenedor-descripcion-AreasDIF-Odontologia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Discapacidad
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Fisioterapia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Psicologia
    .text-descripcion-Areas
    .texto-Areas
    h3 {
    font-size: 19px;
  }
  .contenedor-descripcion-AreasDIF-Odontologia .text-descripcion-Areas p,
  .contenedor-descripcion-AreasDIF-Discapacidad .text-descripcion-Areas p,
  .contenedor-descripcion-AreasDIF-Fisioterapia .text-descripcion-Areas P,
  .contenedor-descripcion-AreasDIF-Psicologia .text-descripcion-Areas p {
    font-size: 16px;
  }
  /*Carousel archivos*/

  .contenedorPrincipal-Carousel {
    padding: 10px;
  }
  .swiper-slide img {
    width: 100%;
    height: 220px;
  }

  /*quejas y sugerencias*/
  .contenedor-quejas-sugerencias .boton-sugerenciasoquejas a {
    font-size: 13px;
    margin-right: 0.5rem;
    padding: 8px 12px;
  }

  .contenedor-quejas-sugerencias .texto-contacto-sugerencia p {
    font-size: 16px;
    padding: 5px 3px;
  }

  .contenedor-quejas-sugerencias .imagen-quejas-sugerencias img {
    max-width: 55%;
  }

  /*PIE DE PAGINA*/
  .contenedor_gral_pie_pagina .logo_footer p {
    font-size: 10px;
  }
  .pie_pagina .contenedor_contacto .contacto h3,
  .numeros_emergencias .encabezado_emergencias h3,
  .pie_pagina .contenedor_contacto .ubicacion h3 {
    font-size: 15px;
  }
  .contenedor_gral_pie_pagina .numeros_emergencias ul li img {
    width: 75px;
    height: 54px;
  }
  .pie_pagina .contenedor_contacto .contacto p,
  .pie_pagina .contenedor_contacto .contacto span {
    font-size: 13px;
    margin: 2px;
  }
  .contenedor_contacto .contacto .iconotelefono img {
    width: 15px;
    height: 15px;
  }
  .pie_pagina .contenedor_contacto img {
    width: 40px;
    height: 40px;
  }
  .pie_pagina .copyrigh p {
    font-size: 13px;
  }
  .pie_pagina .contenedor_contacto {
    display: flex;
    flex-direction: column;
  }
  .carousel-container .carousel img {
    height: 150px;
  }
  .carousel-container {
    display: flex;
    height: 30vh;
    align-items: center;
  }
  .carousel-item {
    padding: 0 1px;
  }
  .prev-button,
  .next-button {
    padding: 5px 16px;
    font-size: 18px;
    border-radius: 6px;
  }
}
@media screen and (max-width: 280px) {
  .menu {
    width: 70%;
  }
  .menu_links li {
    padding: 6px 0px 6px 0;
  }
  .menu_links li a {
    font-size: 13px;
  }
  .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    width: 82%;
  }
  .contenido-banner .isotipoSanMarcos {
    padding: 3px;
  }
  .contenido-banner .escudoSnMarcos img {
    width: 130px;
    height: 130px;
    z-index: 3;
  }

  .contenido-banner .escudoSnMarcos h2 {
    font-size: 11px;
    width: 100%;
  }
  .contenido-banner .isotipoSanMarcos img {
    width: 200px;
    height: 100px;
    padding-top: 40px;
  }
  .contenido-banner .imgsanmarcosAlogrande {
    padding: 0;
  }
  .contenedor-imagenes-titulo .contenedor-imagen .contenedor_titulo_btn {
    width: 38%;
  }
  .contenedor-imagenes-titulo
    .contenedor-imagen
    .contenedor_titulo_btn
    .btn_actividad_individual
    a {
    padding: 10px;
    font-size: 14px;
  }
  .contenedor-imagenes-titulo
    .contenedor_titulo_btn
    #logo_san_marcos_carrusel
    img {
    width: 100px;
    height: auto;
  }
  .flecha-atras {
    left: 26%;
  }
  .flecha-siguiente {
    right: 26%;
  }
  .Seguridad-publica h1 {
    margin: 1rem;
  }
  .contenedor-Areas-DIF .encabezado-gral h3,
  .contenedor-policia-municipal .encabezado-policia h3,
  .contenedor-proteccion-civil .encabezado-proteccion-civil h3,
  .contenedor-transito-municipal .encabezado-transito h3 {
    padding: 9px 3px 0 3px;
  }
  .contenedor-policia-municipal .telefono_policia h3,
  .contenedor-proteccion-civil .telefono_proteccion-civil h3,
  .contenedor-transito-municipal .telefono_transito h3 {
    padding: 0 20px 0px 20px;
  }
  .contenedor-descripcion-seguridad-policia .text-descripcion .texto-policia h3,
  .contenedor-descripcion-seguridad-proteccion-civil
    .text-descripcion
    .texto-proteccion-civil
    h3,
  .contenedor-descripcion-seguridad-transito
    .text-descripcion
    .texto-transito
    h3 {
    font-size: 18px;
  }
  .contenedor-descripcion-seguridad-policia .text-descripcion p,
  .contenedor-descripcion-seguridad-proteccion-civil .text-descripcion p,
  .contenedor-descripcion-seguridad-transito .text-descripcion p {
    font-size: 12px;
  }

  /*DIF MUNICIPAL*/
  .contenedor-descripcion-AreasDIF-Odontologia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Discapacidad
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Fisioterapia
    .text-descripcion-Areas
    .texto-Areas
    h3,
  .contenedor-descripcion-AreasDIF-Psicologia
    .text-descripcion-Areas
    .texto-Areas
    h3 {
    margin-bottom: 6px;
    font-size: 12px;
  }
  .contenedor-descripcion-AreasDIF-Odontologia .text-descripcion-Areas p,
  .contenedor-descripcion-AreasDIF-Discapacidad .text-descripcion-Areas p,
  .contenedor-descripcion-AreasDIF-Fisioterapia .text-descripcion-Areas P,
  .contenedor-descripcion-AreasDIF-Psicologia .text-descripcion-Areas p {
    font-size: 10px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    padding: 0px;
  }
  .carousel-container {
    padding: 39px 26px;
  }
}
