body {
  font-family: 'Lato', sans-serif;
  font-size: 17x;
}

h1 {
  margin: 0.67em 0;
  color: #0b9a36;
  font-size: 150%;
  font-weight: bold;
}
h2 {
  margin: 0.7em 0;
  color: #0b9a36;
  font-size: 130%;
  font-weight: bold;
  }
h3 {
  margin: 1em 0;
  color: #0b9a36;
  font-size: 120%;
  font-weight: bold;
  }

  h4 {
    margin: 1em 0;
    color: #0b9a36;
    font-size: 110%;
    font-weight: bold;
    }
/*var(--h1-color);*/
/* da color a los titulos de los capitulos */
.page h1 {
  color:   #0b9a36;
}
.page h2 {
  color: #0b9a36;
  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);
}

.image_expand_2 {
  -webkit-box-shadow: 5px 5px 10px 0px rgba(8, 8, 8, 0.3);
  -moz-box-shadow: 5px 5px 10px 0px rgba(10, 10, 10, 0.3);
  box-shadow: 5px 5px 10px 0px rgba(5, 5, 5, 0.3);
}
.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, code_math {
  font-family: 'Lato', monospace;
  color: #0f630f;
  text-shadow: 1px 1px rgba(0,0,0,0.15);
  font-weight: bold;  
}

samp { 
  font-family: 'lato',monospace;
  color:red;
  font-weight: bold; 
}
pre {
 
  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: 500px;
  left: 0px;
  right: 0px;
  color: #0b9a36;
  font-size: 400%;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
  padding-top: 50px;
  padding-bottom: 15px;
  
}
.cover_subtitle {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 80px;
  text-align: center;
  color: #0b9a36;
  font-size: 220%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
  padding-bottom: 50px;
  padding-top: 1px;
  
}
/*right: var(--page-right-margin);
padding-right: 100px;
  padding-left: 150px;  background-color:rgb(153, 212, 92);    text-shadow: 3px 4px rgb(23, 24, 23); 
   background-color:  #cbf6cb;
   */

.chap_text {
  position: absolute;
  left: 0px;
  right: 0px;
  padding-right: 95px;
  padding-bottom: 0px;
  padding-left: 8px;
  text-align: right;
  top: 15%;
 
  color: #0b9a36;
  font-size: 450%;
  text-shadow: -2px -2px 3px rgb(184, 238, 138);

  
}
.chap_name {
  position: absolute;
  display: table-cell;
  text-align: right;
  color: #0b9a36;
  left: 0px;
  right:0px;
  padding-right:40px;
  padding-left: 1px;
  top: 22%;
  height: 200px;
  font-size: 300%;
  text-shadow: -2px -2px 3px rgb(204, 251, 163);
}

table {
  border-collapse: collapse;
  border: 1px solid var(--text-color);
    
}
table td {
  border: 1px solid var(--text-color);
  text-align: center;
  vertical-align: middle;


}



body.dark .invertcolor {
  filter: invert(1) hue-rotate(180deg);
}
.caja1 {
	background-color: rgba(202,216,240,0.3);
	box-shadow: 3px 3px 5px #666;
	padding: 10px;
	text-align: left;
	width:100%;
	border-radius:2px;
	margin-right: auto;
	margin-left: auto;
	color:var(--page-color);
}

.lista1 li {
  padding-top: 0px;
  padding-left: 25px;
  list-style: none;
  background-image: url("../images/general/lista_ul_1.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 25px;
  } 

.lista2 li {
    padding-top: 1px;
    padding-left: 25px;
    list-style: none;
    background-image: url("../images/general/lista_ul_2.png");
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 15px;
    } 
  
.lista3 li {
      padding-top: 3px;
      padding-left: 25px;
      list-style: none;
      background-image: url("../images/general/bandera.png");
      background-repeat: no-repeat;
      background-position: left top;
      background-size: 20px;
      } 
.lista4 li {
        padding-top: 0px;
        padding-left: 15px;
        list-style: none;
        background-image: url("../images/general/bullet_2.png");
        background-repeat: no-repeat;
        background-position: left top;
        background-size: 15px;
        } 



.caja {
  width: 80%;
  margin-left: 5%;
  background-color: rgba(202,216,240,0.20);
  box-shadow: 4px 4px 8px #000;
  border-radius: 7px;
  padding: 15px;
  }

/* CAJAS */

.caja_imagen{

  width: 80%;
  margin-left:auto;
  margin-right:auto;
  color: #06541e;
  padding:8px;
  padding-left:15px;
  padding-right:15px;
  border-radius:6px;
  box-shadow: 4px 3px 6px black;
  background-color:aliceblue;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  
  }
          .caja_imagen h5 {
          color:rgb(6, 79, 26);
          padding:12px;
          font-size: 24px;
          text-align:center;
          background-color:#37df6a;
          margin: -8px -15px -0px -15px;
          border-radius: 6px 6px 0px 0px;
          }
  
.caja_aviso {
   width: 90%;
   margin-left: 10%;
   background-color: rgba(236, 12, 98, 0.3);
   box-shadow: 4px 4px 8px #000;
   border-radius: 5px;
   padding: 15px;
   color:crimson;
   font-size: 22px;
   text-align: center;
   }

   /* background-image:url("images/fondos/cuevas.jpg");
    background-repeat: no-repeat;  */
   
   
.cita {
      border-left: 2px solid blue;
      color: var(--note-text-color);
      text-shadow: 1px 2px rgba(0,0,0,0.15);
      padding-left: 40px;
      padding-right: 30px;
            }

.nota_centrada {
      border-left: 4px solid blue;
      border-right: 4px solid blue;
      color: blue;
      font-weight: bold;
      font-size: 105%;
      text-shadow: 1px 2px rgba(0,0,0,0.15);
      padding-left: 20px;
      padding-right: 20px;
      text-align: center;
      
      }

     /*color: green;*/

.nota_no_centrada {
      border-left: 4px solid blue;
      border-right: 4px solid blue;
      font-size: 105%;
      text-shadow: 1px 2px rgba(0,0,0,0.15);
      padding-left: 20px;
      padding-right: 20px;
      
        
        }
/* background-color:rgb(251, 6, 6) */
.aviso {
     border-left: 2px solid red;
     border-right: 2px solid red;
     color: red;
     font-size: 102%;
     text-shadow: 1px 2px rgba(0,0,0,0.1);
     padding: 10px;
     
     }
   
/* padding-top: 100%; color:rgb(255, 255, 255); color:var(--page-color);*/
.nota_img {
      font-size: 18px;
      text-shadow: rgb(15, 15, 15);
      position: absolute;
      left: 40px;
      right: 40px;
      top: 40%;
      background-color: rgba(168, 234, 236,0.25);
      box-shadow: 5px 15px rgb(33, 9, 139);
      padding:15px;
      text-align: center;
      border-radius:10px;
      margin-right: auto;
      margin-left: auto;   
      border: 1px solid;  
	    box-shadow: 2px 2px 3px #666;
              
    }

  
.div.myspace-scrollbox {
      height:100;width:200;
      background-color:669900;
      font-family:Arial;
      font-size:8pt;
      color:FFFF00;
      font-weight:bold;
      text-align:left;
      border-width:1;
      border-style:solid;
      border-color:cccccc;
      overflow:scroll
    }
		
.una_linea_arriba{
      padding: 20px;
      border-top-width: 4px;
      border-top-style: double;
      border-top-color: blue;
   }
.una_linea_abajo{
        padding: 20px;
        border-bottom-width: 4px;
        border-bottom-style: double;
        border-bottom-color: blue;
     }
.dos_lineas{
      padding: 10px;
      border-top-width: 3px;
      border-top-style: double;
      border-top-color: #0059b3;
      border-bottom-width: 3px;
      border-bottom-style: double;
      border-bottom-color: #0059b3;
      text-align: center;
      background-color:#e6f2ff;
      text-shadow: 1px 1px rgba(0,0,0,0.15);
      color: rgb(12, 4, 54);
      
   }

.dos_lineas_izq{
    padding: 10px;
    border-top-width: 3px;
    border-top-style: double;
    border-top-color: #0059b3;
    border-bottom-width: 3px;
    border-bottom-style: double;
    border-bottom-color: #0059b3;
    background-color:#e6f2ff;
    text-shadow: 1px 2px rgba(0,0,0,0.05);
    color: rgb(12, 4, 54);
    font-size: 17px;
    
 }
 .prueba_color {
  text-shadow: 1px 1px rgba(0,0,0,0.30);
  color: rgb(214, 69, 12);
}

.tabla {
      table, th, td {
          background-color: rgb(248, 154, 120);
          color:rgb(255, 255, 255);
          border: 2px solid red;
          border-spacing: 10px;
          text-align: center;
          vertical-align: middle;
          line-height:25pt;	
          border-collapse: collapse;				
        }
        th, td{
          padding: 2px;
        }
        th{
          text-align: left;
        }
       
      }
        /* imagen con numero flotando */	

  
.flota_der {
        float: right;
          margin: 0 0 20px 5px;
          padding: 5px;
          text-align: center;
        }
        
.flota_izq {
          float: left;
          margin: 5px 20px 0 0;
          padding: 5px;
          text-align: center;
        
        }

.centrado {
          margin-left: auto;
          margin-right: auto;
        }


/* D  TOOLTIPD   derecha Tooltip contenedor (selector)*/

.tooltipd {
          position: relative;
          display: inline-block;
         }
        .tooltipd .tooltipdtext {
          visibility: hidden;
          width:350px;
          background-color: rgb(255,255,255);
          color: #032e03;
          box-shadow: 2px 2px 5px rgb(31, 42, 90);
          text-align: left;
          font-size: 18px;
          border-radius: 6px;
          padding:15px 15px;
 
          position: absolute;
          z-index: 1;
          top: 5px;
          left:25px;
        }
        .tooltipd:hover .tooltipdtext {
          visibility: visible;
        }

/* abajo izquierda*/
 .tooltipi {
          position: relative;
          display: inline-block;
         }

        .tooltipi .tooltipitext {
          visibility: hidden;
          width: 350px;
          background-color: rgb(255,255,255);
          color: #032e03;
          box-shadow: 2px 2px 5px rgb(31, 42, 90);
          text-align: left;
          font-size: 18px;
          border-radius: 6px;
          padding: 15px 15px;
 
          position: absolute;
          z-index: 1;
          top: -5px;
          right: 20px;
        }
        .tooltipi:hover .tooltipitext {
          visibility: visible;
        }
 /*  UO tooltip  ARRIBA */
 .tooltipup {
            position: relative;  
            display: inline-block;
          }
          .tooltipup .tooltipuptext {
            visibility: hidden;
            width:350px;
            background-color: rgb(255,255,255);
            color: #032e03;
            box-shadow: 2px 2px 5px rgb(31, 42, 90);
            text-align: left;
            font-size: 18px;
            border-radius: 1px;
            padding:15px 15px;
            border-color: coral;
 
            position: absolute;
            z-index: 1;
            bottom: 130%;
            left: 50%;
            margin-left: -150px;
            
            }

          .tooltipup:hover .tooltipuptext {
            visibility: visible;
           }

/* DW debajo centro */
 .tooltipdw {
            position: relative;  
            display: inline-block;
           }
          .tooltipdw .tooltipdwtext {
            visibility: hidden;
            width:350px;
            background-color: rgb(255,255,255);
            color: #032e03;
            box-shadow: 6px 6px 10px rgb(31, 42, 90);
            text-align: left;
            font-size: 18px;
            border-radius: 6px;
            padding:15px 15px;
            /* Posiciona el tooltip arriba y a la izquierda*/
            position: absolute;
            z-index: 1;
            top: 130%;
            left: 50%;
            margin-left: -100px;
              }
          .tooltipdw:hover .tooltipdwtext {
            visibility: visible;
            }

/* TEXTO RESALTADO */

      .stroke1 {
        text-shadow: -2px -2px 1px #000, 2px 2px 1px #000, -2px 2px 1px #000, 2px -2px 1px #000;
        }
      .stroke2 {
        text-shadow: -2px -2px 1px #fff, 2px 2px 1px #fff, -2px 2px 1px #fff, 2px -2px 1px #fff;
        }


/** Diseño a dos columnas **/
.col2_izq {
	position:absolute; 
	left:40px; 
	top: 55px; 
	width:270px; 
	font-size:17px;
}

.col2_der {
	position:absolute; 
	left:330px; 
	top: 55px; 
	width:270px; 
	font-size:17px; 
}

/** Diseño a tres columnas **/
.col3_izq {
	position:absolute; 
	left:40px; 
	top: 55px; 
	width:170px; 
	font-size:15px;
}

.col3_med {
	position:absolute; 
	left:230px; 
	top: 55px; 
	width:170px; 
	font-size:15px; 
}

.col3_der {
	position:absolute; 
	left:420px; 
	top: 55px; 
	width:170px; 
	font-size:15px; 
}

.cajar0 {
	background: hsl(250 30% 90%);
	padding:15px;
	width: 80%;
	box-shadow: 3px 3px 5px black;
	border-radius: 15px;
	margin-left: auto;
	margin-right: auto;
	color: var(--h2-color);
}

.cajar1 {
	width: 45%;
	background-color: rgba(255, 102, 0,0.9);
    border-radius: 10px;
    padding: 12px;
	padding-bottom:12px;
	font-size: 20px;
	margin-bottom:0px;
	margin-top: 10px;
	color:white;
	font-family: verdana;
	font-weight:600;
	text-align:left;
}

.cajar2 {
	width: 80%;
	background-color: rgb(162, 210, 246);
  border-color: #e67e22;
  border-radius: 20px;
  padding: 12px;
	font-size: 20px;
  margin-left: auto;
  margin-right: auto;
	margin-bottom:0px;
	margin-top: 20px;
	color: #032e03;
	font-family: verdana;
	font-weight:500;
	text-align:center;
  box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.5);
}

.cajar3 {
  background: hsl(250 30% 90%);
  border-radius: .3rem;
  overflow: hidden;
  margin: 1em 0;
  color: var(--h2-color);
}

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

.cajar3 .content {
  padding: 0 .5rem;
}

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

.titulos {
	cursor: pointer; 
	margin-left: 20px; 
	color:white;
	font-size: 20px;

}
.caja4 {
	background: rgb(240, 239, 246);
	padding:15px;
  top: 500px;
	width: 70%;
	box-shadow: 3px 3px 5px black;
	border-radius: 15px;
	margin-left: auto;
	margin-right: auto;
	color: var(--h2-color);
}

/** Cambié el color del número y reduje la margen inferior   cambie 26  18 Y COLOR A NEGRO **/
.page_number {
  font-size:18px;
  bottom: 4px;
  padding: 0 1em 0 1em;
  color:#06541e;
}

body.dark .page_number {color: white;}

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



.contenedorr1 {
background-color:#FFF2CD; 
color: var(--p-color); 
padding:20px; 
width: 90%; 
box-shadow: 3px 3px 5px black; 
border-radius: 15px; 
margin-left: auto; 
margin-right: auto; 
margin-top:25px;
margin-bottom:25px;
font-size:18px;
}

.bib{
	color: var(--p-color);	font-size:17px; margin:10px 30px 0px 50px; text-indent:-50px;
	}

.refer{
    color: var(--p-color);	font-size:16px; margin:10px 30px 0px 50px; text-indent:-30px;
    }
	

.listar1 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;
}

.listar2 li {
	padding-top: 0px;
	padding-left: 35px;
	list-style: none;
	background-image: url("../images/feliz.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
}

.listar3 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;
}

.listar4 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;
}

  /** Estilos para el sumario  **/
.col_sum2 {
	position:absolute; 
	left:215px;
	top:50px;
	height:725px;
	width:205px;
	padding:10px;
	font-size: 15px;
	padding-top:0px;
	border-right: 1px solid rgba(100,100,100,0.4);
}
.col_sum3 {
	position:absolute; 
	left:420px;
	top:50px;
	height:725px;
	width:205px;
	padding:10px;
	font-size: 15px;
	padding-top:0px;

}

.col_sum4 {
	position:absolute; 
	left:15px;
	top:50px;
	height:725px;
	width:275px;
	padding:10px;
	font-size: 15px;
	padding-top:0px;
	border-right: 1px solid rgba(100,100,100,0.4);
}
.col_izquierda2 {
	position:absolute; 
	left:0px;
	top:0px;
	height:825px;
	width:200px;
	background-image:url('../sumario/fondo7.jpg');
	background-size:200px 825px;
	background-position:0px 0px;
	padding:10px;
	font-size: 15px;
	color:white;
	padding-top:0px;
}

.col_izquierda3 {
	position:absolute; 
	left:0px;
}
.centrado{
  margin-left: auto; 
  margin-right: auto;
  
  }
