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

.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: #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: 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 {
  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");
}


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

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

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

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




/* Estilos para la etiqueta audio */

/* Color del fondo */
audio::-webkit-media-controls-panel {
  background-color: #56AEFF;
}

audio::-webkit-media-controls-timeline {
  background-color: #B1D4E0;
  border-radius: 25px;
  margin-left: 10px;
  margin-right: 10px;
}

/* Estilo para el botón play */	
audio::-webkit-media-controls-play-button {
  background-color: #B1D4E0;
  border-radius: 50%;
}
audio::-webkit-media-controls-play-button:hover {
  background-color: rgba(177,212,224, .7);
}

/* Estilo para el tiempo transcurrido */
audio::-webkit-media-controls-current-time-display {
  color: #fff;
}

.titulo {
font-size:130%; 
color: var(--h1-color); 
text-shadow:1px 1px 0px black;	
	
}

.titulo2 {
color: rgb(55,155,55);
	
}

.num_block_prefix {
	font-weight: bold;
	font-style: normal;
	color:red;
	
}

figcaption {
	margin-top:10px;
	
}

table, th, td {
	border: 2px solid black;
	border-collapse: collapse;
	
	/* Centrado de la tabla */
	margin-left:auto; 
	margin-right:auto;
	
	text-align: left;
	}
	table {
	width:100%;
	}
	th, td {
	padding: 2px 10px 2px 10px;
	}
	th {
	background: rgb(79,112,197);
	color: white;
	text-align: center;
	}
	
	/* Estilo cebra */
	tr:nth-child(even) {background-color: #d2e2ff;}
	
	body.dark tr:nth-child(even) {background-color: blue;}
	
	.caja4 {
	width:90%;
    background-color: aliceblue;
	box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 15px;
	padding-top:20px;
	margin-top: -25px;
	margin-left: auto;
    margin-right: auto;
	text-align: center;
    
}  

body.dark .caja4 {
	color:brown;
}
