@font-face {
  font-family: 'OpenDyslexic';
  font-style: normal;
  font-weight: normal;
  src: local('OpenDyslexic'), url('/font/OpenDyslexic-Regular.woff') format('woff');
}

body {
  font-family: 'OpenDyslexic', serif;
  /* para disléxicos */
  letter-spacing: 0.35ch;
  word-spacing: 1.225ch;
  line-height: 2.0;
}

h3 {
}

form {
}

fieldset {  
  border: 1px solid black;
  height: 100%;
}

legend {
  text-align: center;
  font-size: 1.2em;
  border: 1px solid black;
  padding: 1px 5px; 
  box-shadow: 1px 5px 5px #969e9e, -1px 5px 5px #969e9e;
}

.contenedor_flex {
  width: 100%;
  display: inline-flex;
  flex-direction: row; 
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

table {  
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  border-style: none;
  height: 100%;
}

tr {
  line-height: 1.8em;
  vertical-align: text-bottom;
}

th {
  font-weight: bold;
  text-align: left;
}

td {
  padding-top: 2px;
  padding-bottom: 0;
  border-bottom: 1px solid black;
}

tr:nth-child(odd) {
  background: #d0d0f9;
}
tr:nth-child(even) {
  background: #f4eedb;
} 

tr:last-of-type td {
  border-bottom-style: none !important;
}

td.linea {
}

td.frase {
}

td.bandera {
  text-align: center;
  padding-right: 10px;
  vertical-align: baseline;
}

td.bandera img {
  
}

td.nombre_estado {
  text-align: left;  
  vertical-align: baseline;
  border-right: 1px solid black;   
}

td.masculino {
  text-align: left;  
  vertical-align: baseline; 
  border-right: 1px solid black; 
  padding-left: 5px;     
}

td.femenino {
  text-align: left;  
  vertical-align: baseline;
  padding-left: 5px;    
}

span {
}

span.pregunta_verbo {
  display: inline-flex;
}

span.solucion {
  display: none;
  font-size: 1.2em;
  /*font-weight: bold;*/
  color: rgb(11, 249, 11);
  text-shadow:
    -1px -1px 0 #000,
     0   -1px 0 #000,
     1px -1px 0 #000,
     1px  0   0 #000,
     1px  1px 0 #000,
     0    1px 0 #000,
    -1px  1px 0 #000,
    -1px  0   0 #000;
}

input[type=text] {
  line-height: 2em;
  height: 2em;
  box-sizing: border-box;
  border: 1px solid black;
  border-radius: 2px;
  /*-webkit-border-radius: 2px;*/
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

input[type=text]:focus {
  background-color: #e9f0f5;
}

input.respuesta {
  text-transform: uppercase;
}

input.correcto {
  border-width: 5px;
  border-color: rgb(11, 249, 11);  
  background-color: white;
  color: black;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version */
}

input.incorrecto {
  border-width: 5px;
  border-color: rgb(255, 0, 0);
}

.pregunta_verbo img.correcto {  
  margin-left: 5px;
  content:url('/img/correcto.png');
}

.pregunta_verbo img.incorrecto {  
  margin-left: 5px;
  content:url('/img/incorrecto.png');
}

input[type=reset] {
}

input[type=submit] {
}

div.contenedor_botones {
  margin: 5px auto 8px;
  text-align: center;
}

div.boton {
  display: inline-block;
  text-align: center;
  margin: 0px 5px 0px;
  height: 25px;
  /*width: 280px;*/
  background-color: rgb(6, 83, 160); 
  color: white; 
  padding: 2px 5px 8px;
  cursor: pointer;
  border-radius: 3px;
  transition-duration: 0.1s;
  box-shadow: 0 3px rgb(97, 102, 122);
}

div.boton:hover {
  background-color: rgb(0, 23, 128);  
}

div.boton:active {
  background-color: #0d3aab;
  box-shadow: 0 1px #666;
  transform: translateY(2px);
}

img.boton {
  margin-left: 5px;
  margin-right: 10px;
  margin-bottom: 3px;
  vertical-align: middle;
}

div.corrige {
  background: url('/img/corrige.png'), rgb(6, 83, 160);
  background-repeat: no-repeat;
  background-size: auto 25px;
  background-position: 5px center;
}

div.botonmuestra {
  background: url('/img/ojos_abiertos.png'), rgb(6, 83, 160); 
  background-repeat: no-repeat;
  background-size: auto 20px;
  background-position: 5px center;
}

div.botonesconde {
  background: url('/img/ojos_cerrados.png'), rgb(6, 83, 160); 
  background-repeat: no-repeat;
  background-size: auto 20px;
  background-position: 5px center;
}

div.muestra_solu {

}

/* SEÑOR X */
.personaje_senor_x {
  flex-basis: 12%;
  width: 12%;
  height: 150px;
  margin: 10px;
  padding: 3px;
  border: solid black 1px;
  text-align: center;
}

.personaje_senor_x > img {
  height: 100%;
  width: auto;
}