body {
  font-family: 'SourceSansPro';
  font-size: 19px;
}

.page h1 {
  color: var(--h1-color);
}
.page h2 {
  color: var(--h2-color);
  font-size: 20px;
}
a {
  color: var(--link-text-color);
}
i {
  font-family: 'SourceSerifPro', sans-serif;
  font-size: 100%;
}


.note {
  border-left: 4px solid var(--note-color);
  color: var(--note-text-color);
}

.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;
}

.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: 1px solid var(--interactive-border-color);
  border-radius: 2px;
  background: var(--interactive-color);
}
.image_link {
  border: 2px solid var(--image-border-color);
}

li {
  padding: 0 0 0.4em 0;
}

code, code_math {
  display: inline;
}
code, pre, code_math {
  font-family: 'UbuntuMono', monospace;
  font-size: 120%;
  color: #6E6853;
}
xmp {
  font-family: 'UbuntuMono', monospace;
  font-size: 107%;
  color: #e67e22;
  border: 1px solid #e67e22;
}

.katex {
  font-size: 110% !important;
}

.cover_title {
  position: absolute;
  top: 595px;
  left: 57px;
  right: 0px;
  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_background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100px;
  background-color: #2daae4;
  border-bottom: 2px solid rgba(0,0,0,0.5);
}
.chap_number {
  position:absolute;
  left: 30px;
  top: 86px;
  color: #fff !important;
  font-size: 195%;
  font-weight: bold;
}
.chap_text {
  position: absolute;
  left: var(--page-left-margin);
  top: 80px;
  color: #ffffff;
  font-size: 220%;
  font-weight: lighter;
  text-shadow: 3px 6px rgba(0,0,0,0.15);
}
.chap_name {
  position: absolute;
  right: var(--page-right-margin);
  top: 118px;
  color: #fff !important;
  font-size: 240%;
  font-weight: lighter;
  font-style: italic;
  text-shadow: 3px 6px rgba(0,0,0,0.15);
}

table {
  border-collapse: collapse;
  border: 1px solid var(--text-color);
}
table td {
  border: 1px solid var(--text-color);
}

body.dark .invertcolor {
  filter: invert(1) hue-rotate(180deg);
}

.cuadro {
  color: #192a56;
  border-radius: 10px;
  padding: 1px 1em 0.1px 1em;
  background: #ffeaa7;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}
.cita {
  font-size: 90%;
  padding: 0.1em 1em;
  border: 1px solid #16a085;
  border-left: 4px solid #16a085;
  color: var(--note-text-color);
  border-radius: 0 1em 0 0;
}
.image_expand {
  box-shadow: none;
}
.page h3 {
  color: #000000;
  font-weight: bold;
}
.page h4 {
  color: #000000;
  font-weight: bold;
  font-size: 20px;
}
body.dark .page h4 {
  color: #3498db;
}
.ol_letters {
  counter-reset: list;
}
.ol_letters > li {
  list-style: none;
}
.ol_letters > li::before {
  content: counter(list, lower-alpha) ") ";
  counter-increment: list;
}