/* Lead Generation */

div.lead_g-page {
    position: relative;
    height: 100%;
    min-width: 800px;
    min-height: 1248px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

div.lead_g-container {
    position: absolute;
    min-height: 1120px;
    min-width: 380px;
    top: 128px;
    height: calc(100% - 128px);
    width: 40%;
    left: 10%;
    font-size: 110%;
    font-weight: bold;
} h1{
    line-height: 1.7em;
}

div.lead_g {
    position: absolute;
    height: auto;
    width: 100%;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}

/* Nurturing */


div.nurturing-page {
    position: relative;
    height: 100%;
    min-height: 1000px;
    min-width: 800px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

div.nurturing-container {
    position: absolute;
    min-height: 1000px;
    min-width: 380px;
    height: 100%;
    width: 48%;
    left: 10%;
    top: 0px;
    font-size: 110%;
    font-weight: bold;
} h1{
    line-height: 1.7em;
}

div.nurturing {
    position: absolute;
    height: auto;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    color: lightgrey;
}


/* Case studies */


div.case_s-page {
    position: relative;
    height: 100%;
    min-width: 800px;
    min-height: 928px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

div.case_s-container {
    position: absolute;
    min-height: 800px;
    min-width: 350px;
    height: 100%;
    width: 30%;
    left: 8%;
    top: 0px;
    font-size: 110%;
    font-weight: bold;
} h1{
    line-height: 1.7em;
}

div.case_s {
    position: absolute;
    height: auto;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

@supports (-webkit-overflow-scrolling: touch) {
    /* On IOS background should not be fixed, as they get expanded to cover all the page, not just the div */
    div.lead_g-page {
       background-attachment: scroll;
    }
    div.nurturing-page {
       background-attachment: scroll;
    }
    div.case_s-page {
       background-attachment: scroll;
    }
}
