/* Aquí definimos el estilo de las etiquetas <p>, <h1>, <h2>, <h3>, <a>, <li>, <td> y <th> */

p, div {
    color:#000;	font-size:22px; 
	margin:25px 25px 5px 25px;
	}

h1
{
	color: #000;
	font-family: 'descartesJS_Sansserif', sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 35px;
	margin: 0 0 0;
	margin:25px 25px 5px 25px;
	text-align: center;
	text-transform: uppercase;
}

h2
{
	color: #009;
	font-family: 'descartesJS_Sansserif', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 35px;
	margin:25px 55px 5px 55px;
	text-align: left;
	
}

h3
{
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	color: #000;
	font-family: 'descartesJS_Sansserif', sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 16px;
	text-align: center; 
}

a{
	color:#000;	font-size:20px; font-family: 'descartesJS_SansSerif', sans-serif; text-decoration: none; margin:15px 0px 5px 0px;
			
	}
		
li{
		color:#000;	font-size:20px; font-family: 'descartesJS_Sansserif', sans-serif; margin:5px 55px 0px 55px; font-weight: 580;
}


td {
    color:#000;	font-size:20px; font-family: 'descartesJS_Sansserif', sans-serif; font-weight: 580; padding: 10px 10px;
	}
th {
    color:#009;	font-size:20px; text-align: center; font-family: 'descartesJS_Sansserif', sans-serif; font-weight: 580;  padding: 10px 10px;background-color: #C0C0C0;
	}
body.dark .invertcolor {
  filter: invert(1) hue-rotate(180deg);
}

/*Aquí definimos estilos para notas de texto, párrafos sangrados, créditos, notas al pies y el tool tip */


	
div.p { margin-top: 7pt;}
 td div.comp { margin-top: -0.6ex; margin-bottom: -1ex;}
 td div.comb { margin-top: -0.6ex; margin-bottom: -.6ex;}
 td div.norm {line-height:normal;}
 td div.hrcomp { line-height: 0.9; margin-top: -0.8ex; margin-bottom: -1ex;}
 td.sqrt {border-top:2 solid black;
          border-left:2 solid black;
          border-bottom:none;
          border-right:none;}
 table.sqrt {border-top:2 solid black;
             border-left:2 solid black;
             border-bottom:none;
             border-right:none;}
			 

	
.fondo_div {
	 color:#000;	font-size:20px; font-family: 'descartesJS_Sansserif', sans-serif; margin:25px 55px 0px 55px; font-weight: 580; background-color: lightblue; border-radius: 20px 20px 20px 20px; 
	}
	
.fondo_div2 {
	 color:#000;	font-size:20px; font-family: 'descartesJS_Sansserif', sans-serif; margin:25px 55px 0px 55px; font-weight: 580; background-color: #F1C40F; border-radius: 15px 15px 15px 15px; 
	}
	
.fondo_div3 {
	 color:#000; font-size:20px; font-family: 'descartesJS_Sansserif', sans-serif; margin:25px 55px 0px 55px; background-color: #eee; padding:10px 25px 10px 25px; border: 2px solid #aaa;
	}



.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
	font-size:20px; 
	font-family: 'descartesJS_Sansserif', sans-serif;
	visibility: hidden;
    width: 450px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;

    /* Position the tooltip */
    position: absolute;
	left:180px;
	z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}



/* Estos son estilos propios del diseño del libro, no se deben alterar */

#book .own-size{
	width:850px;
	height:785px;
	background-color:white;
	overflow:hidden;
}

#book .izquierda{
	background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
	background-image:-webkit-linear-gradient(left, #fff 93%, #dadada 100%);
	background-image:-moz-linear-gradient(left, #fff 93%, #dadada 100%);
	background-image:-ms-linear-gradient(left, #fff 93%, #dadada 100%);
	background-image:-o-linear-gradient(left, #fff 93%, #dadada 100%);
	background-image:linear-gradient(left, #fff 93%, #dadada 100%);
}

#book .derecha{
	background:-webkit-gradient(linear, right top, left top, color-stop(0.95, #fff), color-stop(1, #cacaca));
	background-image:-webkit-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:-moz-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:-ms-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:-o-linear-gradient(right, #fff 95%, #cacaca 100%);
	background-image:linear-gradient(right, #fff 95%, #cacaca 100%);
}

	
		#book{
			width:1700px;
			height: 785px;
			margin:70px 5px 5px 97px;
		}
		#book .turn-page{
			background-color:white;
			
		}
		#book .cover{
		
			}
		
		.cover {
			background-color: #F8ECC2;
			background: url(../images/cover.png) no-repeat 1px 50%;
			
		}
		
		#book .page-wrapper{
		-webkit-perspective:2000px;
		-moz-perspective: 2000px;
		-ms-perspective: 2000px;
		perspective: 2000px;
		}


#book .span2{
	float:right;
}

#book .span3{
	float:right;
	margin:0px 2px;
}

#book .a2{
	float:left;
	width:100%;
	clear:both;
	text-decoration:none;
	color:#333;
	margin:2px 0;
	padding:0 10px;
	
}

#book .a2:hover{
	background:#CAD1EE;
	float:left;
	width:100%;
	clear:both;
	text-decoration:none;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	-o-border-radius:10px;
	-ms-border-radius:10px;
	border-radius:10px;
}

#book .a3{
	float:left;
	width:95%;
	clear:both;
	text-decoration:none;
	color:#333;
	margin:2px 0px 0px 38px;
	padding:0 10px;
	
}

#book .a3:hover{
	background:#CAD1EE;
	float:left;
	width:95%;
	clear:both;
	text-decoration:none;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	-o-border-radius:10px;
	-ms-border-radius:10px;
	border-radius:10px;
}

span#sub {
    vertical-align: sub;
}

/* Aquí cargamos la cubierta del libro */

body{
	background:transparent url(../images/bg3.png) no-repeat 10px 33px;
	color:#444;
	font-size:12px;
	color: #000;
	
}

/* Los botones  del menú superior */

.dropbtn {
    background: url("../images/menu3.png" ) no-repeat left top; text-align:left;
	position: absolute;
    color: white;
    padding: 20px;
	height:20px;
    font-size: 16px;
    border: none;
	cursor: pointer;
	top:-40px;
	right:1690px;
}
.dropdown {
    position: relative;
    top: -850px;
	
}

.dropbtn2 {
    background: url("../images/menu1.png" ) no-repeat left top; text-align:left;
	position: relative;
    color: white;
    padding: 20px;
	height:20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	
	right:-100px;
	
}

.dropdown2 {
    position: relative;
	top: -850px;
}

.dropbtn3 {
    background: url("../images/menu2.png" ) no-repeat left top; text-align:left;
	position: absolute;
    color: white;
    padding: 20px;
	height:20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	top:-40px;
	right:1640px;
	
}

.dropdown3 {
    position: relative;
	top: -850px;
}

.dropbtn4 {
    background: url("../images/calculadoraDescartes.png" ) no-repeat left top; text-align:left;
	position: absolute;
    color: white;
    padding: 20px;
	height:20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	top:-40px;
	right:215px;
	
}

.dropdown4 {
    position: relative;
	top: -850px;
}

.dropbtn5 {
    background: url("../images/printer.png" ) no-repeat left top; text-align:left;
	position: absolute;
    color: white;
    padding: 20px;
	height:20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	top:-42px;
	right:280px;
	
}

.dropdown5 {
    position: relative;
	top: -850px;
}

.dropbtn6 {
    background: url("../images/help.png" ) no-repeat left top; text-align:left;
	position: absolute;
    color: white;
    padding: 20px;
	height:20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	top:-40px;
	right:170px;
	
}

.dropdown6 {
    position: relative;
	top: -850px;
}

.dropbtn7 {
    background: url("../images/table.png") no-repeat left top; text-align:left; 
	position: absolute;
    color: white;
    padding: 20px;
	height:20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	top:-40px;
	right:335px;
	
}

.dropdown7 {
    position: relative;
	top: -850px;
}

.dropbtn8 {
    background: url("../images/gg.png" ) no-repeat left top; text-align:left;
	position: absolute;
    color: white;
    padding: 20px;
	height:20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	top:-40px;
	right:390px;
	
}

.dropdown8 {
    position: relative;
	top: -850px;
}

.show {display:block;}

.nextbtn {
    background: url("../images/next2.png" ) no-repeat left top; text-align:center;
    color: white;
    padding: 24px 35px 60px 20px;
	font-size: 16px;
    border: none;
    cursor: pointer;
	top:0;
	right:10px;
}

.nextdown {
    position: absolute;
    right: 0px;
	top: 350px;
}

.show {display:block;}

.prevbtn {
    background: url("../images/prev2.png" ) no-repeat left top; text-align:center;
    color: white;
    padding: 24px 35px 70px 24px;
	height:4px;
	font-size: 16px;
    border: none;
    cursor: pointer;
	top:0;
	right:10px;
	
}

.prevdown {
    position: absolute;
    left: 0px;
    top: 350px;
	
		
}

table, th, td {
	border: 2px solid black;
	border-collapse: collapse;
	text-align: left;
	font-size:16px;
}
th, td {
	padding: 5px 10px 5px 10px;
	vertical-align: middle;
	text-align: center;
}

table {
	width:auto;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
th {
	background: rgb(79,112,197);
	color: white;
	text-align: center;
	vertical-align:middle;
	font-weight: bold;
}
tr:nth-child(even) {background-color: rgba(20,120,240,0.2);}


.titulo_tabla {
	color: brown;
	font-size: 24px;
	margin-bottom: 10px;
	text-align: center;
	font-weight: bold;
}

h1 {
color: #0089cd;	
}

h2 {
color: #000099;
}

h3 {
color: #000099;
}

.image_expand {
  display: block;
  margin: 0 auto 1em auto;
  cursor: pointer;
}

.interactive {
  box-sizing: border-box;
  position: relative;
  margin: 0 auto 1em auto;
  padding: var(--interactive-margin);
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  transform: translate3d(0,0,0);
  
  display: flex;
  align-items: center;
  justify-content: center;
}

img {
	margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

.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);
}

.interactive {
  box-sizing: border-box;
  position: relative;
  margin: 0 auto 1em auto;
  padding: var(--interactive-margin);
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  transform: translate3d(0,0,0);
  
  display: flex;
  align-items: center;
  justify-content: center;
}
	
