#references-banner {
    background: linear-gradient(120deg, rgb(0, 153, 255), rgb(0, 72, 142));
}

#our-customers-banner {
    display: none;
}

#our-customers-banner h1 {
    font-size: 3em;
    font-weight: 500;
}

#our-customers-text {
    margin: 0 auto;
    padding-top: 2em;
}

.overlay-graphic {
    bottom: 0;
    height: 100%;
    position: absolute;
    top: 0;
    width: initial;
    display: none;
    padding: 2em;
}

#grey-overlay-container {
    position: relative;
}

#references-image {
    display: none;
}

#our-customers-banner h4 {
    color: #0099ff;
    font-weight: lighter;
}

#our-customers-mobile-list {
    display: block;
    padding-bottom: 2em;
}

#our-customers-mobile-container ul {
    display: flex;
}

#our-customers-mobile-container ul div {
    width: 50%;
}

#references-banner h1,
#our-customers-banner h4 {
    font-size: 3em;
}

#references-banner p {
    margin-bottom: 3em;
}

#references-banner a {
    display: inline-block;
    max-width: 500px;
    width: 100%;
}

#customers-section h3,
#case-studies-section h3,
#videos-section h3,
#customers-section h3 {
    border-top: 1px solid #049;
}

#customers-section h3,
#case-studies-section h3,
#videos-section h3,
#customers-section h3 {
    border-bottom: 1px solid #049;
}

#references-banner div {
    color: #fff;
    font-size: 1.5em;
    margin: 0.5em auto;
    text-decoration: underline;
}

#references-banner div:hover {
    cursor: pointer;
    text-decoration: none;
}

#references-banner div img {
    width: 20px;
}

.case-study {
    margin: 2.5em 0;
    text-align: center;
}

.case-study-text-box {
    box-sizing: border-box;
    padding: 0 1em;
    width: 100%;
}

.case-study-text-box h4,
.case-study-text-box h5 {
    text-align: center;
}

.case-study-text-box p {
    margin: 1em auto;
}

.case-study-gallery {
    display: inline-block;
    vertical-align: top;
    width: 100%;
}

.case-study-gallery-arrows {
    height: 50px;
    position: absolute;
    margin-top: -25px;
    top: 50%;
    transition: 100ms;
    z-index: 3;
}

.case-study-gallery-arrows:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: 100ms;
}

.left-arrow {
    left: 5%;
}

.right-arrow {
    right: 5%;
}

.case-study-gallery-container {
    margin: 1em auto;
    padding-top: 66%;
    position: relative;
}

.case-study-images {
    margin-top: 2em;
    text-align: center;
}

.case-study-images img {
    position: absolute;
    display: none;
    left: 0;
    margin: auto;
    opacity: 0;
    top: 0;
    transition: 1s;
    width: 100%;
    z-index: 1;
}

.case-study-images img.active {
    display: block;
    opacity: 100%;
    transition: 1s;
    z-index: 2;
}

#videos-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
}

.video-wrapper {
    box-sizing: border-box;
    max-width: 650px;
    width: 100%;
}

#customers-text-wrapper {
    max-width: 1000px;
    width: calc(100% - 2em);
}

#customers-logos-wrapper {
    max-width: 700px;
}

#customers-logos-wrapper img {
    width: 150px;
}

@media screen and (min-width: 600px) {
    .case-study {
        margin: 2.5em;
    }
    #our-customers-text {
        width: 50%;
    }
}

@media screen and (min-width: 1000px) {
    #references-banner h1 {
        font-size: 4em;
    }

    #references-banner p {
        margin-bottom: 1em;
    }

    #references-banner h2 img {
        padding-top: 0.5em;
        width: 20px;
    }

    .case-study-gallery {
        width: 70%;
    }

    .left-arrow {
        left: -30px;
    }

    .right-arrow {
        right: -30px;
    }

    #customers-logos-wrapper img {
        width: inherit;
    }
}

@media screen and (min-width: 1280px) {
    .overlay-graphic {
        display: block;
        padding: 0;
    }

    #references-image {
        width: 100%;
        margin: 0;
        padding-bottom: 0;
        display: block;
    }

    #our-customers-banner {
        display: block;
    }

    #our-customers-mobile-list {
        display: none;
    }
}
@media screen and (min-width: 1650px) {
    #our-customers-text {
        padding-top: 175px;
    }
}

@media screen and (min-width: 1400px) {
    #references-banner div {
        display: inline-block;
        width: 30%;
    }

    .case-study {
        margin: 5em 2.5em;
        text-align: left;
    }

    .case-study-text-box {
        display: inline-block;
        margin-left: 10%;
        padding: 0;
        vertical-align: top;
        width: 45%;
    }

    .case-study-text-box h4,
    .case-study-text-box h5 {
        text-align: left;
    }

    .case-study-text-box p {
        margin: 1em 0;
    }

    .case-study-text-box {
        display: inline-block;
        vertical-align: top;
    }

    .case-study-gallery {
        display: inline-block;
        vertical-align: top;
        width: 33%;
    }

    .case-study-gallery-container {
        max-width: none;
    }

    .case-study-gallery-container#piramal-gallery-container {
        margin-top: 3em;
    }

    .left-arrow {
        left: -55px;
    }

    .right-arrow {
        right: -55px;
    }

    .case-study-images {
        margin-top: 0;
    }

    .video-wrapper {
        margin-bottom: 2em;
        padding: 0 1.5% 0 1.5%;
        width: 50%;
    }

    #customers-logos-wrapper {
        max-width: 1500px;
    }
}

@media screen and (min-width: 2000px) {
    .case-study-text-box {
        padding-left: 15%;
    }

    .case-study-gallery-container {
        margin-right: 25%;
    }

    .case-study-gallery-arrows {
        margin-top: -100px;
    }

    .video-wrapper {
        max-width: 750px;
    }
}
