.bannerWrapper {
    max-height: 590px;
    min-height: 200px;
    position: relative;
    width: 100%;
    z-index: 2;
}
    .bannerWrapper img {
        margin: auto;
        width: 100% !important;
    }
.bannerText {
    position: absolute;
    top: 33%;
    left: 8%;
}
.bannerWrapper #img2 {
    display: none;
}
#surgerypage .banner h1 {
    font-family: 'OpenSans Regular', 'Open Sans';
    font-size: 48px;
    color: #0a3d3b;
    line-height: 56px;
}

.surgeryHow {
    position: relative;
    width: 100%;
    min-height: 420px;
}
.surgeryHowBG {
    background: url('../images/surgery_how.jpg') right center no-repeat;
    background-size: cover;
    position: relative;
    width: 100%;
    min-height: 420px;
}

.faq1 a:link, a:visited {
    word-break: break-word;
    color: black;
}
.faq1 a:hover {
    color: #4fd6b1;
}
.surgeryHow .cellWrapper{
    margin: 5% auto;
}

    .surgeryHow .table-cell {
        width: 50%;
        text-align: left;
        height: 100%;
    }

    .surgeryHow .textWrapper {
        width: 100%;
    }

    .surgeryHow #BGimg {
        width: 100%;
        vertical-align: bottom;
    }
    .surgeryHow .clear {
        height: 15px;
    }

.surgeryHow .text img, .surgeryBefore .text img {
    width: 20px;
}

.surgeryAfter .text img{
    width: 14px;
}
.surgeryAfter .subcontent img{
    width: 10px;
}

.cellWrapper {
    width: 84%;
    margin: 0 auto;
}

.text img, .text p {
    vertical-align: top;
    display: inline-block;
}

.text p {
    width: 90%;
    margin: 0;
}

.text img {
    margin-right: 10px;
    margin-top: 5px;
}

.header {
    text-transform: uppercase;
    color: #006f51;
    font-size: 36px;
    font-family: 'Quicksand';
}

h1 {
    font-size: 24px;
}

.text {
    font-size: 16px;
    font-family: 'OpenSans Regular';
}

.textWrapper {
    text-align: left;
}
.surgeryBeforeBG {
    width: 100%;
    min-height: 340px;
}

.surgeryBefore {
    background: url('../images/surgery_before.jpg') left center no-repeat;
    width: 100%;
    min-height: 340px;
    background-size: cover;
    position: relative;
}

    .surgeryBefore .textWrapper {
        width: 100%;
        max-width: 660px;
        text-align: left;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 5%;
    }

.surgeryAfter .table-cell {
    width: 50%;
    text-align: left;
    height: 100%;
}

.surgeryAfter .cellWrapper{
    margin: 90px auto;
}

.surgeryAfter .images{
    max-width: 515px;
    width: 90%;
}
.surgeryAfter .image1, .surgeryAfter .image2 {
    text-align:center;  
}
.surgeryAfter .image1{
    display:none;
}

.surgeryAfter .text img {
    margin-top: 8px;
}
.surgeryAfter .subcontent{
    margin-left:40px;
}

.medisave {
    margin-top:-250px;
    z-index:-1;
    height: 100%;
    width: 100%;
    position: relative;
}
.medisaveBG {
   
    background: url('../images/surgery_medisaveBG.jpg')  repeat-y;
    background-size:100%;
  
    padding: 300px 0 100px 0;
}
    .medisave .textWrapper {
        width: 65%;
        margin: 0 auto;
    }
.medisave .textWrapper h1{
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
}

.medisave .textWrapper .equation{
    text-align: center;
}
.medisave .text p {
    width: 100%;
}
.equation img{
    margin: 0;
    max-width: 440px;
    width: 90%;
}


@media screen and (max-width: 1280px){

    #surgerypage .banner h1 {
        font-size: 36px;
        line-height: 50px;
    }

    .surgeryHow {
        background: rgba(255,255,255,0.6);
    }

    .surgeryHow .table-cell {
        width: 100%;
    }

    .surgeryBefore {
        background: url('../images/surgery_before2.jpg') center center no-repeat;
        background-size: cover;
    }

        .surgeryBefore .surgeryBeforeBG {
            background: rgba(0,0,0,0.6);
        }

        .surgeryBefore .textWrapper {
            width: 90%;
            margin: 0 auto;
            position: relative;
            top: 0;
            transform: translateY(0%);
            right: 0;
            padding: 90px 0px;
        }

        .surgeryBefore .header {
            color: #4fd8c6;
        }

        .surgeryBefore h1, .surgeryBefore .text {
            color: white;
        }

    .medisave .textWrapper {
        width: 80%;
    }
}

@media only screen and (max-width: 959px) {
    .bannerWrapper {
        min-height: 164px;
    }
    .banner {
        min-height: 164px;
    }
    .surgeryh1 {
        padding: 5px 5% 40px;
    }
    .bannerWrapper #img1 {
        display: none;
    }
    .bannerWrapper #img2{
        display: block;
    }
    .banner11{
        background-image:none;
    }
    .bannerText {
        top: 45%;
        transform: translateY(-50%);
        left: 0;
        right: 0;
        width: 50%;
    }
    .bannerTextm {
        top: 62%;
    }
    .bannerTextfaq{
        display:none;
    }
    .surgeryAfter .table-cell {
        width: 100%;
        display: table;
    }
    .surgeryAfter .image1 {
        display: table;
    }
    .surgeryAfter .image2 {
        display: none;
    }
    .surgeryAfter .image3{
        text-align: center;
    }
    .surgeryAfter .cellWrapper {
        margin: 40px auto;
    }
    .surgeryAfter .images {
        width: 60%;
    }

}

@media only screen and (max-width: 767px) {
    .header {
        font-size: 24px;
        font-family: 'Quicksand';
    }
    #surgerypage .banner h1 {
        font-size: 30px;
        line-height: 45px;
    }

    /*h1 {
        font-size: 16px;
    }*/

    .text {
        font-size: 14px;
        font-family: 'OpenSans Regular';
    }
    /*.medisaveBG {
        padding: 60px 0;
    }*/

}

@media only screen and (max-width: 680px) {
    #surgerypage .banner h1 {
        font-size: 26px !important;
        line-height: 40px;
    }
}

@media only screen and (max-width: 430px) {
    #surgerypage .banner h1 {
        font-size: 20px !important;
        line-height: 30px;
    }
    .medisave h1, .surgeryAfter h1, .surgeryBefore h1, .surgeryHow h1 {
        font-size: 16px !important;
    }
}


@media screen and (min-width: 1480px){
    .bannerWrapper {
        max-height: 39.864vw;
        min-height: 13.513vw;
    }

    #surgerypage .banner h1 {
        font-size: 3.125vw;
        line-height: 3.645vw;
        letter-spacing: 0.065vw;
    }
    .surgeryHow {
        min-height: 27.34vw;
    }
        .surgeryHow .clear {
            height: 0.976vw;
        }

    .surgeryBefore, .surgeryBeforeBG {
        min-height: 22.14vw;
    }

    .surgeryBefore .textWrapper {
        max-width: 44.594vw;
    }

    .surgeryAfter .cellWrapper {
        margin: 6.081vw auto;
    }
    .surgeryAfter .images {
        max-width: 34.797vw;
    }
    .surgeryAfter .text img {
        margin-top: 0.7vw;
    }

    .text img {
        margin-right: 0.675vw;
        margin-top: 0.34vw;
    }

    /*h1 {
        font-size: 1.562vw;
        line-height: 3.243vw;
        letter-spacing: 0.067vw;
    }*/
    .header {
        font-size: 2.343vw;
    }
    .text {
        font-size: 1.042vw;
        line-height: 2.027vw;
    }
    .surgeryHow .text img, .surgeryBefore .text img {
        width: 1.351vw;
    }

    .surgeryAfter .text img {
        width: 0.945vw;
    }

    .surgeryAfter .subcontent img {
        width: 0.675vw;
    }
    .surgeryAfter .subcontent {
        margin-left: 2.702vw;
    }

    /*.medisaveBG {
        padding: 6.756vw 0;
    }*/
    .medisave .textWrapper h1 {
        max-width: 37.162vw;
    }
        .equation img {
        margin: 0;
        max-width: 29.729vw;
    }
}