/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

@charset "UTF-8";
/* confiugarción que solo aplica a los ensayos y textos de los planes*/
#ensayo p {
  text-indent: 1.5em;
  line-height: 2.5em;
}
#ensayo p.continuacion {
  text-indent: 0;
}
#ensayo p.hanging-indent {
  text-indent: -2em;
  padding-left: 2em;
}
#ensayo .txt-quote p, #ensayo p.txt-quote {
  text-indent: 0;
  line-height: 1.25rem;
}
#ensayo section.referencias p {
  padding-left: 2em;
  /* Adjusts overall left padding */
  text-indent: -2em;
  /* Pulls back the first line */
}
#ensayo h1, h2, h3, h4, h5 {
  line-height: normal;
}
#ensayo blockquote p {
  line-height: normal;
  margin-marign: 0px;
  text-indent: 0;
}
#ensayo figcaption {
  margin-top: 0px;
  line-height: normal;
  margin-bottom: 4rem;
}
#ensayo .txt-carta p {
  line-height: normal;
  text-indent: revert;
}
#ensayo .txt-footnote {
  text-indent: 0;
  line-height: 1.5rem;
}
/* Otros ajustes*/
a.txt-footnote-ref {
  color: #1e00ff;
  vertical-align: super;
  font-size: 0.8em;
  line-height: 0em;
}
.txt-quote {
  margin: 1.5em 0 1.5em 2em;
  /* Adds space above and below, and indents from the sides */
  padding: 0.5em 0 0.5em 1em;
  /* Internal spacing for better readability */
}
/*para el encabezado que quede centralizado en el bloque*/
.g-title {
  position: absolute;
  /* Position the <h2> absolutely inside its container */
  top: 50%;
  /* Move it to the middle vertically */
  left: 50%;
  /* Move it to the middle horizontally */
  transform: translate(-50%, -50%);
  /* Adjust positioning to truly center it */
  text-align: center;
  /* Center the text inside the <h2> */
  margin: 0;
  /* Remove any default margins that might interfere with centering */
  padding: 20px;
  /* Add padding to the inside of the <h2> */
  border: 2px solid #fff;
  /* Add a white border around the <h2> */
  background-color: rgba(230, 209, 139, 0.85);
  /* Semi-transparent white background */
  border-radius: 8px;
  /* Optional: Add rounded corners for a softer look */
}
/* para que el totop se quede abajo*/
.sticky-totop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sticky-totop.visible {
  opacity: 1;
  visibility: visible;
}
.sticky-totop a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  transition: background-color 0.3s ease;
}
.sticky-totop a:hover {
  background: rgba(0, 0, 0, 0.8);
}
/* añadir smallcaps*/
.text-smallcaps {
  font-variant: small-caps;
}
/*Para desplegar imágenes dentro del texto*/
.visually-hidden {
  position: absolute;
  left: -9999px;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
}
dialog[open], dialog[open="true"] {
  display: block;
  border: none;
  padding: 0;
  background: transparent;
  max-width: 90vw;
  margin: auto;
}
.lightbox-content {
  background: black;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  max-width: 90vw;
  margin: auto;
}
.lightbox-content img {
  max-width: 100%;
  height: auto;
}
.lightbox-content .closeImageBtn {
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
}
.lightbox-content .closeImageBtn:hover {
  color: #ccc;
}
.g-toc {
  padding: 1rem;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  z-index: 100;
  max-width: 100%;
}
.toc {
  max-height: 80vh;
  overflow-y: auto;
}
.toc-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.toc a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}
.toc a.active {
  font-weight: bold;
  color: #007bff;
  background: #e7f1ff;
  animation: pulseActive 0.3s ease;
}
@keyframes pulseActive {
  0% {
    background-color: #e7f1ff;
  }
  50% {
    background-color: #d0e7ff;
  }
  100% {
    background-color: #e7f1ff;
  }
}
.toc-h2 a {
  font-weight: bold;
  margin-top: 0.5rem;
}
.toc-h3 a {
  margin-left: 1rem;
}
.toc-h4 a {
  margin-left: 2rem;
}
.hidden-mobile {
  display: none;
}
.toc-fixed {
  position: fixed;
  top: 1rem;
}
.toc-float-button {
  display: none;
}
@media (max-width: 768px) {
  .g-toc {
    display: none;
    position: fixed;
    top: 4rem;
    left: 1rem;
    width: 80%;
    max-width: 300px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow-y: auto;
    padding: 1rem;
    z-index: 999;
  }
  .g-toc.toc-visible {
    display: block;
    animation: slideDown 0.3s ease;
  }
  .toc-float-button {
    display: block;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1000;
  }
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: #007bff;
  width: 0%;
  z-index: 9999;
  transition: width 0.2s ease-out;
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  0% {
    transform: translateX(-20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.g-toc.toc-visible {
  display: block;
  animation: slideInLeft 0.3s ease;
}
.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-text {
  vertical-align: middle;
  font-size: 1rem;
}
.hidden-loading {
  display: none;
}
/*# sourceMappingURL=custom_18.css.map */