@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

* {
  box-sizing: border-box
}

html, body {
  height: 100%;
  width: 100%;
  min-width: 320px;
  -webkit-text-size-adjust: 100%;
}

body {
  color: #4d4e53;
  background-color: #fafafa;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  line-height: 135%;
}

a,
a:active {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

p, ul, ol, blockquote {
  margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #000;
  font-weight: 400;
  margin: 0;
}

h1 {
  font-weight: 300;
  font-size: 255%;
  margin: 0.7em 0 .5em;
  word-wrap: break-word;
  line-height: 1;
}

h1.page-title {
  padding-left: 5px;
  width: calc(100% - 35px);
  margin: 23px 0 10px;
}

h2 {
  font-size: 140%;
  margin: 1.5em 0 .3em;
}

h3 {
  font-size: 140%;
  margin: 1.2em 0 .3em;
}

h4 {
  font-size: 113%;
  margin: 1em 0 .2em;
  color: #4d4e53;
}

h5, .container-overview .subsection-title {
  font-size: 120%;
  letter-spacing: -0.01em;
  margin: 8px 0 3px 0;
}

h6 {
  font-size: 100%;
  letter-spacing: -0.01em;
  margin: 6px 0 3px 0;
  font-style: italic;
}

tt, code, kbd, samp, pre {
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  background: #ececec;
  padding: 2px 5px 1px;
  border-radius: 2px;
}

pre {
  padding: 5px 10px;
}

.class-description {
  margin-bottom: 2em;
  margin-top: 1em;
}

.class-description:empty {
  margin: 0;
}

#main {
  float: right;
  min-width: 360px;
  width: calc(100% - 200px);
}

header {
  display: block;
}

.creds {
  color: #000;
}

section {
  display: block;
  padding: 0 0 0 10px;
}

.variation {
  display: none;
}

.signature-attributes {
  font-size: 60%;
  color: #000;
  font-style: italic;
  font-weight: lighter;
  padding-left: 5px;
}

nav {
  float: left;
  display: block;
  width: 200px;
  overflow: auto;
  position: fixed;
  height: 100%;
}

nav h3 {
  margin-top: 12px;
  font-size: 80%;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 24px;
  margin: 15px 0 5px;
  padding: 0;
  color: #000;
}

nav ul {
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
  font-size: 100%;
  line-height: 17px;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

nav ul a,
nav ul a:active,
.list-title {
  font-family: 'Montserrat', sans-serif;
  line-height: 19px;
  padding: 0;
  display: block;
  font-size: 80%;
  font-weight: normal;
}

.list-title {
  color: #888;
}

nav > ul {
  padding: 0 10px;
}

nav > ul > li > a {
  color: #000;
}

nav ul ul {
  margin: 2px 0 4px 10px;
}

nav ul ul a {
  color: #aaa;
  border-left: 1px solid #ddd;
}

nav ul ul a,
nav ul ul a:active {
  padding-left: 10px;
}

nav h2 {
  font-size: 75%;
  margin: 0;
  padding: 0;
}

nav > h2 > a {
  display: block;
  margin: 10px 0 -10px;
}

footer {
  color: #999;
  display: block;
  padding: 10px 0 10px 10px;
  font-style: italic;
  font-size: 90%;
  margin: 10px 0 0 200px;
  border-top: 1px solid #eee;
}

.ancestors {
  color: #999;
}

.ancestors a {
  color: #999 !important;
}

.clear {
  clear: both;
}

.important {
  font-weight: bold;
  color: #950B02;
}

.yes-def {
  text-indent: -1000px;
}

.type-signature {
  color: #aaa;
}

.sig-params {
  display: inline-block;
}

.group {
  border: 1px solid #999;
  margin-bottom: 10px;
  padding: 0 15px;
  box-shadow: 0 3px 6px #ccc;
  background: #fff;
  overflow: auto;
}

.group > h5 {
   padding: 1px 7px 3px;
   margin: 14px 0 10px;
   display: inline-block;
   background: #58abd6;
   border-radius: 3px;
   color: #fff;
   font-size: 100%;
   font-family: inherit;
}

.group > h5:nth-child(3) {
  margin-top: 0;
}

.group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

dl, dd {
  margin: 0;
}

.name, .signature, .type {
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
}

h4.name {
  border-bottom: 1px solid #b4e1f7;
  padding-bottom: 12px;
}

.details ul {
  margin: 0;
}

.details ul {
  list-style-type: none;
  padding: 0 0 0 10px;
  margin-bottom: 8px;
}

.details dd:last-child ul {
  margin-bottom: 0;
}

.details dt {
  text-decoration: underline;
}

.details pre.prettyprint {
  margin: 0;
}

.details .object-value {
  padding-top: 0;
}

.description {
  margin: 1em 0;
}

.description.last {
  margin: 0 0 0.7em;
}

.code-caption {
  font-style: italic;
  font-size: 107%;
  margin: 0;
}

.prettyprint {
  padding: 0;
}

.prettyprint, pre {
  font-size: 81%;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.05);
  overflow: auto;
  background-color: #fff;
}

.prettyprint.source {
  width: inherit;
}

.prettyprint code {
  font-size: 100%;
  line-height: 18px;
  display: block;
  margin: 0 0 0 15px;
  background-color: #fff;
  color: #4D4E53;
}

.prettyprint li code {
  background-color: inherit;
}

.prettyprint > code {
  padding: 15px;
  overflow: auto;
  background-color: #fafafa;
}

.prettyprint .linenums code {
  padding: 0 15px;
}

.prettyprint .linenums li:first-of-type code {
  padding-top: 15px;
}

.prettyprint code span.line {
  display: inline-block;
}

.prettyprint.linenums {
  padding-left: 70px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: #fff;
}

.prettyprint.linenums ol {
  padding-left: 0;
}

.prettyprint.linenums li {
  border-left: 3px #ddd solid;
  position: relative;
}

.prettyprint.linenums li.selected:before{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid #58abd6;
  margin: 2px;
}

.prettyprint.linenums li:nth-child(even) {
  background: linear-gradient(to right, #f8f8f8 0%, #f8f8f8 40%, #fff 100%);
}

.prettyprint.linenums li * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.child-props, .child-params {
  padding-left: 25px;
  border-left: 2px solid #b4e1f7;
  margin-left: 5px;
}

.param-desc {
  margin-bottom: 10px;
}

.params .name, .props .name, .name code, .sig-params {
  color: #0099cc;
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  font-size: 100%;
}

.params-divider {
   color: #000;
}

.type, .param-type, .attributes {
  color: #999;
}

.attributes {
  padding-left: 5px;
}

.param-type dt, .param-type dd {
  display: inline-block;
  color: #000;
}

.param-type dd {
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
}

.param-type a {
  color: inherit;
}

.disabled {
  color: #454545;
}

/* navicon button */
.navicon-button {
  display: none;
  position: relative;
  padding: 25px 10px;
  transition: 0.25s;
  cursor: pointer;
  user-select: none;
  opacity: 0.8;
}
.navicon-button .navicon:before, .navicon-button .navicon:after {
  transition: 0.25s;
}
.navicon-button:hover {
  transition: 0.2s;
  opacity: 1;
}
.navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
  transition: 0.25s;
}
.navicon-button:hover  {
  background-color: #555;
}

/* navicon */
.navicon {
  position: relative;
  width: 2.2em;
  height: .3125rem;
  background: #fff;
  transition: 0.3s;
  border-radius: 2.5rem;
  display: block;
}
.navicon:before, .navicon:after {
  display: block;
  content: "";
  height: .3125rem;
  width: 2.2rem;
  background: #fff;
  position: absolute;
  z-index: -1;
  transition: 0.3s 0.25s;
  border-radius: 1rem;
}
.navicon:before {
  top: .625rem;
}
.navicon:after {
  top: -.625rem;
}

/* open */
.nav-trigger:checked + label:not(.steps) .navicon:before,
.nav-trigger:checked + label:not(.steps) .navicon:after {
  top: 0 !important;
}

.nav-trigger:checked + label .navicon:before,
.nav-trigger:checked + label .navicon:after {
  transition: 0.5s;
}

/* × and + */
.nav-trigger:checked + label.plus .navicon,
.nav-trigger:checked + label.x .navicon {
  background: transparent;
}

.nav-trigger:checked + label.plus .navicon:before,
.nav-trigger:checked + label.x .navicon:before {
  transform: rotate(-45deg);
}

.nav-trigger:checked + label.plus .navicon:after,
.nav-trigger:checked + label.x .navicon:after {
  transform: rotate(45deg);
}

.nav-trigger:checked + label.plus {
  transform: rotate(45deg);
}

.nav-trigger:checked ~ nav {
  left: 0 !important;
  opacity: 1 !important;
}

.nav-trigger:checked ~ .overlay {
  display: block;
}

.nav-trigger {
  position: fixed;
  top: 0;
  clip: rect(0, 0, 0, 0);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.87;
  z-index: 1;
}

.src {
  text-align: right;
  font-size: 75%;
  margin-bottom: 5px;
  color: #aaa;
}

.src > a {
   color: #777;
  font-weight: normal;
}

.deprecated {
  opacity: 0.6;
}

.deprecated > .name, .deprecated .sig-params {
  text-decoration: line-through;
}

.readme {
  margin-top: 10px;
}

.readme > .group {
  padding-bottom: 20px;
}

.readme > .group ul {
  list-style: initial;
  padding: 0 0 0 20px;
}

.readme > .group > ul {
  margin: 10px 0;
}

.readme .prettyprint code {
  background-color: #fafafa;
}

@media only screen and (max-width: 850px) {
  body {
    overflow-x: hidden;
  }

  nav {
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    left: -100%;
    left: calc(-100% - 15px);
    opacity: 0;
    box-shadow: 360px 0 100px -100px #fff inset;
    z-index: 3;
    margin-left: 15px;
    padding: 10px 0 30px;
    transition: left 0.4s, opacity 0.35s;
    font-size: 125%
  }

  nav ul a, nav ul a:hover {
    line-height: 25px;
  }

  .navicon-button {
    display: inline-block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    background: #000;
    opacity: 1;
  }

  #main {
    width: 100%;
    min-width: 100%;
  }

  #main section {
    padding: 0;
  }

  h1.page-title {
    padding: 0;
    margin-left: -4px;
  }

  footer {
    margin-left: 0;
  }

}
