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

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

body.dark .caja5 .content {
	color: black;
}

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

.sin_boton {
	border: 0px; background-color: rgba(1,1,1,0);
	
}

.sin_boton .btn_expand {
border: 0px solid red;
background-color: rgba(1,1,1, 0);
background-image: url("img/vacio.png");
}

body.dark .sin_boton .btn_expand {
background-image: url("img/vacio.png");
}

.title1{
  font-size:2rem;
  color:white;
  font-weight:bold;
  background-color:#1999;
  width: 400px;
  text-align:center;
  padding:5px;
  border-radius:10px;
  margin-bottom:10px;
 
  }
  
  .title2{
  background-color:#2999;
  max-width:500px;
  text-align:center;
  padding:5px;
  font-size:1.5rem;
  color:white;
  font-weight:bold;
  border-radius:5px;
}

.lista1 li {
	padding-top: 5px;
	padding-left: 35px;
	list-style: none;
	background-image: url("../images/candado2.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
}

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

.lista3 li {
	padding-top: 5px;
	padding-left: 35px;
	margin-left:-15px;
	list-style: none;
	background-image: url("../images/virus2.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
}

.lista4 li {
	padding-top: 5px;
	padding-left: 35px;
	margin-left:-15px;
	list-style: none;
	background-image: url("../images/robot.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
}

.lista5 li {
	padding-top: 5px;
	padding-left: 35px;
	margin-left:-15px;
	list-style: none;
	background-image: url("../images/ia.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
}

.lista6 li {
	padding-top: 5px;
	padding-left: 35px;
	margin-left:-15px;
	list-style: none;
	background-image: url("../images/FA1.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
}

.lista7 li {
	padding-top: 5px;
	padding-left: 35px;
	margin-left:-15px;
	list-style: none;
	background-image: url("../images/i7.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 30px;
}


/*** Primer estilo para tabla tipo cebra ***/
.cebra1 {
	width:100%;
	
}
.cebra1 th {
	background-color: red;
	color: white;
	text-align: center;
	
}

.cebra1 th, td {
	padding: 5px;
	vertical-align:middle;
}

.cebra1 tr:nth-child(even) {background-color: rgba(20,120,240,0.2);
}

/*** Segundo estilo para tabla tipo cebra ***/
.cebra2 th {
	background-color: rgba(179,112,97,0.7);
	font-weight: bold;
	font-size:120%;
	border: 3px solid maroon;
	}
.cebra2 td {
	text-align: left;
	padding:3px;
	padding-left:10px;
	vertical-align:middle;
	}
.cebra2 tr:nth-child(odd) {background-color: rgba(220,120,10,0.2);

}

/*** Tercer estilo para tabla tipo cebra ***/
.cebra3 {
	width:90%;
}

.cebra3 th {
	background-color: rgba(119,182,97,0.7);
	font-weight: bold;
	font-size:120%;
	text-align: center;
	vertical-align:middle;
	}
.cebra3 td {
	text-align: left;
	padding:3px;
	padding-left:10px;
	vertical-align:middle;
	}
.cebra3 tr:nth-child(odd) {background-color: rgba(220,220,10,0.2);
}
.cebra3 tr:nth-child(even) {background-color: rgba(220,20,240,0.2);
}