// Tonal Scale demo-tiles
.bg-baseA0 { background-color: $baseA0; color: $baseA7; }
.bg-baseA1 { background-color: $baseA1;  color: adjust-color($baseA7, $lightness: 2.5%); }
.bg-baseA2 { background-color: $baseA2; color: adjust-color($baseA7, $lightness: 5%);}
.bg-baseA3 { background-color: $baseA3; color: adjust-color($baseA7, $lightness: 7.5%); }
.bg-baseA4 { background-color: $baseA4; color: adjust-color($baseA7, $lightness: 10%); }
.bg-baseA5 { background-color: $baseA5; color: $baseA1; }
.bg-baseA6 { background-color: $baseA6; color: adjust-color($baseA2, $lightness: -2.5%);}
.bg-baseA7 { background-color: $baseA7; color: $baseA2; }

.bg-baseB0 { background-color: $baseB0; color: $baseB6; }
.bg-baseB1 { background-color: $baseB1; color: $baseB6; }
.bg-baseB2 { background-color: $baseB2; color: adjust-color($baseB6, $lightness: 5%); }
.bg-baseB3 { background-color: $baseB3; color: adjust-color($baseB6, $lightness: 2%); }
.bg-baseB4 { background-color: $baseB4; color: $baseA1; }
.bg-baseB5 { background-color: $baseB5; color: $baseA2; }
.bg-baseB6 { background-color: $baseB6; color: $baseA3; }
.bg-baseB7 { background-color: $baseB7; color: $baseA4; }

.bg-baseC0 { background-color: $baseC0; color: $baseC5; }
.bg-baseC1 { background-color: $baseC1; color: $baseC6; }
.bg-baseC2 { background-color: $baseC2; color: $baseC7; }
.bg-baseC3 { background-color: $baseC3; color: adjust-color($baseC0, $lightness: -12.5%); }
.bg-baseC4 { background-color: $baseC4; color: adjust-color($baseC0, $lightness: -10%); }
.bg-baseC5 { background-color: $baseC5; color: adjust-color($baseC0, $lightness: -7.5%); }
.bg-baseC6 { background-color: $baseC6; color: adjust-color($baseC0, $lightness: -5%); }
.bg-baseC7 { background-color: $baseC7; color: adjust-color($baseC0, $lightness: -2.5%); }

.bg-baseD0 { background-color: $baseD0; color: adjust-color($baseD7, $lightness: 5%); }
.bg-baseD1 { background-color: $baseD1; color: adjust-color($baseD7, $lightness: 7.5%); }
.bg-baseD2 { background-color: $baseD2; color: adjust-color($baseD7, $lightness: 10%); }
.bg-baseD3 { background-color: $baseD3; color: adjust-color($baseD0, $lightness: -10%); }
.bg-baseD4 { background-color: $baseD4; color: adjust-color($baseD0, $lightness: -7.5%); }
.bg-baseD5 { background-color: $baseD5; color: adjust-color($baseD0, $lightness: -5%); }
.bg-baseD6 { background-color: $baseD6; color: adjust-color($baseD0, $lightness: -2.5%); }
.bg-baseD7 { background-color: $baseD7; color: $baseD0; }


@font-face {
    font-family: 'infiniregular';
    // src: url('../../fonts/infini/infini-romain.woff2') format('woff2'),
    //      url('../../fonts/infini/infini-romain.woff') format('woff');
    src: url('//base2t.one/assets/fonts/infini/infini-romain.woff2') format('woff2'),
         url('//base2t.one/assets/fonts/infini/infini-romain.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'infiniitalic';
    src: url('//base2t.one/assets/fonts/infini/infini-italique.woff2') format('woff2'),
         url('//base2t.one/assets/fonts/infini/infini-italique.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
}

// @font-face {
//     font-family: 'infinibold';
//     src: url('../../fonts/infini/infini-gras.woff2') format('woff2'),
//          url('../../fonts/infini/infini-gras.woff') format('woff');
//     font-weight: normal;
//     font-style: normal;
// }
//
// @font-face {
//     font-family: 'infini_pictoregular';
//     src: url('../../fonts/infini/infini-picto.woff2') format('woff2'),
//          url('../../fonts/infini/infini-picto.woff') format('woff');
//     font-weight: normal;
//     font-style: normal;
// }

// generic demo styles
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-family: sans-serif;
  font-size: 16px;
}

html,
body {
  height: 100%;
  min-height: 100%;
}

.bg-dark,
.bg-dark body {
  background-color: adjust-color($baseA3, $lightness: 2.5%);
  color: $baseA0;
}

body {
  margin: 0;
  font: 100%/1.5 AvenirNext-Regular, "Lucida Grande", "Segoe Ui", "Trebuchet Ms", sans-serif;
  min-height: 100%;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased !important;
  // uncomment for production = for visual grid
  // position: relative;
  // min-height: 500vh;
}

// toggle visual grid 20px x 20px
// uncomment for production = for visual grid
// body:after {
//   content: "";
//   position: absolute;
//   top:0;right:0;bottom:0;left:0;
//   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Crect fill='rgba(0,0,0,.05)' width='20' height='20'/%3E%3C/svg%3E");
//   z-index: -1;
// }

section {
  padding-bottom: 5em;
}

// override inital hiding in head styles
nav,
.container-flex,
h3,
section {
  opacity: 1;
}

ul {
  list-style: none;
}

sup,
small,
.small {
  font-size: .875em;
}

.wf-active body,
.wf-active button,
.wf-active .button {
  font-family: infiniregular, AvenirNext-Regular, "Lucida Grande", "Segoe Ui", "Trebuchet Ms", sans-serif;
}

h1, h2, h3, h4 {
  display: inline-block;
  margin: 0;
  font-family: AvenirNextCondensed-DemiBold, "Lucida Grande", "Segoe Ui", "Trebuchet Ms", sans-serif;
  font-weight: normal;
}

h4 {
  font-family: AvenirNext-Regular, "Lucida Grande", "Segoe Ui", "Trebuchet Ms", sans-serif;
}

.code-samples .h4 {
  margin: 1rem 0 0 1rem;
  text-transform: capitalize;
}

.wf-active h1,
.wf-active h2,
.wf-active h3 {
  font-family: infiniregular, AvenirNextCondensed-DemiBold, "Lucida Grande", "Segoe Ui", "Trebuchet Ms", sans-serif;
}

.wf-active h4 {
  font-family: infiniregular, AvenirNext-Regular, "Lucida Grande", "Segoe Ui", "Trebuchet Ms", sans-serif;
}

.wf-active strong {
  font-weight: normal;
}

.bg-dark .col h3 {
  color: $baseA1;
}

.note h3 {
  color: $baseC0;
}

// .bg-light .col h3 {
//   color: $baseA5;
// }
a {
  text-decoration: none;
}

.content a {
  display: inline-block;
  line-height: 1.25;
  color: $baseD6;

 &:hover {
   color: $baseD7;
   box-shadow: 0 .1em 0 $baseD7;
 }

}

.note a {
  color: adjust-color($baseD1, $saturation: 15%);
 &:hover {
   color: $baseD3;
   box-shadow: 0 4px 0 $baseD4;
  // color: adjust-color($baseD3, $lightness: 5%);
 }
}

.container {
  max-width: 100%;
  overflow: auto;
}

.header,
.footer {
  width: 100%;
  text-align: center;
  color: $baseA0;
  // background-color: adjust-color($baseB7, $saturation: -50%);
  background-color: $baseB7;
}

// .github-corner svg[style] {
//   fill: $baseA0 !important;
// }

// .bg-dark
.github-corner svg[style] {
  transition: .3s all;
  fill: $baseA7 !important;
  color: $baseA5 !important;
}

// .bg-dark
.github-corner:hover svg[style] {
  fill: $baseA6 !important;
  color: $baseD7 !important;
}

.header {
  padding: 2em 1em;
  text-align: center;
  position: relative;

  @media(min-width: 860px) {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 67%, 80% 75%, 75% 100%, 25% 100%, 20% 75%, 0 67%);
    clip-path: polygon(0 0, 100% 0, 100% 67%, 80% 75%, 75% 100%, 25% 100%, 20% 75%, 0 67%);
    padding-top: .5em;
    padding-bottom: 10em;
  }
}

.header p {
  font-size: 1em;
  padding-top: 1em;
  margin: 0;
  letter-spacing: 1px;
  word-spacing: -1px;

  @media(max-width: 639px) {
    font-size: .875em;
  }

  @media(min-width: 860px) {
    position: absolute;
    bottom:0;left:0;right:0;
    padding-bottom: 2em;
  }
}

.header p,
.btn-text,
.footer small {
  letter-spacing: 1px;
  word-spacing: -1px;
}

.footer {
  padding: 1.5em 0 2em;
  letter-spacing: 1px;
  word-spacing: -1px;
}

.header a,
.footer a {
  color: $baseA4;
  transition: all .3s;
  &:hover {
    color: $baseA6;
  }
}

// logo
.logo {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  // background-color: salmon;
  // outline: 1px dotted grey;

  @media(min-width: 320px) {
    width: 288px;
    height: 0;
    padding-bottom: 20%;
  }
  @media(min-width: 690px) {
    min-width: 555px;
    width: 90vw;
  }
}

img,
svg {
  max-width: 100%;
}

.logo svg {
  @media(max-width: 319px) {
    display: none;
  }
  @media(min-width: 320px) {
    position: absolute;
    top:0;right:0;bottom:0;left:0;
  }
}

[id="logo-glyphs-base"] {
  color: $baseD3 ;
}

[class*="bg-"] [id*="-shadow"] path {
  fill: currentColor;
}

[class*="bg-"] [id*="-shadow"] path {
  opacity: 0;
}

.domready [id*="-shadow"] path {
  animation: glyph-opacity 30s infinite linear;
}

.domready [id*="-inner"] path {
  animation: glyph-fill 30s infinite linear;
}

.domready [id="glyphs-base-shadow"] path,
.domready [id="logo-glyphs-tone-inner"] path {
  animation-delay: 15s;
}

// css-animations
@keyframes glyph-opacity {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  99% {
    opacity: 1;
  }
}

@keyframes glyph-fill {
  0% {
    fill: $baseB7;
  }
  49% {
    fill: $baseB7;
  }
  50% {
    fill: currentColor;
  }
  99% {
    fill: currentColor;
  }
}

// nav
nav ul {
  margin: 0;
  padding: 0;
}

.js .nav-closed {
  @media(max-width: 639px) {
    max-height: 0;
    overflow: hidden;
  }
}

.nav-open {
  max-height: 40em;
}

.nav_list a {
  border: 1px solid transparent;
  letter-spacing: 1px;
}

.nav_toggle-themes .btn-text,
.demo-tiles-header-text b {
  text-transform: capitalize;
}

.bg-dark .nav-themes_list a {
  background-color: $baseA1;
  color: $baseD5;
  border-top-color: adjust-color($baseA1, $lightness: 2.5%);
  border-bottom-color: $baseA0;

  &:hover {
    background: adjust-color($baseA1, $lightness: -2.5%);
  }
}

.nav_list .current a {
  pointer-events: none;
  cursor: default;
}

.bg-dark .nav_list .current a {
  border-top-color: $baseA2;
  border-bottom-color: $baseA0;
}

.bg-dark .nav-themes_list .current a {
  color: $baseA5;
  background: $baseA0;
  border-top-color: adjust-color($baseA0, $lightness: -2.5%);
  border-bottom-color: adjust-color($baseA0, $lightness: 2.5%);
}

.nav_toggle {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='rgb(255,255,255)'%3E%3Crect x='12' y='14' width='16' height='2'/%3E%3Crect x='12' y='20' width='16' height='2'/%3E%3Crect x='12' y='26' width='16' height='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;

  top:0;left:0;
  padding: .75em 1em;
  color: #fff;
}

.nav-open .nav_toggle {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='36' viewBox='0 0 48 36' fill='rgb(255,255,255)'%3E%3Cpath d='M25.261,17.018l4.571,4.572l-1.367,1.297l-4.501-4.573L19.5,22.887l-1.332-1.297l4.5-4.572l-4.5-4.572l1.332-1.332 l4.464,4.608l4.501-4.608l1.367,1.332L25.261,17.018z'/%3E%3C/svg%3E");
}

.nav-closed .nav_toggle {
  @media(max-width: 927px) {
    height: 56px;
  }
}

.nav_toggle .btn-text {
  display: inline-block;
  padding-left: 1.5em;
}

.nav_toggle-themes .btn-text {
  padding-right: .25em;
  line-height: 1;
  transform: translateY(3px);
  font-size: 1.125em;
}

// themes toggle
.nav_toggle-themes {
  // background-color: $baseC0;
  background-position: .25em center;
  // border-bottom-right-radius: 3px;
  position: absolute;
  background-color: $baseA1;
  color: $baseD5;

  @media(max-width: 859px) {
    right:0;
  }

  @media(min-width: 860px) {
    text-align: right;
    width: 15%;
    min-width: 8rem;
    top: -3.03em;
    left: 5%;
    right: auto;
    border-radius: 3px;

    .nav-themes-open & {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }
  }

  &:hover {
    background-color: $baseA0;
  }

}

// end menu

// begin flex layout
.container-flex {
  position: relative;

  @media(min-width: 640px) {
    display: flex;
  }
}

.row,
.content {
  padding-left:  1.5em;
  padding-right: 1.5em;

  @media(min-width: 641px) {
    padding-left:  5%;
    padding-right: 5%;
  }
}


.content {
  padding-bottom: 5em;
  transition: all .3s;
  margin-top: 2.6em;

  @media(min-width: 640px) {
    width: 80%;
    flex-grow: 4;
  }
}

.no-flexbox .content {
  @media(min-width: 640px) {
    width: auto;
  }
}

.js .has-themes-hidden {
  width: 100%;
  margin-top: 0;
}

.nav-themes-hidden ~ .content {
  padding-top: 3em;

  @media(min-width: 928px) {
    padding-top: 2em;
  }
}

// .nav-themes-open ~ .content {
//
//   @media(min-width: 640px) and (max-width: 927px) {
//     padding-top: 3em;
//   }
// }

.nav-themes {
  flex-grow: 1;
  transition: all .3s;
}

.bg-dark .nav-themes {
  background-color: $baseA1;
}

.nav-themes-open {
  @media(max-width: 860px) {
    padding-top: 3em;
  }

  @media(max-width: 639px) {
    width: 100%;
  }
  @media(min-width: 640px) {
    width: 20%;
    min-width: 8rem;
  }
}

.no-flexbox .nav-themes-open {
  @media(min-width: 640px) {
    float: left;
    margin-right: 3em;
  }
}

.nav-themes-hidden {
  width: 0;
  overflow: hidden;
}

.js .nav-themes-hidden {

  @media(max-width:639px) {
    height: 0;
  }
}

.nav-themes_list {
  display: flex;
  flex-direction: column;
}

.nav-themes_list a {
  display: block;
  display: flex;
  padding: .5em 1em;
}
// end flex layout

// typography
.content p {
  // color: $baseB7;
  max-width: 35em;
  padding: .5em 0;
}

.wf-active .quote {
  font-family: infiniitalic, AvenirNext-Regular, "Lucida Grande", "Segoe Ui", "Trebuchet Ms", sans-serif;
  font-style: normal;
}

.quote p {
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 1em 2em;
  background-color: $baseB7;
  color: $baseA3;
  border-style: solid;
  border-width: 1px;
  border-top-color: adjust-color($baseB7, $lightness: 2.5%);
  border-right-color: adjust-color($baseB7, $lightness: -2.5%);
  border-bottom-color: $baseB6;
  border-left-width: .75em;
  border-left-color: $baseB5;

  @media(min-width: 641px) {
    font-size: 1.5em;
  }
}

// end typography

.demo-tiles {
  overflow: hidden;
  margin-bottom: 3em;
  height: 160px; // stop from rescaling after button hit
}

.demo-tiles.collapsed span {
  color: transparent;
}

.unit {
  float: left;
  width: 12.5%;
  padding: .5em 0;
  text-align: center;
  transition: .3s all;
}

.hidden {
  width: 0;
  height: 0;
  padding: 0;
  float: none;
  opacity: 0;
}

.cf {
  // overflow: auto;
  overflow: hidden;
}

.w-1v2 {
  @media (min-width:750px) {
    float: left;
    width: 50%;
  }
}

.w-1v3 {
  width: 33.33333%;
}

.w-1v8 {
  width: 12.5%;
}

.demo-tiles-header {
  padding: 0 0 1em;
  display: block;
  overflow: auto;
}

.demo-tiles-header-text {
  display: block;

}

.bg-dark .demo-tiles-header-text,
.bg-dark .h3 {
  color: $baseA1;
}

.demo-tiles-header-text b {
  font-weight: normal;
}

.demo-tiles-header-text .number-shades {
  @media(max-width:650px) {
    display: block;
    clear: both;
  }
}

.bg-dark .demo-tiles-header-text .number-shades {
  color: $baseB7;
  letter-spacing: .5px;
  word-spacing: -.5px;
}

.demo-tiles-header .button {
  float: right;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -1px;
  word-spacing: 1px;
}

.demo-tiles-header,
section h3 {
  margin: 1em 0 0 0;
}

.row-intro h3 {
  margin: 0;
  // color: adjust-color($baseA3, $lightness: 2.5%);
  color: $baseA3;
  // margin: .25em 0 0 0;
}

.block-list {
  margin-bottom: 1em;
}

.block-list li {
  padding: .5em 1em;
}

[class*="language-"] a {
  background: transparent;
  color: inherit;
  pointer-events: none;
}

.language-bash {
  background-color: $baseA0;
  color: $baseC7;
}
// .col pre[class*="language-"] {
//   max-height: 300px;
//   border-radius: 5px;
//   line-height: 1.4;
// }

// webkit custom scrollbars for dark background (... mostly for horizontal on smaller screens)
// https://css-tricks.com/custom-scrollbars-in-webkit/
.bg-dark ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba($baseA1,0.3);
  border-radius: 2px;
  background-color: adjust-color($baseA1, $lightness: 2.5%);
  // background-color: $baseA0;
}

.bg-dark ::-webkit-scrollbar {
  width: .75em;
  height: .75em;
  background-color: adjust-color($baseA1, $lightness: -5%);
}

.bg-dark ::-webkit-scrollbar-thumb {
  border-radius: 2px;
  box-shadow: inset 0 0 6px rgba($baseA0,.3);
  background-color: adjust-color($baseA1, $lightness: -2.5%);
}

.bg-dark ::-webkit-scrollbar-thumb:window-inactive {
  background-color: adjust-color($baseA1, $lightness: -5%);
}

.bg-dark ::-webkit-scrollbar-corner {
  background-color: $baseA1;
}

button,
.content .button,
.credits a {
  letter-spacing: 1px;
  word-spacing: -1px;
}

button,
.content .button {
  -webkit-appearance: none;
  overflow: visible;
  border-radius: 4px;
  background-clip: padding-box;
  border: 1px solid;
  border-color: $baseD4 $baseD2 $baseD1;
  cursor: pointer;
  background-color: $baseD2;
  color: $baseB7;
  display: inline-block;
  outline: 0;
  margin: 0 0 .5em .75em;
  padding: .75em 1em;
  // text-shadow: $baseA0 0 1px 1px;
  text-decoration: none;
  vertical-align: top;
  width: auto;
  font: normal 1rem/1.3 AvenirNext-Regular, "Lucida Grande", "Segoe Ui", "Trebuchet Ms", sans-serif;
  // letter-spacing: 1px;
  // word-spacing: -1px;
}

button:focus,
.content .button:focus {
  box-shadow: $baseD0 0 0 5px 0;
  z-index: 1;
}

button:hover,
.content .button:hover {
  color: $baseB7;
  box-shadow: none;
  background-color: adjust-color($baseD2, $lightness: 5%);
  text-decoration: none;
}

button:active,
.content .button:active {
  box-shadow: inset rgba($baseB3, 0.25) 0 1px 2px 0;
  border-color: adjust-color($baseB3,$lightness:-5%) adjust-color($baseD0,$lightness:-10%) adjust-color($baseD0,$lightness:-15%);
}

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

.outer {
  text-align: center;
  background-color: $baseA0;
  padding: 3em;
}
.inner {
  background-color: transparentize($baseD3,.25);
  min-height: 300px;
}

.header .visuallyhidden {
  @media(min-width:320px) {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  font-family: Consolas, Menlo, Monaco, monospace;
  background: $baseA7;
  margin-bottom: 3em;
}

thead {
  display: table-header-group;
}

thead th {
  border-bottom: 1px solid $baseA5;
  text-align: center;
  font-size: 1.125em;
  text-transform: uppercase;
  font-weight: normal;
  background: $baseA6;
}

thead th:nth-of-type(1) {
  text-align: left;
}

th, td {
  padding: .5em 1em;
}

/* zebra stripes */
tr:nth-of-type(even) {
  // background: adjust-color($base07, $lightness: -5%);
  background: adjust-color($baseA7, $lightness: 5%);
}


//table
table tbody tr:nth-of-type(1) td:nth-child(0n+2),
table tbody tr:nth-of-type(1) td:nth-child(0n+3),
table tbody tr:nth-of-type(1) td:nth-child(0n+4),
table tbody tr:nth-of-type(1) td:nth-child(0n+5),
table tbody tr:nth-of-type(2) td:nth-child(0n+2),
table tbody tr:nth-of-type(2) td:nth-child(0n+3),
table tbody tr:nth-of-type(2) td:nth-child(0n+4),
table tbody tr:nth-of-type(2) td:nth-child(0n+5),
table tbody tr:nth-of-type(3) td:nth-child(0n+2),
table tbody tr:nth-of-type(3) td:nth-child(0n+3),
table tbody tr:nth-of-type(3) td:nth-child(0n+4),
table tbody tr:nth-of-type(3) td:nth-child(0n+5),
table tbody tr:nth-of-type(4) td:nth-child(0n+2),
table tbody tr:nth-of-type(4) td:nth-child(0n+3),
table tbody tr:nth-of-type(5) td:nth-child(0n+2),
table tbody tr:nth-of-type(5) td:nth-child(0n+3),
table tbody tr:nth-of-type(6) td:nth-child(0n+2),
table tbody tr:nth-of-type(7) td:nth-child(0n+2) {
  color: #fff;
}

.row {
  padding-top: 3em;
  padding-bottom: 4em;
  margin-right: -1.5em;
  margin-left: -1.5em;

  @media(min-width: 641px) {
    margin-right: -7%;
    margin-left: -7%;
  }
}

.row-intro {
  background-color: $baseC7;
  column-width: 490px;
  column-gap: 3em;
}

.intro {
  font-size: 1.25em;
  color: $baseC0;

  @media(min-width: 641px) {
    font-size: 1.5em;
  }

}

.dropcap {
  float: left;
  line-height: 1;
  width: 62px;
  height: 90px;
  margin-right: 3px;
  position: relative;
  font-size: 5.3em;
  top: -8px;

  @media(min-width: 641px) {
    width: 73px;
    height: 108px;
  }
}

.wf-active .intro {
  font-weight: normal;
}

.section-text,
.quote p {
  // break-inside: avoid-column;
  //  -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
  page-break-inside: avoid; // Firefox
  break-inside: avoid; // IE 10+
}

.content .credits {
  float: right;
  text-align: right;
  max-width: initial;
}

// http://rscss.io/
// helpers
._mbs {
  margin-bottom: .5rem !important;
}
._mtm {
  margin-top: 1rem !important;
}
._mtl {
  margin-top: 1.5rem !important;
}
._mbl {
  margin-bottom: 1.5rem !important;
}
._mbxl {
  margin-bottom: 2rem !important;
}

.mw-75vh {
  max-width: 75vh;
}

// .center {
//   margin: 0 auto;
// }

.fs-larger {
  font-size: 1.25em;
}

.note {
  background-color: $baseC5;
}

.row.note {
  padding-top: 0;
}

// lists
.list-bullets {
  padding: 0 .5em;
  margin: .5em 0 .5em -.45rem;
}

.list-bullets li {
  position: relative;
  margin-left: -.75em;
  padding-left: .75em;
}

.list-bullets li::before {
  content: " \B7"; /* middot in unicode -> &middot; */
  font-size: 1.25em;
  color: $baseC1;
  line-height: 1;
  display: inline-block;
  vertical-align: top;
  padding-right: 3px;
}

// end helpers
@media (min-width:750px) {
  pre[class*="language-"],
  .code-samples pre[class*="language-"] {
    padding: 1.5em 2em;
    font-size: 16px;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1.125em;
  }

  button,
  .button {
    font-size: 1.25rem;
  }

}

