@import url("https://brick.a.ssl.fastly.net/Clear+Sans:300,400,700");
@import url("https://brick.a.ssl.fastly.net/Source+Code+Pro:400,700");
@import url("http://fonts.googleapis.com/css?family=Merriweather:300italic");
.article-code span.nil:before,
.article-head:before,
.language-header .lang:before,
.hljs .hljs-result:before,
.hljs .hljs-doclink:before {
  line-height: 1em;
  font-family: "Ionicons";
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: none;
  vertical-align: middle;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale;
}
@font-face {
  font-family: "Ionicons";
  src: url("//code.ionicframework.com/ionicons/2.0.0/fonts/ionicons.eot?v=2.0.0");
  src: url("//code.ionicframework.com/ionicons/2.0.0/fonts/ionicons.eot?#iefix&v=2.0.0") format("embedded-opentype"), url("//code.ionicframework.com/ionicons/2.0.0/fonts/ionicons.woff?v=2.0.0") format("woff"), url("//code.ionicframework.com/ionicons/2.0.0/fonts/ionicons.ttf?v=2.0.0") format("truetype"), url("//code.ionicframework.com/ionicons/2.0.0/fonts/ionicons.svg?v=2.0.0#Ionicons") format("svg");
  font-weight: normal;
  font-style: normal;
}
html,
body {
  margin: 0;
  padding: 0;
}
body,
input,
button,
td {
  font-family: 'Clear Sans', sans-serif;
  font-size: 1em;
}
body {
  font-size: 15px;
  line-height: 1.5;
}
button {
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body {
  background: #f1f3f5;
}
* {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
table {
  margin: auto;
  border-collapse: collapse;
  table-layout: fixed;
}
table th,
table td {
  border: 0;
  text-align: left;
  vertical-align: top;
}
pre {
  padding: 0;
  margin: 0;
  font-family: 'source code pro', menlo, monospace;
  font-size: 1em;
  letter-spacing: -1px;
  line-height: 1.4;
}
.article-code {
  background: rgba(255,255,255,0.8);
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 1px 1px 0 rgba(213,217,222,0.8), 1px 1px 2px rgba(213,217,222,0.2);
  box-shadow: 1px 1px 0 rgba(213,217,222,0.8), 1px 1px 2px rgba(213,217,222,0.2);
}
.article-code td {
  padding: 20px;
  padding-right: 50px;
}
.article-code td:first-child {
  background: #fff;
  border-right: solid 1px rgba(213,217,222,0.1);
}
.article-code td.empty {
  vertical-align: middle;
}
.article-code span.nil:before {
  display: block;
  content: "\f129";
  font-size: 24px;
  color: #ebeef1;
  text-align: center;
}
.article-code pre {
  margin-left: auto;
  margin-right: auto;
}
.-layout-compact .section .title {
  margin-bottom: 40px;
  font-size: 2em;
}
.-layout-compact .article {
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 920px;
}
.-layout-compact .left,
.-layout-compact .article-head {
  width: 20%;
  float: left;
  padding-right: 20px;
  margin-top: 0;
  padding-top: 15px;
  font-size: 1em;
  text-align: right;
  line-height: 1.3;
}
.-layout-compact .article-head:before {
  display: none;
}
.-layout-compact .article-code,
.-layout-compact .article-text,
.-layout-compact .right {
  width: 80%;
  float: right;
}
.-layout-compact .article-code {
  font-size: 0.9em;
}
.-layout-compact .article-code td {
  padding: 15px 20px;
}
.-layout-compact .article-text {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  font-size: 0.8em;
}
.-layout-compact .article-text td {
  padding: 10px 0;
}
.-layout-compact .article-text p {
  padding-bottom: 0;
}
@media (min-width: 1270px) {
  .-layout-compact .article {
    max-width: 1100px;
  }
  .-layout-compact .article-head,
  .-layout-compact .left {
    width: 15%;
  }
  .-layout-compact .article-code,
  .-layout-compact .article-text,
  .-layout-compact .right {
    width: 85%;
  }
}
.article-languages h4 {
  font-weight: normal;
  color: #789;
  font-size: 0.8em;
  position: relative;
  margin: 10px 0;
  padding: 0;
  text-align: right;
}
.article-languages h4:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: rgba(255,102,102,0.1);
  -webkit-border-radius: 2px;
  border-radius: 2px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
}
.article-languages span {
  display: inline;
  background: #fff;
  padding: 0 15px;
  position: relative;
  z-index: 1;
  margin-left: 15px;
}
.article-text {
  color: #92a0ad;
  font-size: 0.9em;
  margin-top: 15px;
}
.article-text p {
  margin: 0;
  padding: 0;
  padding-left: 0px;
}
.article-text p:before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 2px;
  vertical-align: middle;
  background: #789;
  margin-right: 15px;
  opacity: 0.25;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
  filter: alpha(opacity=25);
}
.article-text code,
.article-text a {
  font-style: italic;
  font-family: merriweather, serif;
  color: #46525d;
}
.article-text a {
  text-decoration: none;
  -webkit-box-shadow: inset 0 -3px rgba(30,144,255,0.1);
  box-shadow: inset 0 -3px rgba(30,144,255,0.1);
  padding: 1px 0;
}
.article-text a:hover {
  color: #111;
}
.article {
  margin: 10px auto;
  max-width: 860px;
}
.article:after {
  content: '';
  display: table;
  clear: both;
}
.article table {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
}
.article table,
.article td,
.article th,
.article tr {
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.article td,
.article th {
  max-width: 430px;
}
.article .article-languages {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-transition: all 100ms linear;
  -moz-transition: all 100ms linear;
  -o-transition: all 100ms linear;
  -ms-transition: all 100ms linear;
  transition: all 100ms linear;
  margin-top: -40px;
}
.article:hover .article-languages {
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
.-with-1 .article {
  max-width: 645px;
}
.article-head {
  margin: 30px 0 15px 0;
  padding: 0;
  color: #f66;
  font-size: 1.15em;
  font-weight: 400;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.article-head:before {
  content: "\f123";
  font-size: 12px;
  display: inline-block;
  margin-right: 10px;
  color: #f66;
  width: 18px;
  height: 18px;
  line-height: 19px;
  text-align: center;
  border: solid 2px #f66;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.code-layout .toc-panel {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  pointer-events: none;
  -webkit-transition: opacity 300ms linear;
  -moz-transition: opacity 300ms linear;
  -o-transition: opacity 300ms linear;
  -ms-transition: opacity 300ms linear;
  transition: opacity 300ms linear;
}
@media (min-width: 960px) {
  .code-layout {
    margin-right: 200px;
  }
  .code-layout .toc-panel {
    opacity: 1;
    -ms-filter: none;
    filter: none;
    pointer-events: auto;
    display: block;
    position: fixed;
    width: 200px;
    right: 0;
    top: 0;
    height: 100%;
  }
}
.toc-panel {
  padding: 24px;
  text-align: right;
  font-size: 0.9em;
}
.toc-panel .toc-section {
  margin: 3px 0;
}
.toc-panel .item {
  display: block;
  font-size: 1em;
  font-weight: normal;
  margin: 0;
  color: #789;
  text-decoration: none;
  opacity: 0.5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -webkit-transition: opacity 100ms linear, color 100ms linear;
  -moz-transition: opacity 100ms linear, color 100ms linear;
  -o-transition: opacity 100ms linear, color 100ms linear;
  -ms-transition: opacity 100ms linear, color 100ms linear;
  transition: opacity 100ms linear, color 100ms linear;
}
.toc-panel .item:hover {
  opacity: 1;
  -ms-filter: none;
  filter: none;
  color: #111;
}
.hero {
  background: url("https://ununsplash.imgix.net/photo-1415201179613-bd037ff5eb29?q=75&w=1080&h=1080&fit=max&fm=jpg&s=f9b6be3c00dd4c17533a671a0b15b4f7") center center/cover;
  background: #fff;
  height: 660px;
}
.language-header {
  margin-bottom: 8px;
}
.language-header:after {
  content: '';
  display: table;
  clear: both;
}
.language-header .xright {
  border-bottom: solid 1px #d5d9de;
  padding-bottom: 8px;
}
.language-header .lang {
  padding-top: 4px;
  padding-bottom: 4px;
  width: 50%;
  float: left;
  color: #789;
  font-weight: bold;
  font-size: 0.9em;
}
.language-header .lang:before {
  content: "\f21b";
  font-size: 10px;
  margin-right: 12px;
  color: #1e90ff;
  margin-left: 4px;
}
.language-header .lang {
  padding-left: 12px;
}
.loading-indicator {
  color: #92a0ad;
  padding: 24px;
  font-size: 1.2em;
}
.loading-indicator .spin {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 16px;
  border: solid 2px transparent;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  border-top-color: #1e90ff;
  border-left-color: #1e90ff;
  -webkit-animation: spin 800ms linear infinite;
  -moz-animation: spin 800ms linear infinite;
  -o-animation: spin 800ms linear infinite;
  -ms-animation: spin 800ms linear infinite;
  animation: spin 800ms linear infinite;
}
@-moz-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}
.navbar .controls {
  position: relative;
  z-index: 5;
  background: #f8f9fa;
  height: 50px;
  line-height: 49px;
  -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.1);
  box-shadow: 0 0 1px rgba(0,0,0,0.1);
}
.navbar .right {
  position: absolute;
  right: 24px;
  font-size: 0.9em;
  top: 0;
}
.navbar .container {
  width: 860px;
  margin: 0 auto;
  position: relative;
}
.navbar .lang {
  position: relative;
}
.navbar .dropdowns {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 100%;
  z-index: 1;
}
.navbar .lang-button {
  width: 430px;
  height: 50px;
  line-height: 49px;
  padding: 0 12px;
  display: inline-block;
  float: left;
  text-decoration: none;
  text-align: left;
  display: block;
  font-size: 0.9em;
  font-weight: bold;
  color: #789;
  border-right: solid 1px rgba(213,217,222,0.1);
}
.navbar .lang-button:first-child {
  border-left: solid 1px rgba(213,217,222,0.1);
}
.navbar .lang-button:hover {
  cursor: pointer;
  background: rgba(235,238,241,0.25);
}
.navbar .lang-button:before {
  display: inline-block;
  content: '';
  width: 8px;
  height: 8px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #1e90ff;
  margin-right: 10px;
}
.navbar :focus {
  outline: 0;
}
.mega-dropdown {
  overflow: hidden;
  background: #3a444e;
  -webkit-box-shadow: 0 1px 15px rgba(0,0,0,0.1);
  box-shadow: 0 1px 15px rgba(0,0,0,0.1);
  -webkit-transition: -webkit-transform 250ms ease, opacity 250ms ease;
  -moz-transition: -moz-transform 250ms ease, opacity 250ms ease;
  -o-transition: -o-transform 250ms ease, opacity 250ms ease;
  -ms-transition: -ms-transform 250ms ease, opacity 250ms ease;
  transition: transform 250ms ease, opacity 250ms ease;
}
.mega-dropdown.-visible {
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1;
  -ms-filter: none;
  filter: none;
}
.mega-dropdown.-hidden {
  pointer-events: none;
  -webkit-transform: translate(0, 100px);
  -moz-transform: translate(0, 100px);
  -o-transform: translate(0, 100px);
  -ms-transform: translate(0, 100px);
  transform: translate(0, 100px);
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
}
.mega-dropdown .lang-dropdown {
  width: 50%;
  float: left;
}
.lang-dropdown {
  min-width: 190px;
  font-size: 0.9em;
  padding: 15px 0;
}
.lang-dropdown ul,
.lang-dropdown li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lang-dropdown button {
  display: block;
  text-align: left;
  width: 100%;
  padding: 5px 15px;
  line-height: 1.2em;
  text-decoration: none;
  color: #ddd;
  font-weight: bold;
}
.lang-dropdown button:hover,
.lang-dropdown button:focus {
  color: #fff;
  background: rgba(119,136,153,0.05);
}
.lang-dropdown button.-active {
  color: #1e90ff;
}
.section {
  padding: 60px 0;
}
.section + .section {
  border-top: solid 1px rgba(213,217,222,0.5);
}
.section .title {
  font-size: 2.5em;
  font-weight: 300;
  padding: 0;
  margin: 0;
  text-align: center;
  color: #789;
}
.hljs {
  color: #485765;
}
.hljs .hljs-keyword {
  color: #758a9d;
}
.hljs .hljs-title {
  font-weight: bold;
  color: #485765;
}
.hljs .hljs-comment {
  color: #a3abb2;
}
.hljs .hljs-comment.-mini {
  font-family: merriweather, serif;
  letter-spacing: 0.02em;
  font-size: 0.9em;
  font-style: italic;
}
.hljs .hljs-symbol,
.hljs .hljs-string,
.hljs .hljs-number,
.hljs .hljs-regexp {
  color: #1e90ff;
}
.hljs .hljs-ellipsis:before {
  color: #a3abb2;
  content: '···';
  background: rgba(136,136,136,0.1);
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 0 5px;
  font-size: 0.9em;
}
.hljs .hljs-result {
  color: #a3abb2;
}
.hljs .hljs-result:before {
  content: "\f10b";
  font-size: 12px;
  margin-right: 10px;
  color: #f66;
}
.hljs .hljs-hr {
  height: 1px;
  line-height: 0;
}
.hljs .hljs-hr:before {
  height: 1px;
  content: '';
  display: block;
  width: 100%;
  background: -webkit-linear-gradient(left, #eee 50%, rgba(238,238,238,0));
  background: -moz-linear-gradient(left, #eee 50%, rgba(238,238,238,0));
  background: -o-linear-gradient(left, #eee 50%, rgba(238,238,238,0));
  background: -ms-linear-gradient(left, #eee 50%, rgba(238,238,238,0));
  background: linear-gradient(to right, #eee 50%, rgba(238,238,238,0));
  margin: 1.2em -20px;
}
.hljs .hljs-doclink:before {
  position: relative;
  top: -1px;
  content: "\f10e";
  font-size: 12px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  height: 20px;
  line-height: 19px;
  text-indent: -1px;
  width: 20px;
  text-align: center;
  position: relative;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  margin-left: 1em;
  background-color: rgba(213,217,222,0.1);
  color: #f66;
  -webkit-transition: color 100ms linear, background-color 100ms linear;
  -moz-transition: color 100ms linear, background-color 100ms linear;
  -o-transition: color 100ms linear, background-color 100ms linear;
  -ms-transition: color 100ms linear, background-color 100ms linear;
  transition: color 100ms linear, background-color 100ms linear;
}
.hljs .hljs-doclink:hover:before {
  background-color: #e67e22;
  color: #fff;
}
.hljs a {
  color: #46525d;
  text-decoration: none;
  -webkit-box-shadow: inset 0 -3px rgba(30,144,255,0.1);
  box-shadow: inset 0 -3px rgba(30,144,255,0.1);
}
.hljs a:hover {
  color: #111;
}
.hljs code {
  font-family: merriweather, serif;
  color: #789;
}
