body {
	font-family: 'Montserrat', 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 #3867d6;
	color: var(--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 #2ecc71;
	border-radius: 2px;
	background: #ffffff;
}

.image_link {
	border: 2px solid #2ecc71;
}

li {
	padding: 0 0 0.4em 0;
}

code,
code_math {
	display: inline;
}

code,
pre,
code_math {
	font-family: 'UbuntuMono', monospace;
	font-size: 107%;
	color: #778890;
}

xmp {
	font-family: 'UbuntuMono', monospace;
	font-size: 107%;
	color: #e67e22;
	border: 1px solid #e67e22;
}

.katex {
	font-size: 110% !important;
}

.cover_title {
	position: absolute;
	top: 570px;
	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);
}

body.dark .invertcolor {
	filter: invert(1) hue-rotate(180deg);
}

#boton{
  font-size: 1rem;
  padding: .5em;
  background-color: rgb(0, 26, 52);
  border: none;
  color: #FFFFFF;
  border-radius: .5rem;
}

#boton:hover{
  color: rgb(0, 26, 52);
  background-color: #FFFFFF;
  border:1px solid rgb(0, 26, 52);
  transform: scale(1.1);
  cursor: pointer;
  border-radius: .5rem;
  transition-duration: .9s;
}

[type="radio"]{
  cursor: pointer;
}

.button {
  display: block;
  margin-top: 15px;
  padding: 15px 25px;
  font-size: 1.18rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 15px;
  font-weight: 600;
}
.button:hover {
  background-color: #3e8e41
}

.button:active {
  transform: translateY(.5px);
}

.text{
  font-size: 1.5rem; 
  background-color: #f3f2f2; 
  height: auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5rem;
  padding: 1.5rem;
  border-radius: 15px;
}

.cuestionario {

}
.cuestionario-title {

}
.cuestionario-list {
  list-style-type: none;
  margin: 0;
  margin-left: 3em;
  padding: 0;
  counter-reset: list;
}

.cuestionario-list > li {
  position: relative;
  margin-bottom: 10px;
  padding: 10px 40px 10px 55px;
  cursor: pointer;
  transition: background-color ease-in-out .2s;
}

.cuestionario-list > li:hover {
  border-bottom: 2px solid #1976d2;
  background-color: #E9E9E9;
}

.cuestionario-list > li:before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 40px;
  font-size: 1.55em;
  border-radius: 50%;
  text-align: center;
  line-height: 33px;
  color: #f5f5f5;
  background-color: #949494;
  content: counter(list, lower-alpha);
  counter-increment: list;
  transform: translateY(-50%);
}

.cuestionario-list > li.active {
  border: 2px solid;
}

.cuestionario-list > li.active.good {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.cuestionario-list > li.active.wrong {
  color: #a94442;
   background-color: #f2dede;
   border-color: #ebccd1;
}

.cuestionario-list > li.deactivated {
  cursor: default;
  border: none;
}

.cuestionario-list > li.deactivated:hover {
  border-bottom: none;
  background-color: inherit;
}

.page.background{
  background-color: #8dcdc6;
}

.image_expand{
  box-shadow:none !important;
  -webkit-box-shadow:none !important;
}

.quiz-correct{
  color: #4CAF50;
  font-weight: bold;
}

.quiz-incorrect{
  color: #a94442;
  font-weight: bold;
}
