@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    overflow-y: scroll;
    min-height: 100%;
    margin: 0 0 1px;
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body, textarea, input, select, option, button {
    color: #333;
    font-family: 'Nunito', sans-serif;
}

a {
    color: #333000;
}

a:hover {
    color: #A358DF
}

img {
    max-width: 100%;
}

/* Helpers */
.content-container {
    max-width: 1050px;
    margin: auto;
    width: 90%;
    position: relative;
}

.spacer {
    height: 128px;
    width: 100%;
}

.spacer-small {
    height: 64px;
    width: 100%;
}

.filler {
    flex: 10 10 0;
    width: 0;
}

.button {
    display: inline-block;
    border: 1px solid;
    border-radius: 24px;
    color: #333;
    font-size: 18px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    font-weight: 300;
    padding: 8px 32px;
    cursor: pointer;
    white-space: nowrap;
}

.button-cfa {
    display: inline-block;
    padding: 16px 32px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 40px;
    border: none;
    font-weight: 400;
    outline: none;
    text-align: center;
    user-select: none;
    line-height: 17px;
    background: #e34c26;
    color: white;
    white-space: nowrap;
    text-decoration: none;
}

.button-cfa-outline {
    border: 1px solid #e34c26;
    color: #e34c26;
    background: none;
}

.button:hover {
    color: #333;
    text-decoration: underline;
}

.button-cfa:hover {
    color: white;
    text-decoration: underline;
}

.button-cfa-outline:hover {
    color: #e34c26;
    background: rgba(227, 76, 38, 0.15);
    text-decoration: none;
}

.color-blue {
    color: #009AFF
}

.color-green {
    color: #00CC6F
}

.color-purple {
    color: #A358DF
}

.color-pink {
    color: #ff0476
}

.center {
    text-align: center;
}

.content-darker {
    background-color: #f9f9f9;
}

.crop-round {
    border-radius: 50%;
}

/* Content Layout */
.nav-placeholder {
    height: 22px;
}

body > nav {
    height: 54px;
    padding: 12px;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    background: white;
}

.nav-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.nav-elements > .logo {
    height: 100%;
    display: block;
}

.nav-elements > .logo img {
    max-height: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links .item {
    font-weight: 400;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    position: relative;
}

.nav-links > .item {
    margin-left: 24px;
}

.nav-links .nav-submenu {
    flex-direction: column;
    min-width: 130px;
    text-align: left;
    position: absolute;
    left: 0;
    border: 1px solid #c8c8c8;
    border-radius: 7px;
    background: white;
    z-index: 10;
    display: none;
}

.nav-links .item.nav-submenu-parent:hover .nav-submenu {
    display: flex;
}

.nav-links .nav-submenu > .item {
    margin: 0;
    border-bottom: 1px solid #0000001a;
}

.nav-links .nav-submenu > .item:hover {
    background: #f1f1f1;
}

.nav-links .nav-submenu > .item:last-child {
    border-bottom: none;
}

.nav-button {
    margin: 0 24px;
    flex: 0 0 auto;
}

.content-section {
    display: flex;
    justify-content: center;
}

.content-section > article, .content-section > aside {
    flex: 1 1 auto;
    margin-bottom: 48px;
    width: 50%;
}

.content-section > article + aside {
    margin-left: 50px;
}

.content-section > aside:first-child {
    margin-right: 50px;
    margin-bottom: 20px;
}

.content-section .super-title {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 500;
}

.content-section .title {
    font-size: 40px;
    margin: 0 auto 24px;
}

.content-section .title-bolder {
    font-weight: bold;
}

.content-section .title-smaller {
    font-size: 40px;
    margin: 0 auto 24px;
    max-width: 650px;
}

.content-section .subtitle {
    font-size: 16px;
    margin: 44px 0;
}

.content-section .link {
    font-size: 16px;
    text-decoration: underline;
}

.content-section aside {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.content-section aside.v-aligned {
    align-items: center;
}

.content-section aside > img {
    display: block;
    max-width: 100%;
}

.content-section .centered-text {
    font-size: 18px;
    width: 96%;
    max-width: 790px;
    text-align: center;
    margin: auto;
}

/* Logos line */
.logos-line {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.logos-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Logos Box */
.logos-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.logos-box .item {
    flex: 0 0 auto;
    margin: 22px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 7px 9px 16px 6px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: #f5f5f5;
    height: 190px;
    width: 30%;
    overflow: hidden;
    min-width: 201px;
    text-decoration: none;
}

.logos-box .item-upper {
    flex: 1 1 auto;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
}

.logos-box .item-img {
    background: transparent no-repeat center/contain;
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
}

.logos-box .item-label {
    font-size: 18px;
    font-weight: bold;
    color: #6e6e6e;
    background: #ffffff;
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    box-sizing: border-box;
}

.logos-box-minimal .item {
    width: 1%;
}

/* Quote Box */
.quote-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.quote-box .item {
    margin: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 auto;
    box-sizing: border-box;
    width: 30%;
    border-right: 1px solid #0000001c;
}

.quote-box .item:last-child {
    border-right: none;
}

.quote-box .item .subtitle {
    text-align: center;
}

.quote-box .item img {
    width: 140px;
    box-shadow: 2px 8px 9px #00000045;
    border-radius: 50%;
}

.quote-box .item .logo {
    background: transparent no-repeat top/contain;
    width: 175px;
    height: 37px;
}

.quote-box .quote {
    font-size: 18px;
    font-style: italic;
    color: hsla(0, 0%, 45%, 1);
    width: 90%;
    margin: auto;
    max-width: 390px;
}

.quote-box .quote:before {
    content: '❝';
    display: inline;
    font-size: 41px;
    color: #a2a2a2;
    position: relative;
    bottom: -17px;
    left: -8px;
    line-height: 0;
}

@media (max-width: 768px) {
    .nav-placeholder {
        height: 72px;
    }

    .content-section {
        flex-wrap: wrap;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .content-section > article, .content-section > aside {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .content-section > article {
        order: 1;
        min-width: 0;
    }

    .content-section > aside {
        margin: auto !important;
        order: 2;
    }

    .content-section > article + aside {
        margin-left: 0;
    }

    .spacer {
        height: 64px;
    }

    .quote-box .item {
        flex: 1 1 100%;
        min-width: 100%;
        border: none;
        border-bottom: 1px solid #0000001c;
        padding-bottom: 36px;
    }

    .logos-box .item {
        flex: 1 1 auto;
    }

    .logos-box-minimal .item {
        min-width: 130px;
    }
}

/* Footer */
footer {
    padding: 80px 27px 30px;
    background: #283a44;
    color: #949da2;
    font-size: 14px;
}

footer a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

footer a:hover, footer a:focus, footer a:active {
    text-decoration: underline;
    color: inherit;
}

footer .footer-upper {
    display: flex;
    flex-wrap: wrap;
}

footer article.vcard {
    margin-right: 90px;
    margin-bottom: 40px;
}

footer .footer-groups {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}

footer .footer-group h3 {
    overflow: hidden;
    margin: 0 0 27px;
    color: #ffffff;
    font-size: 1.3em;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: normal;
}

footer .footer-group {
    min-width: 121px;
    margin-right: 20px;
    margin-bottom: 30px;
    flex: 1 1 auto;
}

footer .footer-items {
    color: white;
}

footer .footer-items > * {
    margin-bottom: 6px;
}

footer .footer-title {
    overflow: hidden;
    margin: 0 0 27px;
    color: #71838c;
    font-size: 14px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: normal;
    font-weight: bold;
}

footer .social > *:before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-right: 6px;
}

footer .social > *.fb:before {
    background: url(../../images/2x/icon-fb-a.png) no-repeat center/contain;
}

footer .social > *.li:before {
    background: url(../../images/2x/icon-li-a.png) no-repeat center/contain;
}

footer .social > *.tw:before {
    background: url(../../images/2x/icon-tw-a.png) no-repeat center/contain;
}

footer .social > *.git:before {
    background: url(../../images/2x/icon-git-a.png) no-repeat center/contain;
}

footer .footer-lower {
    margin-top: 40px;
    font-size: 12px;
    color: #5a6971;
}

footer .footer-lower a {
    color: whitesmoke;
}

/* Pure CSS hamburger menu */
.nav-links {
    position: relative;
}

.menu-button, .menu-button-line {
    display: none;
}

@media (max-width: 950px) {
    .menu-button {
        display: block;
        width: 36px;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        -webkit-touch-callout: none;
        opacity: 0;
    }

    .menu-button-line {
        display: block;
        height: 4px;
        margin-bottom: 5px;
        background: #e34f26;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 0 50%;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
        right: 0;
        position: absolute;
        width: 36px;
    }

    .menu-button-line:nth-of-type(1) {
        top: 10px;
    }

    .menu-button-line:nth-of-type(2) {
        top: 24px;
        margin: auto;
    }

    .menu-button-line:nth-of-type(3) {
        top: 38px;
    }

    .menu-button:checked ~ .menu-button-line {
        opacity: 1;
        transform: rotate(51deg);
        background: #232323;
    }

    .menu-button:checked ~ .menu-button-line:nth-of-type(2) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    .menu-button:checked ~ .menu-button-line:nth-of-type(3) {
        /*transform: rotate(-45deg) translate(8px, 3px);*/
        transform: rotate(-51deg);
    }

    .menu-button + [data-role="menu-items"] {
        display: none;
    }

    .menu-button:checked + [data-role="menu-items"] {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        min-width: 240px;
        background: white;
        min-height: 250px;
        border: 1px solid #00000030;
        z-index: 1;
        padding: 19px 14px;
    }

    .nav-links .button, .nav-links .button-cfa {
        margin: auto;
        display: block;
    }

    .nav-links .item {
        margin: 0;
    }

    .nav-links .nav-submenu {
        display: flex;
        position: relative;
        border: none;
        margin-top: 8px;
    }

    .nav-links .nav-submenu-parent {
        border: 1px solid #e6e6e6;
        padding-top: 0;
    }

    .nav-links .nav-submenu > .item {
        border: none;
    }

    .nav-links .nav-submenu-title {
        background: #f0f0f0;
    }
}

