@font-face { font-family: 'Lato'; font-weight: normal; src: url('../fonts/lato/Lato-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-weight: bold; src: url('../fonts/lato/Lato-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-weight: light; src: url('../fonts/lato/Lato-Light.ttf') format('truetype'); }
/*@font-face { font-family: 'Lato'; font-weight: 550; src: url('../fonts/lato/Lato-Semibold.ttf') format('truetype'); }*/

#boton_tutorial{
  position: relative;
  top: 25px;
  left: 17%;
  font-weight: bold;
  color: #C83335;
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: pointer;
}
#boton_tutorial:hover{
  font-size: 1.1em;
  opacity: 1;
}

body{
  font-family: 'Lato',sans-serif;
  color: #7C7C7C;
  user-select: none;
}

ol{
  list-style-type: upper-alpha;
}

span .MathJax{
  display: inline-block !important;
  margin-top: 0.25em;
}

#preview_header{
  display: block !important;
  padding-bottom: 20px;
}

#instruccion_ir_examen span{
  margin: 0 7%;
  color: #BBB;
  transition: color 1s ease;
}
#instruccion_ir_examen span:hover{
  color: #7C7C7C;
}

#instruccion_home_txt{
  transition: color 1s ease;
}
#instruccion_home_txt:hover{
  color: #7C7C7C !important;
}

#instruccion_reactivos{
  transition: color 1s ease;
}

#instruccion_reactivos:hover{
  color: #7C7C7C !important;
}
#back_txt{
  transition: color 1s ease;
}
#back_txt:hover{
  color: #FFF !important;
}


#preview_reactivo li{
  margin: 0.6em auto;
}

#ae_container{
  transition: margin 0.3s ease;
  padding: 3rem 20px;
  font-size: 0px;
  background-color: #F6F6F6;
}

#botonera_filtros{
  padding-top: 100px;
}

.filtro{
  display: inline-block;
  margin: 0 0.3em;
  cursor: pointer;
}

.card{
  display: inline-block;
  width: 200px;
  height: 200px;
  margin: 9px;
  font-size: 16px;
  cursor:pointer;
  color: white;
}

.card2{
  display: block;
  width: 479px;
  height: 150px;
  font-size: 16px;
  margin: 0 auto;
  margin-top: 7px;
  margin-bottom: 17px;
}

.card_content{
  background: #FFF;
  display: table;   /*TODO is it ok??*/
  font-size: 1.1em;
  height: 200px;
  width: 200px;
  text-align: center;
  line-height: normal;
  overflow: hidden;  /* TODO revisar que ningún texto salga de los 200pxx200px*/
  padding: 23px;
  background-color: #C83335;
}.card2 > .card_content{
  background: #FFF;
  display: table;
  font-size: 0.85em;
  height: 145px;
  width: 479px;
  text-align: center;
  line-height: normal;
  overflow: hidden;
  padding: 0px;
  padding-right: 23px;
  text-align: left;
}

.card_content span{
  vertical-align: middle;
  display: table-cell; /*TODO is it ok??*/
}

.card_content div{
  display: inline-block;
}

.franja_tarjeta{
  background:#C83335;
  height: 0px;
}.card2 > .franja_tarjeta{
  background:#C83335;
  height: 5px;
}

#back_to_AE{
  border-radius: 50%;
  width: 28px;
  height: 28px;
  background: #FFF;
  margin: 0 auto;
  margin-top: 35px;
}

#contador_a_preview{
  padding-top: 48px;
  font-size: 15px;
}

#contador_a_preview div{
  ;
}

#contador_a_preview .circle{
  border-radius: 50%;
  width: 28px;
  height: 28px;
  background:#C83335;
}

#ae_seleccionado div{
  text-align: center;
}

#header,#header2,#header3{
  border-bottom: solid 2px;
  border-color: #EEE;
  padding-top: 14px;
  padding-bottom: 10px;
}

.logo_castillo_container{
  padding-right: 23px;
  padding-top: 20px;
}.logo_castillo_container img{
  float:right;
}

#materia_title{
  height: 50%;

  width: 166px; margin-left: 100px; /*TODO*/

  border-bottom: solid thin;
  border-color: #C83335;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  font-size: 2em;
  color: #4D4D4F;
  padding-left: 10px;
}

.num_reactivos{
  display: inline-block;
  padding: 0.3em;
  font-size: 0.9em;
}

#title{
  background: #F6F6F6;
}

#footer{
  background-color: #B1B1B1;
  color: #FFF;
  text-align: center;
  font-size: 0.7em;
  padding: 1em;
  font-weight: normal;
  word-spacing: 1px;;
}

#ae_seleccionado{
  height: 872px;
  background: #C83335;
  color: #FFF;
  text-align: center;
  padding-top: 10px;
}

#ae_sub{
  overflow-x: hidden;
}

#reactivos{
  background: #EEE;
  transition: width 0.3s ease;
  height: 872px;
  text-align: center;
  padding-top: 35px;
  overflow-y: auto;
}
#preview_reactivo{
  height: 872px;
  background: #FFF;
  transition: margin 0.3s ease;
  padding-top: 35px;
  padding-left: 50px;
  padding-right: 32px;
}

#sidebar_text{
  margin-top: 25px;
  margin-left: 8px;
  margin-right: 8px;
  border-bottom: 2px solid #ea7f89;
  padding-bottom: 21px;
}

#texto{
  padding-left: 107px;
  margin-top: 25px;
}

#lista_final{
  background: #EEE;
  transition: width 0.3s ease;
  height: 872px;
  text-align: center;
  padding-top: 35px;
  overflow-y: auto;
}

.checkbox_div{
  width: 15.44%;
  position: relative;
  height: 96px;
}.pregunta_div{
  width: 84.56%;
  padding-top: 19px;
  height: 96px;
  cursor: pointer;
  user-select: none;
}

.collapsed{
  display: none;
}

input[type=checkbox]{
  display: none;
}
.checkbox_div label{
  cursor: pointer;
	position: absolute;
	width: 24px;
	height: 24px;
	top: 0;
  left: 0;
  margin-left: 23px;
  margin-top: 21px;
	background: #FFF;
	border:1px solid #C83335;
}
.checkbox_div label:after {
  opacity: 0.2;
  content: '';
  position: absolute;
  width: 9px;
  height: 5px;
  background: transparent;
  top: 6px;
  left: 7px;
  border: 1px solid #FFF;
  border-top: none;
  border-right: none;

  transform: rotate(-45deg);
}
.checkbox_div label:hover::after {
  opacity: 0.3;
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
}.checkbox_div input[type=checkbox]:checked + label:after {
  opacity: 1;
  border-bottom: 1px solid #FFF;
  border-left: 1px solid #FFF;
}

.red_background{
  background: #C83335 !important;
}

.bolded{
  font-weight: 800;
  font-style: italic;
}

.pointer_style{
  cursor: pointer;
  font-size: 0.9em;
}

.img_btn{
  width: 25px;
}

.img_asociada{
  width: 100%;
}

li img{
  width: 100%;
}

button {
  background: transparent;
  border: 0;
  outline:0;
}
svg{
  width: 20px;
  height: 25px;
}
#back_to_AE polyline{
  stroke: #C83335;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
#contador_a_preview polyline{
  stroke: #FFF;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.arrow {
  cursor: pointer;
  position: relative;
  width: 25px;
  height: 25px;
}

span.ocultar_texto{
  display: none;
}


#examen_html{
  color: #000;
  width: 100%;
}
#examen_html *{
 /*display: initial;*/
}
#examen_html script{
  display: none;
}
#examen_html ol{
  display: block;
  list-style-type: upper-alpha;
}
#examen_html li{
  display: list-item;
}
#examen_html table{
  font-size: .8em;
}

.black_overlay{
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0, 0.89);
  overflow-x: hidden;
  transition: 0.5s;
}
.black_overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}
.black_overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #C83335;
    text-decoration: none;
    cursor: pointer;
    transition: font-size 0.2s;
}.black_overlay .closebtn:hover{
    font-size: 66px;
}

.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(255,255,255, 0.95);
    overflow-x: hidden;
    transition: 0.5s;
}
.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: #C83335;
    text-decoration: none;
    cursor: pointer;
    transition: font-size 0.2s;
}.overlay .closebtn:hover{
    font-size: 66px;
}
.overlay .printbtn {
  position: absolute;
  top: 40px;
  left: 45px;
  font-size: 42px;
}

@media (min-width: 992px){
  #preview_reactivo.collapsed {
    display: block;
    /* same width as sidebar */
    margin-right: -33.34%;
  }
}

@media all and (min-width: 1380px) { /*Above 1380px*/
  .container{
    width: 1280px;
    margin: 0 auto;
  }
}

@-moz-document url-prefix() {
  .card_content div{
    display: table-cell;
  }
}
table, td, tr{
  border: solid thin #333;
}
td, tr{
  padding: .5rem .7rem;
}
.cuadroTexto{
  border: thin dashed #333;
  padding: .5rem;
}
table.dashed,table.dashed td,table.dashed tr{
  border: dashed thin #333;
}
a{
  text-decoration: underline;
}
.block{
  display: block;
}
#examen_html .collapsed{
display:initial;
}
#examen_html{
  color: #000;
  width: 100%;
}
#examen_html *{
 /*display: initial;*/
}
#examen_html script{
  display: none;
}
#examen_html ol {
  counter-reset: list;
}
#examen_html ol > li {
  list-style: none;
}
#examen_html ol > li:before {
  content: counter(list, lower-alpha) "). ";
  counter-increment: list;
}
#examen_html li{
  display: list-item;
}
#examen_html table{
  font-size: .8em;
}
