body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
}

.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");
}

.col_derecha {
	position:absolute; 
	left:330px;
	top:55px;
	width:260px;
	
	padding:5px;
	font-size: 17px;
	
}

.col_izquierda {
	position:absolute; 
	left:50px;
	top:55px;
	height:715px;
	width:260px;
	
	padding:5px;
	font-size: 17px;
	
}

.lista1 li {
	padding-top: 0px;
	padding-left: 30px;
	
	list-style: none;
	background-image: url("../images/ok.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
	font-size: 16px;
}	

.lista2 li {
	padding-top: 0px;
	padding-left: 30px;
	
	list-style: none;
	background-image: url("../images/vineta1.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
	font-size: 16px;
}	

.lista3 li {
	padding-top: 0px;
	padding-left: 30px;
	
	list-style: none;
	background-image: url("../images/vineta3.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 20px;
	font-size: 16px;
}

.lista4 li {
	padding-top: 10px;
	padding-left: 30px;
	margin-left:-10px;
	list-style: none;
	background-image: url("../images/vineta2.svg");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 20px;
	font-size: 16px;
}

.caja0 {
        font-size: 22px;
         margin-left: auto;
         margin-right: auto;
         text-align: center;
         padding: 25px;
         box-shadow: 6px 6px 10px #c2c2c2; 
         width: 80%;
		background: hsl(250 10% 90%);
}



.caja1 {
	width: 60%;
	background-color: rgba(50,250,250,0.15);
    box-shadow: 6px 6px 10px #000;
    border-radius: 20px;
    padding: 25px;
	padding-top:15px;
	padding-bottom:10px;
	font-size: 22px;
	color:black;
    margin-left: auto;
    margin-right: auto;
}

.caja2 {
	width: 80%;
	background-color: rgba(190,190,190,0.25);
    box-shadow: 6px 6px 10px #000;
    border-radius: 10px;
    padding: 25px;
	padding-top:15px;
	padding-bottom:15px;
	font-size: 22px;
	color:black;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
}

.caja3 {
	width: 65%;
	background-color: rgba(250,250,210,1);
    box-shadow: 0px 0px 0px #000;
    border-top: 20px solid rgba(210,210,170,0.6);
    padding: 30px;
	padding-top:10px;
	padding-bottom:10px;
	font-size: 17px;
	color:black;
    margin-left: auto;
    margin-right: auto;
    
    animation-name: ejemplo2;
    animation-duration: 10s;
   }
   
.caja5 {
  background: hsl(250 30% 90%);
  border-radius: .3rem;
  overflow: hidden;
  margin: 0.65em 0;
  color:var(--raro-color);
  width:80%;
  margin-left:10%;
}
   
.caja5 h5 {
  padding: .3rem .5rem;
  margin: 0;
  background: hsl(250 80% 90%);
  color: white;
  font-size: 20px;
  text-align: center;
  
}

.caja5 .content {
  padding: 0 .5rem;
  text-shadow: 2px 2px 1px #c2c2c2;
}

.caja5 .modo1 {
  background: hsl(170 90% 40%);
  text-shadow: 2px 2px 3px black;
}

.caja5 .modo2 {
  background: #8D6E63;
  text-shadow: 2px 2px 3px  black;
  
}

.caja5 .modo3 {
  background: #8DAE63;
  text-shadow: 2px 2px 3px  black;
  
}

.caja5 .modo4 {
  background: #E65100;
  text-shadow: 2px 2px 3px black;
}

.caja5 .modo5 {
  background: #D81B60;
  text-shadow: 2px 2px 3px black;
}

.caja5 .modo6 {
  background: #5E35B1;
  text-shadow: 2px 2px 3px black;
}

table, th, td {
	border: 2px solid black;
	border-collapse: collapse;
	text-align: left;
	font-size:15px;
}
th, td {
	padding: 2px 3px 2px 3px;
}

table {
	width:100%;
}
th {
	background: rgb(79,112,197);
	color: white;
	text-align: center;
	vertical-align:middle;
}
tr:nth-child(even) {background-color: rgba(20,120,240,0.2);}


	body {
	--raro-color:#000;
	--nocambia-color:#000000;
	--caja0-color:#000000;
	--caja1-color:#000000;
	--caja2-color:#000000;
	--caja3-color:#000000;
	--caja5-color:#000000;
	}

	body.dark {  
	--raro-color:#000;
	--nocambia-color:#fff;
	--caja0-color:#358cd6;	
	--caja1-color:#3525d6;
	--caja2-color:#000;
	--caja3-color:#3525d6;
	--caja5-color:#3525d6;
	}
	
	