* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
}

#wrapper {
  margin: 10px 20px 20px;
}

a {
  text-decoration: none;
  color: #1e74b1;
}
a:hover {
  color: #08a203;
  border-bottom: 1px solid;
}

h1, h2, h3 {
  margin-bottom: 10px;
}
h1 {
  margin-top: 0;
  color: #777;
}
h2 {
  margin-top: 35px;
  color: #555;
}
h3 {
  margin-top: 20px;
  margin-bottom: 5px;
  color: #333;
}

p {
  padding: 5px 10px;
  line-height: 21px;
}

textarea, input[type='text'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input, textarea {
  font-size: 16px;
  outline: none;
  border: 2px solid #b7c7d8;
  border-radius: 3px;
  padding: 4px 6px;
  background: #fff;
  color: #444;
  display: block;
}

input:focus, textarea:focus {
  border: 2px solid #33547d;
  background: #fff;
  color: #222;
}
.code {
  margin-top: 5px;
  border-color: #bbd8c2;
}
.code:focus {
  border-color: #367d4e;
}
.code.error {
  border-color: #aa0202;
}

input {
  width: 50%;
  max-width: 300px;
}

.toggle {
  display: inline-block;
  margin: -10px 0 5px;
  font-size: 14px;
  color: #aa0202;
  cursor: pointer;
}
.toggle.active {
  color: #555;
}
.toggle .icon {
  font-size: 22px;
  margin-right: 5px;
  position: relative;
  top: 1px;
}

textarea {
  width: 100%;
  max-width: 600px;
  height: 100px;
}
textarea.code, textarea.tester {
  font-family: 'Droid Sans Mono', monospace;
  font-size: 13px;
}
textarea.code {
  height: 400px;
}
textarea.tester {
  height: 30px;
  margin-top: 5px;
}

.button {
  display: inline-block;
  margin-top: 5px;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 1px 4px 2px;
  border: 2px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  color: #666;
}
.button:hover {
  border-color: #999;
  color: #222;
}
#deleteButton.disabled {
  cursor: default;
  border-color: #ccc;
  color: #666;
  opacity: 0.3;
}

.layerLabel {
  margin: 5px 0;
}
#testerBox {
  margin: 5px 0;
}
#testerBox .tester {
  margin-top: 5px;
}
#tieBreakerBox {
  width: auto;
  margin-bottom: 10px;
}
#tieBreakerBox input {
  display: inline;
  width: auto;
  margin-left: 5px;
}

