html{margin: 0px;padding: 0px;}
html, body {height: 100%;}

main {
  padding-top: 60px;
}

.quienPublica {
	color: #00000;
	font-weight: 650;
  font-style: none;
	font-size: 1.1em;
}

.quienPublica a {
	color: #00000;
  font-style: none;
  font-variant: none;
  text-decoration-line: none;
}

.cuandoPublica {
	color: #455a64;
	font-size: 1.0em;
}

.texto {
	color: #2d3336;
	font-size: 1.1em;
	line-height: 1.2;
}

.boxlogin {
	border-radius: 4px;
	margin: 100px auto;
	width: 380px;
	-webki-border-radius: 4px;
	-moz-border-radius: 4px;
}

.ajustar{
	padding-left: 30px;
	padding-right: 30px;
}

.cajaError {
	background: #ffcdd2;
	width: 100%;
	margin-bottom: 15px;
	font-weight: bold;
	border-style: solid;
	border-width: 2px;
	border-color: #ef5350;
	padding: 10px;
	font-size: 16pt;
}

.cajaVerde {
	background: #c8e6c9;
	width: 100%;
	margin-bottom: 15px;
	font-weight: bold;
	border-style: solid;
	border-width: 2px;
	border-color: #66bb6a;
	padding: 10px;
	font-size: 16pt;
}

.centrarHorizontal {
	display: flex;
	justify-content: center;
}

.centrarVertical {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.divPadre {
	height: 100%;
}

.bien {
	background-color:#3CBE34;
	text-align:center;
	font-size:14px;
	color:#FFF;
	padding:5px;
}

.barraClasificacion {
	background-color:#c3311a;
	text-align:left;
	font-size:16pt;
	color:#FFF;
	padding:15px;
}

.clasificacion {
	background-color: #c3311a;
	color: #ffffff;
	padding: 10px;
	font-size:13pt;margin:5px;
}

header {
    width: 100%;
}

.menu-fixed {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
}

.justificar {text-align: justify;font-size: 18px;}

p {text-align: justify;font-size: 18px;}

.textoCorto {font-size: 18px;color: #616161;}

.usuario {font-size: 16px;color: #616161;}

.vertical {display: flex;justify-content: center;align-items: center;}

@media screen and (max-width: 1950px) {
	.tituloNotas {font-size: 24px;line-height: normal;font-weight: 900;color: #000000;}
	.fechaEvento {font-size: 22px;line-height: normal;color: #616161;}
	.tituloPrincipal {font-size: 48px;line-height: normal;font-weight: bold;text-align: center;}
	.secciones {font-size: 38px;font-weight: bold;font-style: italic;color: #616161;}
	.tam-img {width: 250px};
}

@media screen and (max-width: 1420px) {
	.tituloNotas {font-size: 24px;line-height: normal;font-weight: 900;color: #000000;}
	.fechaEvento {font-size: 22px;line-height: normal;color: #616161;}
	.tituloPrincipal {font-size: 36px;line-height: normal;font-weight: bold;text-align: center;}
	.secciones {font-size: 38px;font-weight: bold;font-style: italic;color: #616161;}
	.tam-img {width: 230px};
}

@media screen and (max-width: 1100px) {
	.tituloNotas {font-size: 24px;line-height: normal;font-weight: 900;color: #000000;}
	.fechaEvento {font-size: 22px;line-height: normal;color: #616161;}
	.tituloPrincipal {font-size: 28px;line-height: normal;font-weight: bold;text-align: center;}
	.secciones {font-size: 30px;font-weight: bold;font-style: italic;color: #616161;}
	.tam-img {width: 200px};
}

@media screen and (max-width: 800px) {
	.tituloNotas {font-size: 24px;line-height: normal;font-weight: 900;color: #000000;}
	.fechaEvento {font-size: 22px;line-height: normal;color: #616161;}
	.tituloPrincipal {font-size: 26px;line-height: normal;font-weight: bold;text-align: center;}
	.secciones {font-size: 28px;font-weight: bold;font-style: italic;color: #616161;}
	.tam-img {width: 170px}
}

@media screen and (max-width: 650px) {
	.tituloNotas {font-size: 24px;line-height: normal;font-weight: 900;color: #000000;}
	.fechaEvento {font-size: 22px;line-height: normal;color: #616161;}
	.tituloPrincipal {font-size: 26px;line-height: normal;font-weight: bold;text-align: center;}
	.secciones {font-size: 28px;font-weight: bold;font-style: italic;color: #616161;}
	.tam-img {width: 100px}
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}

.textarea-container {
  display: grid;
}

.textarea-container2 {
  display: grid;
}

.textarea-container::after,
.textarea-container textarea {
  /* Hacen que el texto ocupe el mismo espacio */
  grid-area: 1 / 1 / 2 / 2;
  /* Estilos visuales comunes */
  padding: 8px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  resize: none; /* Evita que el usuario lo redimensione manualmente */
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}

.textarea-container2::after,
.textarea-container2 textarea {
  /* Hacen que el texto ocupe el mismo espacio */
  grid-area: 1 / 1 / 2 / 2;
  /* Estilos visuales comunes */
  padding: 8px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  resize: none; /* Evita que el usuario lo redimensione manualmente */
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}

.textarea-container::after {
  content: attr(data-replicated-value) " ";
  visibility: hidden;
  white-space: pre-wrap; /* Mantiene los saltos de línea */
}

.textarea-container2::after {
  content: attr(data-replicated-value) " ";
  visibility: hidden;
  white-space: pre-wrap; /* Mantiene los saltos de línea */
}

.textarea-container textarea {
  overflow: hidden;
}

.textarea-container2 textarea {
  overflow: hidden;
}

.auto-resize {
  field-sizing: content;
  resize: none; /* Evita que el usuario lo cambie manualmente */
  min-height: 50px;
  width: 100%;
  font-family: sans-serif;
  padding: 10px;
}

.contenedor-galeria,
.contenedor-mp4,
.contenedor-youtube {
    position: relative; 
    display: inline-block;
}

.contenedor-galeria img {
    display: block;
    width: 300px;
    height: auto;
}

.contenedor-mp4 video {
    display: block;
    width: 300px;
    height: auto;
}

.contenedor-youtube iframe {
    display: block;
    width: 300px;
    height: auto;
}

.boton-equis {
    position: absolute; /* Separa el botón del flujo normal del documento */
    /*top: 8px;*/          /* Distancia desde arriba */
    /*right: 8px;*/        /* Distancia desde la derecha */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    color: white;       /* Color de la X */
    border: none;
    border-radius: 50%; /* Hace que el botón sea un círculo */
    width: 30px;
    height: 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

/* Efecto al pasar el ratón por encima */
.boton-equis:hover {
	background-color: rgba(0, 0, 0, 0.8); 
}

.boton-personalizado {
	cursor: pointer;
}

.modal-body {
    max-height: calc(100vh - 200px); /* Ajusta este valor según el tamaño de tu header/footer del modal */
    overflow-y: auto;
}

.contenedor-imagen {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 800px;
}

.contenedor-imagen img {
	width: 100%;
	height: auto;
	display: block;
}

.texto-transparente {
	position: absolute;
	bottom: 40px;
	left: 20px;
	right: 20px;
	/* Fondo negro con 50% de transparencia (el último valor es la opacidad) */
	background-color: rgba(0, 0, 0, 0.3); 
	color: white;
	padding: 8px;
	border-radius: 10px;
	text-align: center;
}

.galeria {
  /*display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;*/
  padding: 2px;
}

.galeria img {
  /*width: 100%;*/
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.005);
}

/* Modal a pantalla completa */
.modalImg {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9); /* Fondo oscuro semitransparente */
  justify-content: center;
  align-items: center;
}

.modalImg img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Botones de control y cierre */
.cerrar, .nav-btn {
  position: absolute;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
}

.cerrar {
  top: 1px;
  right: 35px;
}

.nav-btn {
  top: 50%;
  transform: translateY(-50%);
}

.atras { left: 20px; }
.adelante { right: 20px; }

.imagenesfueraderango {
	display: none;
}

.btn-opciones a:hover {
	background: #749bc7;
}

.contenedor1-busqueda {
    padding: 8px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 7px rgba(0,0,0,.1);
    padding-left: 15px;
}

.contenedor1-busqueda a {
  text-decoration-line: none;
  color: #343434;
}

.contenedor1-busqueda a:hover {
  color: #000;
}
/* .input-field input[type=text] {border: 1px solid #616161; padding: 4px; margin: 0px; height: 25px;}

.input-field input[type=text]:focus {box-shadow: 0.5px 0.5px 0.5px 0.5px #616161;}

.input-field input[type=password] {border: 1px solid #616161; padding: 4px; margin: 0px; height: 25px;}

.input-field input[type=password]:focus {box-shadow: 0.5px 0.5px 0.5px 0.5px #616161;} */

