/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
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;
}

body {
  line-height: 1;
}

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;
}


/* my styles */
body {
  color: #080901;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  background: #222 url(bg.png);
  color: #ccc;
}

#container {
  width: 960px;
  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;
}

a {
  color: #FFF;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

#main {
  float:left;
  width:590px;
  background-color: #FFFFFF;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  -o-border-radius: 4px;
  -ms-border-radius: 4px;
  -khtml-border-radius: 4px;
  box-shadow: 0 0 30px #000;
  border-radius: 4px;
  padding: 30px;
  overflow: hidden;
  color: #333;
}

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

#main a {
  color: #F7296F;
}

#quick_reference {
  background-color: rgba(50,50,50,0.5);
  color: #FFF;
  height:350px;
  margin: 20px 0 0 650px;
  padding:20px 10px 0 20px;
  width: 280px;
  -webkit-border-top-right-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  -moz-border-radius-bottomright: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

#quick_reference .scrollable {
  overflow:auto;
  height:330px;
}

#quick_reference h2 {
  color: #999;
}

#quick_reference table {
  color: #FFF;
  font-size: 60%;
  margin-bottom: 20px;
}

#quick_reference th,
#quick_reference td {
  padding-right: 15px;
  line-height:1.5em;
}

#quick_reference .regex {
  color: #F7296F;
  font-size: 14px;
  padding-right: 5px;
  text-align: center;
  width:60px;
}

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: 464px;
}

#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: 565px;
}

#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;
}

#shares a {
  color: #444;
  font-size: 14px;
  text-decoration: underline;
}

#footer {
  clear: both;
  padding-top: 20px;
  text-align: left;
  font-size: 0.9em;
  -webkit-font-smoothing: antialiased;
}
