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

.page h1 {
  color: var(--h1-color);
}

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

a {
  color: var(--link-text-color);
}

h3.junto {
	margin:0.5em 0 0.5em 0;
}

p.junto {
	margin:0.5em 0 0.5em 0;
}

p.mini {
	margin:0.2em 0;
	font-size: 70%;
}

hr {
	margin:0.2em 0;
	border-color:#0089cd;
}


.note {
  border-left: 4px solid var(--note-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: 2px solid #0089cd;
  border-radius: 2px;
}


.image_link {
  border: 2px solid var(--image-border-color);
}



img.izquierda {
	float:left;
	padding:20px;
}

img.derecha {
	float:right;
	padding:20px;
}

img.center {
	position: relative;
  	left:20%;
}

li {
  padding: 0 0 0.4em 0;
  margin:0.5em 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;
}
.cita {
	font-style:italic;
	text-align: center;
	color:#8B0000;
}
	
.cita2 {
	margin-left:0px;
	margin-right:50px;
	font-size: 90%;
	font-style:italic;
	color:#8B0000;
	text-align: center;
}

.cuadro {
	margin-left:auto;
	margin-right: auto;
	font-style:italic;
  	font-size: 75%;
  	padding: 0 10px 0px 10px;
	border: 2px solid #808080;
	border-radius:20px;
}

.cuadro .interactive {
	border: 0px solid #0089cd;
}

.cuadroh .interactive {
	border: 0px solid #0089cd;
}

.cuadrog .interactive {
	border: 0px solid #0089cd;
}


.solo .interactive{
	background: rgba(240,240,240,1);
}

.apunte {
	font-style:;
  	font-size: 100%;
	border-left: 2px solid #0089cd;
	padding:0px 0px 0px 10px;
}
.div.apunte {
	margin-left:10px;
	padding:5px 5px 5px 5px;
	background:#F0FFFF;
}

.fondo {
	margin-left:10px;
	padding:5px 5px 5px 5px;
	background:#F0FFFF;
}
.marco {
	width: 40%;
 	margin-left:auto;
	margin-right: auto;
	text-align: center;
	border: 2px solid #0089cd;
	border-radius:10px;
}

.marcog {
	width: 80%;
 	margin-left:auto;
	margin-right: auto;
	text-align: center;
	border: 2px solid #0089cd;
	border-radius:10px;
}
	
.marcogg {
	width: 100%;
 	margin-left:auto;
	margin-right: auto;
	text-align: center;
	border: 2px solid #0089cd;
	border-radius:10px;
}
	
.cuadrot {
	font-style:italic;
  	font-size: 75%;
  	padding: 0 5px 5px 5px;
	border: 2px solid #4B0082;
	border-radius:20px;
	background:#E6E6FA;
}

.cuadroh {
	font-style:italic;
  	padding: 0 10px 0px 10px;
	font-size: 85%;
	border: 2px solid #F4A460;
	border-radius:20px;
	background:rgba(255,250,230,1);
	box-shadow:2px 2px 5px #F4A460;
}

.cuadrof {
	font-style:;
  	font-size: 100%;
  	padding: 0 10px 0px 10px;
	border: 3px solid #8B0000;
	border-radius:20px;
	
}

.cuadrog {
	font-style:italic;
  	font-size: 85%;
  	padding: 0 10px 0px 10px;
	border: 2px solid #0089cd;
	border-radius:20px;
	background:#F0FFFF;
	box-shadow:2px 2px 5px #0089cd;
}

.caja_Pedro {
	margin-left:auto;
	margin-right: auto;
	background: rgba(224,224,224,1);
	font-style:italic;
	font-size: 90%;
	padding: 0 10px 10px 10px;
	border: 2px solid #0089cd;
}

.caja_Pedro .interactive {
	border: 0px solid #0089cd;
}

.titulo {
	text-align: center;
  	color:#8B0000;
  	font-size: 140%;
  	font-weight: bold;
}

.titulon {
	font-style:italic;
	text-align: center;
  	font-size: 125%;
  	font-weight: bold;
}

.titulin{
	font-size: 110%;
	font-style:bold;
	color:#8B0000;
}

.katex {
  font-style:normal;
  font-size:100%;
  color: ;
}

.cover_title {
  position: absolute;
  top: 595px;
  left: 57px;
  right: 0px;
  color: #0089cd;
  font-size: 350%;
  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);
}

table {
  position: relative;
  font-size: 70%;
  text-align: center;
  border-collapse: collapse;
  border: 1px solid var(--text-color);
  background:#F0FFFF;  
}

.tablecenter {
  position: relative;
  left:10%;
  text-align: center;
  font-size: 70%;
  border-collapse: collapse;
  border: 1px solid var(--text-color);
  background:#F0FFFF;  
}
.tablecenterb {
  position: relative;
  left:20%;
  text-align: center;
  font-size: 70%;
  border-collapse: collapse;
  border: 1px solid var(--text-color);
  background:#F0FFFF;  
}
.tablecenterc {
  position: relative;
  left:35%;
  text-align: center;
  font-size: 70%;
  border-collapse: collapse;
  border: 1px solid var(--text-color);
  background:#F0FFFF;  
}

th {
	background:#D3D3D3;
	vertical-align:middle;
}


td {
	vertical-align:middle;
}

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

.center {
 	text-align: center;
 	font-size: 90%;
}

.centera {
 	text-align: center;
 	
}

.formula{
	text-align: center;
  	font-size: 90%;
}

.formulas{
	text-align: center;
  	font-size: 80%;
}
  	
.centerdos {
 	width: 80%;
 	margin-left:auto;
	margin-right: auto;
  	font-size: 80%;
  	text-align: center;
  	padding: 0 10px 10px 10px;
	border: 2px solid #808080;
	border-radius:20px;		
}

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

#tool_geogebra {
  width: 35px;
  height: 35px;
  background-image: url("iconos/geogebra.png");
}

body.dark #tool_geogebra {
  background-image: url("iconos/geogebra_oscuro.png");
}

body.dark .cuadrog {
	color: black;
	
}

body.dark .cita2 {
	color: violet;
	
}

body.dark .cita {
	color: orange;
	
}

body.dark table {
	background-color: rgba(234, 250, 241, 0.5);
		
}

body.dark .fondo {
	background-color: rgba(234, 250, 241, 0.5); 
	
}

body.dark .cuadro figcaption {
	color: black;

}

body.dark .cuadro p {
	color: black;

}

body.dark .cuadroh figcaption {
	color: black;

}

body.dark .cuadroh  {
	background-color: rgb(112, 123, 124);

}

body.dark .tablecenter {
	color: black;
}

body.dark .titulo {
	color: rgb(250, 219, 216);
	
}

figcaption {
	font-size:15px;
	
}