/* RESET */
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}


ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}



#container {
  margin: 0 auto;
}

#header {
  position: relative;
  overflow: hidden;
}

#header h1 {
  font-family: 'Reenie Beanie', cursive, sans-serif;
  font-size: 96px;
  font-weight: bold;
  margin: 0.1em 0;
  color: #FFF;
  line-height: 96px;
  float: left;
}

#header h1 a:hover {
  text-decoration: none;
}

#header h2 {
  color: #aaa;
  text-align: right;
  line-height: 18px;
  margin-top: 60px;
  font-weight: 100;
  letter-spacing: 0.1em;
}

h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  font-size: 14px;
  margin-bottom: 10px;
}

#main {
  background-color: #FFFFFF;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  -ms-border-radius: 4px;
  -khtml-border-radius: 4px;
  border-radius: 4px;
  padding: 30px;
  overflow: hidden;
  color: #333;
}

#main h2 {
  font-weight: 700;
  color: #369;
}

input, textarea, #results, #groups {
  margin-bottom: 20px;
  background-color: white;
  border: 1px solid #ccc;
  font-size: 16px;
  padding: 10px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  -o-border-radius: 3px;
  -ms-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
}

#expression {
  font-size: 25px;
}

#expression input[name=expression] {
  margin: 0 4px;
  width: 55%;
}

#expression input[name=option] {
  box-sizing: border-box;
  margin-left: 4px;
  width: 70px;
}

.invalid-expression, input:invalid {
  border: 1px solid #F7296F;
}

#expression input[name=expression],
#expression input[name=option] {
  font-family: menlo, courier, sans-serif;
}

#test_strings textarea {
  height: 95px;
  width: 100%;
}

#output, #error, #regex-error {
  display: none;
}

#intro, #error, #output, #regex-error {
  margin: 10px -30px -30px -30px;
  padding: 30px;
  background-color: #eef;
  border-top: 1px solid #dde;
}

#regex-error {
  color: #f7296f;
  font-size: 14px;
}

#results li {
  margin-bottom: 10px;
}

#results li:last-child {
  margin-bottom: 0px;
}

#results span {
  background-color: #9CE39E;
  margin: 3px;
}

#groups {
  margin-bottom: 20px;
}

#groups h3 {
  font-size: 1em;
  margin-bottom: 5px;
  color: #999;

}

#groups ol {
  list-style-type: decimal;
  margin-bottom: 10px;
  padding-left: 30px;
}

