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: 375px;
  left: 57px;
  right: 0px;
  color: #191970;
  font-size: 410%;
  text-align: center;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}

.cover_subtitle {
  position: absolute;
  left: 57px;
  right: 0px;
  top: 540px;
  text-align: center;
  color: #191970;
  font-size: 250%;
  text-shadow: 1px 2px rgba(0,0,0,0.15);
}

.chap_text {
  position: absolute;
  right: var(--page-right-margin);
  top: 170px;
  color: #191980;
  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: 575px;
  height: 170px;
  color: #191980;
  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);
}
.lista1 li{
	padding-top: 7px;
	padding-left: 30px;
	list-style: none;
	background-image: url("../images/general/start.png");
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 20px;
}
  /** 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;
}

.caja0{
	box-shadow: 10px 10px 15px #666;
	background-image: linear-gradient(135deg, #ffe56d 0, #ffe861 6.25%, #ffeb57 12.5%, #ffec4e 18.75%, #efed47 25%, #d5ed42 31.25%, #b8eb41 37.5%, #97e943 43.75%, #6fe548 50%, #32e151 56.25%, #00dc5d 62.5%, #00d86b 68.75%, #00d47c 75%, #00d18f 81.25%, #00cda3 87.5%, #00cab7 93.75%, #00c8cd 100%);
	padding: 10px;
	text-align: left;
	width:100%;
	border-radius:12px;
	margin-right: auto;
	margin-left: auto;
}
.caja1{
	background-image: linear-gradient(135deg, #ffe56d 0, #ffe861 6.25%, #ffeb57 12.5%, #ffec4e 18.75%, #efed47 25%, #d5ed42 31.25%, #b8eb41 37.5%, #97e943 43.75%, #6fe548 50%, #32e151 56.25%, #00dc5d 62.5%, #00d86b 68.75%, #00d47c 75%, #00d18f 81.25%, #00cda3 87.5%, #00cab7 93.75%, #00c8cd 100%);
	box-shadow: 3px 3px 5px #666;
	padding: 10px;
	text-align: left;
	width:100%;
	border-radius:2px;
	margin-right: auto;
	margin-left: auto;
}
.caja2{
	background-image: linear-gradient(135deg, #ffe56d 0, #ffe861 6.25%, #ffeb57 12.5%, #ffec4e 18.75%, #efed47 25%, #d5ed42 31.25%, #b8eb41 37.5%, #97e943 43.75%, #6fe548 50%, #32e151 56.25%, #00dc5d 62.5%, #00d86b 68.75%, #00d47c 75%, #00d18f 81.25%, #00cda3 87.5%, #00cab7 93.75%, #00c8cd 100%);
	box-shadow: 3px 3px 5px #666;
	padding: 10px;
	text-align: center;
	width:10%;
	border-radius:2px;
	margin-right: auto;
	margin-left: 10px;
}
table.greenTable {
  font-family: Georgia, serif;
  border: 6px solid #15bd35;
  background-color: #D4EED1;
  width: 100%;
  color: #000000;
  text-align: center;
  vertical-align:middle;
}
table.greenTable td, table.greenTable th {
  border: 1px solid #24943A;
  padding: 2px 2px;
}
table.greenTable tbody td {
  font-size: 16px;
  vertical-align:middle;
}
table.greenTable thead {
  background: #24943A;
  background: -moz-linear-gradient(top, #5baf6b 0%, #3a9e4d 66%, #24943A 100%);
  background: -webkit-linear-gradient(top, #5baf6b 0%, #3a9e4d 66%, #24943A 100%);
  background: linear-gradient(to bottom, #5baf6b 0%, #3a9e4d 66%, #24943A 100%);
  border-bottom: 0px solid #444444;
}
table.greenTable thead th {
  font-size: 18px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  vertical-align:middle;
  border-left: 2px solid #24943A;
}
table.greenTable thead th:first-child {
  border-left: none;
  
}

table.greenTable tfoot {
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;
  background: #24943A;
  background: -moz-linear-gradient(top, #5baf6b 0%, #3a9e4d 66%, #24943A 100%);
  background: -webkit-linear-gradient(top, #5baf6b 0%, #3a9e4d 66%, #24943A 100%);
  background: linear-gradient(to bottom, #5baf6b 0%, #3a9e4d 66%, #24943A 100%);
  border-top: 1px solid #24943A;
}
table.greenTable tfoot td {
  font-size: 16px;
  
}