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

.page h1 {
  color: #ffffff;
    font-size: 27px
}
.page h2 {
  color: #2045a0;
  font-size: 130%;
}
.page h3 {
  color: #000;
  font-size: 23px;
}
.page h4 {
  color: #2045a0;
  font-size: 20px;
  font-weight: bold;
  margin: 1em 0;
}
a {
  color: #3867f6;
}
.note {
  border-left: 4px solid #3867d6;
  color: #1e272e;
}

body.dark a {
  color: #82ccdd;
}
body.dark code {
  color: #2ed573;
}
body.dark .note {
  border-color: #000099;
  color: var(--text-color);
}
body.dark .footnote_container {
  border-color: var(--text-color);
}


.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 #2ecc71;
  border-radius: 2px;
  background-color: rgba(255, 200, 180, 0);
}
.sin_borde {
  border: none;
}
.sin_borde .btn_expand {
  display: none;
}

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: 575px;
  left: 57px;
  right: 0px;
  color: #ffffff;
  font-size: 375%;
  text-align: center;
  text-shadow: 2px 4px rgba(0,0,0,0.15);
}
.cover_subtitle {
  position: absolute;
  left: 57px;
  right: 0px;
  bottom: 40px;
  text-align: center;
  color: #2045a0;
  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);
}



/*Aquí he puesto estilos para la revista */

/* Para el texto de imágenes */
.fig {
  color:#000;
  font-size:15px;
  padding:0; 
}

/* Estilos para listas con imágenes */
.lista1 li {
	list-style: outside url("listas/feliz2.png");
}
.lista2 li {
	padding-top: 10px;
	padding-left: 40px;
	list-style: none;
	background-image: url("listas/facebook.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 30px;
}
.lista3 li {
	pading-top: 0px;
	padding-left: 30px;
	list-style: none;
	background-image: url("listas/twitter.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
}
.lista4 li {
	margin-left: -45px;
	padding-top: 0px;
	padding-left: 30px;
	list-style: none;
	background-image: url("listas/car.svg");
	background-repeat: no-repeat;
	background-position: left 3px;
	background-size: 20px;
}
  
/* Estilo para los números de página */
.page_number {
  font-size: 14px;
    color: #202020
}
.specialnum1 .page_number {
  color: #bdb7b8;
}
.specialnum2 .page_number {
  color: #fff;
}

#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_editor {
  width: 35px;
  height: 35px;
  background-image: url("iconos/editor_claro.svg");
}
body.dark #tool_editor {
  background-image: url("iconos/editor_oscuro.svg");
}

#tool_katex {
  width: 88px;
  height: 32px;
  background-image: url("iconos/katex_claro.svg");
}
body.dark #tool_katex {
  background-image: url("iconos/katex_oscuro.svg");
}

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

/* Estilos míos */

.caja {
width: 100%;
margin-left: 0px;
background-color: rgba(209,255,241,0.30);
box-shadow: 4px 4px 8px #999;
border-radius: 6px;
padding: 10px 20px;
}

.titulillo {
text-align: center;
font-size: 120%;
    font-weight: bold;
color: #2045a0;
margin-top: 15px;
}

.titulillo2 {
text-align: justify;
font-size: 112%;
    font-weight: bold;
color: #2045a0;

}

.cajacap {
width: 100%;
margin-left: 0px;

background:linear-gradient(45deg,#2045a0, rgba(20,45,150,0.3));
padding: 6px 20px;
}

.lista-numerada-1 ol {
	list-style: none;
    counter-reset: contador1;
    
    
}

.lista-numerada-1 ol li {
	counter-increment: contador1;
   
}

.lista-numerada-1 ol li::before {
	content: counter(contador1, lower-alpha) ") ";
    color: #2045a0;
    font-weight: bold;
    
    
}

.cambiacolor {
color: #2045a0;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 0px dotted black;
}

.tooltip .tooltiptext {
	font-size:15px; 
	font-family: 'Lato', sans-serif;
	visibility: hidden;
    width: 370px;
    background-color: #e4fff0;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 8px 8px;

    /* Position the tooltip */
    position: absolute;
	right:-20px;
top: 25px;
	z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.tooltip2 {
    position: relative;
    display: inline-block;
    border-bottom: 0px dotted black;
}

.tooltip2 .tooltiptext {
	font-size:15px; 
	font-family: 'Lato', sans-serif;
	visibility: hidden;
    width: 480px;
    background-color: #e4fff0;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 8px 8px;

    /* Position the tooltip */
    position: absolute;
	right:-20px;
top: 25px;
	z-index: 1;
}

.tooltip2:hover .tooltiptext {
    visibility: visible;
}

