
body {
  font-size: 14px;
  line-height: 22px;
  font-family: Helvetica Neue, Helvetica, Arial;
  background: #f4f4f4 url(docs/images/background.png);
}

#toc {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif !important;
  background: #fff;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 15px 0 30px 30px;
  border-right: 1px solid #bbb;
  box-shadow: 0 0 20px #ccc; -webkit-box-shadow: 0 0 20px #ccc; -moz-box-shadow: 0 0 20px #ccc;
}
  #toc h1 {
    color: black;
    font-size: inherit;
    line-height: inherit;
    font-weight: bold;
    margin: 0;
  }
  #toc .version {
      margin: 0;
  }
  #toc h2 {
    color: black;
    font-size: inherit;
    line-height: inherit;
    font-weight: bold;
    margin: 15px 0 0 0;
  }
    #toc .version {
      font-size: 10px;
      font-weight: normal;
    }

  #toc ul {
    font-size: 11px;
    line-height: 14px;
    margin: 5px 0 0 0;
    padding-left: 16px;
    list-style-type: disc;
    font-family: Lucida Grande;
  }
    #toc ul li {
      cursor: pointer;
      margin: 0 0 3px 0;
    }
      #toc ul li a {
        text-decoration: none;
        color: black;
      }
        #toc ul li a:hover {
          text-decoration: underline;
        }

#content {
  position: relative;
  width: 550px;
  margin: 40px 0 50px 260px;
}

div.run {
  position: absolute;
  right: 15px;
  width: 26px; height: 18px;
  background: url('docs/images/arrows.png') no-repeat -26px 0;
}
  div.run:active {
    background-position: -51px 0;
  }

p, div.container ul {
  margin: 0 0 25px 0;
  width: 550px;
}
  p.warning {
    font-size: 12px;
    line-height: 18px;
    font-style: italic;
  }
  div.container ul {
    list-style: circle;
    padding-left: 15px;
    font-size: 13px;
    line-height: 18px;
  }
    div.container ul li {
      margin-bottom: 10px;
    }
    div.container ul.small {
      font-size: 12px;
    }
a, a:visited {
  color: #444;
}
a:active, a:hover {
  color: #000;
}

a img {
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 20px 0 5px 0;
}
  h2 {
    font-size: 22px;
  }
b.header {
  font-size: 18px;
  line-height: 35px;
}
span.alias {
  font-size: 14px;
  font-style: italic;
  margin-left: 20px;
}
table {
  margin: 15px 0 0; padding: 0;
}
  tr, td {
    margin: 0; padding: 0;
  }
    td {
      padding: 0px 15px 5px 0;
    }
code, pre, tt {
  font-family: Monaco, Consolas, "Lucida Console", monospace;
  font-size: 12px;
  font-weight: normal;
  line-height: 18px;
  font-style: normal;
  padding: 0px 3px;
  background: #fff;
  border: 1px solid #ddd;
}
  pre {
    font-size: 12px;
    padding: 2px 0 2px 15px;
    border: 0;
    border-left: 4px solid #bbb;
    margin: 0px 0 25px;
  }

  pre code {
      border: 0;
      padding: 0;
      background: none;
  }

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (max-width: 640px),
      only screen and (-o-min-device-pixel-ratio: 3/2) and (max-width: 640px),
      only screen and (min-device-pixel-ratio: 1.5) and (max-width: 640px) {
  img {
    max-width: 290px;
  }
  div#sidebar {
    -webkit-overflow-scrolling: initial;
    position: relative;
    width: 90%;
    height: 120px;
    left: 0;
    top: -7px;
    padding: 10px 0 10px 30px;
    border: 0;
  }
  img#logo {
    width: auto; 
    height: auto;
  }
  div.container {
    margin: 0;
    width: 100%;
  }
  p, div.container ul {
    max-width: 98%;
    overflow-x: scroll;
  }
  table {
    position: relative;
  }
    tr:first-child td {
      padding-bottom: 25px;
    }
    td.text {
      padding: 0;
      position: absolute;
      left: 0;
      top: 48px;
    }
    tr:last-child td.text {
      top: 122px;
    }
  pre {
    overflow: scroll;
  }
}
