body {
  font-family: 'Lato', sans-serif;
  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);
}

.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: 107%;
  color: #0033CC;
}
xmp {
  font-family: 'UbuntuMono', monospace;
  font-size: 107%;
  color: #e67e22;
  border: 1px solid #e67e22;
}

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

.cover_title {
  position: relative;
  top: 595px;
  left: auto;
  right: auto;
  color: #097516;
  font-size: 350%;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.cover_subtitle {
  position: relative;
  left: auto;
  right: auto;
  bottom: 45px;
  text-align: center;
  color: #097516;
  font-size: 220%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}

.chap_text {
  position: absolute;
  left:auto;
  top: 300px;
  color: #097516;
  font-size: 500%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
  right: var(--page-right-margin);
  font-size: 500%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.chap_name {
  position: relative;
  vertical-align: middle;
  text-align: center;
  display: table-cell;
  top: 395px;
  height: 170px;
  color: #097516;
  font-size: 250%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
  left: 58px;
  width: 582px;

}
.chap_name_1 {
  position: relative;
  text-align: center;
  display: table-cell;
  top: 355px;
  height: 170px;
  color: #097516;
  font-size: 250%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
  left: 58px;
  width: 582px;

}

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");
}
.caja6 {
  position: relative;
  background-color: #ffffff;
  width: 550px;
  height:720px;
  font-size: 29px;
  text-align: center;
  border: 4px solid rgb(3, 94, 38);
  border-radius: 15px;
  padding: 5px;
}
.caja7 {
  position: relative;
  background-color: #ffffff;
  width: 550px;
  height:80px;
  font-size: 25px;
  text-align: center;
  border: 2px solid rgb(10, 94, 38, 0.6);
  border-radius: 15px;
  padding: auto;
}
.caja {
  width: 100%;
  font-size: 25px;
  text-align: center;
  line-height:auto;
  height:60px;
  background-color: rgba(0,0,100,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 5px;
 padding:15px;
}
.caja0{
	box-shadow: 10px 10px 15px #666;
	background-image: radial-gradient(circle at 74.18% -16.45%, #9bade7 0, #5e7ec4 50%, #0053a2 100%);
	padding: 6px;
	text-align: left;
	width:100%;
	border-radius:12px;
	margin-right: auto;
	margin-left: auto;
}
.caja_esp{
	box-shadow: 10px 10px 15px #666;
	background-color: #ffffb0;
	padding: 2px;
	text-align: center;
	width:94%;
	border-radius:10px;
	margin-right: auto;
	margin-left: auto;
}

.lista1 li{
	padding-top: 7px;
	padding-left: 30px;
	list-style: none;
	background-image: url("../images/arrow2.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 20px;
}
.lista2 li{
	padding-top: 7px;
	padding-left: 30px;
	list-style: none;
	background-image: url("../images/peligro.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 20px;
}
