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);
}

body.dark .interactive {
	background: #acc;
}


.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: #27ae60;
}
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: 60px;
  right: 0px;
  color: MediumBlue;
  font-size: 260%;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}
.cover_subtitle {
  position: absolute;
  top: 715px;
  left: 57px;
  right: 0px;
  bottom: 45px;
  text-align: center;
  color: MediumBlue;
  font-size: 190%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}

.chap_text {
  position: absolute;
  right: var(--page-right-margin);
  top: 50px;
  color: #E0FFFF;
  font-size: 500%;
  text-shadow: 1px 2px rgba(0,0,0,0.45);
}
.chap_name {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  left: 50px;
  width: 582px;
  top: 275px;
  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");
}
.caja0 {
	border-radius: 15px;
    border: 4px solid #2073d6;
    padding: 10px;
    width: auto;
    height: auto;
}
	
.caja1 {
	font-size: 17px;
	 border-radius: 15px;
	 margin:15px 5px 15px 5px;  
	 background-color: #cff9f9; 
	 padding:10px 10px 10px 10px; 
	 border: 4px solid #cff9f9;
}
table, th, td {
border: 1px solid black;
 border-collapse: collapse;
text-align: left;
}
table {
width:100%;
}
th, td {
padding: 2px 10px 2px 10px;
}
th {
background: rgb(79,112,197);
color: white;
}
tr:nth-child(even) {background-color: #cff9f9;}

.lista3 li {
	padding-top: 0px;
	padding-left: 35px;
	list-style: none;
	background-image: url("../images/ok.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
}

#tool_calculadora {
  width: 35px;
  height: 35px;
  background-image: url("iconos/calc.png");
}

body.dark #tool_calculadora {
  background-image: url("iconos/calc_oscuro.png");
}

#tool_desmos {
  width: 35px;
  height: 35px;
  background-image: url("iconos/descartes.png");
}

body.dark #tool_desmos {
  background-image: url("iconos/descartes_oscuro.png");
}

#tool_geogebra {
  width: 35px;
  height: 35px;
  background-image: url("iconos/geogebra.png");
}

body.dark #tool_geogebra {
  background-image: url("iconos/geogebra_oscuro.png");
}

.t4{
	color: #000000; 
	font-family: 'descartesJS_Sansserif', sans-serif; 
	font-size: 18px; 
	font-weight: 700; 
	margin: 0 0 0; 
	margin:15px 35px 0px 35px; 
	font-weight: bold;
		}

body.dark .t4 {
		color: #ddd;
	}

.fondo_check {
	 margin:25px 5px 0px 5px;  
	 background-color: #cff9f9; 
	 padding:10px 15px 10px 15px; 
	 border: 1px solid #cff9f9;
	}
	
body.dark .fondo_check {
		color: #50a9b2;
	}	

.fondo_check00 {
	padding: 1em;
  background-color: #ecf0f1;
  border: 1px solid #3498db;
  border-radius: 4px;
	}

body.dark .fondo_check00 {
		color: var(--h1-color);
	}
	
.fondo_check0 {
	 margin:25px 5px 0px 5px;  background-color: #e1faad; padding:10px 15px 10px 15px; border: 1px solid #e1faad;
	}
	
.fondo_check1 {
	 margin:25px 5px 0px 5px;  background-color: #ffffff; padding:10px 15px 10px 15px; border: 1px solid #0d6cee;
	}

.fondo_check2 {
	 margin:25px 5px 0px 5px;  
	 background-color: #cff9f9; 
	 padding:10px 15px 10px 15px; 
	 border: 1px solid #335bff;
	 border-radius: 15px;
	}

body.dark .fondo_check2 {
		color: black;
	}	
	
	
.lista3 li {
	padding-top: 0px;
	padding-left: 35px;
	list-style: none;
	background-image: url("../images/ok.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
}

.caja14 {
  margin-left: 50px;
  width: 60%;
  background-color: rgba(30, 144, 255,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 15px 25px 10px 15px;
  font-size: 18px;
  color:#02135D;
}
.caja14 a {
  color: orange;
}

.caja141 {
  margin-left: 60px;
  width: 90%;
  background-color: rgba(0, 89, 189, 0.2);
  box-shadow: 6px 6px 6px #808080;
  border-radius: 10px;
  padding: 5px 10px 10px 10px;
  font-size: 15px;
  color:#00008B;
}
.caja3 {
  position: relative;
  margin-left: 15px;
  display: inline-block;
  width: 315px;
}
.caja5 {
  position: relative;
  width: 190px;
  display: inline-block;
  margin-left: 20px;
  text-align: left;
}
.caja15 {
  width: 90%;
  background-color: rgba(250,250,250,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 25px;
  padding-top: 15px;
  padding-bottom: 10px;
  font-size: 20px;
  color:red;
}
.columna1 {
	width:250px;
	
	
}
.columna2 {
	position:absolute;
	top:35px;
	left:340px;
	width:250px;
	font-size:17px;
	
	
}

.columna2j {
	position:absolute;
	top:35px;
	left:340px;
	width:250px;
	font-size:17px;
	
}

.columna1b {
	width:230px;
	
	
}
.columna2b {
	position:absolute;
	top:35px;
	left:290px;
	width:300px;
}

.columna1_1 {
	width:265px;
	background-color: rgba(50,250,250,0.15);
    border-radius: 20px;
    padding: 20px;
	font-size: 16px;
	color:black;
	
}

.columna1_2 {
	width:255px;
	background-color: rgba(50,250,250,0.15);
    border-radius: 20px;
    padding-top:10px;
	padding-bottom:15px;
	font-size: 16px;
	color:black;
	
}

.columna2_1 {
	position:absolute;
	top:50px;
	left:330px;
	width:255px;
	background-color: rgba(0, 89, 189, 0.2);
    border-radius: 20px;
    padding: 25px;
	padding-top:20px;
	padding-bottom:50px;
	font-size: 16px;
	color:#2073d6;
    margin-left: auto;
    margin-right: auto;
	margin-top: 120px; 
}

/* estilo para los enlaces en la tabla de contenidos */
.caja_menu .toc_link {
  color: aqua;
  padding: 6px 2px;
}

.toc_link > * {
  color: RoyalBlue;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
}

.toc_link .pageref_number {
  font-size: 19px;
}

.toc_link .pageref_postfix {
  margin-left: 25px;
  font-size: 18px;
}

.toc_link::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: rgba(0, 89, 189, 0.2);
}

.num_block[prefix="jercicio"] {
  padding: 1em;
  background-color: #ecf0f1;
  border: 1px solid #3498db;
  border-radius: 4px;
}

.num_block[prefix="jercicio"] .num_block_prefix {
  color: #2F4F4F;
}

body.dark .num_block {
		color: #aaa;
	}