/**
 * Ribbon theme for Shower HTML presentation engine
 * styleguide-begin v0.0.0, https://github.com/shower/ribbon
 * @copyright 2010–2016 Talgat Uspanov, http://www.gtalk.kz
 * @license MIT
 */
@charset "UTF-8";
@font-face {
  font-family: PT Sans;
  src: url(../fonts/pt-sans-regular.woff) format("woff"); }

@font-face {
  font-weight: bold;
  font-family: PT Sans;
  src: url(../fonts/pt-sans-bold.woff) format("woff"); }

@font-face {
  font-style: italic;
  font-family: PT Sans;
  src: url(../fonts/pt-sans-italic.woff) format("woff"); }

@font-face {
  font-style: italic;
  font-weight: bold;
  font-family: PT Sans;
  src: url(../fonts/pt-sans-bold-italic.woff) format("woff"); }

@font-face {
  font-family: PT Sans Narrow;
  font-weight: bold;
  src: url(../fonts/pt-sans-narrow-bold.woff) format("woff"); }

@font-face {
  font-family: PT Mono;
  src: url(../fonts/pt-mono-regular.woff) format("woff"); }

@font-face {
  font-family: 'markup';
  src: url(../fonts/markup.ttf) format("truetype"), url(../fonts/markup.woff?7w015t) format("woff"), url(../fonts/markup.svg) format("svg");
  font-weight: normal;
  font-style: normal; }

[class^="icon-"],
[class*=" icon-"] {
  font-family: 'markup' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

.icon-bin:before {
  content: "\e9ac"; }

.icon-some:before {
  content: "\e8ac"; }

.svg-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor; }

*, *::before, *::after {
  box-sizing: border-box; }

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

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

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
  content: none; }

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

a {
  text-decoration: none; }

@page {
  margin: 0;
  size: 1024px 640px; }

.shower {
  color: black;
  counter-reset: slide;
  font: 25px/2 PT Sans, sans-serif;
  -webkit-print-color-adjust: exact;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none; }
  @media print {
    .shower {
      text-rendering: geometricPrecision; } }

.caption {
  font-size: 25px;
  display: none;
  margin-top: -0.2em;
  padding: 0 1em 0.93em;
  width: 100%;
  color: #3C3D40;
  text-shadow: 0 1px 0 #8D8E90; }
  @media (min-width: 1174px) {
    .caption {
      font-size: 50px; } }
  @media (min-width: 2348px) {
    .caption {
      font-size: 100px; } }
  .caption h1 {
    padding-bottom: 0.15em;
    font: bold 1em/1 PT Sans Narrow, sans-serif; }
  .caption p {
    line-height: 1;
    font-size: 0.6em; }
  .caption a {
    color: #4B86C2;
    text-shadow: 0 -1px 0 #1F3F60; }

.slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 80px 100px 0;
  width: 1024px;
  height: 640px;
  background: #FFF;
  font-size: 25px; }
  .slide h2 {
    margin-bottom: 34px;
    color: #585A5E;
    font: bold 50px/1 PT Sans Narrow, sans-serif; }
  .slide p {
    margin-bottom: 1em; }
    .slide p.note {
      color: #979a9e; }
    .slide p.note--footer {
      position: absolute;
      bottom: 0; }
  .slide .title--main {
    font-size: 64px;
    margin-bottom: 20px; }
  .slide .info--center {
    text-align: center; }
  .slide .info p {
    margin: 0;
    font-size: 25px; }
  .slide .info h2 {
    margin-bottom: 10px;
    font-size: 60px;
    color: #333; }
  .slide .list--xl {
    font-size: 32px; }
  .slide a {
    background: -webkit-linear-gradient(bottom, currentColor 0.09em, transparent 0.09em) repeat-x;
    background: linear-gradient(to top, currentColor 0.09em, transparent 0.09em) repeat-x;
    color: #4B86C2; }
  .slide b, .slide strong {
    font-weight: bold; }
  .slide i, .slide em, .slide dfn {
    font-style: italic; }
  .slide code, .slide kbd, .slide mark, .slide samp {
    padding: 0.1em 0.3em;
    border-radius: 0.2em; }
  .slide code, .slide kbd, .slide samp {
    background: rgba(88, 90, 94, 0.1);
    line-height: 1;
    font-family: PT Mono, monospace, monospace; }
  .slide mark {
    background: #FAFAA2; }
  .slide sub, .slide sup {
    position: relative;
    line-height: 0;
    font-size: 75%; }
  .slide sub {
    bottom: -0.25em; }
  .slide sup {
    top: -0.5em; }
  .slide blockquote {
    font-style: italic; }
    .slide blockquote::before {
      position: absolute;
      margin: -0.15em 0 0 -0.43em;
      color: #CCC;
      line-height: 1;
      font-size: 8em;
      content: '\201C'; }
    .slide blockquote + figcaption {
      margin: -1em 0 1em;
      font-style: italic;
      font-weight: bold; }
  .slide ol, .slide ul {
    margin-bottom: 1em;
    counter-reset: list; }
    .slide ol li, .slide ul li {
      page-break-inside: avoid;
      text-indent: -2em; }
      .slide ol li::before, .slide ul li::before {
        display: inline-block;
        width: 2em;
        color: #979a9e;
        text-align: right; }
    .slide ol ol, .slide ol ul, .slide ul ol, .slide ul ul {
      margin-bottom: 0;
      margin-left: 2em; }
  .slide ul > li::before {
    padding-right: 0.5em;
    content: '•'; }
  .slide ul > li:lang(ru)::before {
    content: '—'; }
  .slide ol > li::before {
    padding-right: 0.4em;
    counter-increment: list;
    content: counter(list) "."; }
  .slide table {
    margin-left: -100px;
    margin-bottom: 1em;
    width: calc(100% + 100px + 100px); }
    .slide table th:first-child,
    .slide table td:first-child {
      padding-left: 96px; }
    .slide table th:last-child,
    .slide table td:last-child {
      padding-right: 96px; }
    .slide table th {
      text-align: left;
      font-weight: bold; }
    .slide table tr:not(:last-of-type) > * {
      background: -webkit-linear-gradient(bottom, rgba(88, 90, 94, 0.5) 0.055em, transparent 0.055em) repeat-x;
      background: linear-gradient(to top, rgba(88, 90, 94, 0.5) 0.055em, transparent 0.055em) repeat-x; }
    .slide table.striped tr:nth-child(even) {
      background: rgba(88, 90, 94, 0.1); }
    .slide table.striped tr > * {
      background-image: none; }
  .slide pre {
    margin-bottom: 1em;
    counter-reset: code;
    white-space: normal; }
    .slide pre code {
      display: block;
      margin-left: -100px;
      padding: 0 0 0 100px;
      width: calc(100% + 100px + 100px);
      border-radius: 0;
      background: none;
      line-height: 2;
      white-space: pre;
      -moz-tab-size: 4;
        -o-tab-size: 4;
           tab-size: 4; }
      .slide pre code:not(:only-child).mark {
        background: rgba(88, 90, 94, 0.1); }
      .slide pre code:not(:only-child)::before {
        position: absolute;
        margin-left: -2em;
        color: #979a9e;
        counter-increment: code;
        content: counter(code, decimal-leading-zero) "."; }
    .slide pre mark {
      position: relative;
      z-index: -1;
      margin: 0 -0.3em; }
      .slide pre mark.important {
        background: #C00;
        color: #FFF; }
    .slide pre .comment {
      color: #999; }
  .slide footer {
    position: absolute;
    right: 0;
    bottom: -640px;
    left: 0;
    display: none;
    padding: 41px 100px 8px;
    background: #fbfbba;
    box-shadow: 0 1px 0 #FAFAA2 inset;
    -webkit-transition: bottom 0.3s;
    transition: bottom 0.3s; }
    .slide footer mark {
      background: rgba(255, 255, 255, 0.8); }
  .slide:hover > footer {
    bottom: 0; }
  .slide.grid {
    background-image: url(../images/grid.png);
    -ms-interpolation-mode: nearest-neighbor;
        image-rendering: -moz-crisp-edges;
        image-rendering: pixelated; }
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
      .slide.grid {
        background-image: url(../images/grid@2x.png);
        background-size: 1024px auto; } }
  .slide.black {
    background-color: #000; }
    .slide.black::after {
      visibility: hidden; }
  .slide.white {
    background-color: #FFF; }
    .slide.white::after {
      visibility: hidden; }
  .slide .double {
    -webkit-columns: 2;
       -moz-columns: 2;
            columns: 2;
    -webkit-column-gap: 75px;
       -moz-column-gap: 75px;
            column-gap: 75px; }
  .slide .shout {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 1;
    font-size: 150px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%); }
    .slide .shout a {
      background: -webkit-linear-gradient(bottom, currentColor 0.11em, transparent 0.11em) repeat-x;
      background: linear-gradient(to top, currentColor 0.11em, transparent 0.11em) repeat-x; }
  .slide .cover {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%; }
    .slide .cover.width, .slide .cover.w {
      width: 100%;
      max-height: none; }
    .slide .cover.height, .slide .cover.h {
      height: 100%;
      max-width: none; }
    .slide .cover + figcaption {
      position: absolute;
      bottom: 20px;
      right: 10px;
      font-size: 12px;
      opacity: 0.7;
      -webkit-transform-origin: 0 100%;
              transform-origin: 0 100%;
      -webkit-transform: translateX(100%) rotate(-90deg);
              transform: translateX(100%) rotate(-90deg); }
      .slide .cover + figcaption.white {
        color: #FFF; }
      .slide .cover + figcaption a {
        color: currentcolor; }
  .slide .place {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%); }
    .slide .place.top.left, .slide .place.t.l, .slide .place.top.right, .slide .place.t.r, .slide .place.bottom.right, .slide .place.b.r, .slide .place.bottom.left, .slide .place.b.l {
      -webkit-transform: none;
              transform: none; }
    .slide .place.top, .slide .place.t, .slide .place.bottom, .slide .place.b {
      -webkit-transform: translate(-50%, 0);
              transform: translate(-50%, 0); }
    .slide .place.left, .slide .place.l, .slide .place.right, .slide .place.r {
      -webkit-transform: translate(0, -50%);
              transform: translate(0, -50%); }
    .slide .place.top, .slide .place.t, .slide .place.top.left, .slide .place.top.right, .slide .place.t.r {
      top: 0; }
    .slide .place.right, .slide .place.r {
      right: 0;
      left: auto; }
    .slide .place.bottom, .slide .place.b, .slide .place.bottom.right, .slide .place.b.r, .slide .place.bottom.left, .slide .place.b.l {
      top: auto;
      bottom: 0; }
    .slide .place.left, .slide .place.l {
      left: 0; }
    .slide .place.right--img {
      right: 100px; }

.progress {
  position: absolute;
  left: -20px;
  bottom: 0;
  z-index: 1;
  display: none;
  width: 0;
  height: 0;
  box-sizing: content-box;
  border: 10px solid #4B86C2;
  border-right-color: transparent;
  -webkit-transition: width 0.2s linear;
  transition: width 0.2s linear;
  clip: rect(10px, 1044px, 20px, 20px); }
  .progress[style*='100%'] {
    padding-left: 10px; }

.badge {
  font-size: 10px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  overflow: hidden;
  visibility: hidden;
  display: none;
  width: 9em;
  height: 9em; }
  @media (min-width: 1174px) {
    .badge {
      font-size: 20px; } }
  @media (min-width: 2348px) {
    .badge {
      font-size: 40px; } }
  .badge a {
    position: absolute;
    right: -50%;
    bottom: 50%;
    left: -50%;
    visibility: visible;
    background: #4B86C2;
    color: #FFF;
    text-align: center;
    line-height: 2;
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg); }

.region {
  display: none; }

@media screen {
  .shower.list {
    padding-top: 25px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    background: #585A5E;
    position: absolute;
    clip: rect(0, auto, auto, 0); } }
  @media screen and (min-width: 1174px) {
    .shower.list {
      padding-top: 50px; } }
  @media screen and (min-width: 2348px) {
    .shower.list {
      padding-top: 100px; } }

@media screen {
    .shower.list .caption {
      display: block; }
    .shower.list .slide {
      -webkit-transform-origin: 0 0;
              transform-origin: 0 0;
      margin: 0 -768px -455px 25px;
      -webkit-transform: scale(0.25);
              transform: scale(0.25);
      border-radius: 2px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); } }
    @media screen and (min-width: 1174px) {
      .shower.list .slide {
        margin: 0 -512px -270px 50px;
        -webkit-transform: scale(0.5);
                transform: scale(0.5); } }
    @media screen and (min-width: 2348px) {
      .shower.list .slide {
        margin: 0 0px 100px 100px;
        -webkit-transform: scale(1);
                transform: scale(1); } }

@media screen {
      .shower.list .slide:hover {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0.1), 0 20px 50px rgba(0, 0, 0, 0.3); }
      .shower.list .slide:target {
        box-shadow: 0 0 0 1px #376da3, 0 0 0 20px #4B86C2, 0 20px 50px rgba(0, 0, 0, 0.3); }
      .shower.list .slide * {
        pointer-events: none; }
      .shower.list .slide footer {
        display: block; }
    .shower.list .badge {
      display: block; }
  .shower.full {
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    margin: -320px 0 0 -512px;
    width: 1024px;
    height: 640px;
    background: #000; }
    .shower.full .slide {
      position: absolute;
      top: 0;
      left: 0;
      margin-left: -150%;
      visibility: hidden; }
      .shower.full .slide:target {
        margin: 0;
        visibility: visible; }
      .shower.full .slide pre code:not(:only-child).mark.next {
        visibility: visible;
        background: none; }
      .shower.full .slide pre code:not(:only-child).mark.next.active {
        background: rgba(88, 90, 94, 0.1); }
      .shower.full .slide .next {
        visibility: hidden; }
        .shower.full .slide .next.active {
          visibility: visible; }
      .shower.full .slide .shout.grow, .shower.full .slide .shout.shrink {
        opacity: 0;
        -webkit-transition: 0.4s ease-out;
        transition: 0.4s ease-out;
        -webkit-transition-property: opacity, -webkit-transform;
        transition-property: opacity, -webkit-transform;
        transition-property: opacity, transform;
        transition-property: opacity, transform, -webkit-transform; }
      .shower.full .slide .shout.grow {
        -webkit-transform: scale(0.1) translateY(-50%);
                transform: scale(0.1) translateY(-50%); }
      .shower.full .slide .shout.shrink {
        -webkit-transform: scale(10) translateY(-50%);
                transform: scale(10) translateY(-50%); }
      .shower.full .slide:target .shout.grow, .shower.full .slide:target .shout.shrink {
        opacity: 1;
        -webkit-transform: scale(1) translateY(-50%);
                transform: scale(1) translateY(-50%); }
    .shower.full .progress {
      display: block;
      -webkit-transform: translateZ(0);
              transform: translateZ(0); }
    .shower.full .region {
      position: absolute;
      clip: rect(0 0 0 0);
      overflow: hidden;
      margin: -1px;
      padding: 0;
      width: 1px;
      height: 1px;
      border: none;
      display: block; } }
