body{
  font-size:1.2em;
}

:invalid {
  border-color: #e88;
  -webkit-box-shadow: 0 0 5px rgba(255, 0, 0, .8);
  -moz-box-shadow: 0 0 5px rbba(255, 0, 0, .8);
  -o-box-shadow: 0 0 5px rbba(255, 0, 0, .8);
  -ms-box-shadow: 0 0 5px rbba(255, 0, 0, .8);
  box-shadow:0 0 5px rgba(255, 0, 0, .8);
}

:required {
  border-color: #88a;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 255, .5);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 255, .5);
  -o-box-shadow: 0 0 5px rgba(0, 0, 255, .5);
  -ms-box-shadow: 0 0 5px rgba(0, 0, 255, .5);
  box-shadow: 0 0 5px rgba(0, 0, 255, .5);
}
/**
input,select {
  border:1px solid #ccc;
  font-size:20px;
  width:300px;
  min-height:30px;
  display:block;
  margin-bottom:15px;
  margin-top:5px;
  outline: none;

  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  -o-border-radius:5px;
  -ms-border-radius:5px;
  border-radius:5px;
}
*/
input[type=submit] {
  background:none;
  padding:10px;
}


table#index {
  width: auto;
  border-spacing: 0;
  font-size:0.8em;
}
table#index th {
  color: #fff;
  padding: 8px 15px;
  background: #258;
  background:-moz-linear-gradient(rgba(34,85,136,0.7), rgba(34,85,136,0.9) 50%);
  background:-webkit-gradient(linear, 100% 0%, 100% 50%, from(rgba(34,85,136,0.7)), to(rgba(34,85,136,0.9)));
  font-weight: bold;
  border-left:1px solid #258;
  border-top:1px solid #258;
  border-bottom:1px solid #258;
  line-height: 120%;
  text-align: center;
  text-shadow:0 -1px 0 rgba(34,85,136,0.9);
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
}
table#index th:first-child {
  border-radius: 5px 0 0 0;
}
table#index th:last-child {
  border-radius:0 5px 0 0;
  border-right:1px solid #258;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1),0px 1px 1px rgba(255,255,255,0.3) inset;
}
table#index tr td {
  padding: 8px 15px;
  border-bottom: 1px solid #84b2e0;
  border-left: 1px solid #84b2e0;
  text-align: left;
}
table#index tr td:last-child {
  border-right: 1px solid #84b2e0;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
}
table#index tr {
  background: #fff;
}
table#index tr:nth-child(2n+1) {
  background: #f1f6fc;
}
table#index tr:last-child td {
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
}
table#index tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}
table#index tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}
table#index tr:hover {
  background: #bbd4ee;
  cursor:pointer;
}

input[type=submit].answer{
  width: 100%;
  align-self: auto;
  margin: 10px 0px;
  padding: 10px;
}

button.answer{
  width: 100%;
  align-self: auto;
  margin: 10px 0px;
  padding: 10px;
}

.typing {
  opacity: 0;
}

.typing.active {
  opacity: 1;
}
