/* --------------------------------------------------------------- */
/* General & Typography Styles ----------------------------------- */
/* --------------------------------------------------------------- */

/* * {
    color: #333;
} */
.nowrap {
    white-space: nowrap;
}

h1 {
    font-size: 38px;
    line-height: 44px;
    color: #fff;
    margin: 0;
}

h2 {
    font-size: 30px;
    font-weight: 400;
    line-height: 38px;
    margin-bottom: 40px;
    /* padding-right: 100px; */
}

h3 {
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    line-height: 24px;
}

p.screenshot {
    font-size: 13px;
    line-height: 20px;
    font-style: italic;
    margin: 20px 0;
}

p.screenshot-align-right {
    font-size: 13px;
    line-height: 20px;
    font-style: italic;
    margin: 20px 0;
    text-align: right;
}

.hidden-on-desktop {
    display: none;
}

.hidden-on-mobile {
    display: block;
}

@media (max-width: 767px) {
    
    h1 {
        text-align: left;
        font-size: 30px;
        line-height: 38px;
    }

    h2 {
        min-height: 55px;
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 30px;
        padding-right: 90px;
    }

    h3 {
        font-family: "Helvetica Neue", Helvetica, fallbackBold, sans-serif;
        font-size: 16px;
        line-height: 24px;
        font-weight: 700;
    }
    
    .hidden-on-desktop {
        display: block;
    }

    .hidden-on-mobile {
        display: none;
    }

    p.screenshot-align-right {
        font-size: 13px;
        line-height: 17px;
        font-style: italic;
        margin: 20px 0;
        text-align: left;
    }
}

/* --------------------------------------------------------------- */
/* Component Styles ---------------------------------------------- */
/* --------------------------------------------------------------- */

/* Hero ---------------------------------------------------------- */

.hero {
    min-height: 0;
}

.hero-image-tab {
    display: none;
}

.hero .container {
    max-width: 1560px !important;
    padding: 0 10px !important;
}

.hero > .container > .row > *,
.hero .col-md-6 {
    padding: 0 !important;
    margin: 0 !important;
}

.hero .card-img-bg {
    background-repeat: repeat;
    background-size: 300px;
}


/* .hero .col-md-12 > div {
    display: flex;
}

.hero .col-md-12 > div > .grid {
    align-self: center;
} */



.hero .hero-copy {
    position: absolute !important;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    max-width: 100%;
    width: 600px;
    padding: 95px 45px 95px 65px;
    overflow: hidden;
}

.hero .hero-copy .card-img-bg {
    border-radius: 8px 0px 0px 8px;
}

@media (max-width: 1199px) {
    .hero .hero-copy {
        padding: 55px 25px 55px 55px;
        width: 90%;
    }

    .hero-image {
        display: none;
    }

    .hero-image-tab {
        display: block;
    }
}

@media (max-width: 1023px) {
    .hero .hero-copy {
        padding: 100px 45px;
        width: 100%;
    }

    h1 {
        font-size: 30px;
        line-height: 38px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 40px 0;
    }

    .hero > .container {
        padding: 0 20px !important;
    }

    .hero .hero-copy .card-img-bg {
        border-radius: 8px;
    }

    .hero .hero-copy {
        width: 100%;
        position: static !important;
        transform: none;
        padding: 30px 20px;
    }

    .hero-image, .hero-image-tab {
        display: none;
    }

}

/* Sections with Icons ---------------------------------------------------------- */

.section-with-icon {
    margin-top: 50px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
    border-radius: 8px;
    padding: 55px;
    overflow: hidden;
}

.section-with-icon .section-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
}

.section-with-icon.secure-api .richtext {
    max-width: 800px;
}

.section-with-icon.secure-api h2 {
    padding-right: 0;
    margin-bottom: 30px;
}

.section-with-icon.how-it-works h2 {
    padding-right: 0;
    margin-bottom: 108px;
}

.section-with-icon.data-sharing {
    min-height: 224px;
}

.section-with-icon.data-sharing h2 {
    padding-right: 0;
}

.section-with-icon.data-sharing .col-md-12 > div {
    display: flex;
    padding-right: 150px;
}

.section-with-icon.data-sharing .col-md-12 > div > .richtext:nth-child(2) {
    width: 260px;
}

.section-with-icon.data-sharing .col-md-12 > div > .richtext:nth-child(3) {
    max-width: 540px;
}

.copy-with-number > .container {
    padding: 0 !important;
}

.copy-with-number .col-md-12 > div {
    padding-left: 70px;
}

.copy-with-number .col-md-12 > div > .richtext {
    max-width: 750px;
}

.copy-with-number .image {
    position: absolute;
    left: 10px;
}

.copy-with-number.step-1 {
    margin-bottom: 50px;
}

.step-2 {
    /* margin-bottom: 60px; */
}

.step-3 {
    margin-top: 35px;
}

.step-2 > .container,
.step-3 > .container {
    padding: 0 !important;
}

.step-2 .col-md-5,
.step-3 .col-md-5 {
    display: flex;
    align-items: center;
}

p.step-3-p {
    max-width: 280px;
    width: 100%;
}

@media (max-width: 1279px) {
    .section-with-icon.secure-api h2 {
        padding-right: 90px;
    }

    .section-with-icon.data-sharing .col-md-12 > div {
        display: block;
        padding-right: 0;
    }
}

@media (max-width: 1023px) {
    .section-with-icon .section-icon {
        width: 64px;
    }

    .copy-with-number .col-md-12 > div {
        padding-left: 0;
    }

    .copy-with-number .image {
        position: static;
        margin-bottom: 15px;
    }

    .step-2 {
        /* margin-bottom: 30px; */
    }

    .step-3 {
        margin-top: 35px;
    }

    /* Redistributing both uneven columns to 50% width for mobile view */
    .col-md-7, .col-md-5 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (max-width: 767px) {

    .step-3 {
        margin-top: 10px;
    }

    .step-2 .col-md-5,
    .step-3 .col-md-5 {
    display: flex;
    align-items: center;
}
    .section-with-icon {
        padding: 25px 10px;
        margin: 30px 10px 0;
    }

    .section-with-icon.how-it-works {
        padding-bottom: 0;
    }

    .section-with-icon.how-it-works h2 {
        padding-right: 0;
        margin-bottom: 32px;
    }

    .step-2 {
        margin-bottom: 10px;
    }

    .step-2 img, .step-3 img {
        filter: drop-shadow(0 0 0.5rem #C8C9C7);
    }

    p.step-3-p {
        max-width: 100%;
        width: 100%;
    }

    /* Redistributing both uneven columns to 50% width for mobile view */
    .col-md-7, .col-md-5 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* FAQs ---------------------------------------------------------- */

.faqs {
    margin-top: 50px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .1);
    border-radius: 8px;
    padding: 55px;
    overflow: hidden;
}

.faqs .accordion-content .stack {
    margin-top: 0 !important;
}

.faqs h2 {
    padding-right: 0;
}

.faqs p {
    color: #000000;
}

.faqs .collapsible-panel h3 {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .faqs {
        padding: 30px 10px;
        margin: 30px 10px 0;
    }

    .faqs h2 {
        margin-bottom: 0;
    }
}

/* Amex Ribbon ---------------------------------------------------------- */

.ribbon {
    margin: 60px 0;
}

@media (max-width: 767px) {
    .ribbon {
        margin: 30px 0;
    }
}