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: Green;
  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: Green;
  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: 320px;
  height: 170px;
  color: #008000;
  font-size: 275%;
  text-shadow: 1px 2px rgba(0,128,0,0.15);
}

.cap_libro {
  position: absolute;
  bottom: 775px;
  margin-left:0px;
  right:0;
  top: 10px;
  color: #6B8E23;
  font-size: 12px;
  font-style: italic;
}

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

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

.fondo_ancho {
	 margin:25px 5px 0px 5px;  
	 background-color: #9ACD32; 
	 padding:10px 15px 10px 15px; 
	 border: 0px solid #335bff;
	 border-radius: 15px;
}
	
.caja1 {
	font-size: 17px;
	 border-radius: 15px;
	 margin:15px 5px 15px 5px;  
	 background-color: #90EE90; 
	 padding:10px 10px 10px 10px; 
	 border: 2px solid #90EE90;
}
table, th, td {
	border: 1px solid #8FBC8B;
	border-collapse: separate; /* Bordes separados */
	border-radius: 15px;
	text-align: left;
	vertical-align: middle; /* alinea vertical el texto*/
}
table {
width:100%;
}
th {
background-color: rgb(50, 205, 50);
color: white;
text-align: center;

}
th, td {
padding: 10px 10px 10px 10px;
width:55%;
}

tr:nth-child(even) {background-color: #ecf0f1;} /* Para darle el estilo cebra en la filas */


#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: #ADFF2F; 
	 padding:10px 15px 10px 15px; 
	 border: 1px solid #ADFF2F;
	 border-radius: 5px;
	}
	
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 #008b8b;  border-radius: 15px;
	}

.fondo_check2 {
	 margin:25px 5px 0px 5px;  
	 background-color: #ADFF2F80; 
	 padding:10px 15px 10px 15px; 
	 border: 1px solid #008000;
	 border-radius: 15px;
	}

body.dark .fondo_check2 {
		color: black;
	}	

.cap_titulo {
	text-align: right;
	position: absolute;
	bottom: 782px;
	margin-right:0px;
	right: 50px;
	font-size:12px;
	color:Green;
	font-style:italic;
}

.t0_titulo {
	text-shadow: 1px 1px 1px Black;
	border-collapse: collapse;
	text-align: left;
	font-size:18px;
	color:green;
	font-weight: bold;
}

.t1_titulo {
	text-shadow: 1px 1px 1px DarkGreen;
	border-collapse: collapse;
	text-align: left;
	font-size:20px;
	color:LimeGreen;
	font-weight: bold;
}	

.t1p {
	text-shadow: 2px 2px 3px Orange;
	border-collapse: collapse;
	text-align: left;
	font-size:18px;
}

.t2_titulo {
	text-shadow: 1px 1px 1px Black;
	border-collapse: collapse;
	text-align: left;
	font-size:20px;
	color:Green;
	font-weight: bold;
}	

.t3_titulo {
	text-shadow: 1px 1px 1px Black;
	border-collapse: collapse;
	text-align: left;
	font-size:20px;
	color:LawnGreen;
	font-weight: bold;
}	

.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-right: 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: 40px;
  width: 85%;
  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;
}
.caja_ia1 {
	width: 100%; /* ancho de la pagina */
	margin: 0 auto; /* centrado horizontal */
	padding: 18px; /* margen interna */
	background: linear-gradient(to right, turquoise, yellow); /* fondo */
	border-radius: 20px; /* Borde suavemente curvos */
	
}	

.licencia {
  border: 1px solid var(--text-color);
  padding: 1em;
  border-radius: 2px;
}

.columna1 {
	width:250px;
	
	
}
.columna2 {
	position:absolute;
	top:40px;
	left:340px;
	width:250px;
	font-size:17px;	
}

.columna2a {
	position:absolute;
	top:100px;
	left:340px;
	width:250px;
	font-size:17px;
	
	
}

.columna2j {
	position:absolute;
	top:35px;
	left:340px;
	width:250px;
	font-size:17px;
	
}


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


.num_block[prefix="jercicio"] {
  padding: 1em;
  background-color: #9ACD3270;
  border: 1px solid #6B8E23;
  border-radius: 4px;
}

.num_block[prefix="jercicio"] .num_block_prefix {
  color: #2F4F4F;
}

body.dark .num_block {
		color: #aaa;
	}

ol {
list-style-type: none;
counter-reset: lista-personalizada;
margin: 0;
}

ol li {
position: relative;
font-size: 17px;
line-height: 20px;
padding: 4px 0 10px 40px;
margin-bottom: 10px;
}

ol li:before {
content: counter(lista-personalizada);
counter-increment: lista-personalizada;
position: absolute;
left: 0;
top: 0;
font-weight: bold;
font-size: 22px;
padding: 6px 6px 8px 5px;
background: #0dbe4b;
color: white;
height: 35px;
border-radius: 40px;
}

.lista2 li {
	padding-top: 5px;
	padding-left: 35px;
	list-style: none;
	background-image: url("listas/num.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
}


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

.lista4 li {
	padding-top: 5px;
	padding-left: 40px;
	list-style: none;
	background-image: url("listas/proximo.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
}

