@CHARSET "UTF-8";

:root {
  --bs-primary:  #0062cc;  /* azul corporativo más vivo */
  --bs-secondary:#6c757d;  /* gris medio */
  --bs-body-bg:  #f8f9fa;  /* fondo claro */
  --bs-body-color:#343a40; /* texto oscuro */
  /* --bs-primary:   #0056b3; */
  --bs-success:   #28a745;
  --bs-info:      #17a2b8;
  --bs-light:     #ffffff;
  --bs-dark:      #212529;
  --bs-dark-highlighted: blue;
  --jc-fuente: 'Nunito', sans-serif;
}

BODY {
  margin: 0 0 0 0;
  font-family: var(--jc-fuente);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  background-image: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  padding-top: 88px;
}

TR.CampoRequerido INPUT {
  font-weight: normal;
  color: #330000;
  border-width: 1px;
  border-color: #660000;
  background-color: #FFEEEE;
}

TR.CampoRequerido SELECT {
  font-weight: normal;
  color: #330000;
  border-width: 1px;
  border-color: #660000;
  background-color: #FFEEEE;
}

TR.CampoRequerido TEXTAREA {
  font-weight: normal;
  color: #330000;
  border-width: 1px;
  border-color: #660000;
  background-color: #FFEEEE;
}

TR.Par {
  background-color: transparent;
}

TR.Impar {
  background-image: url(../img/par.png);
}

TR.Datos {
  font-family: Arial, Helvetica;
  font-size: 13px;
}

TR:hover.Datos {
  background-image: url(../img/dato_sel.png);
}

TD.ValorCampo INPUT {
  /* font-size: 12px; */
  /* font-family: Arial, Helvetica; */
}

A {
  text-decoration: none;
  font-weight: bold;
  color: #000066;
}

A:hover {
  text-decoration: underline;
  color: #0000BB;
}

.TituloCampo {
  /* font-family: Arial, Helvetica; */
  /* font-size: 13px; */
  text-align: right;
  vertical-align: top;
}

.hero {
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  background-image: url('../img/hero-bg.jpg');
  background-position: center left;
  background-size: 50% auto;
  padding-left: 60px;
}

.hero .btn {
  padding: .75rem 1.5rem;
}

.cabecera {
  padding-left: 8px;
}

.container-fluid {
  width: 100%;
}

.CampoRequerido {
  color: #660000;
  font-weight: bold;
}

.ValorCampo {
  /* font-family: Arial, Helvetica; */
  /* font-size: 13px; */
  text-align: left;
  font-weight: bold;
  vertical-align: middle;
}

.NotaFormulario {
  /* font-family: Arial, Helvetica; */
  font-size: 85%;
  text-align: justify;
}

.ResumenFormulario {
  text-align: center;
}

.Menu {
  font-family: Arial, Helvetica;
  font-size: 14px;
  color: #FFF;
  width: 154px;
  top: 3px;
  position: fixed;
  right: 3px;
}

.Menu TR TD A {
  text-decoration: none;
  font-weight: normal;
  color: #CCC;
  padding: 3px 5px 3px 5px;
  height: 14px;
  width: 144px;
  float: left;
  background-image: url(../img/button.png);
}

.Menu TR TD A:hover {
  text-decoration: underline;
  font-weight: bold;
  color: #EEF;
  background-image: url(../img/button_hover.png);
}

.TituloEvento {
  /* font-family: Times, Times New Roman; */
  font-weight: bold;
  font-style: italic;
  font-size: 1.5em;
  padding: 5px;
}

.FechaEvento {
  font-family: Arial, Helvetica;
  font-size: 14px;
}

.AulaEvento {
  font-family: Arial, Helvetica;
  font-size: 14px;
  font-weight: bold;
}

.NivelEvento {
  font-family: Arial, Helvetica;
  font-size: 16px;
  font-weight: bold;
  padding-left: 5px;
}

.ExpositorEvento {
  font-family: Arial, Helvetica;
  font-size: 14px;
  font-weight: bold;
  text-align: right;
  padding-right: 20px;
}

.EmpresaExpositor {
  font-family: Arial, Helvetica;
  font-size: 14px;
  text-align: center;
}

.CurriculumExpositor {
  font-family: Arial, Helvetica;
  font-size: 14px;
  text-align: justify;
}

.esquinaSuperiorIzquierda {
  background-image: url(../img/corner.png);
  background-position: left top;
  background-repeat: no-repeat;
  height: 20px;
  width: 20px;
}

.esquinaSuperiorDerecha {
  background-image: url(../img/corner.png);
  background-position: right top;
  background-repeat: no-repeat;
  height: 20px;
  width: 20px;
}

.esquinaInferiorIzquierda {
  background-image: url(../img/corner.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  height: 20px;
  width: 20px;
}

.esquinaInferiorDerecha {
  background-image: url(../img/corner.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  height: 20px;
  width: 20px;
}

.entreEsquinasHorizontal {
  background-image: url(../img/frame_main_1.png);
  background-repeat: repeat;
  height: 20px;
  width: 100%;
}

.entreEsquinasVertical {
  background-image: url(../img/frame_main_1.png);
  background-repeat: repeat;
  height: 100%;
  width: 20px;
}

.bodyFrame {
  background-image: url(../img/frame_main_1.png);
  background-repeat: repeat;
  padding: 0px;
}

#MisEventos {
  text-align: right;
  font-size: 12px;
  width: 50%;
}

#PageFooter {
  text-align: center;
  font-size: 10px;
}

#Creditos {
  position: absolute;
  display: none;
  width: 660px;
  text-align: justify;
}

#ComiteOrganizador {
  position: absolute;
  bottom: -400px;
  display: none;
  width: 640px;
}

#ErrorMessage {
  font-family: Arial, Helvetica;
  font-weight: bold;
  font-size: 14px;
  color: #000;
  background-color: #ff4e00;
  text-decoration: blink;
  width: 154px;
}

#AdviceMessage {
  font-family: Arial, Helvetica;
  font-weight: bold;
  font-size: 14px;
  color: #000;
  background-color: #0F0;
  text-decoration: blink;
}

#PageTitle {
  font-family: var(--jc-fuente);
  font-weight: bold;
  /* color: #000; */
  /* font-style: italic; */
  font-size: 2em;
  text-align: center;
}

#Right {
  /* background-image: url(../img/right_column_2024.png); */
  /* background-repeat: no-repeat;
  background-position: right top;
  background-attachment: fixed; */
  vertical-align: top;
  /* width: 160px; */
}

#ColumnTitles {
  /* font-size: 14px; */
  /* font-family: Arial, Helvetica; */
  font-weight: bold;
  border: 1px solid;
}

#Sponsors {
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
}

#Todo {
  background-repeat: no-repeat;
  background-position: 50px 0px;
}

#PageMainTitle {
  /* font-family: Arial, Helvetica; */
  /* font-weight: bold; */
  /* color: #000; */
  /* font-size: 24px; */
  text-align: center;
}

#ProfileName {
  color: var(--bs-dark-highlighted);
}

#Login {
  color: #FFF;
  width: 154px;
  position: fixed;
  top: 3px;
  right: 3px;
}

#PageSubtitle {
  /* font-family: Arial, Helvetica; */
  font-weight: bold;
  color: #000;
  /* font-size: 18px; */
  text-align: center;
}

/* 1) Seleccionamos tu formulario de perfil por la acción en la URL */
form[name] {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-row-gap: 1rem;
  grid-column-gap: 1rem;
  max-width: 640px;
  margin: 2rem auto 3rem;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 2) Labels alineados a la derecha */
form[name] label {
  display: block;
  text-align: right;
  font-weight: 500;
  line-height: 2;        /* para alinear verticalmente con el input */
}

/* 3) Inputs a todo el ancho de su columna */
form[name] input[type="password"],
form[name] input[type="text"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.2s;
}
/* cuando tenga foco, resaltar con color primario */
form[name] input:focus {
  border-color: #0d6efd;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253, .25);
}

/* 4) El campo “nota” (el texto pequeño) ocupa todo el ancho */
form[name] small {
  grid-column: 1 / -1;
  color: #555;
  font-size: 0.875rem;
  margin-top: -0.5rem;
}

/* 5) Botones en la última fila, juntos y bien espaciados */
form[name] .btn {
  min-width: 120px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
/* envolver los botones en un contenedor que ocupe ambas columnas */
form[name] .btn:nth-child(1) {
  /* si no hay clase, puedes usar un selector más concreto */
}
/* o bien forzar que el contenedor de botones abarque 2 columnas */
form[name] .btn:first-of-type {
  grid-column: 1 / 3;
  margin-right: 1rem;
}

/* 6) Título “Mi Perfil” */
h3, h4 {
  text-align: center;
  font-style: italic;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

/* Que la tabla abarque todo el ancho del grid (las 2 columnas) */
form[name] > table {
  grid-column: 1 / -1 !important;
  width: 100%;    /* para que el contenido de la tabla use todo el espacio */
  margin: 0;      /* quita márgenes heredados */
}

html {
  scroll-behavior: smooth;
}

 .cards-container {
  display: grid;
  /* Ajusta el minmax para el ancho mínimo de cada tarjeta */
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 1rem;
  margin: 1rem 0;
}
.card {
  max-width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1rem;
  flex-basis: 360px;
}
.card h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.card p {
  margin: 0.25rem 0;
}
.ExpositorEvento a {
  display: block;
  margin: 0.25rem 0;
  color: #007bff;
  text-decoration: none;
} 
