code {
  white-space: nowrap;
}

#header, #explain, #locate, #footer {
  text-align: center;
}

#header {
  margin-bottom: 40px;
}

#footer {
  margin-top: 60px;
}

h4 {
    text-align: center;
    margin-top: 60px;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0;
  grid-row-gap: 0;
  margin: 40px 0;
}

.muted {
     grid-column-gap: 50px;
 }

.buttons a {
  padding: 75px 0;
  font-size: 2.4rem;
  border: none;
  border-right: 2px solid grey;
  border-top: 2px solid grey;
  background: white;
  color: rgb(34, 34, 34);
  cursor: pointer;
  text-align: center;
}

.buttons a:hover {
  background: #c9c9c9;
}

.buttons.muted a {
    background: #c9c9c9;
}

.buttons.muted a:hover {
    background: #A0A0A0;
}

.buttons a:nth-of-type(1),
.buttons a:nth-of-type(2){
  border-top: none;
}

.buttons a.smaller,
.buttons a.smaller {
  padding: 25px 0;
}

.buttons a:nth-of-type(even),
.buttons.muted a {
  border-right: none;
}

#editor #filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  grid-column-gap: 5em;
  grid-row-gap: 0.75em;
}

#editor #filters div[id] {
  min-height: 235px;
  border: 3px solid #fff;
  padding: 5px;
  overflow-x: hidden;
  scrollbar-width: none;
}

#editor #filters div[id] > label,
#editor #filters div[id] .affix-group label {
  display: inline-block;
  width: 100%;
  font-weight: normal;
  line-height: 1em;
}

#editor #filters div[id] label input {
  width: 2.75em;
  padding: 1px 5px;
  float: right;
}

#editor #filters div[id] label select,
#editor #filters div[id] label option {
  width: 12em;
  padding: 1px 5px;
  font-size: 80%;
}

#editor #filters div[id] .affix-group {
  border-left: 2px solid #fff;
  margin-bottom: 2px;
  padding-left: 4px;
}

#editor #filters div[id] .affix-group button {
  float: right;
  padding: 1px 5px;
  font-size: 85%;
}

#editor #filters div[id] .affix-group .affixes {
  font-size: 65%;
}

#editor #filters div[id] .affix-group .affixes code {
  margin-right: 4px;
  display: inline-block;
  padding: 0 0.3em;
  border: 0;
}

#editor #filters div[id] .affix-group .affixes code>span,
#editor #filters div[id] .affix-group .affixes code>input {
  margin-left: 2px;
}

span.close::before {
  content: "\2716";
  cursor: pointer;
}

#editor #filters div[id] .affix-group .affixes p {
  display: inline;
  margin: 0;
}

#editor #filters div[id] .affix-group .affixes span {
  cursor: pointer;
}

#editor #filters div[id] .affix-group .affixes code .button {
  padding: 0 3px;
  margin: 0;
  border: none;
  display: inline-block;
  background: #ffffffd9;
  width: 1.5em;
}

#editor #filters div[id] .affix-group .affixes code input {
  background: rgba(255,255,255,0.2);
  padding: 0 0 0 2px;
  margin: 0;
  border: none;
  width: 4em;
  border-radius: 0px;
}

#editor #controls, #editor #uniques {
  border: none !important;
  text-align: center;
}

#editor #controls button,
#editor #controls .button,
#editor #uniques button,
#editor #uniques .button {
  width: 70%;
  margin: 0 auto;
  color: #222 !important;
  height: 32px;
  line-height: 20px;
  display: block;
}
