body {
  font-family: 'Lato', sans-serif;
  font-size: 17.6px;
}

.page h1 {
  color: var(--h1-color);
}
.page h2 {
  color: var(--h2-color);
  font-size: 140%;
}
.page p {
  line-height: 1.15em;
}
a {
  color: var(--link-text-color);
}

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

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

li {
  padding: 0 0 0.4em 0;
}

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

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

.cover_title {
  position: absolute;
  top: 605px;
  left: 57px;
  right: 0px;
  color: #0089cd;
  font-size: 250%;
  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 {
  position: absolute;
  right: var(--page-right-margin);
  top: 200px;
  color: #0089cd;
  font-size: 500%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.chap_name {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  left: 58px;
  width: 582px;
  top: 395px;
  height: 170px;
  color: #0089cd;
  font-size: 250%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}

figcaption {
  margin: 0.2em 0 0 0;
}

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

body.dark {
  --book-background-color: #ecf0f1;
  --page_color: #ffffff;
  --text-color: #000000;
  --toc-text-color: #273c75;
  --toc-over-color: #cfe9fc;
  --toc-number-color: #192a56;
  --h1-color: #0089cd;
  --h2-color: #000099;
  --h3-color: #000099;
  --h4-color: #000099;
  --link-text-color: #3867d6;
  --note-color: #3867d6;
  --note-text-color: #1e272e;
  --interactive-color: #ffffff;
  --interactive-border-color: #2ecc71;
  --image-border-color: #2ecc71;
  --page-separation-color: #e5e5e5;
  --bibliography-color: #0089cd;
  --figcaption-text: #34495e;
  --popup-bib-info-background: #c7ecee;
  --toc-button-border: #8e9091;
  --switch-background-color: #ffffff;

  filter: invert(1) hue-rotate(180deg);
}
body.dark img,
body.dark .interactive,
body.dark video {
  filter: invert(1) hue-rotate(180deg) !important;
}
body.dark #btn_config {
  background-image: url("../book/css/img/config.svg");
}
body.dark #go_to_table_of_content {
  background-image: url("../book/css/img/table_of_content.svg");
}
body.dark #close_to_table_of_content {
  background-image: url("../book/css/img/cerrar.svg");
}
body.dark .btn_expand {
  background-image: url("../book/css/img/ampliar.svg");
}
body.dark .btn_link {
  background-image: url("../book/css/img/link.svg");
}
body.dark #btn_dark {
  background-image: url("../book/css/img/moon.svg");
}
body.dark #btn_light {
  background-image: url("../book/css/img/sun.svg");
}