body {
  font-family: "Muli", sans-serif;
  font-size: 1em;
  color: #444;
}
h1, h2, h3, h4, h5 {
  font-family: "Catamaran", sans-serif;
  font-weight: normal;
  margin: 1em 0 .3em 0;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1.2em; font-family: "Catamaran", sans-serif; font-weight: bold; }
b {
  color: #47a;
  font-weight: bold;
}
h3 b, h4 b, h5 b {
  font-family: monospace;
  font-size: 120%;
}

ul.methods {
  list-style-type: none;
  padding: 0;
}
ul.methods > li {
  border: 1px solid #ddd;
  background: linear-gradient(to bottom, #fdfdfd, #f0f0f0);
  padding: 0 1em .7em;
  margin-bottom: .7em;
  border-radius: 2px;
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
  position: relative;
}

ul.params {
  list-style-type: disc;
}
.param-desc {
  line-height: 1.25em;
  padding-left: 1.25em;
  text-indent: -1.25em;
}

.loader {
  border: 3px solid #ddd;
  border-radius: 50%;
  border-top: 3px solid #3498db;
  width: 24px;
  height: 24px;
  animation: spin 1s cubic-bezier(0.445, 0.145, 0.550, 0.845) infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

a.top {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 36px;
  height: 36px;
  text-decoration: none;
  border-radius: 50%;
  background: rgba(220,220,220,.75);
  border: 1px solid rgba(0,0,0,.1);
  text-align: center;
  line-height: 32px;
  font-size: 16px;
  color: rgba(0,0,0,.4);
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  z-index: 1;
}
a.top:hover {
  background: rgba(210,210,210,.8);
}
code {
  background: #ffd;
  padding: .12em .25em;
  border: 1px solid #bb9;
  border-radius: 2px;
  font-size: 1em;
}
.method-desc-ex {
  -font-style: italic;
}
.navbar {
  z-index: 2;
}
nav.bg-dark {
  background: #1584A5!important;
  box-shadow: 0 0 10px grey;
}
.navbar-brand {
  font-family: "Catamaran";
  font-size: 2em;
  line-height: 1em;
}
.navbar-brand img {
  width: 60px;
  margin: -10px -5px -10px -10px;
  vertical-align: bottom;
}
@media (min-width: 768px) {
  .main-body {
    padding-left: 195px;
  }
}
.main-body {
  position: relative;
}
.main-menu {
  position: fixed;
  left: 0;
  top: -1.25em;
  width: 180px;
  bottom: 0;
  background: #fafafa;
  box-shadow: 0 0 10px silver;
  padding: 5em .65em .65em;
  z-index: 1;
}
.main-menu a {
  text-decoration: none;
}
.main-menu ul {
  list-style-type: none;
  padding: 0 0 .6em 0;
}
.main-menu ul ul {
  padding-left: .9em;
}
.main-menu ul ul ul {
  padding-left: 1.25em;
  list-style-type: disc;
  font-size: 90%;
}
.main-content {
  padding-top: 60px;
}
a[name] {
  margin-top: -80px;
  height: 80px;
  display: block;
}
.source {
  background-color: #ffe;
  border: 1px solid silver;
  padding: 4px;
  margin-top: 5px;
}
.source code {
  border: none;
  background-color: transparent;
  padding: 0;
  font-size: .8em;
}