body, html {
  font-size: 100%;
  padding: 0;
  margin: 0;
}
/* Reset */

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */

.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
body {
  background: #f9f7f6;
  color: #404d5b;
  font-weight: 500;
  font-size: 1.05em;
  font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif;
}
a {
  color: #2fa0ec;
  text-decoration: none;
  outline: none;
}
a:hover, a:focus {
  color: #74777b;
}
.container {
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}
.content {
  font-size: 150%;
  padding: 3em 0;
}
.content h2 {
  margin: 0 0 2em;
  opacity: 0.1;
}
.content p {
  margin: 1em 0;
  padding: 5em 0 0 0;
  font-size: 0.65em;
}
.bgcolor-1 {
  background: #f0efee;
}
.bgcolor-2 {
  background: #f9f9f9;
}
.bgcolor-3 {
  background: #e8e8e8;
}
.bgcolor-4 {
  background: #2f3238;
  color: #fff;
}
.bgcolor-5 {
  background: #df6659;
  color: #521e18;
}
.bgcolor-6 {
  background: #2fa8ec;
}
.bgcolor-7 {
  background: #d0d6d6;
}
.bgcolor-8 {
  background: #3d4444;
  color: #fff;
}
/* Header */

.htmleaf-header {
  padding: 3em 190px 4em;
  letter-spacing: -1px;
  text-align: center;
}
.htmleaf-header h1 {
  font-weight: 600;
  font-size: 2em;
  line-height: 1;
  margin-bottom: 0;
}
.htmleaf-header h1 span {
  font-family: 'Raleway';
  display: block;
  font-size: 60%;
  font-weight: 400;
  padding: 0.8em 0 0.5em 0;
  color: #c3c8cd;
}
/*nav*/

.htmleaf-demo a {
  color: #1d7db1;
  text-decoration: none;
}
.htmleaf-demo {
  width: 100%;
  padding-bottom: 1.2em;
}
.htmleaf-demo a {
  display: inline-block;
  margin: 0.5em;
  padding: 0.6em 1em;
  border: 3px solid #1d7db1;
  font-weight: 700;
}
.htmleaf-demo a:hover {
  opacity: 0.6;
}
.htmleaf-demo a.current {
  background: #1d7db1;
  color: #fff;
}
/* Top Navigation Style */

.htmleaf-links {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: 1.5em;
  text-align: center;
}
.htmleaf-links::after {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 100%;
  background: #dbdbdb;
  content: '';
  -webkit-transform: rotate3d(0, 0, 1, 22.5deg);
  transform: rotate3d(0, 0, 1, 22.5deg);
}
.htmleaf-icon {
  display: inline-block;
  margin: 0.5em;
  padding: 0em 0;
  width: 1.5em;
  text-decoration: none;
}
.htmleaf-icon span {
  display: none;
}
/* footer */

.htmleaf-footer {
  width: 100%;
  padding-top: 10px;
}
.htmleaf-small {
  font-size: 0.8em;
}
.center {
  text-align: center;
}
/* Styles
------------------------- */

* {
  box-sizing: border-box;
}
body {
  /*font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;*/
  font-size: 15px;
  line-height: 1.5;
  color: #826;
  background: #FFF;
}
/* Montserrat */

/*h1, h2, h3, h4, h5,
.tagline,
#fork-me,
#demo button,
#status {
  font-family: 'Montserrat', Gotham, 'Proxima Nova', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;
}*/

pre, code {
  font-family: Consolas, Menlo, monospace;
  background: #320;
  color: #FED;
}
#content {
  padding: 0 8px 3.0em;
}
pre {
  padding: 1.0em;
  border-radius: 8px;
}
code {
  padding: 0.1em 0.3em;
  border-radius: 4px;
}
pre code {
  background: transparent;
  padding: 0;
}
h2 {
  border-top: 2px solid white;
  padding-top: 1.0em;
  margin-top: 2.0em;
}
h3 {
  font-weight: normal;
}
.tagline {
  font-size: 18px;
}
a {
  text-decoration: none;
  color: #B60;
}
a:hover {
  color: #04F;
}
#fork-me {
  position: absolute;
  right: 0px;
  top: 0;
}
#fork-me a {
  padding: 5px 20px;
  background: white;
}
#fork-me a:hover {
  color: #FC3;
  background: #320;
}
/* demo
------------------------- */

.demo p {
  font-size: 0.9em;
}
.halftone {
  display: block;
  width: 100%;
}
.img.halftone {
  height: auto;
}
.hero.is-active .demo {
  display: none;
}
.thumbnails {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.thumbnails:after {
  content: '';
  clear: both;
  display: block;
}
.thumbnails img {
  display: block;
  width: 20%;
  cursor: pointer;
  border: 10px solid white;
}
.thumbnails img.is-selected {
  border-color: #09F;
}
/* syntax highlighting
------------------------- */

code .hljs-string, code .hljs-tag .hljs-value {
  color: #2D4;
}
code .hljs-number,
/* integer */

code .hljs-cp,
/* doctype */

code .hljs-literal {
  color: #78F;
}
/*boolean*/

code .hljs-keyword {
  color: #F84;
}
/* keyword */

code .hljs-kd,
/* storage */

code .hljs-attribute {
  color: #A61;
}
/* markup attribute */

code .hljs-p {
  color: #EDB;
}
/* punctuation */

code .hljs-o {
  color: #F63;
}
/* operator */

code .hljs-nb {
  color: #AA97AC;
}
/* support */

/* comment */

code .hljs-comment {
  color: #876;
  font-style: italic;
}
code .hljs-tag {
  color: #37B;
}
/* Markup open tag */

code .hljs-id {
  color: #567;
}
/* css id */

code .hljs-class {
  color: #A63;
}
/* CSS class */

code .hljs-rules {
  color: #431;
}
code .hljs-m {
  color: #DE8E50;
}
/* CSS value */

code .hljs-nd {
  color: #9FAD7E;
}
/* CSS pseudo selector */

code .hljs-hexcolor {
  color: #F63;
}
code .hljs-at_rule {
  color: #088;
}
/* tablet and desktop */

@media screen and (min-width: 830px) {
  h1 {
    font-size: 70px;
    line-height: 1.2;
    margin-bottom: 0.3em;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    /*font-size: 22px;*/
    color: #6699cc;
  }
  #content {
    padding: 0 0 6.0em;
  }
  #content>* {
    padding-left: 100px;
    max-width: 820px;
  }
  #content>h2 {
    max-width: none;
  }
  #content>pre {
    padding-left: 1.0em;
    margin-left: 100px;
    max-width: 720px;
  }
  #content>ul {
    padding-left: 126px;
  }
  #content>#demo {
    padding-right: 1.0em;
    max-width: none;
  }
  #fork-me {
    overflow: hidden;
    width: 270px;
    height: 200px;
  }
  #fork-me a {
    display: block;
    padding: 5px;
    text-align: center;
    -webkit-transform-origin: 50px top;
    -moz-transform-origin: 50px top;
    -ms-transform-origin: 50px top;
    -o-transform-origin: 50px top;
    transform-origin: 50px top;
    -webkit-transform: translateX(100px) rotate(45deg);
    -moz-transform: translateX(100px) rotate(45deg);
    -ms-transform: translateX(100px) rotate(45deg);
    -o-transform: translateX(100px) rotate(45deg);
    transform: translateX(100px) rotate(45deg);
  }
}
