/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  box-sizing: content-box; /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*
colors

dark brown #543729
orange #FFCC2F
(old) Twitter blue #00ACEE

*/

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html, body {
  height: 100%;
  background: #fff;
}

body {
  font: 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  color: #543729;
}

/* ---- a ---- */

a {
  text-decoration: none;
  color: #008ec4;
}

a:hover {
  text-decoration: underline;
}

/* ---- h1-h6 ---- */


h2, h3 {
  margin: 1.4em 0 0.8em;
  color: #2BAF2B;
}

h2 {
  font-size: 2.0em;
}

h3 {
  font-size: 1.6em;
}

h4 {
  font-size: 1.2em;
}

/* ---- table ---- */

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

td {
  vertical-align: top;
  border-top: 1px solid #DDD;
  padding: 0.2em 0.4em 0.3em 0;
}

/* ---- code ---- */

pre, code {
  font-family: Consolas, Menlo, Courier, monospace;
}

code {
  padding: 0.1em 0.2em;
  background: #EEE;
  border-radius: 3px;
  font-size: 0.95em;
}

pre {
  padding: 1.0em;
  color: white;
  background: #543729;
  border-radius: 5px;
  white-space: pre-wrap;
}

pre code {
  color: inherit;
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 1.1em;
}

pre a,
code a {
  color: #0AF;
}

pre a:hover,
code a:hover {
  text-decoration: none;
  background: hsla(0, 0%, 100%, 0.1);
}

/* ---- syntax highlighting ---- */

/* via Pygments */

code .s1,
code .s2,
code .s { color: #78BD55; } /* string */
code .mi, /* integer */
code .cp, /* doctype */
code .kc { color: #5298D4; } /*boolean*/
code .k { color: #E39B79; } /* keyword */
code .kd, /* storage */
code .na, /* markup attribute */
code .nv { color: #A9D866; } /* bash leading $ */
code .p  { color: #EDB; } /* punctuation */
code .o  { color: #F63; }   /* operator */
code .nb { color: #AA97AC;} /* support */

/* comment */
code .c,
code .c1,
code .cm { color: #876; font-style: italic; }

code .nt { color: #A0C8FC; } /* Markup open tag */

code .nf { color: #9EA8B8; } /* css id */
code .nc { color: #A78352; }  /* CSS class */
code .m  { color: #DE8E50; } /* CSS value */
code .nd { color: #9FAD7E; } /* CSS pseudo selector */

/* bash leading $ */
code .nv {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}


/* ---- Responsive styles ---- */
@media screen and (max-width: 667px) {
  pre {
    font-size: 0.8em;
    padding: 0.8em;
    border-radius: 3px;
  }
  td {
    font-size: 0.65em;
  }
}

#masthead {
  background: #FFCC2F;
  color: #543729;
  padding: 10px 0;
  min-height: 180px;
  margin-bottom: 20px;
}

.logo {
  display: block;
  width: 140px;
  position: absolute;
  left: 30px;
  top: 15px;
}

/* ----- Nice logo hover on subpages ---- */

a img.logo {
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

a:hover img.logo {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* ---- network-nav ---- */

#masthead .container { position: relative; }

.network-nav {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2; /* on top of brand */
  font-weight: bold;
  font-size: 16px;
}

.network-nav li {
  float: left;
}

.network-nav a {
  color: #2baf2b;
  display: block;
  padding: 0.2em 15px;
  border-radius: 4px;
}

.docs-page .network-nav .nav-docs a,
.blog-page .network-nav .nav-blog a {
  color: #00ACEE;
}

.network-nav a:hover {
  text-decoration: none;
  background: white;
}

/* ---- sidebar ---- */

.sidebar {
  position: absolute;
  left: 10px;
  top: 0;
  width: 200px;
}

.sidebar .nav {
  margin-bottom: 20px;
}

.sidebar .nav a {
  display: block;
  padding: 0.2em 0;
}

/* ---- docs-nav ---- */

.docs-nav li {
  font-size: 17px;
  font-weight: bold;
}

.docs-nav a {
  color: #00acee;
}

.docs-nav ul {
  padding-left: 15px;
}

.docs-nav ul li {
  list-style-type: none;
}

.docs-nav ul li a {
  font-size: 15px;
}

.extra-nav li {
  font-size: 14px;
}

.extra-nav-icon {
  width: 1.4em;
  height: 1.4em;
  fill: #008ec4;
  vertical-align: middle;
}

/* ---- page-title ---- */

.page-title {
  font-size: 64px;
  font-weight: bold;
  letter-spacing: -0.025em;
  margin: 0;
  padding: 0;
  padding-top: 30px;
  padding-left: 220px;
}


/* ---- brand ---- */

.brand {
  position: relative;
  padding-left: 360px;
  min-height: 310px;
}

.brand h1 {
  display: inline-block;
  font-size: 66px;
  margin: 0;
  line-height: 80px;
  color: #EF5734;
  font-size: 100px;
  line-height: 1;
  padding-top: 60px;
}

.brand h1,
.brand h3 {
  letter-spacing: -0.04em;
}

.brand .logo {
  display: block;
  position: absolute;
  left: -20px;
  top: 20px;
  width: 340px;
}

.brand .tagline {
  margin: 0 0 30px;
  font-size: 18px;
  font-size: 48px;
  line-height: 1;
  color: #543729;
}

.btn {
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #00ACEE;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn:hover {
  border-color: #EF5734;
}

.menu-btn{
  display: none;
}


/* ---- Responsive styles ---- */

@media screen and (max-width: 680px) {
  #masthead {
    margin-bottom: 10px;
    min-height: auto;
  }
  .network-nav {
    display: table;
    font-size: 14px;
    left: auto;
    position: relative;
    top: auto;
    width: 100%;
  }
  .network-nav.nav {
    padding-bottom: 12px;
    border-bottom: 1px solid #f1c03e;
  }
  .network-nav:after {
    content: "";
    display: table;
    clear: both;
  }
  .network-nav li {
    float: none;
    text-align: center;
    display: table-cell;
    margin-bottom: 10px;
    valign: bottom;
  }
  .brand {
    padding-left: 0;
    min-height: 0;
    text-align: center
  }
  .logo {
    position: relative;
    display: inline-block;
    width: 40px;
    left: auto;
    top: 5px;
  }
  .brand .logo {
    display: block;
    position: relative;
    left: auto;
    top: auto;
    width: 100px;
    margin: 12px auto 0;
  }
  .page-title {
    font-size: 32px;
    padding: 7px 0 5px 0;
    display: inline-block;
  }

  .brand h1 {
    display: block;
    padding-top: 0;
    font-size: 48px;
  }
  .brand .tagline {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .sidebar {
    left: auto;
    position: relative;
    top: auto;
    width: 100%;
    text-align: center;
    height: 0;
    overflow: hidden;
  }
  .sidebar.extended{
    height: auto;
  }
  .blog-page .sidebar{
    height: auto;
  }
  .sidebar .nav a {
    padding: 0.4em 0;
  }
  .container .main {
    margin-left: 0;
  }
  .docs-nav li {
    border-bottom: 1px solid #eee;
    padding: 5px 0;
  }
  .docs-nav li ul li:last-child {
    border-bottom: none;
  }
  .menu-btn{
    display: block;
    max-width: 250px;
    border: 1px solid #ccc;
    border-radius: 2px;
    text-align: center;
    height: 45px;
    padding: 8px 20px 0 20px;
    margin: 20px auto;
  }
}

/* ---- nav ---- */

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

/* ---- container & main ---- */

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

#content .main > *:first-child { margin-top: 0; }

#content .container {
  position: relative;
}

.main {
  margin-left: 230px;
  padding-bottom: 40px;
}

/* anchor links */
.main h2,
.main h3,
.main h4 {
  position: relative;
}

.header-anchor {
  position: absolute;
  display: none;
  left: -1.1em;
  color: #00acee;
  padding-right: 1.0em;
  font-size: 0.9em;
}

h2:hover .header-anchor,
h3:hover .header-anchor,
h4:hover .header-anchor {
  display: inline-block;
}

.header-anchor:hover {
  color: #543729;
  text-decoration: none;
}

/* ---- lead ---- */

.lead {
  font-size: 1.6em;
  line-height: 1.25;
}

/* ---- about imgs ---- */

.download-logo {
  width: 100%;
  max-width: 400px;
}

.content-img {
  max-width: 100%;
}

/* ---- site-footer ---- */

.site-footer {
  padding-top: 10px;
  border-top: 1px solid #DDD;
  margin-top: 40px;
  font-size: 0.9em;
}

/* ---- color-palette ---- */

.color-palette {
  display: inline-block;
  width: 100px;
  height: 100px;
  padding: 10px;
  font-size: 0.9em;
  color: white;
  margin-bottom: 4px;
  border-radius: 4px;
}

.color-palette.color-dark-brown { background: #543729; }
.color-palette.color-red { background: #EF5734; }
.color-palette.color-gold { background: #FFCC2F; }
.color-palette.color-green { background: #2BAF2B; }
.color-palette.color-blue { background: #00ACEE; }
.color-palette.color-light-gray { background: #CECECE; }

.color-palette.color-gold,
.color-palette.color-light-gray { color: #543729; }


.color-palette .color-name { display: block; }
.color-palette .color-hex { display: block; }

.blog-post {
  position: relative;
}

.blog-post-author-avatar {
  display: block;
  border-radius: 4px;
  max-width: 120px;
}

.blog-post-author-name {
  margin-top: 4px;
}

@media only screen and (max-width: 680px) {
  .blog-post-date,
  .blog-post-author-avatar,
  .blog-post-author-name {
    display: inline-block;
  }

  .blog-post-author-avatar {
    max-width: auto;
    max-height: 50px;
    margin: 0 5px;
  }
}
