@charset "UTF-8";
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%; }

.container {
  position: relative;
  overflow: hidden; }

#page {
  position: relative;
  left: 0;
  z-index: 99;
  height: 100%;
  background-color: #f4f6f8;
  perspective: 1000px;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s; }

#page::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0);
  content: "";
  opacity: 0;
  -webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
  transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
  z-index: 100; }

.menu-open #page::after {
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s; }

.menu {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  visibility: hidden;
  width: 300px;
  height: 100%;
  -webkit-transition: all 0.5s;
  transition: all 0.5s; }

.menu::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  content: "";
  opacity: 1;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s; }

.menu-open .menu::after {
  width: 0;
  height: 0;
  opacity: 0;
  -webkit-transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
  transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s; }

/* Menu Effect: Reveal */
.menu-open #page {
  -webkit-transform: translate3d(230px, 0, 0);
  transform: translate3d(230px, 0, 0); }

.menu {
  z-index: 1; }

.menu-open .menu {
  visibility: visible;
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s; }

.menu::after {
  display: none; }

#toolbar {
  display: none;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: #1c2260;
  padding: 10px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
  transform: translateY(0);
  transition: all 0.3s ease; }
  #toolbar svg {
    width: 16px;
    height: 12px; }
  #toolbar h2 {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
    display: inline-table;
    margin: 0 0 0 10px;
    vertical-align: middle; }
  @media (max-width: 1024px) {
    #toolbar {
      display: inline-block; } }

.menu-open #toolbar {
  transform: translateY(-60px); }

/* Page Structure
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.menu {
  box-sizing: border-box;
  display: block;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 230px;
  height: 100%;
  background: #f4f6f8;
  border-right: 1px solid #dfe4e8;
  text-align: left;
  overflow: auto;
  visibility: visible;
  -webkit-overflow-scrolling: touch; }

nav a {
  position: relative;
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  padding: 0 10px 0 20px;
  line-height: 40px;
  text-decoration: none;
  overflow: hidden;
  color: #637381;
  font-weight: 500; }
  nav a:hover {
    color: #5c6ac4; }
  nav a.active {
    color: #202e78;
    background-color: #dfe4e8; }

#poweredby {
  position: relative;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0 10px;
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  color: #637381;
  line-height: 40px;
  text-decoration: none; }
  #poweredby:hover {
    color: #fff;
    text-decoration: none; }
  #poweredby span {
    display: inline-block;
    width: 100%;
    padding-top: 1rem;
    text-indent: 1000px;
    overflow: hidden;
    min-height: 60px;
    background-image: url(../images/shoppad-slate.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 150px 60px;
    transition: all 0.25s; }
  #poweredby:hover {
    color: #c3cfd8; }
    #poweredby:hover span {
      transform: scale(1.1); }

@media (min-width: 1024px) {
  #page {
    margin-left: 230px;
    padding-bottom: 1000px; } }

/* Page Elements
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#home header {
  color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #43467f;
  padding-top: 9rem;
  min-height: 25rem; }
  #home header > h1 {
    font-weight: 700; }
  #home header a {
    color: #fff;
    text-decoration: underline; }
  @media screen and (min-width: 550px) {
    #home header {
      padding-top: 6.6rem;
      min-height: 20rem; } }
  #home header + section {
    margin-top: 0; }
    @media screen and (min-width: 550px) {
      #home header + section {
        margin-top: -4.4rem; } }

#home article .card {
  border-top: 0.5rem solid #c4cdd5; }
  #home article .card.twelve {
    text-align: center; }
    #home article .card.twelve h2 {
      margin-bottom: 1.5rem;
      color: #000; }

#home h5 {
  margin-bottom: 1.5rem; }
  #home h5:last-child {
    margin-bottom: 0; }

#home img {
  display: inline-block;
  float: right;
  width: 60px;
  height: 60px;
  margin: 0 0 0 1rem; }

#home p:last-child {
  margin-bottom: 0; }

#shoppad {
  position: relative;
  width: 100%;
  background-color: #3b4f66;
  background-image: url("../images/polygons.svg");
  background-size: 180%;
  background-position: top -5.5rem center;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem; }
  #shoppad h2 {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 2rem;
    color: #fff;
    z-index: 2; }
  #shoppad h1 {
    z-index: 2;
    padding-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1); }
    #shoppad h1 img {
      width: 100%;
      max-width: 374px;
      margin-bottom: 2rem;
      transform: scale(0.9);
      transition: all 0.25s; }
    #shoppad h1 a:hover img {
      transform: scale(1); }

#ryan {
  float: right;
  display: inline-block;
  width: 100px;
  height: 100px;
  background: url("../images/ryan-2.jpg") no-repeat;
  background-size: contain;
  border-radius: 75px;
  margin: 0 0 20px 20px; }

.toc-block {
  float: left;
  clear: left;
  display: inline-block;
  width: 100%; }
  .toc-block section:last-child {
    margin-bottom: 50px; }

h1.toc-title {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  width: 100%;
  max-width: 1036px;
  clear: left;
  text-align: left;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
  padding: 0 20px;
  margin-bottom: 0.5rem; }
  h1.toc-title:first-child {
    padding-top: 50px; }
  h1.toc-title.source {
    font-size: 1.3rem;
    line-height: 1.3rem;
    font-weight: normal;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace; }

section + .toc-title {
  margin-top: 40px; }

p.toc-description {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  width: 100%;
  clear: left;
  max-width: 1036px;
  display: inline-block;
  box-sizing: border-box;
  text-align: left;
  padding: 0 20px;
  margin-bottom: 40px; }

section + xmp.prettyprint {
  margin-top: 40px;
  margin-bottom: 80px; }

#tags div.columns .tag {
  margin-bottom: 8px; }

#overview .card-section:first-child pre,
#overview .card-section:first-child code {
  overflow: auto;
  -webkit-overflow-scrolling: touch; }

/* Section Formatting
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#grid article {
  margin-bottom: 10px; }
  #grid article div {
    background: #fafbfc;
    padding: 10px; }
    #grid article div p {
      margin: 0; }

#typography ul,
#typography ol {
  margin-top: 2rem; }
  #typography ul ul,
  #typography ul ol,
  #typography ol ul,
  #typography ol ol {
    margin-top: auto; }

#buttons button,
#buttons .button {
  margin-bottom: 1rem; }

#icons .row > div {
  display: inline-block;
  width: 48%;
  font-size: 1.2rem;
  margin-bottom: 1rem; }

#icons i {
  float: left;
  min-width: 2.4rem;
  min-height: 2.4rem;
  margin: 0 1rem 0 0; }

/* Prettify Script Formatting
–––––––––––––––––––––––––––––––––––––––––––––––––– */
article .prettyprint {
  display: inline-block;
  width: 100%;
  max-width: 1036px;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.6rem;
  padding: 10px;
  background-color: #000639;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  box-sizing: border-box;
  white-space: pre-wrap;
  overflow-x: auto; }
  article .prettyprint .tag {
    font-size: 1.2rem;
    line-height: 1.6rem; }

.prettyprint .str {
  color: #65b042; }

/* string  - green */
.prettyprint .kwd {
  color: #e28964; }

/* keyword - dark pink */
.prettyprint .com {
  color: #c4cdd5;
  font-style: italic; }

/* comment - gray */
.prettyprint .typ {
  color: #89bdff; }

/* type - light blue */
.prettyprint .lit {
  color: #3387cc; }

/* literal - blue */
.prettyprint .pun {
  color: #fff; }

/* punctuation - white */
.prettyprint .pln {
  color: #fff; }

/* plaintext - white */
.prettyprint .tag {
  color: #32cac7;
  padding: 0;
  margin: 0;
  line-height: normal;
  vertical-align: inherit; }

/* html/xml tag    - light blue */
.prettyprint .atn {
  color: #fdac9a; }

/* html/xml attribute name  - khaki */
.prettyprint .atv {
  color: #edc200; }

/* html/xml attribute value - green */
.prettyprint .dec {
  color: #3387cc; }

/* decimal - blue */
/* Specify class=linenums on a to get line numbering */
ol.linenums {
  margin-top: 0;
  margin-bottom: 0;
  color: #aeaeae; }

/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
  list-style-type: none; }

/* Alternate shading for lines */
@media print {
  .prettyprint .str {
    color: #060; }
  .prettyprint .kwd {
    color: #006;
    font-weight: bold; }
  .prettyprint .com {
    color: #600;
    font-style: italic; }
  .prettyprint .typ {
    color: #404;
    font-weight: bold; }
  .prettyprint .lit {
    color: #044; }
  .prettyprint .pun {
    color: #440; }
  .prettyprint .pln {
    color: #000; }
  .prettyprint .tag {
    color: #006;
    font-weight: bold; }
  .prettyprint .atn {
    color: #404; }
  .prettyprint .atv {
    color: #060; } }

/* Copyright
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#copyright {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 100px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05); }
  #copyright p {
    font-size: 1.2rem;
    margin: 0;
    color: #798c9c; }

@-webkit-keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@-moz-keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

@keyframes fadeIn {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

.fade-in {
  opacity: 0;
  /* make things invisible upon start */
  -webkit-animation: fadeIn ease-in 1;
  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;
  -webkit-animation-fill-mode: forwards;
  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-delay: 1.7s;
  -moz-animation-delay: 1.7s;
  animation-delay: 1.7s; }

#examples .card img {
  width: 100%;
  max-width: 100%; }

#examples .card h6 {
  display: inline-block;
  width: 100%;
  margin: 1.5rem 0 0 0; }
