/* EAJ: inicio de ajuste de footer para que
   - contenga la información de licencias
   - no tenga los íconos de Pretext, Runestone, y MathJax que tiene por defecto.
*/
.ptx-page-footer::after {
  display: block;
  white-space: pre-wrap; /* Preserves line breaks and wraps text as needed */
  content: "IM® es una marca registrada de Illustrative Mathematics®. Se usa con su autorización.\A\AGrados K-5 adaptados de IM®K–5 Math v.I, © 2021 Illustrative Mathematics®, disponibles en https://curriculum.illustrativemathematics.org, bajo licencia Creative Commons Attribution 4.0 International (CC BY 4.0).\A\AGrados 6-8 adaptados de IM®6–8 v3.1415, © 2019 Illustrative Mathematics®, disponibles en https://curriculum.illustrativemathematics.org, bajo licencia CC BY 4.0, a su vez © 2017-2019 Open Up Resources 6–8 Math v2, disponibles en https://openupresources.org, bajo la misma licencia CC BY 4.0.";
  padding: 2ex;
  font-size: 9pt;
}
.pretext-link {
  display: none;
}
.runestone-link {
  display: none;
}
.mathjax-link {
  display: none;
}
/* EAJ: FIN de ajuste de footer */


/* EAJ - para que las imágenes no necesiten width= 
   Importante para que los objetos de las figuras tikz (svg) tengan tamaños uniformes
   (por ejemplo, que todos los puntos de todos los dados tenga el mismo tamaño)
*/
.ptx-content .image-box img,  
.ptx-content img.contained,  
.ptx-content .sbspanel img {
    width: unset;
    max-width: 100%;
    height: auto;
}
.ptx-content .image-box {
   text-align: center;
}

/* EAJ - padding top y bottom para las imágenes (distinto en los sbspanel porque
   los sbsrow ya tienen padding.
)*/
.ptx-content img.contained,  
.ptx-content .sbspanel img {
    padding-block: 1ex;
}
.ptx-content .image-box img {
    padding-block: 2ex;
}


/* EAJ - quitar los números a remark-like */
/* article[id*='remark'] .codenumber {
  display:none !important;
} */

/* EAJ -  quitar el punto en el título de remark:*/
/* article[id*='remark'] .period {
  display:none !important;
} */

/* EAJ - agregar salto de línea después del título de remark*/
/* .pretext-content section article.remark-like > .heading + p {
  display: block;
  padding-top: 0.3em;
}
article[id*='remark'] .heading::after, .remark-like .heading::after {
  display:none !important;
} */

/* EAJ - quitar los números a activity */
article[class*='activity'] .heading .codenumber {
  display:none !important;
}

/* EAJ -  quitar el punto de activity:*/
article[class*='activity'] .heading .period {
  display:none !important;
}

/* EAJ -  quitar el tipo de activity:*/
article[class*='activity'] .heading .type {
  display:none !important;
}

/* EAJ - quitar los espacios a activity */
article[class*='activity'] .heading  .space {
  display:none !important;
}

/* EAJ - agregar salto de línea después del título de activity*/
.pretext-content section article.project-like > .heading + p {
  display: block;
  padding-top: 0.3em;
}
article[class*='activity'] .heading::after, .project-like .heading::after {
  display:none !important;
}

/* EAJ - quitar los números a exploration */
article[class*='exploration'] .heading  .codenumber {
  display:none !important;
}

/* EAJ - quitar los puntos a exploration */
article[class*='exploration'] .heading  .period {
  display:none !important;
}

/* EAJ - quitar los espacios a exploration */
article[class*='exploration'] .heading .space {
  display:none !important;
}

/* EAJ -  quitar el tipo de exploration:*/
article[class*='exploration'] .heading .type {
  display:none !important;
}


/* EAJ - agregar salto de línea después del título de exploration*/
.pretext-content section article.project-like > .heading + p {
  display: block;
  padding-top: 0.3em;
}
article[class*='exploration'] .heading::after, .project-like .heading::after {
  display:none !important;
}


/* EAJ - quitar los números a project */
article[class*='project'] .heading  .codenumber {
  display:none !important;
}

/* EAJ - quitar los puntos a project */
article[class*='project'] .heading  .period {
  display:none !important;
}

/* EAJ - quitar los espacios a project */
article[class*='project'] .heading .space {
  display:none !important;
}

/* EAJ -  quitar el tipo de project:*/
article[class*='project'] .heading .type {
  display:none !important;
}



/* EAJ - quitar los números a retos (Estas listo para más - are you ready for more) est */
details[class*='question example-like'] .heading  .codenumber {
  display:none !important;
}

/* EAJ - quitar los puntos a retos (Estas listo para más - are you ready for more) est*/
details[class*='question example-like'] .heading  .period {
  display:none !important;
}

/* EAJ - quitar los espacios a retos (Estas listo para más - are you ready for more) est*/
details[class*='question example-like'] .heading .space {
  display:none !important;
}

/* EAJ -  quitar el tipo de retos (Estas listo para más - are you ready for more) est*/
/* details[class*='question example-like'] .heading .type {
  display:none !important;
} */

/* EAJ - quitar los números a retos (Estas listo para más - are you ready for more) para el profe */
article[class*='question example-like'] .heading  .codenumber {
  display:none !important;
}

/* EAJ - quitar los puntos a retos (Estas listo para más - are you ready for more) para el profe */
article[class*='question example-like'] .heading  .period {
  display:none !important;
}

/* EAJ - quitar los espacios a retos (Estas listo para más - are you ready for more) para el profe */
article[class*='question example-like'] .heading .space {
  display:none !important;
}

/* EAJ -  quitar el tipo de retos (Estas listo para más - are you ready for more) para el profe */
/* article[class*='question example-like'] .heading .type {
  display:none !important;
} */




/* EAJ - agregar salto de línea después del título de project*/
/*.pretext-content section article.project-like > .heading + p {
  display: block;
  padding-top: 0.3em;
}
article[id*='project'] .heading::after, .project-like .heading::after {
  display:none !important;
}*/



/* para quitar a remark-like usar*/
/*.remark-like .codenumber{
  display:none !important;
}*/

/*article[id*='remark'] .period, .remark-like .period {
  display:none !important;
}*/


/*Para cambiar la fuente*/
/* p {
  font-family: Arial, Helvetica, sans-serif;
} */


/* EAJ - fondo de assemblage-like */
article[id*='assemblage'] {
  background-color: #e9eff5 !important;
}

/**************************************
  EAJ - sigue el [custom-styles.css] de Oscar Levin en el que 
  están basados los comandos de arriba.
**************************************/

/*:root {
  --documenttitle: #395E66;
  --bodytitle: #A62E1C;
  --bodysubtitle: #2B5F82;
  --bodytitlehighlight: #e0e9ff;
  --bodysubtitlehighlight: #FCE5E4;

  --chaptertoc: #395E66;
  --chaptertoctext: white;
  --chaptertocactive: hsl(175, 100%, 31%);
  --chaptertoctextactive: white;
  --sectiontoc: #f0f0f0;
  --sectiontoctext: #395E66;
  --sectiontocactive: var(--chaptertocactive);
  --sectiontoctextactive: var(--chaptertoctextactive);
  --tocborder: #1f4283;

  --highlighttoc: #223843;
  --highlighttoctext: white;
  --highlighttocborder: white;

  --assemblageborder: #bfd5ec;
  --assemblagebackground: #e9eff5;

  --knowlborder: #e0e9ff;
  --knowlbackground: #f5f8ff;


  
  --primaryrich: hsl(191, 28%, 31%);
}*/


/*.pretext-content .assemblage-like {
  border-radius: 3px;
  margin-bottom: 1em;
}

.pretext-content .assemblage-like .heading{
    margin-top: -1.25em;
    background-color: #bfd5ec;
    display: table;
    padding: 5px 10px;
}

.pretext-content .assemblage-like .MJXc-display {
    background-image: none;
    background-image: linear-gradient(to right, #e9eff5, #e9eff5), linear-gradient(to right, #e9eff5, #e9eff5), linear-gradient(to right, rgba(0,0,0,.25), rgba(242,242,254,0)), linear-gradient(to left, rgba(0,0,0,.25), rgba(242,242,254,0));
}

/* Remove Greg-L on assemblage and everything else */
/*.pretext-content article.theorem-like::after, .pretext-content article.definition-like::after, .pretext-content article.example-like::after, .pretext-content article.project-like::after, .pretext-content article.objectives::after, .pretext-content article.outcomes::after, .pretext-content article.remark-like::after {
  border-bottom: none !important;
}*/

/*article[id*='investigation'], .project-like {
  background-color: white;
  border: solid 3px #395E66 !important;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 1em;
}*/

/*article[id*='investigation'] .heading, .project-like .heading {
  margin-top: -1.25em !important;
  background-color: white;
  display: table !important;
  padding: 5px 1em;
  margin-left: 5px;
  font-style: italic;
  font-size: 120% !important;
}*/

/*article[id*='investigation'] .codenumber, .project-like .codenumber {
  display:none !important;
}*/

/*article[id*='investigation'] .heading::after, .project-like .heading::after {
  display:none !important;
}*/

/*article[id*='example'] {
  border-left: solid 1pt #395E66 !important;
  border-bottom: solid 1pt #d1d1d1;
  padding-left: 1ex !important;
  padding-bottom: 0.5ex !important;*/
  /* margin-left: 1ex; */
/*}*/

/*.posterior {
  margin-left: 1ex;
  padding-left: 1ex;
  margin-top: -1.25em !important;
  padding-top: 1ex;
  border-left: solid 1pt gray;
}*/

/*separate proof environment in example solutions:*/
/* article .remark-like .proof {
  margin-top: 1em;
  padding-left: 1ex;
} */

/*article.proof {
  padding-top: 1ex !important;
  padding-left: 1em !important;
  padding-right: 1em !important;
  border-right: none !important;
}*/

/*change qed symbol:*/
/*.pretext-content .proof:after{
  content: "qed";
  font-variant: small-caps;
  font-size: 1.1em;
  margin-right: 0em !important;
  border-bottom: none !important;
  margin-top: -1em !important;
}*/

/* article.example-like:after {
  border-bottom: none !important;
} */

/*article.theorem-like {*/
    /* border-left: solid 1pt #d1d1d1 !important; */
    /* border-right: solid 1pt #d1d1d1 !important; */
    /* background-color: #f0f0f0; */
/*}*/

/*article.theorem-like:after {*/
  /* border-bottom: none !important; */
/*}*/

/*style toc */
/*#toc ul li a, #toc ul li a:link, #toc ul li a:visited {
    color: #20477b;
    background: #e2e6e8;
}*/

/*pretext-content .summary-links a, .pretext-content .summary-links a:link, .pretext-content .summary-links a:visited {
    color: #395E66;
    background: #f0f0f0;
    text-decoration: none;
    cursor: pointer;
}*/



/*.pretext-content .summary-links a:hover, .pretext-content .summary-links a:focus {
    color: white;
    background: #223843;
    text-decoration: none;
}*/


/*#masthead #logo-link img, #masthead .logo-link img {
    width: auto;
    height: auto;
    max-height: 1.2em;
}*/

/* #masthead #title-container > .heading, #masthead .title-container > .heading, #masthead .title-container > .heading a:link, #masthead .title-container > .heading a:visited {
  color: #395E66 !important;
} */

/* #toc ul li a, #toc ul li a:link, #toc ul li a:visited {
  color: #395E66;
} */

/* #toc h2 a, #toc h2 a:link, #toc h2 a:visited {
    color: white;
    background: #395E66;
} */

/* #toc ul li a.active, #toc ul li a:active, #toc h2 a:active {
    color: white;
    background: #00A092;
} */

/*#toc h2.link.active a {
  background: #1a4e94;
}*/

/* #toc h2 a:hover, #toc ul li a:hover {
  color: white;
  background: #223843;
  border-color: #223843;
} */

/* style case headings
.pretext-content .case > .heading{
  display: inline;
  text-decoration: underline;
  font-weight: normal;
}
.pretext-content .case > .heading + p {
  display: inline;
} 