.footer1 {
    margin-top: 0;
}

body, html,
.case-studies-page {
    background: #fff;
    font-family: 'Open Sans' !important;
}

.case-studies-page {
    font-weight: 100;
    position: relative;
}

body, html {
    padding-left: 0;
    padding-right: 0;
}

h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizelegibility !important;
    -webkit-font-smoothing: antialiased !important;
    font-weight: 100 !important;
    line-height: 1.25em;
    margin: 0;
    text-shadow: none;
}
    
    .section-header,
    h1.section-header,
    h2.section-header,
    h3.section-header,
    h4.section-header,
    h5.section-header {
        color: #212121;
    }


/*
    section 1 
*/

.first-section {
    width: 100%;
    box-sizing: border-box;
    padding: 25px 30px;
    min-height: 340px;
    line-height: 160px;
    background-image: url('../storage/images/case-studies-page/header.jpg');
    background-color: #01579b;
    background-position-x: 100%;
    background-repeat: no-repeat;
    position: relative;
    z-index: 2;
    text-align: center;
}
    .first-section h1.section-header {
        display: inline-block;
        width: 100%;
        box-sizing: border-box;
        color: #fff;
        font-size: 36px;
        line-height: 1.3em;
    }

.cases-section {
    position: relative;
    z-index: 2;
}
    
    .case-item {
        box-sizing: border-box;
        width: 100%;
        max-width: 880px;
        background: #fff;
        margin: 0 auto;
        margin-bottom: 30px;
        padding: 60px 40px 40px 40px;
        -webkit-box-shadow: 0px 4px 6px 0px rgba(0,0,0,0.25);
        -moz-box-shadow: 0px 4px 6px 0px rgba(0,0,0,0.25);
        box-shadow: 0px 4px 6px 0px rgba(0,0,0,0.25);
        border-radius: 10px;

    }
    .case-item:first-child {
        margin-top: -160px;
    }
        .case-item-title-logo-box {
            flex-direction: row;
            display: flex;
            margin-bottom: 15px;
        }
            .case-item-title,
            .case-item-logo {
                align-self: flex-start;
                flex-grow: 1;
            }
            .case-item-title {
                order: 0;
                text-align: left;
                font-size: 26px;
                line-height: 1.3em;
            }
            .case-item-logo {
                order: 0;
                text-align: right;
            }
        .case-item .hrline {
            background-color: #eeeeee;
            display: block;
            height: 1px;
            width: 100%;
            max-width: 780px;
            margin: 0 auto;
            margin-bottom: 15px;
        }
        .case-item-description {
            font-size: 16px;
            line-height: 1.3em;
            margin-bottom: 25px;
        }
        .case-item-btn-box {
            text-align: left;
        }
            .case-item-btn {
                display: inline-block;
                font-size: 18px;
                width: 200px; 
                line-height: 50px;
                text-align: center;
            }


@media screen and (max-width: 1024px) {
    .case-item-description {
        font-size: 18px;
    }
}

@media screen and (max-width: 979px) {
    .first-section {
        background-image: none;
        min-height: 150px;
        line-height: 150px;
    }
        .first-section h1.section-header {
            font-size: 32px;
        }
    
    .case-item {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        border-radius: 0;
        max-width: 979px;
        padding-top: 40px;
        border-bottom: 1px solid #eeeeee;
        margin-bottom: 0;
    }
    .case-item:first-child {
        margin-top: 0;
    }
}

@media screen and (max-width: 800px) {
    .case-item-title-logo-box {
        flex-direction: column-reverse;
    }
    .case-item-logo {
        padding-bottom: 16px;
    }
}

@media screen and (max-width: 560px) {
    .first-section {
        min-height: 0;
        line-height: 1.3em;
        height: 140px;
        padding-top: 35px;
    }
    .first-section h1.section-header {
        font-size: 26px;
    }
    .case-item {
        padding-left: 15px;
        padding-right: 15px;
    }
}
