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

.page h1 {
  color: #0089cd;
}
.page h2 {
  color: #5d75b3;
  font-size: 140%;
}




.page h4 {
  color: #6985cd;
  font-size: 130%;
  margin-top:15px;
  margin-bottom:0;
}

.page h5 {
  color: brown;
  font-size: 120%;
  padding:5px 25px 10px 15px;
  
}


a {
  color: #6985cd;
}

.note {
  border-left: 4px solid #3867d6;
  color: #1e272e;
}

.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_expand2 {
  -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0);
  -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0);
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0);
  display: block;
  margin: 0.5em auto 1em auto;
  cursor: pointer;
}

.interactive {
  text-align: center;
  border: 1px solid #007980;
  border-radius: 2px;
  background: #ffffff;
}
.image_link {
  border: 2px solid #2ecc71;
}

li {
  padding: 0 0 0.4em 0;
}

code, code_math {
  display: inline;
}
code, pre, code_math {
  font-family: 'UbuntuMono', monospace;
  font-size: 107%;
  color: #778890;
}
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: #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);
}

.fig{
	color:#000;	font-size:16px; font-family: 'descartesJS_Sansserif', sans-serif; font-weight: normal; text-align: justify; 
	}
	
.sg{
	color:#000;	margin-left:40px; 
	}
	
.bib{
	color:#000;	font-size:20px; font-family: 'descartesJS_Sansserif', sans-serif; font-weight: normal; margin:10px 55px 0px 126px; text-indent:-70px;
	}

.def
{
    margin-top: 15px;
	background-color: rgba(250, 250, 210,0.55);
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
	padding:15px 25px 10px 15px;
	font-size: 1em;
	
}

.teo
{
    margin-top: 15px;
	background-color: rgba(230, 255, 247,0.55);
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
	padding:15px 25px 5px 15px;
	font-size: 1em;
	
}

.pro
{
    margin-top: 15px;
	background-color: rgba(243, 230, 255,0.55);
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
	padding:15px 25px 5px 15px;
	font-size: 1em;
	
}
.ejer
{
    margin-top: 15px;
    background-color: rgba(255, 255, 255,0.55);
    padding:15px 25px 5px 15px;
    font-size: 1em;
    border-radius: 35px 0px 35px 0px;
    -moz-border-radius: 35px 0px 35px 0px;
    -webkit-border-radius: 35px 0px 35px 0px;
    border: 1px solid #F5D0A9;
	
}

.celEjer
{
     color: #a94f5f;
     text-align: left;
	
}

.np
{
	color:#6895be;
	padding-right:10px;
	font-size: 110%;
}

li {
  padding-left: 15px;
}

.pru {
  color: #6985cd;
  font-size: 120%;
}

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_desmos {
  width: 35px;
  height: 35px;
  background-image: url("iconos/desmos.png");
}

body.dark #tool_desmos {
  background-image: url("iconos/desmos_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");
}

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

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

#tool_maxima {
  width: 40px;
  height: 40px;
  background-image: url("iconos/maxima_claro.png");
}

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

#tool_octave {
  width: 40px;
  height: 40px;
  background-image: url("iconos/octave_claro.png");
}

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