/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
.flores{

  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  background-image: url('../images/icons/flores.png');
  background-position: right;
  background-repeat: no-repeat;
  background-position-y: top;
  width: 300px;
  height: 200px;
  opacity: 0.4;
    
}
.menu_1 {
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* ajusta según tu diseño */
  background-color: #244257;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000; /* asegura que esté por encima de otros elementos */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}  
.contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* ocupa toda la altura de la pantalla */
  padding: 0rem;
  background-color: #fff;
  /*box-sizing: border-box;*/
}

.contenido {
  /*max-width: 400px;*/
  width: 100%;
  background-color: #fff;
  padding: 0rem;
  text-align: center;
  border-radius: 0px;
  overflow-x:auto;
  /*box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
}

.tabla-responsiva {
  overflow-x: auto;
  width: 100%;
}


table {
  border-collapse: collapse;
  width: 100%;
  /*min-width: 400px;*/ /* fuerza el scroll en pantallas pequeñas */
  margin: 0 auto;
}

th, td {
  /*padding: 12px;*/
  border: 1px solid #ccc;
  text-align: left;
}  

.virgen {
  width: 70%;
  height: 75%;
  display: block;
}

.texto{
    
   text-align:justify;
   margin:5px;
   
}


/* ============================================================
   Programa desde base de datos (2026)
   ============================================================ */
:root { --azul: #244257; --turquesa: #138496; --dorado: #c9a227; --fondo-suave: #f6f8f9; }

.espacio-menu { width: 100%; height: 50px; }
.espacio-final { width: 100%; height: 100px; }
.seccion { width: 100%; clear: both; text-align: center; padding: 5px; position: relative; }
.contenido-seccion { text-align: left; margin: 20px auto; max-width: 900px; font-size: 18px; padding: 0 12px; }
.contenido-seccion p { text-align: justify; margin: 0 0 10px; }
.punto { width: 22px; margin-right: 6px; vertical-align: -3px; }
.subtitulo { font-size: 18px; color: var(--turquesa); font-weight: bold; }
.bloque { margin-bottom: 28px; }
.aviso { color: #a33; text-align: center; }

.meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 8px 0 12px; font-size: 15px; }
.meta span { background: var(--fondo-suave); border: 1px solid #dde4e8; border-radius: 16px; padding: 3px 12px; }

details { margin: 6px 0 10px; }
details summary { cursor: pointer; color: var(--turquesa); font-weight: 500; font-size: 16px; }
details[open] summary { margin-bottom: 8px; }

/* Portada */
.portada { width: 100%; text-align: center; }
.portada-img { width: 100%; max-width: 900px; height: auto; }
.portada-texto, .portada-tema { font-size: 22px; color: var(--turquesa); font-weight: bold; margin: 12px auto; max-width: 900px; padding: 0 12px; }
.portada-tema { font-size: 18px; color: var(--azul); }
.hoy { max-width: 600px; margin: 16px auto; padding: 14px 18px; border-radius: 12px; cursor: pointer;
       background: var(--azul); color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.hoy-etiqueta { color: var(--dorado); font-weight: bold; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.hoy-titulo { font-size: 22px; font-weight: bold; margin: 4px 0; }

/* Día por día */
.dias-indice { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 20px; }
.dias-indice a { width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%;
                 background: var(--azul); color: #fff; font-weight: bold; text-decoration: none; }
.dias-indice a:hover { background: var(--turquesa); color: #fff; }
.dia-card { border: 1px solid #dde4e8; border-left: 6px solid var(--turquesa); border-radius: 10px;
            padding: 14px 18px; margin-bottom: 22px; background: #fff; scroll-margin-top: 60px; }
.dia-hoy { border-left-color: var(--dorado); box-shadow: 0 0 0 3px rgba(201,162,39,.25); }
.dia-fecha { font-size: 14px; color: #6c7a84; text-transform: uppercase; letter-spacing: .5px; font-weight: bold; }
.dia-nombre { font-size: 21px; color: var(--azul); font-weight: bold; margin: 2px 0 10px; }
.pereg { border-top: 1px dashed #dde4e8; padding-top: 10px; margin-top: 10px; }
.pereg-titulo { font-weight: bold; color: var(--turquesa); }
.etiqueta { font-size: 12px; background: var(--dorado); color: #fff; border-radius: 10px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.gastos { background: var(--fondo-suave); border-radius: 8px; padding: 10px 14px; margin-top: 12px; font-size: 16px; }
.gastos-titulo { font-weight: bold; color: var(--azul); margin-bottom: 6px; }
.gastos ol, .lista-personas { margin: 6px 0 0; padding-left: 26px; }
.lista-personas { columns: 2 320px; column-gap: 30px; }
.lista-personas li { break-inside: avoid; }

/* Horarios */
.horario { border-left: 3px solid var(--turquesa); margin: 10px 0 24px 8px; }
.horario-fila { display: flex; gap: 14px; padding: 8px 0 8px 14px; position: relative; }
.horario-fila::before { content: ""; position: absolute; left: -8px; top: 15px; width: 13px; height: 13px;
                        border-radius: 50%; background: var(--dorado); }
.horario-hora { min-width: 80px; font-weight: bold; color: var(--azul); }
.horario-desc { flex: 1; }

/* Programas anteriores */
.anios { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.anios a { font-size: 20px; font-weight: bold; color: #fff; background: var(--turquesa); padding: 8px 22px; border-radius: 8px; text-decoration: none; }

@media (max-width: 600px) {
  .contenido-seccion { font-size: 16px; }
  .dia-card { padding: 12px 12px; }
  .horario-hora { min-width: 64px; }
  .flores { width: 160px; height: 110px; }
}
