@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,300,200);
@import url(http://fonts.googleapis.com/css?family=Source+Code+Pro);
@import url(http://fonts.googleapis.com/css?family=Raleway:200,300,400,600,700);

body {
  height: 100%;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f3f3f6;
  line-height: 1.8em;
  color: rgb(38, 35, 36);

  padding-top: 60px;
  padding-bottom: 40px;
}

.hero-unit { background-color: #e7e1d5; }
.hero-unit p { font-weight: inherit; }
.navbar-inverse { color: #6c6f70; }
.navbar-inverse .navbar-inner {
    background-color: #262324; border-color: #4c4648;
    font-family: Raleway; }

footer { line-height: 1.4em; }

.label-info { background-color: #5d87a1; }
.label.label-info { font-weight: normal; }
code { background-color: white; }

blockquote {
  border-color: #5d87a1;
  background-color: #e7e1d5;
  padding: 6px 6px 6px 15px;
}
blockquote p { font-weight: 500; }

h1, h2, h3, h4, h5, h6 {
  font-family: Raleway;  
  text-shadow: 0px 0px 2px rgba(108, 111, 112, 0.5);
}

h1 { font-weight: 500; }
h1, strong, b { color: #ce4753; }

.hero-unit h1 { color: #462324; }

h2, h3, h4, h5 {
  font-weight: 200;
  color: #5d87a1;
}

.page-header, hr { border-color: #5d87a1; }
hr { border-top-width: 0; }

.figure, .window {
  margin: 1em 1em 1em 3em;
}

.figure {
  padding: 4px;
  border: 1px solid #6c6f70;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
}

.CodeMirror-scroll { height: auto; overflow: visible; }

.CodeMirror {
  padding: 4px;
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 18px;
  color: #262324;
  background-color: #e7e1d5;
  border: 1px solid #6c6f70;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
}

.field_with_errors .CodeMirror-scroll {
  border-color: #ce4753;
}

.CodeMirror-focused {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

.exercise {
position: relative;
margin: 15px 0;
padding: 39px 19px 14px;
background-color: #e7e1d5;
border: 1px solid #5d87a1;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}

.exercise div.label {
position: absolute;
top: -1px;
left: -1px;
padding: 3px 7px;
font-size: 12px;
font-weight: bold;
background-color: 6c6f70;
border: 1px solid #5d87a1;
color: #e7e1d5;
-webkit-border-radius: 4px 0 4px 0;
-moz-border-radius: 4px 0 4px 0;
border-radius: 4px 0 4px 0;
}

.table.center-headings th { text-align: center; }
.page-header { margin-top: 40px; margin-bottom: 20px; padding-bottom: 0; }
.label { padding-top: 2px; }
.r { text-align: right; }
q::before, q::after, blockquote::before, blockquote::after { content: none; }
.in { padding-left: 2em; }

h2 code { font-size: 26px; }
h3 code { font-size: 20px; }