
.sin_borde {
  border: none;
}
.sin_borde .btn_expand {
  display: none;
}



/* Ajustes para que se presente igual que en la primera edición */
section, 
.caja_menu,
.caja0,
.caja1,
.caja2,
.caja2b,
.caja3,
.caja3b,
.caja4,
.caja5,
.caja6,
.caja7,
.caja8,
.caja9,
.caja10,
.caja11,
.caja12,
.caja13,
.caja14,
.caja15 {
  box-sizing: content-box;
}

.caja_menu .toc_link {
  color: aqua;
  padding: 6px 2px;
}
.toc_link > * {
  color: inherit;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
}
.toc_link .pageref_number {
  font-size: 10px;
}
.toc_link .pageref_postfix {
  margin-left: 15px;
  font-size: 10px;
}
.toc_link::before {
  border-bottom: none;
}
.toc_link:hover, .toc_link:hover a, .toc_link:hover .toc_number, .toc_link:hover a > span:first-child {
  background-color: rgba(7, 158, 95,0.2);
}

/* estilo para los enlaces en la tabla de contenidos */
#table_of_content .toc_link {
  color: var(--toc-text-color) !important;
}
#table_of_content .toc_link:hover,
#table_of_content .toc_link:hover *{
  background-color: var(--toc-over-color) !important;
}
#table_of_content .toc_selected *,
#table_of_content .toc_selected:hover,
#table_of_content .toc_selected:hover * {
  background-color: var(--toc-text-color) !important;
  color: var(--toc-over-color) !important;
}
.tabla_ejemplo {
  border: 1px solid black;
}

video {
  margin: 0 auto;
}
p {
  line-height: 1.2;
}
.footnote {
  line-height: 1.15;
}
table, tr, td {
  vertical-align: middle;
}

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

/*Para el volumne y número de la revista */
.portada {
   position:absolute;
	left:400px;
	top:500px;
	text-align:right;
	width: 180px;
	font-size: 1.3em;
	font-weight:bold;
	color:#0099cd;
}

/* Color de fondo para las páginas */
.page {
  background-color: white;
}
body.dark .page {
  background-color: #000;
}

/* Caja para insertar los contenidos (índice) */
.caja_menu {
  position: relative;
  left: 215px;
  width: 330px;
  height: 750px;
  margin-left: 5px;
  margin-right: 10px;
  margin-top: -15px;
  padding: 10px;
  float: left;
  overflow: hidden;
  color: seagreen;
}

.caja_menu p {
  font-size: 1.4em;
  line-height: 1.3;
  color: aqua;
  background: rgba(76, 175, 80, 0.0);
  padding: 0px;
  margin: 0px;
}

.caja_menu h2 {
  color: brown;
  font-size: 0.8em;
  background: rgba(176, 75, 80, 0.0);
  padding: 3px;
  text-align: left;
  margin-left: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.caja_menu a {
  color: aqua;
  background: rgba(76, 175, 80, 0.0);
  padding: 0px;
  margin-left: 0px;
}

/* Caja llamada "section", que podemos usar para cambiar tamaño de fuente, fondos, etc., o combina con la caja 0 */
section {
  width: 512px;
  padding: 15px 15px 10px 10px;
  font-size: 0.9em;
  text-align: left;
}
section p {
  padding-top: 0;
  margin-top: 0;
}

section h1 {
  color: #f22;
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 0px;
  text-shadow: 1px 2px rgba(0,0,0,0.85);
}

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

/* Para las pestañas de página */

.pestana_izq {
  position: relative;
  width: 129px;
  font-size: 17px;
  text-align: left;
  padding: 5px;
  margin-top: -30px;
  margin-left: -50px;
  padding-top:2px;
  background-color: rgba(125, 9, 220, 0);
  color:#e6ffff;
  background-repeat: no-repeat;
}

.pestana_izq2 {
  position: relative;
  width: 129px;
  font-size: 17px;
  text-align: left;
  padding: 5px;
  margin-top: 0px;
  margin-left: 2px;
  padding-top: 2px;
  background-color: rgba(125, 9, 220, 0);
  color:#e6ffff;
  background-repeat: no-repeat;
}

.pestana_der {
  position: relative;
  width: 129px;
  font-size: 17px;
  text-align: right;
  padding: 5px;
  margin-top: -30px;
  margin-left: 450px;
  padding-top: 2px;
  padding-right: -20px;
  background-color: rgba(25, 119, 20, 0.0);
  color:#e6ffff;
  background-repeat: no-repeat;
}

article {
  width: 230px;
  margin-bottom: 0px;
  padding: 15px 25px 30px 15px;
  font-size: 0.9em;
  text-align: left;
}

aside {
  position: relative;
  width: 210px;
  display: inline-block;
  background-color: rgba(180, 200, 255, 0.3);
  margin-top: 10px;
  margin-bottom: 0px;
  padding: 0px 25px 10px 25px;
  font-size: 0.9em;
  text-align: right;
}

aside p {
  padding: 0px 0px 0px 0px;
  font-size: 1.2em;
  text-align: right;
  color:Maroon;
  margin: 10px;
}

article, aside {
  display: inline-block;
  vertical-align: top;
  box-sizing: content-box;
}

.caja1 {
  position: relative;
  width: 90%;
  background-color: #fff;
  box-shadow: 0px 2px 5px #1c1a19;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 25px;
  margin-top: 25px;
  background-image: linear-gradient(white, palegreen);
  text-align: center;
}

.caja1 h1 {
  color: #f22;
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 0px;
  text-shadow: 1px 2px rgba(0,0,0,0.85);
}

.caja2 {
  margin-top: 15px;
  margin-left: 65px;
  background-color: rgba(100,149,237,0.55);
  box-shadow: 0px 2px 5px #1c1a19;
  border-radius: 5px;
  font-size: 2em;
  width: 70%;
  padding-top: 3px;
  padding-bottom: 8px;
  margin-top: 25px;
}

.caja2 h1 {
  color: 	#4169E1;
  font-size: 1.4em;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.75);
}

.caja2 p {
  color: 	#4169E1;
  font-size: 0.7em;
  color:white;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.75);
  margin-top: 5px;
  margin-bottom: 5px;
}

.caja2b {
  margin-top: 15px;
  margin-left: 65px;
  background-color: rgba(255, 69, 0,0.55);
  box-shadow: 0px 2px 5px #1c1a19;
  border-radius: 5px;
  font-size: 2em;
  width: 70%;
  padding-top: 3px;
  padding-bottom: 8px;
  margin-top: 25px;
}

.caja2b h1 {
  color: rgba(255, 69, 0);
  font-size: 1.4em;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.85);
}

.caja3 {
  background: hsl(250 30% 90%);
  border-radius: .3rem;
  overflow: hidden;
  margin: 1em 0;

}

.caja3 h5 {
  padding: .3rem .5rem;
  margin: 0;
  background: hsl(250 30% 40%);
  color: white;
  font-size: 18px;
}

.caja3 .content {
  padding: 0 .5rem;
  color: var(--h2-color);
}

.caja3 .alt {
  background: hsl(190 40% 40%);
}

.caja3b {
  position:absolute;
  margin-left: 0px;
  width: 290px;
  font-size: 1.2em;
}

.caja4 {
  position: relative;
  display: inline-block;	
  width: 280px;
}

.caja4 h1 {
  color: DarkSeaGreen;
  font-size: 3em;
  text-align: center;
  margin-bottom: 0px;
  text-shadow: 2px 3px rgba(0,0,0,0.95);
}

.caja5 {
  position: relative;
  width: 190px;
  display: inline-block;
  margin-left: 20px;
  text-align: left;
}

.caja6 {
  position: relative;
  width: 510px;
  font-size: 29px;
  text-align: center;
  border: 2px solid white;
  border-radius: 10px;
  padding: 5px;
}

.caja7 {
  position: relative;
  width: 510px;
  font-size: 29px;
  text-align: center;
  padding: 5px;
}

.caja8 {
  position: relative;
  width: 270px;
  height: 220px;
  margin-left: 5px;
  margin-right: 10px;
  margin-top: 20px;
  padding: 0px;
  float: left;
  border: 2px solid aliceblue;
  border-radius: 10px;
  overflow: hidden;
}

.caja9 {
  width: 560px;
  margin: 0;
  padding: 0;
  transform: scale(1.2);
}

.image {
  position: relative;
  display: block;
  transition: transform 0.07s ease-in-out;
}

.image:hover {
  transform: scale(1.5);
}

.vertical-menu {
  width: 300px;
}

.vertical-menu a {
  background-color: bisque;
  color: black;
  display: block;
  padding: 12px;
  text-decoration: none;
}

.vertical-menu a:hover {
  background-color: #ccc;
}

.vertical-menu a.active {
  background-color: #4CAF50;
  color: white;
}

.caja10 h1 {
  color: OrangeRed;
  font-size: 1.4em;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.75);
}

.caja11 {
  width: 80%;
  margin-left: 8%;
  background-color: rgba(0,0,100,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 5px;
  padding: 15px;
}

.caja12 {
  width: 50%;
  margin-left: 40%;
  background-image: url("../images/ejercicios.png");
  background-repeat: no-repeat; 
  background-color: rgba(200,200,200,0.45);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 25px;
  padding-top: 70px;
  font-size: 20px;
}

.caja13 {
  width: 50%;
  margin-left: 40%;
  background-image: url("../images/ejemplo.png");
  background-repeat: no-repeat; 
  background-color: rgba(250,250,250,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 25px;
  padding-top: 70px;
  padding-bottom: 10px;
  font-size: 20px;
}

.caja14 {
  width: 60%;
  background-color: rgba(250,250,250,0.15);
  box-shadow: 6px 6px 10px #000;
  border-radius: 10px;
  padding: 15px 25px 10px 15px;
  font-size: 20px;
  color:white;
}
.caja14 a {
  color: orange;
}

.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:white;
}
.caja15 a {
  color: orange;
}

.cajapodcast {
	width: 80%;
	margin-left: 10%;
    background-image: url("../imagenes/entrevista.png");
	background-repeat: no-repeat; 
	background-color: rgba(200,200,200,0.45);
    box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 25px;
	padding-top:70px;
	font-size: 20px;
}

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

/* Estilos para listas con imágenes */
.lista1 li {
	padding-top: 0px;
	padding-left: 35px;
	list-style: none;
	background-image: url("../images/star.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
}

.caja13 {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
        background-image: url("../images/info.png");
	background-repeat: no-repeat; 
	background-color: rgba(200,200,200,0.45);
    box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 25px;
	padding-top:70px;
	font-size: 20px;
}

.lista2 li {
	padding-top: -10px;
	padding-left: 30px;
	margin-top:5px;
	list-style: none;
	background-image: url("../images/logodescartes.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 21px;
}

.sonic {
	width:500px;
	background-color: #4932EA;
	border-radius:25px;
	background-image: url("../images/sonic.png");
	background-repeat: no-repeat;
	padding: 15px;
	color: white;
	background-size:140px 40px;
	background-position:10px 10px;
	padding-top:55px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 2px 1px 3px black;
	
}

.lista2 li {
	padding-top: -10px;
	padding-left: 30px;
	margin-top:5px;
	list-style: none;
	background-image: url("../images/logodescartes.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 21px;
	
}

.caja18 {
	width: 90%;
	margin-left: 5%;
        background-image: url("../images/difusion_trans.png");
	background-repeat: no-repeat; 
	background-color: rgba(200,200,200,0.45);
    box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 25px;
	padding-top:70px;
	font-size: 20px;
}

.caja37 {
	width: 90%;
	margin-left: 5%;
        background-image: url("../images/documentos2.png");
	background-repeat: no-repeat; 
	background-color: rgba(200,200,200,0.45);
    box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 25px;
	padding-top:70px;
	font-size: 20px;
}

.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: 0px;
	padding-left: 35px;
	margin-left:-30px;
	list-style: none;
	background-image: url("../images/punto.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 25px;
}
  


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

table, th, td {
	border: 0px solid black;
	border-collapse: collapse;
	text-align: left;
}
th, td {
	padding: 2px 3px 2px 3px;
	text-align: center;
	
}
table {
	width:100%;
	border: 0px solid black;
}

table, th, td {
  border: 0px solid black;
}

th {
	background: rgb(79,112,197);
	color: white;
	text-align: center;
	border: 0px solid black;
}


body.dark tr:nth-child(even) {
  color: #555;
}

  /** Estilos para el sumario  **/

.col_sum4 {
	position:absolute; 
	left:50px;
	top:100px;
	
	width:540px;
	padding:10px;
	
	padding-top:-20px;
	border-right: 1px solid rgba(100,100,100,0.4);
}
.col_izquierda2 {
	position:absolute; 
	left:30px;
	top:100px;
	width:580px;
	padding:10px;
	font-size: 15px;
	color:white;
	padding-top:-20px;
}

.consejo {
	position:absolute; 
	left:60px;
	top:60px;
	height:720px;
	width:400px;
	background-image:url('../sumario/fondo5.jpg');
	background-size:400px 720px;
	background-position:0px 0px;
	padding:15px;
	font-size: 15px;
	color:black;
	padding-top:0px;
	opacity: 0.9;
}



.editorial {
	position:absolute; 
	left:180px;
	top:60px;
	height:720px;
	width:400px;
	background-image:url('../sumario/fondo14.jpg');
	background-size:400px 720px;
	background-position:0px 0px;
	padding:15px;
	font-size: 15px;
	color:black;
	padding-top:0px;
	opacity: 0.9;
}

/** Cambié el color del número y reduje la margen inferior  **/
.page_number {
  font-size:26px;
  bottom: 0px;
  padding: 0 1em 0 1em;
  color:white;
}

  /** Le puse márgenes ajustadas a la imagen  **/
.page:nth-child(even) .page_number {
  text-align: right;
  padding-right:45px;
  text-shadow: 2px 2px 0px black;
  
}
.page:nth-child(odd) .page_number {
  text-align: left;
   padding-left:45px;
   text-shadow: 2px 2px 0px black;
}


/** Cambios para ajustar la imagen de Diana  **/
.numero_revista {
  position: absolute;
  color: white;
  
  left: 0;
  right: 0;
  /** Cambié la margen inferior de 4px a -4px  **/
  bottom: -8px;
  text-align: center;
  font-weight: bold;
  font-size: 80%;
  /** Cambié la altura de 1.2 a 2 **/
  line-height: 2em;
  	
	
	padding: 0.5em 3.75em 0 3.75em;
	margin-bottom: 8px;
} 
.page:nth-child(even) .numero_revista {
  text-align: left;
  margin-left: 0px;
  background-image: url("images/pd2b.png");
  background-position: 0px 0px;
	background-repeat: no-repeat;
	background-size: 640px 70px;
	
}
.page:nth-child(odd) .numero_revista {
  text-align: right;
  margin-left: 0px;
  bottom: -8px;
   padding-right:52px;
  background-image: url("images/pd1b.png");
 background-position: 0px 0px;
	background-repeat: no-repeat;
	background-size: 640px 70px;
}



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

.button1 {
  background-color: white; 
  color: black; 
  border: 2px solid #4CAF50;
  font-size: 18px;
}

.button1:hover {
  background-color: #4CAF50;
  color: white;
  
}

.button2 {
  background-color: white; 
  color: black; 
  border: 2px solid #008CBA;
  font-size: 18px;
}

.button2:hover {
  background-color: #008CBA;
  color: white;
}

.button3 {
  background-color: white; 
  color: black; 
  border: 2px solid #f44336;
  font-size: 18px;
}

.button3:hover {
  background-color: #f44336;
  color: white;
}

.button4 {
  background-color: white;
  color: black;
  border: 2px solid #e7e7e7;
  font-size: 18px;
}

.button4:hover {background-color: #e7e7e7;}

.button5 {
  background-color: white;
  color: black;
  border: 2px solid #555555;
  font-size: 18px;
}

.button5:hover {
  background-color: #555555;
  color: white;
}

/* Incorporación de imagen flotando a la izquierda o derecha, se diseñó para ocupar un ancho del 50%, con ancho de imagen del 100% (para valores menores, hay que poner un estilo que modifique las márgenes */
.flota_i {
	float: left;
    margin: 0px 10px -15px -5px;
	padding: 5px;
	border: 1px solid rgba(1,1,1,0);
	width: 50%;
	margin-top:5px;
}

.flota_i .figcaption {
	text-align: center;
	margin-bottom:-10px;
	color: var(--text-color);
}

.flota_d {
	float: right;
    margin: 0px -10px 0px 15px;
	padding: 5px;
	border: 1px solid rgba(1,1,1,0);
	width: 50%;
	margin-top:5px;
		
}

.flota_d .figcaption {
	text-align: center;
	margin-bottom:-10px;
	color: var(--h2-color);
}

.caja36 {
	width: 90%;
	margin-left: 5%;
        background-image: url("../images/presentacion3.png");
	background-repeat: no-repeat; 
	background-color: rgba(200,200,200,0.45);
    box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 25px;
	padding-top:70px;
	font-size: 20px;
}