@import url(reset.css);
@import url(syntax.css);
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

#content {
  max-width: 63em;
  margin: 0 auto; }

body {
  font-family: sans-serif;
  line-height: 1.4; }

h1, h2, h3 {
  font-weight: bold;
  margin: 5px 0; }

h1 {
  font-size: 2.5em;
  text-align: center;
  text-shadow: 2px 2px 3px #000; }

h2 {
  font-size: 1.25em;
  margin-top: 1em;
  margin-bottom: 1em; }

h3 {
  font-size: 1.1em;
  font-style: italic;
  margin-top: 1em;
  margin-bottom: 0.5em; }

header h1 a {
  text-decoration: none;
  color: inherit; }

p {
  font-size: 1em;
  margin: 5px 0; }

ul {
  padding-left: 2em;
  margin: 10px 0;
  list-style-type: disc; }

li {
  margin-left: 10px;
  padding-left: 10px; }

header, article, aside, footer {
  border: none;
  padding: 10px 1em;
  margin: 0 5% 10px; }

footer {
  font-size: 0.75em;
  color: #666;
  margin-top: 10em; }

#site-description {
  font-style: italic;
  text-align: center; }

#date {
  margin-bottom: 1em; }

ol {
  list-style-type: decimal;
  padding-left: 2em; }

em {
  font-style: italic; }

strong {
  font-weight: bold; }

img {
  max-width: 100%; }

nav {
  text-align: center;
  padding: 0.5em;
  border-top-width: 0;
  border-bottom-width: 1px;
  border-style: solid;
  border-color: #555;
  background: #ddd; }

nav ul {
  list-style: none;
  padding: 0em;
  margin: 0em; }

nav li {
  display: inline;
  padding: 0em;
  margin: 0em; }

nav a {
  color: black;
  padding: 0.5em; }

a {
  color: blue; }

header {
  width: 100%;
  margin: 0;
  background: #222 url("/assets/background.png");
  color: white;
  border-top-width: 3px;
  border-top-style: solid;
  border-top-color: #555;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  border-bottom-color: #555; }

#menu-toggle {
  display: none;
  float: right; }

.js .js-hide {
  display: none; }

.hide {
  display: none; }

.show-block {
  display: block; }

#full-menu {
  display: block; }

.no-js #button-menu {
  display: none; }

p {
  margin-top: 1em;
  margin-bottom: 1em; }

.tutorial p {
  margin-top: 0;
  margin-bottom: 1em; }

.tutorial {
  margin-bottom: 1.5em; }

pre {
  font-family: monospace; }

.highlight {
  margin: 1em;
  border-width: 1px;
  border-style: solid;
  border-color: #ccc;
  overflow-x: scroll; }

.code {
  padding: 1em; }

.lineno {
  background-color: #f0f0f0;
  color: #666;
  padding: 1em;
  border-right-style: solid;
  border-right-width: 1px;
  border-right-color: #ccc; }

article li {
  margin-top: 1em; }

article li img {
  margin-top: 1em;
  margin-bottom: 1em; }

.tutorial-chapter-nav {
  background-color: #ddd;
  overflow: auto;
  padding: 0.5em;
  margin-top: 2em;
  margin-bottom: 2em; }

.tutorial-chapter-nav .prev {
  float: left;
  width: 40%;
  text-align: left; }

.tutorial-chapter-nav .index {
  float: left;
  width: 20%;
  text-align: center; }

.tutorial-chapter-nav .next {
  float: left;
  width: 40%;
  text-align: right; }

.clear {
  clear: both; }

@media only screen and (max-width: 30em) {
  header {
    position: fixed;
    top: 0px;
    height: 4em;
    padding: 0.5em; }

  .js #menu-toggle {
    display: block;
    background: rgba(192, 192, 192, 0.75);
    padding: 0em;
    margin-top: 10px;
    height: 24px;
    width: 32px;
    border-radius: 5px;
    cursor: pointer; }

  #full-menu {
    display: none; }

  #button-menu .show-block {
    display: block; }

  .no-js #button-menu {
    display: block; }

  .no-js nav {
    margin-top: 4em;
    padding: 0em;
    padding-right: 8px; }

  .js nav {
    position: fixed;
    width: 100%;
    top: 4em;
    padding: 0em;
    padding-right: 8px;
    background: white; }

  nav a {
    display: block;
    padding: 0.25em;
    text-decoration: none; }

  nav li {
    display: block;
    margin: 0.25em;
    width: 100%;
    background: #ddd;
    border-style: solid;
    border-width: 1px;
    border-color: #555;
    border-radius: 5px; }

  h1 {
    font-size: 1.5em;
    text-align: left;
    float: left; }

  .js #content {
    margin-top: 5em; } }
@media only screen and (max-height: 250px) {
  nav a {
    padding: 0em; }

  nav li {
    margin: 0em;
    border-style: none;
    border-radius: 0;
    background: transparent; } }
.btn {
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none; }

.btn:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none; }
