body {
  font-family: 'Lora', serif;
  font-size: 14.5px;
  line-height: 1.3;
  --h0-color: rgb(103, 162, 165);
  --h1-color: #95d4d8;
  --h2-color: #2a7886;
  --h3-color: rgb(49, 101, 105);
  --chap-text: #008b8b;
  --toc-text-color: rgb(37, 75, 88);
  --toc-over-color: #b4cad1;
  --border-chap: #cbdadb;
}
/* Índice */
#index_title{
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: normal;
}
#cap_prefacio{
  margin-bottom: 1.2em;
  font-family: 'Cormorant Garamond', serif;
  font-size: 250%;
  font-weight: 300;
  color: var(--h0-color);
  padding: 0.5em;
}
.toc_link{
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px;
  font-weight: normal;
  font-weight: 300;
}
.toc_selected {
  border-bottom: 5px solid 	var(--h0-color);
  border-left: 5px solid 	var(--h0-color);
}
/* salmon #FA8072 *//* Gris #3A3A3A; #535353; // Verde obscuro #0f4137*/
/* Temas */
.page h1 {
  color: var(--h1-color); 
  margin: 0;
  margin-bottom: 3em;
}
/* Subtemas */
.page h2 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 128%;
  margin-top: .65em;
  margin-bottom: 1.28em;
}
.page h3 {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 112%;
  margin-top: 0.5em;
}
.page h4{
  font-family: 'Noto Sans SC', sans-serif;
  color: rgb(37, 118, 124);
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 500;
}
.page h5 {
  font-family: 'Noto Sans SC', sans-serif;
  color: rgb(4, 149, 160);
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 500;
}
ref{
  color: #34495e;/*#25b3b8;*/
}
.blue-item{
  color:var(--h2-color);
  font-weight: bold;
  font-size: 106%;
}
#bibl{
  font-size: 92%;
}
.note {
  border-left: 4px solid #3867d6;
  color: #1e272e;
}
.num_block {
  border-left: 4px solid #16a085;
}
.num_block[prefix="Teorema"] {
  border-left: 4px solid #2ecc71;
}
.num_block[prefix="Lema"] {
  border-left: 4px solid #f39c12;
}
.center-image {
  display: block;
  margin: 0.5em auto 1em auto;
}
.image_expand {
  -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
}

.interactive {
  text-align: center;
  border-radius: 2px;
  overflow: hidden;
}

.image_link {
  border: 2px solid #2ecc71;
}

.note, .num_block {
  line-height: 1.2;
}
.footnote {
  line-height: 1.2;
  margin-bottom: 0.4em;
}
a {
  color: #0881a3;
}
li {
  padding: 0 0 0.4em 0;
}
ol, ul {
  line-height: 1.2;
}
p {
  line-height: 1.3;
  margin: 0.55em 0;
}
div {
  line-height: 1.18;
}
xmp {
  line-height: 1.18;
}
code, code_math {
  display: inline;
}
code, pre, code_math {
  font-family: 'UbuntuMono', monospace;
  font-size: 107%;
  color: #46b7b9;
  line-height: 1.1;
}
xmp {
  font-family: 'UbuntuMono', monospace;
  font-size: 107%;
  color: #e67e22;
  border: 1px solid #e67e22;
}
.interactive {
  padding-bottom: 5px !important;
}
.katex {
  font-size: 110% !important;
}

.cover_title {
  position: absolute;
  color: #0089cd;
  font-size: 350%;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.cover_subtitle {
  position: absolute;
  left: 57px;
  right: 0px;
  bottom: 45px;
  text-align: center;
  color: #0089cd;
  font-size: 220%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}

.chap_text {
  font-family: 'Cormorant Garamond', serif;
  text-align: right;
  color: var(--chap-text);
  font-size: 300%;
  border-right: 5px solid var(--border-chap);
  padding-right: 0.25em;
}
.chap_name {
  font-family: 'Noto Sans SC', sans-serif;
  text-align: right;
  font-size: 130%;
  /*text-shadow: 1px 2px rgba(0,0,0,0.15);*/
  border-bottom: 5px solid #cbdadb;
  border-right: 5px solid #cbdadb;
  padding: 0.5em;
  margin-bottom: 2.8em;
}
#cap_bibliografia {
  font-size:300%;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--h0-color);
  /*color: #29a8ab;*/
  padding: 5px 0.25em 0 0;
}
.special-title{
  font-size: 180% !important;
  font-weight: 300;
  font-family: 'Cormorant Garamond', serif !important;
  color: var(--h0-color) !important;
  padding: 5px 0.25em 30px 0;
}

em {
  color: #1e3799;
}
figcaption {
  margin-top: 0.5em;
  color: #34495e;
}
pageref {
  text-decoration: none;
  color: #0089cd;;
}

figcaption[class="interactive_note"] {
  color: #e74c3c;
}
.blue {
  color: #3867d6;
}
.red {
  color: #c0392b; /* e61c5d*/
}
/* esta linea es solo para ver el limite del texto, para que no sobre pase los números */
.page_number {
  /*border-top: 1px solid #ddd;*/
  padding: 0.5em 3.75em 0 3.75em;
}
.page:nth-child(even) .page_number {
  text-align: right;
}
.page:nth-child(odd) .page_number {
  text-align: left;
}

/* tablas */
table{
  width: 100%;
}
.vec-prop-col{
  width: 40%;
}
.vec-bprop-col{
  width: 60%;
}
.vec-sprop-col{
  width: 50%;
}
.vec-sprop-col{
  width: 90%;
}
.small-font{
  font-size: small;
}
.t-center{
  text-align: center;
}

/** Ajustes para el modo oscuro */
body.dark img, body.dark{
  background-color: #edf1f1;
}
body.dark figcaption {
  color: #d2edf8;
}
body.dark ref {
  color: #15d0ff;
}
/** estilo que corrige un problema con la formula de la pagina 46 */
body.dark .mord, body.dark .mathbf, body.dark .mord *, body.dark .mathbf *{
  color: rgb(255, 255, 255) !important;
}

bibitem {
  text-align: left;
}