body {
  font-family: 'Lato', sans-serif, times new roman;
  font-size: 18px;
}

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

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


.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: 107%;
  color: blue;
}
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: #000000;
  font-size: 200%;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.cover_subtitle {
  position: absolute;
  left: 57px;
  right: 0px;
  bottom: 80px;
  text-align: center;
  color: #000000;
  font-size: 150%;
  text-shadow: 10px 5px 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);
}


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

#tool_calculadora {
  width: 35px;
  height: 35px;
  background-image: url("iconos/icono_claro.svg");
}

body.dark #tool_calculadora {
  background-image: url("iconos/icono_oscuro.svg");
}

.caja_menu .toc_link {
  color: aqua;
  padding: 6px 2px;
}

.toc_link * {
  color: inherit;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
}
.toc_lank * {
  color: inherit;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
}
.toc_link .pageref_number {
  font-size: 20px;
}
.toc_lank .pageref_number {
  font-size: 20px;
}
.toc_link .pageref_postfix {
  margin-left: 15px;
  font-size: 20px;
}
.toc_lank .pageref_postfix {
  margin-left: 15px;
  font-size: 20px;
}
.toc_link::before {
  border-bottom: none;
}
.toc_lank::before {
  border-bottom: none;
}
.toc_link:hover, .toc_link:hover a, .toc_link:hover .toc_number, .toc_link:hover a > span:first-child {
  background-color: rgb(7, 58, 95);
} 
  .toc_lank:hover, .toc_lank:hover a, .toc_lank:hover .toc_number, .toc_lank:hover a > span:first-child {
  background-color: rgb(7, 58, 95);
}
/* Caja para insertar los contenidos (índice) */
.caja_menu {
  position: relative;
  left: 50px;
  width: 450px;
  height: 750px;
  margin-left: 5px;
  margin-right: 10px;
  margin-top: -15px;
  padding: 10px;
  float: left;
  overflow: hidden;
  color: seagreen;
}

.caja_menu p {
  font-size: 1.4em;
  line-height: 1.3;
  color: aqua;
  background: rgba(76, 175, 80, 0.0);
  padding: 0px;
  margin: 0px;
}

.caja_menu h2 {
  color: brown;
  font-size: 0.8em;
  background: rgba(176, 75, 80, 0.0);
  padding: 3px;
  text-align: left;
  margin-left: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.caja_menu a {
  color: aqua;
  background: rgba(76, 175, 80, 0.0);
  padding: 0px;
  margin-left: 0px;
}
/* Caja llamada "section", que podemos usar para cambiar tamaño de fuente, fondos, etc., o combina con la caja 0 */
section {
  width: 512px;
  padding: 15px 15px 10px 10px;
  font-size: 0.9em;
  text-align: left;
}
section p {
  padding-top: 0;
  margin-top: 0;
}

section h1 {
  color: #f22;
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 0px;
  text-shadow: 1px 2px rgba(0,0,0,0.85);
}

.caja0 {
  margin-top: 5px;
  background-color: rgba(0, 165, 255,0.55);
  box-shadow: 0px 2px 5px #1c1a19;
  padding:10px 15px 10px 15px;
  font-size: 1em;
  color:#ffffff;
}
.caja1{
	background-color: #FFFFf3;
	box-shadow: 3px 3px 5px #666;
	padding: 5px;
	text-align: left;
	width:100%;
	border-radius:3px;
	margin-right: auto;
	margin-left: auto;
}
.caja2 {
	background-color: #FFFFf3;
	box-shadow: 3px 3px 5px #666;
	padding: 15px;
	text-align: left;
	font-size:1em;
	width:100%;
	border-radius:3px;
	margin-right: auto;
	top:50%;
}

.caja3 {
	background-color: #ECF0F1  ;
	box-shadow: 3px 3px 5px #666;
	padding: 15px;
	text-align: center;
	
	font-size:1em;
	width:100%;
	border-radius:6px;
	margin-right: auto;
	margin-left: auto;
	
	position: relative; top: 50%; 	
	transform: translateY(120%);
}
.frase {
  position: right;
  top:60%;
  text-align: center;
  color: #0000FF;
  font-size: 150%;
  font-family:Times new roman;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.lista1 li{
	padding-top: 7px;
	padding-left: 30px;
	list-style: none;
	background-image: url("../images/general/arrow.svg");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 20px;
}
