/* CSS Document */

.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

@media(max-width:995px){
.container{
  width:90%;
  margin:0 auto;
}
  .contenido {
      margin-top: 50px;
  }
}

body {
    max-width: 100%;
    font-family: Arial,Helvetica,san-serif;
	font-size:18px;
    background-color: #ffffff;
    overflow-x: hidden;  /* Evitar desbordamiento horizontal */
	
	display: flex;
      flex-direction: column;
      min-height: 100vh;
}

a{
 color:red;
}
.contenido {
      flex: 1;
      width:100%;
      padding: 0px;
      margin-top: 200px; /* separa del header fijo */
    }

    .footer1 {
      color: white;
      text-align: center;
      padding: 10px;
    }
	
h1,h2,h3,h4,h5,h6{
    font-family: Arial,Helvetica,san-serif;
	font-size:18px;	
}
		
.menufijo{ 
 width:100%;
 height:200px;
 position:fixed;
 background:white;
 z-index:50;
 transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menufijo a{
  color:black;
  text-decoration:none;
}

.menufijo a:hover{
  color:red;
}

  .fadeto {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }

  .fadeto.show {
    opacity: 1;
    visibility: visible;
  }
  
.responsive-text {
  font-size: clamp(10px, 3vw, 50px);
}
.responsive2-text {
  font-size: clamp(9px, 1.3vw, 18px);
}


.fondo{
background:url('images/carruselprincipal/fondop.png');
background-size:100%;
width:100%;
border:0px solid red;
}

.imgsola{
 position:absolute;
 float:right;
 margin-top:-350px;
 right:18%;
 text-align:center;
 z-index:10;
}

.imgsola img{
 border:10px solid white;
 border-radius:5px;
 width:460px;
}

@media(max-width:1800px){
  .imgsola{
 margin-top:-350px;
  }
}

@media(max-width:800px){
  .imgsola{
  position:relative;
  float:none;
  margin:0 auto;
  right:0;
  }
}

			.menudisplay2{
			 display:none;
			}

table {
        width: 100%;
        border-collapse: collapse;
		font-family:Arial,Helvetica,sans-serif;
		font-size:18px;
}
		
.table1 {
  width: 100%;
  border-collapse: collapse;
}

.tabla-hija td {
  display: table-cell !important;
  padding: initial !important;
  width: auto !important;
  text-align: center !important;
}

@media (max-width: 995px) {
  .table1 td {
        padding: 4px;
        display: block;
        width: auto;
        box-sizing: border-box;
				text-align:center;
  }

	.menudisplay{
			 display:none;
	}

	.menudisplay2{
			 display:block;
	}
}
		
.fade-in-image {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1.5s ease;
}

.fade-in-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.bullet{
 border:1px solid transparent;
 width:30px;
 display:inline;
 float:left;
 text-align:center;
}		

.sombra{
 width:100%;
 max-width:250px;
 border-radius:5px;
}

.sombra:hover{
 filter:contrast(50%);
}

.scroll-text {
  opacity: 0;
  transform: translateX(-50px); /* Empieza 50px a la izquierda */
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-text.visible {
  opacity: 1;
  transform: translateX(0); /* Se mueve a su posici�n original */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.tdzoom{
 text-align:center;
 vertical-align:middle;
 background:#ED1C24;
 border:20px solid transparent;
 color:white;
 padding:15px;
 font-size:50px;
 line-height:50px;
}

.tdzoom:hover{
 transition:0.5s;
 cursor:pointer;
 font-size:55px; 
 border:20px solid #ED1C24;

 .iconos{
 visibility:hidden;
 }
}		


/* Contenedor com�n, puede ser compartido */
.carousel-container,
.carousel2-container {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}


.carousel,
.carousel2 {
    position: relative;
    width: 100%;
}

/* Slides */
.carousel-slide,
.carousel2-slide {
    display: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.carousel-slide.active,
.carousel2-slide.active {
    opacity: 1;
    display: block;
    z-index: 1;
}

.carousel-slide img,
.carousel2-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Botones */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 2;
}

@media (max-width: 768px) {
    .carousel-button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel-button {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Puntos indicadores */
.dots-container,
.dots2-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot,
.dot2 {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

@media (max-width: 480px) {
    .dots-container,
	.dots2-container {
        gap: 6px;
    }
    .dot,
    .dot2 {
        width: 8px;
        height: 8px;
    }
}

.dot.active,
.dot2.active {
    background-color: white;
}

.fade {
    display: block;
}
/* ===== CONTENEDORES ===== */
.scroll-container, .scroll-container-b {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.video-gallery, .video-gallery-b {
  display: flex;
  gap: 0px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.video-gallery::-webkit-scrollbar,
.video-gallery-b::-webkit-scrollbar {
  display: none;
}

/* ===== THUMBNAILS ===== */
.video-thumbnail, .video-thumbnail-b, .video-thumbnail-c {
  max-width: 320px;
  min-width: 320px;
  margin: 0 20px;
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  cursor: pointer;
  filter: brightness(50%);
}

.video-thumbnail:hover,
.video-thumbnail-b:hover,
.video-thumbnail-c:hover {
  filter: brightness(100%);
}

.video-thumbnail img,
.video-thumbnail-b img,
.video-thumbnail-c img
 {
  height: 180px;       /* O el valor que prefieras */
  width: 100%;         /* Mantiene el ancho completo del contenedor */
  object-fit: cover;   /* Corta lo que sobra sin deformar */
}

/* ===== T�TULOS ===== */
.video-title {
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 15px 5px;
  color: #2E4056;
  text-align: center;
  max-width: 90%;
  height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== ICONO DE PLAY ===== */
.play-icon {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 64px;
  height: 64px;
  background: url('../images/play_white.png') no-repeat center center;
  background-size: 64px;
  transform: translate(-40%, -50%);
  filter: drop-shadow(0 0 6px black);
}

.play-icon:hover {
  background: url('../images/play_black.png') no-repeat center center;
  background-size: 64px;
  filter: drop-shadow(0 0 6px white);
}

/* ===== FLECHAS ===== */
.arrow, .arrow-b {
  position: absolute;
  top: 35%;                    /* Centro vertical */
  transform: translateY(-35%); /* Alinea el centro del bot�n con el centro del contenedor */
  background: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 0;
  width: 48px;     /* Ancho fijo */
  height: 48px;    /* Alto igual al ancho = c�rculo */
  border-radius: 50%; /* Hace el bot�n circular */
  cursor: pointer;
  z-index: 10;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
  transition: background 0.2s ease;
}

.arrow:hover, .arrow-b:hover {
  background: rgba(0, 0, 0, 0.8);
  color: white;
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }
.arrow-b.left { left: 10px; }
.arrow-b.right { right: 10px; }

/* ===== POPUPS ===== */
.popup, .popup-b {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup iframe, .popup-b iframe {
  width: 80%;
  height: 60vh;
  border: none;
}

.popup.active, .popup-b.active {
  display: flex;
}

.icon-carousel-container {
      width: 50%;
      overflow: hidden;
      background: #FFFFFF;
      padding: 10px 0;
      position: relative;
	  margin:0 auto;
    }

    .icon-carousel-track {
      display: flex;
      width: max-content;
      animation: icon-scroll 15s linear infinite;
    }

    .icon-carousel-container:hover .icon-carousel-track {
      animation-play-state: paused;
    }

    .icon-carousel-item {
      flex: 0 0 auto;
      width: 200px;
      height: 200px;
      margin: 0 20px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .icon-carousel-item img {
      width: 200px;
      height: 200px;
      object-fit: contain;
    }

    .icon-carousel-item:hover {
      transform: scale(1.1);
    }

    @keyframes icon-scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }	

.contenedorelement{
 display: flex; 
 justify-content: center;
}

.individual{
 position: relative; 
 width: 100%; 
 max-width: 300px; 
 overflow: hidden; 
 border-radius: 10px;
 height: 500px;
 margin:0 5%;
}

.imgclick:hover{
 border:2px solid black;
 filter:grayscale(90%);
 cursor:pointer;
}

@media(max-width:995px){
.contenedorelement{
 display: block; 
 justify-content: center;
}

.individual{
 margin: 5% auto;
}

}

.cell-button2 {
  position: relative;
  background:#334053;
  color:white;
  padding:7px 15px 10px 15px;
  border:1px solid transparent;
}

.cell-button2:hover{
 cursor:pointer;
 background:black;
 border:1px solid #334053;
}

.responsive-text {
  font-size: clamp(10px, 3vw, 50px);
}
.responsive2-text {
  font-size: clamp(9px, 1.3vw, 18px);
}

.responsive3-text {
  font-size: clamp(15px, 4vw, 30px);
}

.responsive4-text {
  font-size: clamp(20px, 3vw, 50px);
}

.responsive5-text {
  font-size: clamp(13px, 1.3vw, 18px);
}

.responsive6-text {
  font-size: clamp(20px, 2.2vw, 60px);
}

.comite-btn{
background:#ED1C24;
border:0px;
padding:15px 10px;
color:white;
border-radius:10px;
cursor:pointer;
font-size:18px;
}

.comite-btn:hover{
transition:0.6s;
background:black;
color:white;
}

.sombra{
width: auto; 
height: auto; 
width: 18%;
padding:0 3%;
border:0px solid transparent;
border-radius:10px;

}

.sombra:hover{
transition:0.6s;
background:#fefefe;
filter:contrast(50%);
}

.ventanapop {
  position: fixed;
  width: 800px;
  height: 600px;
  max-width: 90%;
  max-height: 90%;
  padding: 2%;
  z-index: 20;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -65%);
  background: white;
  border-radius: 7px;
  text-align: center;
  overflow-y: auto; /* Activa scroll vertical si es necesario */
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ventanapopover {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: white;
  filter: opacity(80%);
  z-index: 10;
}

.btnnE {
  border: none;
  border-radius: 3px;
  background: linear-gradient(#a40909, red);
  color: white;
  font-size: 20px;
  padding: 5px 10px;
  cursor: pointer;
}

.btnnE:hover {
  background: linear-gradient(black, gray);
}


.btn{
  width:200px;
  padding:7px 1%;
  margin-bottom:5px;
  background:#c70606;
  color:white;
  border:1px solid transparent;
  border-radius:50px;
  font-size:15px;
  cursor:pointer;
}

.btn:hover{
  background:#ffd9d6;
  color:black;
   border:1px solid black;
}
 
/* Adaptaci�n a pantallas m�s peque�as */
@media(max-width: 850px) {
  .ventanapop {
    width: 95%;
    height: 50%;
  }
  
  .medidabullet{
    width:93%;
  }
}

@media(max-width: 600px) {
  .medidabullet{
    width:90%;
  }
}


.table2 {
  border-collapse: separate; /* importanticimo para que padding funcione bien */
  border-spacing:15px;
}

.table2 td {
  position: relative;
  padding: 10px; /* espacio para el bot�n */
  vertical-align: top;
  border: 1px solid #ccc;
  background:white;  
  margin-bottom:15px;
  height: 250px; /* o el alto que desees */
}

/* Contenedor interno */
.cell-content {
  border:0px solid red;
  position: relative;
  height: 100%;
  padding-top: 10px;
}

/* Texto */
.cell-text {
   border:0px solid blue;
  margin-bottom: 40px; /* deja espacio para el bot�n */
  font-size:25px;
  color:#334053;
  font-weight:bold;
  line-height:30px;
  text-align:center;
}

.cell-button {
  position: absolute;
  bottom: 10px;
  left:50%;
  transform:translate(-50%,-10px);
  background:#334053;
  color:white;
  font-weight:bold;
  padding:7px 15px 10px 15px;
  border:1px solid transparent;
}

.cell-button:hover{
 cursor:pointer;
 background:black;
 border:1px solid #334053;
}

.tdnoti{
 width:33.3%;
 padding:0 15px;
 vertical-align:top;
 text-align:center;
}
.divnotice{
 border:0px solid blue;
 text-align:justify;
 width:100%;
 max-width:400px;
 margin:0 auto;
}
.imgnoti{
 width:100%;
 max-width:400px;
 max-height:230px;
 cursor:pointer;
}
.fecha{
 position:absolute;
 background:red;
 border:none;
 border-radius:0px 7px 0px 0px;
 padding:7px 15px;
 color:white;
 margin-top:-35px;
}

.numeracionnoti{
  position:absolute;
  border:0px solid #334053;
  width:auto;
  padding:5px;
  border-radius:0 7px 0 7px;
  margin-top:-32px;
  font-size:20;
  background:rgb(110, 110, 110);
  color:#fff;
}

.titlenoti{
 color:#334053;
 font-size:23px;
}

.cuadro{
 border:1px solid #cecece;
 width:300px;
 height:200px;
 margin:0 auto;
}

.vermaswhite{
  width:100%;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:white;
  color:#334053;
}

.cuadro:hover{
   transition:0.3s;
   background:rgba(255,255,255,0.3);
   font-size:20px;

  .vermaswhite{
    text-decoration:underline;
  }
}

.vermaswhite:hover{
  cursor:pointer;
}


.carousel-containersbig, #carousel-containersbig {
  width: 100%;
  max-height:530px;
  margin: auto;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.image-sliders, #image-sliders {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.sliders {
  flex: 0 0 100%; /* Asegura que cada imagen ocupe el 100% del contenedor */
  box-sizing: border-box;
  display: flex;
  align-items: center; /* Centra verticalmente la imagen */
}

.sliders img {
  width: 100%; /* Ajusta el tamaño de la imagen al 100% del contenedor */
  height: auto; /* Mantiene la proporción de aspecto de la imagen */
  object-fit: cover;
}
      
.indicators-container, #indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.indicators {
  width: 20px;
  height: 20px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
filter:opacity(80%);
}

.indicators.active {
  background-color: #717171;
}

.dotsbig {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 44px;
   height: 44px;
   border-radius: 50%;
   border: none;
   background: rgba(0,0,0,0.5);
   color: #fff;
   font-size: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   z-index: 5;
}

.dotsbig.lefts { left: 10px; }
.dotsbig.rights { right: 10px; }
.dotsbig:hover { background: rgba(0,0,0,0.8); }



.cube-container {
  display: flex;
  flex-wrap: wrap; /* Permite que bajen si no caben */
  justify-content: center; /* Centra los cubos horizontalmente */
  gap: 20px; /* Espacio entre cubos */
  padding: 20px;
}

.cube-wrapper {
  perspective: 100%;
  /* Tamaño responsivo: máximo 300px y se reduce con la ventana */
  --cube-size: min(300px, 90vw);
  width: var(--cube-size);
  height: var(--cube-size);
  margin: 50px auto;
  position: relative;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5);
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 1s ease;  
}

.face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  border: 0px solid #ccc;
  
  display: flex;
  align-items: top;
  justify-content: center;
  font-size: 15px;
  backface-visibility: hidden; /* Esto evita que se vean las caras al revés */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Texto centrado y siempre horizontal */
.text {
  transform: rotateY(0deg);
  width:100%;
}

/* Posiciones de las caras del cubo */
.front  { transform: rotateY(  0deg) translateZ(calc(var(--cube-size) / 2)); }
.back   { transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
.right  { transform: rotateY( 90deg) translateZ(calc(var(--cube-size) / 2)); }
.left   { transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }

.controls {
  position: absolute;
  width: 100%;
  bottom: 50px;
  display: none;
  justify-content: space-between;
  padding: 0px 0px;
}

.controls button {
  background: #444;
  color: #fff;
  filter:opacity(50%);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
}

.subtitle{
  background: #BDBCBC;
  font-size:40px;  
  color:#2E4056;  
  font-weight:bold;
  padding:15px 0;
  box-shadow:0 10px 6px gray;
}

.drop { 
  filter: drop-shadow(3px 7px 5px rgba(100, 100, 100, 0.7)); 
}

.selection{
  background:#f1f1f1;
  width:60%;
  height:50px;
  font-size:18px;
  border:none;
  outline:none;
  border-bottom:1px solid black;
 }

.closesion1{
  position:fixed;
  border:0px solid red;
  width:80px;
  height: 80px;
  padding: 5px;
  right:10px;
  bottom:30px;
  z-index:2;
  text-align:center; 
  color:white;
}

@media (max-width:1700px){
  .closesion{
    right:3%;
  }
}

@media (max-width:1500px){
  .closesion{
    right:0px;
  }
}

@media (max-width:1450px){
  .closesion{
    float:none;
    position:relative;
    margin:0 auto;
    margin-top:30px;
    color:white;
  }
}

@media (max-width:995px){
  .closesion{
    margin-top:60px; 
    color:black;   
  }
}

.containermaps {
  position: relative;
  max-width: 742px;
  width: 100%;
}

.fondomaps {
  width: 100%;
  height: auto;
  filter: drop-shadow(-20px 5px 10px rgba(51, 64, 83, 0.9));
}

.iconomaps {
  position: absolute;
  transform: translate(-50%, -50%);
}


.map-container {
  width: 100%;
  max-width: 1920px; /* Puedes ajustar esto */
  margin: auto; 
  position:relative;     
  margin-top:-70%;
  margin-left:0%;
}

svg {
  width: 100%;
  height: auto;
  display: block;
}

path {
  fill: rgba(255,255,255,0.5);
  stroke: #000;
  cursor: pointer;
}

path:hover {
  fill: rgba(51, 64, 83,1);
}

#punteromap {
  position: absolute;
  width:auto;
  margin-top:-25px;
  margin-left:20px;
  padding:5px 10px;
  border:1px solid #334053;
  border-radius:5px 5px 5px 0;
  color:#334053;
  font-weight:bold;
  box-shadow:2px 2px 3px black;
  z-index:5;
  background-color: rgb(255, 255, 255);
  pointer-events: none; /* Para que no interfiera con el mouse */
  display:none;
}


.input-container {
  position: relative;
  width: 100%;
}

.input-container i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
}

.input-container input {
  padding-left: 35px; /* espacio para el �cono */
  width: 100%;
  height: 35px;
  box-sizing: border-box;
  border:none;
  border-bottom:1px solid black;
}

.contsector{
  border:1px solid #cecece;
  width:100%;
  min-width:200px;
  max-width:300px;
  height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  font-weight:bold;
  background:white;
  margin: auto;
}

.nombreinfo{
   font-size: 30px;
   color: #334053;
}

.contsector:hover{
  transition:0.3s;
  background:#334053;
  box-shadow:0px 0px 28px -10px black;
}

.nombreinfo:hover{
    color:white;
  }

  .publicacion{
    border:1px solid transparent;
  }
  .publicacion:hover{
    transition: 0.3s;
    border:1px dotted #334053;
    box-shadow:0px 0px 22px -5px gray;
  }

.animation{
    animation: brillo 2s ease-in-out infinite;
 }

 @keyframes brillo{
   0%{
     transition:0s;
     opacity:1;
   }
   50%{
     transition:0.8s;
     opacity:0.7;
   }
   100%{
     transition:0.8s;
     opacity:1;
   }
 }

 .categoria{
  color:#3AB000;
  font-weight:bold;
}

.iconosel{
 width: 100%;
 max-width:260px;
 margin:5px;
}
.iconosel:hover{
 transition:0.5s;
 filter:contrast(150%);
}

.iconosel2{
  width: 100%;
  max-width:220px;
  margin:5px;
  border:2px solid transparent;
 }
 .iconosel2:hover{
  transition:0.5s;
  filter:contrast(80%);
  border:2px solid #334053;
  box-shadow:1px 1px 10px 5px gray;
 }
.pestaña{
  width:200px;
  border:1px solid #cecece;
  border-radius:7px;
  background:rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 10px 5px;
}

.pestaña:hover{
  border:1px solid gray;
  color:#334053;
}

.contenedor_btpestaña{
  position:fixed;
  background:none;
  margin-top:235px;
  margin-left:10px;
  z-index:5;
}

@media(max-width:995px){
  .pestaña{
    display:none;
  }
  .contenedor_btpestaña{
    display: none;
  }  
}

.contenedorsel{
  width:100%;
  max-width:150px;
  margin:auto;
  cursor:pointer;
  border-radius:10px;
  border: 2px solid transparent;
}

.contenedorsel:hover{
  transition: 0.5s;
  filter:contrast(200%);
  border: 2px solid #334053;
}

a{
  color:black;
}

a:hover{
  color:red;
}

.popupimg{
  position:fixed;
  z-index:51;
  width:100%;
  max-width:1000px;
  top:50%;
  left:50%;
  transform:translate(-50% , -50%);
  padding:15px 20px;
}

.extra-pop{
  float:left;
  position:absolute;
  font-size:15px;
  margin:10px;
}

/*integracion*/

.btngradient{
  width: auto;
  padding: 7px 20px;
  border: 4px solid #cecece;
  border-radius: 50px;
  background: #334053;
  color: white;
  font-size:18px;
  font-weight: bold;
  cursor: pointer;
  margin: 5px;
}

.content-bubble{
  position:absolute;
  width:90%;
  max-width:400px;
  justify-content:center;
  border:1px solid #cecece;
  margin-top:115px;
  left:50%;
  transform:translate(-50% , -50%);
  border-radius:10px;
  background:white;
  z-index:10;
}

/* galerias */
.thumb-container {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 3; /* puedes cambiarlo */
  overflow: hidden;
  margin: auto;
}

.thumb{
  width:100%;
  height: 90%;
  object-fit: contain;
  border-radius:7px;
  border:2px solid transparent;
  cursor:pointer;
 }

 .thumb:hover{
   border:2px solid gray;
 }

 .popup_galery{
   display:none;
   position:fixed;
   top:0;
   left:0;
   width:100%;
   height:100%;
   background:rgba(255, 255, 255, 0.85);
   z-index:9999;
   justify-content:center;
   align-items:center;
 }

 .close_galery{
   position:absolute;
   top:20px;
   right:30px;
   font-size:35px;
   color:#000;
   cursor:pointer;
 }

 .before_galery{
   position:absolute;
   left:30px;
   font-size:50px;
   color:#000;
   cursor:pointer;
 }

 .next_galery{
   position:absolute;
   right:30px;
   font-size:50px;
   color:#000;
   cursor:pointer;
 }

 .big_galery{
   max-width:85%;
   max-height:85%;
   border-radius:10px;
   border:0px solid gray;
   box-shadow:0 0 7px 5px #cecece;
 }

 .bt2{
  border:2px solid transparent;
  background:#334053;
  padding:10px;
  border-radius:7px;
  width:100%;
  max-width:300px;
  color:white;
  margin:10px 5px;
  font-size:20px;
}

.bt2:hover{
  cursor:pointer;
  transition:0.3s;
  border:2px solid #334053;
  background:black;
}

.remarc{
  padding:10px;background:#334053;
  color:#ffffff;
  border-radius:10px;
  margin:5px 0;
}

.remarc-a{
  color:white;
}

.remarc-a:hover{
  color:red;
}

.seltr:hover{
  background:#FEE7EC;
}

.summary1,.summary2,.summary3,.summary4,.summary5{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Ocultar flecha nativa */
.summary1::-webkit-details-marker {
  display: none;
}
.summary1::marker {
  display: none;
}

/* Imagen personalizada */
.summary1::before {
  content: "";
  width: 23px;
  height: 23px;
  flex-shrink:0;
  margin-right: 8px;
  background-image: url("https://www.cmic.org.mx/cmic/wellness/images/ubicacion.png"); /* tu imagen */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.summary2::-webkit-details-marker {
  display: none;
}
.summary2::marker {
  display: none;
}

.summary2::before {
  content: "";
  width: 0;
  height: 0;
  flex-shrink:0;
  margin-right: 0;
  background-image: ""; /* tu imagen */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.summary3::-webkit-details-marker {
  display: none;
}
.summary3::marker {
  display: none;
}

.summary3::before {
  content: "";
  width: 0;
  height: 0;
  flex-shrink:0;
  margin-right: 0;
  background-image: ""; /* tu imagen */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.summary4::-webkit-details-marker {
  display: none;
}
.summary4::marker {
  display: none;
}

.summary4::before {
  content: "";
  width: 0;
  height: 0;
  flex-shrink:0;
  margin-right: 0;
  background-image: ""; /* tu imagen */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.summary5::-webkit-details-marker {
  display: none;
}
.summary5::marker {
  display: none;
}

.summary5::before {
  content: "";
  width: 0;
  height: 0;
  flex-shrink:0;
  margin-right: 0;
  background-image: ""; /* tu imagen */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

/* Rotar cuando está abierto */
details[open] .summary1::before {
  transform: rotate(90deg);
}

#desplegable2 {
  overflow-y: auto;
  scrollbar-width: thin;                 /* Firefox */
  scrollbar-color: #888 #e1e1e1;          /* Firefox */
}

/* Chrome, Edge, Safari */
#desplegable2::-webkit-scrollbar {
  width: 8px;                            /* Grosor */
  border-radius:10px;
}

#desplegable2::-webkit-scrollbar-track {
  background: #e1e1e1;                    /* Fondo */
  border-radius: 50px;                    /* Esquinas redondeadas */
}

#desplegable2::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
  border: 2px solid #e1e1e1;
}

#desplegable2::-webkit-scrollbar-thumb:hover {
  background: #555;                       /* Hover */
}


.buscar{
  font-size:18px;
  padding:10px 15px;
  border:1px solid transparent;
  border-radius:50px;
  background:#334053;
  color:white;
 }
 .buscar:hover{
  border:1px solid black;
  border-radius:50px;
  background:#ffffff;
  color:black;
  cursor:pointer;
 }

 .input_page{
  width:100%;
  max-width:100%;
  border-radius: 7px;
  border:1px solid #334053;
  color:#3c3c3c;
  padding:10px;
  font-size:15px;
 }

 .table-container {
  overflow-x: auto;
  width:100%;
  max-width: 1200px;
  margin:auto;
  border:1px solid #334053;
  border-radius:10px;
}

.table-fixed {
  border-collapse: collapse;
  min-width: 800px; /* fuerza scroll horizontal */
}

.table-fixed th{
  background: #334053;
  color:white;
}
.table-fixed th, .table-fixed td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

/* Primera columna fija */
.table-fixed th:first-child,
.table-fixed td:first-child {
  position: sticky;
  left: 0;
  background: white;
  z-index: 2;
}

/* Encabezado fijo */
.table-fixed thead {
  position: sticky;
  top: 0;
  background: #f2f2f2;
  z-index: 3;
}

.descarga_doc{
  width:20px;
  cursor:pointer;        
}

.descarga_doc:hover{
  transition:0.3s;
  filter:brightness(50%);        
}

.doc_ok{
  display:flex;
  background: lightgreen;
  border-radius:50%;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  margin:auto;
}

.doc_fail{
  display:flex;
  background: #f1f1f1;
  border:1px solid transparent;
  border-radius:50%;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  margin:auto;
  color:gray;
}

.doc_fail:hover{
  transition:0.3s;
  border:1px solid gray;
  cursor:pointer;
}

.content_formulario{
  background:#ebebeb;
  border-radius:10px;
  padding:20px;
  box-sizing:border-box;
}

.title_input{
  text-align:left;
  padding:7px 0;
}

.label_top{
  position:absolute;
  top:50%;
  left:1%;
  transform:translate(-1%, -50%);
  border:1px solid transparent;
  background:#334053;
  border-radius:4px;
  padding:0 3px;
  color:#ffffff;
  visibility:hidden;
}

.input-group{
  display:flex;flex-direction:column;position:relative;

}

.input-group input:focus + label,
    .input-group input:not(:placeholder-shown) + label{
      transition:0.3s;
      margin-top:-22px;
      font-size:12px;
      font-weight:100;
      visibility:visible;
}

.checkbox-sel{
  width:30px;
  height:30px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid #000;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
}

.checkbox-sel::after{
  content: "✔";
  font-size:20px;
  color:#b0b0b0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.2s;
}

.checkbox-sel:checked::after{
  opacity: 1;
  color: #ffffff;
}

.checkbox-sel:checked{
  background-color: black;
  color: white;
}