body,
html {
}

html {
  background-color: white;
}

body {
  padding-bottom: 40px;
}

figure {
  margin: 20px 0 40px 0;
  padding: 20px;
  border: 1px solid #888;
}
figure .figger {
  padding: 10px;
  border: 1px solid gray;
  margin: 12px 0;
}

.portrait {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid black;
  padding: 20px;
  background: #efefef;
  margin-bottom: 12px;
}
.portrait video {
  width: 55%;
  border: none;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);

  border-left: 5px solid black;
  border-right: 5px solid black;
  border-top: 25px solid black;
  border-bottom: 40px solid black;
  border-radius: 10px;
  position: relative;
}

video {
  border: 1px solid black;
}

figcaption {
  font-size: small;
  color: gray;
  text-align: right;
  margin-top: 8px;
}
h1,
p,
div,
a {
  font-family: sans-serif;
}
p.sm {
  font-size: x-small;
}
p,
li,
td {
  font-size: 0.9em;
  margin-top: 0.5em;
}
h4 {
  margin-bottom: 0px;
}
h5 {
  margin-top: 8px;
  margin-bottom: 5px;
}
hr {
  margin: 40px 0;
}
h1.title {
  text-align: center;
  margin-bottom: 60px;
  color: #000;
  display: block;
  width: 100%;
  font-family: serif;
}
h1.title + h4 {
    margin: 0;
    text-align: center;
    margin-top: -40px;
}
h4{
  margin-bottom:8px;
}
#main ul {
  margin-left: 10px;
}

ul li {
  list-style-type: disc;
  margin: 10px;
}
div p,
li {
}
img.logo {
  width: 100px;
}
div,
ul,
h1,
nav > p {
  margin: 20px auto;
  max-width: 600px;
  padding: 0;
}

#notes {
  background: #e3e0e0;
  border: 1px solid gray;
}
#notes ul,
#notes p,
#notes li {
  background: #e3e0e0;
}
#notes li {
  font-size: smaller;
}
#working {
  display: none;
}
#hits,
#misses {
  display: inline-block;
  padding: 10px;
}
#hits {
  color: green;
}

#misses {
  color: red;
}
input#start {
  width: 200px;
  height: 40px;
  border: 1px solid black;
  font-size: 20px;
  margin: 20px auto;
  display: block;
}
input#speechText {
  width: 400px;
  margin: 20px;
  height: 30px;
  font-size: 18px;
  color: gray;
}

#former,
#show {
  display: none;
}

button {
  margin-left: 20px;
  display: block;
  font-size: 12px;
  height: 24px;
  background: white;
  border: 1px solid black;
  border-radius: 7px;
}
button:active {
  background: gray;
  color: white;
}
.binner {
  display: block;
  margin: 16px 0;
}
.g1 {
  color: darkOrange;
}
.g2 {
  color: darkRed;
}
.g3 {
  color: darkGreen;
}

.phrase {
  font-weight: bold;
}

.output {
  font-style: italic;
}

.footer {
  padding-top: 80px;
  font-size: small;
}
sup.ax,
sup.ax a,
a.arrr {
  text-decoration: none;
  color: red;
}

#pagenav {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
}

#pagenav div {
  font-size: small;
  margin: 0;
}
#pagenav .prev {
  text-align: left;
}
#pagenav .next {
  text-align: right;
}

table {
  border: 0;
  width: 100%;
}

td,
th {
  padding: 10px;
  border: 1px solid #efefef;
  text-align: left;
  max-width: 180px;
}
th {
  color: #999;
}

* {
  box-sizing: border-box;
}

#cta {
  padding: 1px 3px 1px 10px;
  border: 1px solid gray;
  background: #efefef;
}
#container {
  width: calc(100% - 30px);
  height: 45vh;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  margin-top: 30px;
  background-image: url("/things/bg.JPG");
  background-position-y: -200px;
}

#container > #but {
  position: absolute;
  left: 8%;
  top: 7.5%;
  width: auto;
  height: auto;
  border: 2px solid white;
  border-radius: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 4px 8px;
  background-color: #000;
  color: white;
  font-weight: 900;
}
#container #but span.mm {
  color: white;
}
#container span {
  font-size: small;
  color: #888;
}

#container span.x0 {
  position: absolute;
  top: 10%;
  left: -15px;
}

#container span.x1 {
  position: absolute;
  top: 35%;
  left: -15px;
}

#container span.x2 {
  position: absolute;
  top: 60%;
  left: -15px;
}

#container span.x3 {
  position: absolute;
  top: 85%;
  left: -15px;
}

#container span.y0 {
  position: absolute;
  left: 12%;
  top: -21px;
}

#container span.y1 {
  position: absolute;
  left: 37%;
  top: -21px;
}

#container span.y2 {
  position: absolute;
  left: 62%;
  top: -21px;
}

#container span.y3 {
  position: absolute;
  left: 87%;
  top: -21px;
}

#container > div.gr {
  width: 25%;
  height: 25%;
  border: #eee 1px solid;
  margin: 0;
  padding: 5px;
  color: #999;
  background-color: rgba(0, 0, 0, 0.2);
  font-size: small;
  display: flex;
  justify-content: center;
  align-items: center;
}
.enker {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.enker span {
  font-size: 12px;
  vertical-align: middle;
  color: gray;
  display: inline-block;
}
.enker span.enc {
  width: 20px;
  height: 20px;
  padding-top: 2px;

  text-align: center;
  border: 1px solid #ddd;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  font-family: monospace;
}

#encoder2 span:nth-of-type(1),
#encoder2 span:nth-of-type(2),
#encoder2 span:nth-of-type(3),
#encoder2 span:nth-of-type(4),
#encoder2 span:nth-of-type(5),
#encoder2 span:nth-of-type(6),
#encoder2 span:nth-of-type(7),
#encoder2 span:nth-of-type(8),
.rr {
  background: #fdf3f4;
}
#encoder2 span:nth-of-type(9),
#encoder2 span:nth-of-type(10),
#encoder2 span:nth-of-type(11),
#encoder2 span:nth-of-type(12),
#encoder2 span:nth-of-type(13),
#encoder2 span:nth-of-type(14),
#encoder2 span:nth-of-type(15),
#encoder2 span:nth-of-type(16),
.gg {
  background: #f8fdf8;
}

#encoder2 span:nth-of-type(17),
#encoder2 span:nth-of-type(18),
#encoder2 span:nth-of-type(19),
#encoder2 span:nth-of-type(20),
#encoder2 span:nth-of-type(21),
#encoder2 span:nth-of-type(22),
#encoder2 span:nth-of-type(23),
#encoder2 span:nth-of-type(24),
.bb {
  background: #e0e9f3;
}

.nwh span {
  padding: 5px;
  display: inline-block;
  border: 1px solid #ddd;
  font-family: monospace;
  margin: 0;
}

.nwh {
}

#genome {
  font-family: monospace;
}

span.hh {
  background: black;
  padding: 5px;
  width: 40px;
  height: auto;
  margin-left: 20px;
  display: inline-block;
  font-family: monospace;
}
.rcontainer {
  width: 100%;
  font-size: small;
  height: 237px;
  overflow-y: scroll;
  margin-top: 0;
}
.head {
  font-size: small;
  margin-bottom: 0;
  display: none;
}
.head th,
.rcontainer td {
  width: 50%;
  position: relative;
}

table.head thead tr th:after {
  position: absolute;
  right: 8px;
  font-size: 16px;
  color: gray;
}

table.head thead tr th:after {
  content: "\25b4";
}

table.head thead tr th.sort-desc:after {
  content: "\25be";
}
.click {
  color: orange;
  font-weight: 700;
}
