/* meyer 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, puts, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* styles */

body {
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 13px;
  font-family: "Helvetica Neue", "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
  min-width: 640px;
}
p {
  line-height: 1.3em;
  margin: 14px 0;
}
a {
  color: #191933;
}
ul {
  list-style-type: square;
  margin-left: 16px;
  color: #d0d0d0;
}
li {
  line-height: 1.8em;
}
pre {
  font-family: Monaco, Consolas, "Lucida Console", monospace;
  color: black;
  line-height: 1.3em;
}
#console {
  min-width: 320px;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 10;
  background: #fdfdfd;
}
#console .inner {
  height: 100%;
  margin: 0 20px;
}
#console pre {
  margin: 0;
  padding: 0;
}
#puts {
  position: absolute;
  overflow-y: auto;
  overflow-x: hidden;
  bottom: 0;
  left: 0;
  margin-bottom: 120px;
  width: 100%;
}
#console .buttons {
  display: none;
  position: absolute;
  bottom: 124px;
  right: 0px;
  margin: 0px 23px;
}
#console .buttons button {
  float: right;
  padding: 2px 6px;
  margin: 4px 2px;
}
#coffee-error {
  display: none;
  position: absolute;
  bottom: 120px;
  right: 12px;
  background: #f6f6f6;
  color: #999;
  padding: 3px 8px 3px;
  border-radius: 3px;
  border: 1px solid #d0d0d0;
  z-index: 4;
  font-weight: bold;
  box-shadow: 0 0 3px #ddd;
}
#coffee-error.tried,
#coffee-error.tried:hover {
  border: 1px solid #b00;
  color: #b43;
  background: #fff;
}
#coffee-error:hover {
  color: #000;
}
#input-wrap {
  position: absolute;
  width: 96%;
  left: 0;
  margin: 0 2% 2px 2%;
  bottom: 0px;
  height: 110px;
  z-index: 7;
}
.CodeMirror {
  height: 86%;
}
.CodeMirror-scroll {
  height: 100%;
  background: #fff;
  margin: 0 0 8px 0;
  padding: 4px 8px;
  border: 1px solid #ccc;
  box-shadow: 0 0 6px #d0d0d0;
  resize: both;
  border-radius: 4px;
}
.CodeMirror-lines {
  padding: .4em 0;
}
#console {
  width: 50%;
}
#puts > pre {
  border-top: 1px solid #e6e6e6;
  padding: 6px 16px;
  text-wrap: unrestricted;
}
#console .input {
}
#console .puts {
}
#console .beans-puts-coffee {
}
#console .error {
  color: #e11;
  border-top: 1px solid rgba(215,25,28,0.4);
}
#main {
  background: #f6f6f6 url('img/background.png');
  margin-left: 50%;
  width: 46%;
  position: relative;
  z-index: 5;
  padding: 4px 2%;
  border-left: 1px solid #d0d0d0;
  box-shadow: inset 0 0 8px #ccc;
  min-width: 320px;
}
h1 {
  font-weight: bold;
  font-size: 24px;
  border-bottom: 1px solid #d0d0d0;
  margin: 30px 0 12px;
}
h2 {
  font-weight: bold;
  font-size: 16px;
  margin: 24px 0 12px;
}
.highlight {
  padding: 12px;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  position: relative;
}
.shortcuts {
  background: #fff;
  border: 1px solid #d0d0d0;
  cellpadding: 0;
  cellspacing: 0;
}
.shortcuts td {
  border: 1px solid #d0d0d0;
  padding: 8px 14px;
}
.shortcuts td:first-child {
  font-style: italic;
  text-align: right;
}
.half {
  float: left;
  padding-right: 20px;
}
.half h2 {
  margin-top: 10px;
}
.clear {
  clear: both;
}
.beans-video {
  padding: 12px;
  margin: 12px 0;
  background: #eee;
  border: 1px solid #d0d0d0;
  float: left;
}
em {
  font-style: italic;
}
.beans-arrow {
  font-style: normal;
  font-size: 22px;
  line-height: 10px;
}
.button {
  height: 20px;
  width: 20px;
}
.highlight .buttons {
  position: absolute;
  top: 0;
  right: 0;
}
.buttons svg:hover {
  cursor: pointer;
}
.buttons path {
  fill: rgba(0,0,0,0.15);
}
.buttons svg:hover path {
  fill: rgba(0,0,0,1);
}
