/* CSS Document */

.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

@media(max-width:995px){
.container{
  width:90%;
  margin:0 auto;
}
}

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;
      padding: 20px;
    }

    .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;
        }

        @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%;
    max-width: 800px;
    margin: 5% 2% 5% 2%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

@media(max-width:800px){
  .carousel-container,
  .carousel2-container {
    margin: 5% 0% 1% 0%;
  }
}

.carousel,
.carousel2 {
    position: relative;
    width: 100%;
    padding-top: 70%; /* Aspect ratio 10:7 aprox */
}

/* Slides */
.carousel-slide,
.carousel2-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    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: 100%;
    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 18s 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);
}


.comite-btn{
background:#ED1C24;
border:0px;
padding:15px 10px;
color:white;
border-radius:10px;
cursor:pointer;
font-size:25px;
}

.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);
}

/* 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:-40px;
}
.titlenoti{
 color:#334053;
 font-size:23px;
}
