/*

    Splash Page styles
    for ReadMe documentation

*/

/* Template Global */

.tmpl-docs-splash .learn-more-link:hover {
    text-decoration: underline;
}

/* Hero */

.hero-splash {
    padding: 1rem 0;
}
@media screen and (max-width: 576px){
    .hero-splash {
        padding-top: 2.5rem;
        padding-bottom: 3rem;
    }
}

.hero-splash h1 {
    /*font-weight: 600;
    font-size: 56px;
    line-height: 66px;*/
    margin-bottom: 0.5rem;
}
.hero-splash h1 sup {
    top: -30px;
}
@media screen and (max-width:900px){
    /*.hero-splash h1 {
        font-size: 50px;
        line-height: 60px;
    }*/
}
@media (max-width: 991px) {
    .hero-splash h1 sup {
        top: -22px;
    }
}
@media screen and (max-width:767px){
    /*.hero-splash h1 {
        font-size: 30px;
        line-height: 40px;
    }*/
    .hero-splash h1 sup {
        top: -12px;
    }
}

.hero-splash h2 {
    font-size: 18px;
    line-height: 28px;
}

@media screen and (max-width: 576px){
    .hero-splash img {
        margin-top: 2rem;
    }
}

/* Sub Navigation */

.splash-sub-nav {
    background-color: #FAFAFA;
    padding: 1rem 0;
    margin-bottom: 4rem;
}
@media screen and (max-width:1024px){
    .splash-sub-nav {
        margin-bottom: 4.5rem;
    }
}
@media screen and (max-width:767px){
    .splash-sub-nav {
        padding: 2.65rem 1rem;
    }
}

.splash-sub-nav ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}
@media screen and (min-width:767px){
    .splash-sub-nav ul {
        justify-content: center;
    }
    .splash-sub-nav ul li:not(:first-child) {
        margin-left: 1.75rem;
    }
}

@media screen and (max-width:767px){
    .splash-sub-nav ul li {
        width: 100%;
    }
    .splash-sub-nav ul li:not(:last-child) {
        margin-bottom: 2.5rem;
    }
}

.splash-sub-nav ul li a {
    font-size: 18px;
    line-height: 28px;
    font-weight: 800;
}
.splash-sub-nav ul li a.link_blank {
    position: relative;
    padding-right: 20px;
}
.splash-sub-nav ul li a.link_blank::after {
    content: url('http://www-dev.breadpayments.com/wp-content/uploads/2022/06/foreign-1.svg');
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/* Platform Integrations */

.splash-platforms {
    margin-bottom: 6rem;
}

.splash-platforms-header {
    margin-bottom: 1rem;
}
.splash-platforms-header h3 {
    font-weight: 800;   
    margin-bottom: 0;
}
@media screen and (max-width: 768px){
    .splash-platforms-header h3 {
        font-size: 26px;
        line-height: 36px;
    }
}
@media screen and (min-width: 577px){
    .splash-platforms-header h3 {
        background-color: white;
        position: relative;
        z-index: 1;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media screen and (min-width: 1025px){
    .splash-platforms-header .bread-left-border {
        left: -80px; /* width of ::before */
    }
    .splash-platforms-header .bread-right-border {
        position: absolute;
        right: 0;
        width: calc(100% - 64px);  /* width of ::after */
    }
}
@media screen and (max-width:1024px){
    .splash-platforms-header .bread-left-border::before {
        top: -25px;
    }
}
@media screen and (max-width: 767px){
    .splash-platforms-header .bread-left-border {
        top: 0;
    }
}

.splash-platforms-content p {
    color: #0F233F;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 2rem;
}
@media screen and (max-width: 576px){
    .splash-platforms-content p {
        text-align: left;
    }
}

.splash-platforms-logos {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

@media (max-width: 575px){
    .splash-platforms-logos > div {
        padding: 0;
    }
    .splash-platforms-logos > div:nth-of-type(odd) .splash-platforms-logo {
        padding-right: 1rem;
    }
    .splash-platforms-logos > div:nth-of-type(even) .splash-platforms-logo {
        padding-left: 1rem;
    }
}

.splash-platforms-logo {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
@media (max-width: 575px){
    .splash-platforms-logo {
        margin-bottom: 2rem;
        padding: 0;
        text-align: left;
    }
}
.splash-platforms-logo a { display: block; }

@media (min-width: 576px){
    .splash-platforms-logo img {
        margin-left: auto;
        margin-right: auto;
    }
}

/* hide colour version until hovered */
.splash-platforms-logo a img:last-child {
    display: none;
}
.splash-platforms-logo a:hover img:first-child {
    display: none;
}
.splash-platforms-logo a:hover img:last-child {
    display: block;
}

@media (max-width: 576px) {
    .splash-platforms-logo img {
        max-height: 40px;
    }
}

@media screen and (min-width: 577px){
    .splash-platforms .learn-more-link {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Direct API Integrations */

.splash-direct-api {
    margin-bottom: 6rem;
}

.splash-direct-api-header {
    margin-bottom: 1rem;
}
.splash-direct-api-header h3 {
    font-weight: 800;   
    margin-bottom: 0;
}
@media screen and (max-width: 768px){
    .splash-direct-api-header h3 {
        font-size: 26px;
        line-height: 36px;
    }
}
@media screen and (min-width: 577px){
    .splash-direct-api-header h3 {
        background-color: white;

        position: relative;
        z-index: 1;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media screen and (min-width: 1025px) {
    .splash-direct-api-header .bread-left-border {
        left: -80px; /* width of ::before */
    }
    .splash-direct-api-header .bread-left-border::before {
        top: 20px;
        transform: rotate(-30deg);
    }

    .splash-direct-api-header .bread-right-border {
        position: absolute;
        right: 0;
        width: calc(100% - 64px);  /* width of ::after */
    }
    .splash-direct-api-header .bread-right-border::after {
        top: -20px;
        transform: rotate(-30deg);
    }
}
@media screen and (max-width:1024px){
    .splash-direct-api-header .bread-left-border.kiwi::before {
        top: -25px;
        background-image: linear-gradient(to left, #fff , rgba(255,255,255,0)) !important; /* switch directions */
    }
}
@media screen and (max-width: 767px){
    .splash-direct-api-header .bread-left-border {
        top: 0;
    }
}

.splash-direct-api-content p {
    color: #0F233F;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 1rem;
}
@media screen and (max-width: 576px){
    .splash-direct-api-content p {
        text-align: left;
        margin-bottom: 2.5rem;
    }
}

@media screen and (min-width: 577px){
    .splash-direct-api .learn-more-link {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Merchant Operations, Marketing & Compliance */

.splash-merchant-ops-marketing {
    margin-bottom: 7rem;
}

.splash-merchant-ops-marketing .row {
    margin: 0;
}
.splash-merchant-ops-marketing .col-sm-12 {
    padding: 0;
}
.splash-merchant-ops-marketing h3 {
    font-weight: 800;
    margin-bottom: 0;
}
@media screen and (max-width: 768px){
    .splash-merchant-ops-marketing h3 {
        font-size: 26px;
        line-height: 36px;
    }
}
@media screen and (min-width: 577px){
    .splash-merchant-ops-marketing h3 {
        background-color: white;

        position: relative;
        z-index: 1;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.splash-merchant-ops-marketing p {
    color: #0F233F;
    font-size: 18px;
    line-height: 28px;
}
@media screen and (min-width: 768px){
    .splash-merchant-ops-marketing p {
        margin: 0 auto 1rem auto;
        max-width: 350px;
    }
}
@media screen and (max-width: 576px){
    .splash-merchant-ops-marketing p {
        text-align: left;
        margin-bottom: 2.5rem;
    }
}

@media screen and (min-width: 577px){
    .splash-merchant-ops-marketing .learn-more-link {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Merchant Operations */

@media (max-width: 767px){
    .splash-merchant {
        margin-bottom: 7rem;
    }
}

.splash-merchant-header {
    margin-bottom: 1rem;
}

.splash-merchant-header .bread-right-border::after {
    display: none;
}

@media screen and (min-width: 1025px){
    .splash-merchant-header .bread-left-border {
        left: -80px; /* width of ::before */
    }
    .splash-merchant-header .bread-right-border {
        position: absolute;
        right: 0;
        width: calc(100% - 64px);  /* width of ::after */
    }
}
@media screen and (max-width:1024px){
    .splash-merchant-header .bread-left-border.mango::before {
        top: -25px;
        background-image: none !important;
    }
}
@media screen and (max-width: 767px){
    .splash-merchant-header .bread-left-border.mango {
        top: 0;
    }
    .splash-merchant-header .bread-left-border.mango::before {
        background-image: linear-gradient(to left, #fff , rgba(255,255,255,0)) !important; /* switch directions */
    }
}

/* Marketing & Compliance */

.splash-marketing-header {
    margin-bottom: 1rem;
}

.splash-marketing-header .bread-right-border {
    width: calc(45% - 100px);
}

@media screen and (min-width: 1025px){
    .splash-marketing-header .bread-left-border {
        left: -80px; /* width of ::before */
    }
    .splash-marketing-header .bread-left-border::before {
        display: none;
    }

    .splash-marketing-header .bread-right-border {
        position: absolute;
        right: 0;
        width: calc(100% - 64px);  /* width of ::after */
    }
}
@media screen and (max-width:1024px){
    .splash-marketing-header .bread-left-border.mango::before {
        top: -25px;
        background-image: linear-gradient(to left, #fff , rgba(255,255,255,0)) !important; /* switch directions */
    }
}
@media screen and (max-width: 767px){
    .splash-marketing-header .bread-left-border {
        top: 0;
    }
}
