﻿*:not(#wrap *) {
    box-sizing: border-box
}

html {
    height: 100%
}

body {
    height: 100%;
    width: 100%;
    font-size: 18px;
    line-height: 1.7;
    font-family: sans-serif;
    font-weight: 400;
    color: #434446
}

body,
html,
li:not(#wrap li),
ul:not(#wrap ul) {
    margin: 0;
    padding: 0
}

a:not(#wrap a) {
    text-decoration: none;
    color: #db0000
}

.main-content a {
    position: relative
}

.main-content a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: .5px;
    background: #f2f2f2;
    transition: background .275s
}

.main-content a:focus::after,
.main-content a:hover::after {
    background: #f04c52
}

a:focus,
button:focus {
    outline: 0
}

a:not(#wrap a),
button:not(#wrap button),
input:not(#wrap input) {
    transition: all .275s
}

h2:not(#wrap h2) {
    margin-top: 1.5em;
    font-size: 1.8em;
    font-weight: 400
}

h3:not(#wrap h3) {
    margin: 1.5em 0 .5em;
    font-size: 1.35em;
    color: #636466
}

h4:not(#wrap h4) {
    margin: 1.5em 0 .5em;
    font-size: 1.35em;
    color: #636466
}

ul:not(#wrap ul) {
    list-style: none
}

p:not(#wrap p) {
    margin: 1.5em 0
}

img:not(#wrap img) {
    max-width: 100%;
    height: auto;
    -webkit-user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none
}

pre.code {
    display: block;
    width: auto;
    padding: 24px;
    margin: 2em auto 3em;
    font-size: 1em;
    line-height: 1.4;
    -moz-tab-size: 4;
    tab-size: 4;
    overflow: auto;
    background: #3f3f3f;
    color: #dbdcde
}

@media (min-width:1160px) {
    pre.code {
        padding: 32px;
        margin: 2em -140px 3em -140px
    }
}

code {
    display: inline-block;
    padding: 0 4px;
    font-family: Consolas, monospace;
    font-size: 1em;
    color: #f34a4e;
    background: #fed0d1
}

.code code {
    display: block;
    padding: 0;
    background: 0 0;
    font-size: 1em
}

.sr-only {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden
}

::-moz-selection {
    color: #f34a4e;
    background: #fed0d1
}

::selection {
    color: #f34a4e;
    background: #fed0d1
}

.alt ::-moz-selection {
    color: #fed0d1;
    background: #f34a4e
}

.alt ::selection {
    color: #fed0d1;
    background: #f34a4e
}

.button,
[class^=button-] {
    box-sizing: border-box;
    display: inline-block;
    padding: 8px 24px;
    border: 2px solid #37cc6a;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    background: #048a00;
    color: #fff;
    border-radius: 40px
}

.button:focus,
.button:hover,
[class^=button-]:focus,
[class^=button-]:hover {
    border-color: #1e7e34;
    color: #fff
}

.button-ghost {
    background: 0 0;
    color: #f04c52;
    border-color: #f04c52
}

.button-ghost.light {
    color: #fff;
    border-color: #fff
}

.button.light {
    background: #fff;
    color: #f04c52
}

.button-secondary {
    background: #1fa19c;
    border-color: #1fa19c
}

.button-secondary.button-ghost {
    color: #1fa19c;
    background: #fff;
    border-color: #1fa19c
}

.button-secondary:focus,
.button-secondary:hover {
    color: #1fa19c;
    background: 0 0
}

.main-header {
    background-color: #fff;
}

.main-footer,
.main-header,
.section {
    padding: 20px 24px
}

@media (min-width:1166px) and (max-width:480px) {

    .main-footer,
    .main-header,
    .section {
        padding: 20px 16px
    }
}

.app {
    overflow: hidden
}

.main-header .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center
}

@media (min-width:760px) {
    .main-header .container {
        -webkit-justify-content: space-between;
        justify-content: space-between
    }
}

.main-header .container>* {
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    flex-grow: 0;
    flex-shring: 1;
    -webkit-flex-basis: auto;
    flex-basis: auto
}

.container {
    width: 1120px;
    max-width: 100%;
    margin: 0 auto
}

.main-content .container {
    width: 840px
}

.main-header {
    position: relative;
    z-index: 1
}

.main-header::after {
    content: '';
    z-index: -1;
    position: absolute;
    top: calc(100% - 82px);
    bottom: -20px;
    right: -200px;
    left: -200px;
    border-radius: 100%;
    background: #fff
}

.logo-wrapper {
    margin: 0;
    line-height: 1;
    font-size: 1em;
    font-weight: 700
}

@media (max-width:640px) {
    .logo-wrapper .logo {
        width: 239px
    }
}

.main-nav {
    margin: 1em 0
}

.main-nav ul {
    margin: 0;
    text-align: center
}

.main-nav li {
    display: inline-block;
    margin: 0 1.25em
}

@media (max-width:640px) {
    .main-nav li {
        margin: 0
    }
}

.main-nav a {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    padding: 8px 12px;
    font-size: .75em;
    font-weight: 700;
    color: #444546 !important
}

.main-nav .current a {
    color: #444546
}

.main-nav .current a:after,
.main-nav .current a:before {
    border-color: #f04c52
}

.main-nav a:after,
.main-nav a:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #ddd;
    opacity: 0;
    -webkit-transition-delay: 0s, 0s;
    transition-delay: 0s, 0s;
    -webkit-transition-duration: .3s, .3s;
    transition-duration: .3s, .3s;
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, -webkit-transform;
    transition-property: transform, opacity;
    transition-property: transform, opacity, -webkit-transform;
    -webkit-transition-timing-function: cubic-bezier(.46, .01, .41, 1.38);
    transition-timing-function: cubic-bezier(.46, .01, .41, 1.38);
    border-radius: 2px
}

.main-nav a:before {
    left: 0;
    top: 0;
    border-width: 2px 0 0 2px;
    -webkit-transform: translate3d(10px, 10px, 0);
    transform: translate3d(10px, 10px, 0)
}

.main-nav a:after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
    -webkit-transform: translate3d(-10px, -10px, 0);
    transform: translate3d(-10px, -10px, 0)
}

.main-nav .current a:after,
.main-nav .current a:before,
.main-nav a:focus:after,
.main-nav a:focus:before,
.main-nav a:hover:after,
.main-nav a:hover:before {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.homepage-content {
    padding: 40px 16px 80px;
    background: #f2f3f4
}

.homepage-content .case-studies {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -16px
}

.homepage-item {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    width: 300px;
    max-width: 420px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    -webkit-flex-shrink: 1;
    flex-shrink: 1;
    margin: 16px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05)
}

@media (min-width:640px) {
    .homepage-item {
        -webkit-flex-basis: 40.3%;
        flex-basis: 40.3%
    }
}

@media (min-width:880px) {
    .homepage-item {
        -webkit-flex-basis: 30.5%;
        flex-basis: 30.5%
    }
}

.case-studies img {
    width: 100%
}

.homepage-item h2,
.homepage-item p {
    padding: 0 25px
}

.homepage-item h2 {
    margin-top: 1em
}

.hi-thumbnail {
    overflow: hidden;
    line-height: .6
}

.hi-title {
    margin-bottom: 0;
    font-size: 1.25rem
}

.hi-title a {
    color: inherit
}

.hi-title a:focus,
.hi-title a:hover {
    color: #f04c52
}

.hi-title a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: box-shadow .275s
}

.homepage-item a:focus::before,
.homepage-item:hover a::before {
    box-shadow: 0 24px 24px -24px rgba(0, 0, 0, .25)
}

.hi-desc {
    margin-bottom: 1.25rem;
    font-size: .9375rem
}

.hi-desc span {
    position: relative
}

.hi-link {
    margin: auto 0 1.75rem
}

.hi-link a {
    position: relative
}

.page-title {
    margin: 1.5rem auto;
    text-align: center;
    color: #f04e54
}

.page-content .page-title {
    margin-bottom: 1em
}

@media (max-width:680px) {
    .page-content .main-content {
        padding: 0
    }
}

.page-catchphrase {
    margin: 1.5rem auto 2.5rem;
    color: #434446;
    text-align: center;
    /* width: 680px; */
    max-width: 100%
}

.section-primary {
    padding: 55px 20px;
    background: #fed0d1;
    color: #f34a4e
}

.section-primary .container>:first-child {
    margin-top: 0
}

.section-primary .container>:last-child {
    margin-bottom: 0
}

.text-center {
    text-align: center
}

.stl-subtitle {
    margin: -1em 0 1.5em
}

.demo-page-content {
    margin-bottom: 3em
}

.demo-header,
.main-content {
    padding: 35px 20px
}

.demo-header {
    padding-bottom: 0
}

.demo-header {
    position: relative;
    background: #f34a4e;
    text-align: center
}

.demo-title {
    position: relative;
    z-index: 1;
    margin: 0 0 -.5em;
    color: #fed0d1;
    font-weight: 300;
    font-size: 1.75em
}

@media (min-width:640px) {
    .demo-title {
        font-size: 3em;
        margin: 0 0 -1em
    }
}

.demo-image {
    margin: 0 auto -.75em;
    display: block
}

.demo-links {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 640px;
    max-width: 100%;
    margin: 0;
    padding-bottom: 2.75em
}

@media (min-width:480px) {
    .demo-links {
        margin: -.5em 0 0 0
    }
}

.demo-links a {
    min-width: 200px;
    margin: .5em 1em;
    font-size: .875em
}

.demo-links .button {
    border: 2px solid #fed0d1;
    background: #fed0d1;
    color: #f34a4e
}

.demo-links .button-ghost {
    border: 2px solid #fed0d1;
    color: #fed0d1
}

.alt .demo-header {
    background: #fed0d1
}

.alt .demo-title {
    color: #f34a4e
}

.alt .demo-links .button {
    border: 2px solid #f34a4e;
    background: #f34a4e;
    color: #fed0d1
}

.alt .demo-links .button-ghost {
    border: 2px solid #f34a4e;
    color: #f34a4e
}

.demo-header .demo-links .button:focus,
.demo-header .demo-links .button:hover,
.demo-links .button-ghost:focus,
.demo-links .button-ghost:hover {
    border-color: #fff;
    background-color: #fff;
    color: #f34a4e
}

.main-content blockquote {
    position: relative;
    margin: 0;
    padding: 1.5em 0 1.5em 2em;
    font-size: 1.2em;
    font-style: italic;
    color: #888
}

.main-content blockquote:before {
    content: '“';
    position: absolute;
    z-index: -1;
    top: -.25em;
    left: -.275em;
    font-size: 10em;
    color: #eee;
    font-family: Georgia, Times, serif
}

@media (min-width:640px) {
    .main-content blockquote {
        padding-left: 6.75em
    }

    .main-content blockquote:before {
        top: -.375em;
        left: -.1em;
        font-size: 20em
    }
}

blockquote .source:before {
    content: "— ";
    color: #ddd
}

.main-content ol,
.main-content ul {
    margin: 2em 0
}

.main-content li {
    position: relative;
    padding-left: 1.8em;
    margin: .5em 0
}

.main-content ul li:before {
    position: absolute;
    left: 0;
    top: 0;
    content: "—";
    color: #9f0508
}

.list-books {
    padding: 0;
    margin: 1em -16px 3em
}

.list-books li {
    display: inline-block;
    padding: 24px;
    margin: 32px 16px;
    text-align: center;
    background: #fff;
    box-shadow: 0 16px 16px -16px rgba(0, 0, 0, .1), 0 0 4px 0 rgba(0, 0, 0, .1)
}

.list-books figure {
    margin: 0;
    padding: 0
}

.list-books figcaption {
    margin-top: 8px;
    color: #434446
}

.list-books figcaption span {
    display: block;
    font-weight: 700
}

@media (min-width:1040px) {
    .twitter-wall {
        margin: 0 -100px
    }
}

.main-footer {
    font-size: .875rem;
    background: #434446;
    color: #dbdcde !important;
    text-align: center
}

.main-footer p {
    text-shadow: 0 0 0 #000 !important;
}

.main-footer a {
    color: inherit !important;
    border-bottom: 1px solid rgba(255, 255, 255, .25)
}

.main-footer a:focus,
.main-footer a:hover {
    color: #fff !important;
    border-color: #fff !important;
    text-decoration: none
}