@font-face {
    font-family: 'OpenSans';
    src: url('../font/OpenSans.eot');
    src: url('../font/OpenSans.eot?#iefix') format('embedded-opentype'), url('../font/OpenSans.woff2') format('woff2'), url('../font/OpenSans.woff') format('woff'), url('../font/OpenSans.ttf') format('truetype'), url('../font/OpenSans.svg#OpenSans') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans-Bold';
    src: url('../font/OpenSans-Bold.eot');
    src: url('../font/OpenSans-Bold.eot?#iefix') format('embedded-opentype'), url('../font/OpenSans-Bold.woff2') format('woff2'), url('../font/OpenSans-Bold.woff') format('woff'), url('../font/OpenSans-Bold.ttf') format('truetype'), url('../font/OpenSans-Bold.svg#OpenSans-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans-Semibold';
    src: url('../font/OpenSans-Semibold.eot');
    src: url('../font/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'), url('../font/OpenSans-Semibold.woff2') format('woff2'), url('../font/OpenSans-Semibold.woff') format('woff'), url('../font/OpenSans-Semibold.ttf') format('truetype'), url('../font/OpenSans-Semibold.svg#OpenSans-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Istok-Bold';
    src: url('../font/Istok-Bold.eot');
    src: url('../font/Istok-Bold.eot?#iefix') format('embedded-opentype'), url('../font/Istok-Bold.svg#Istok-Bold') format('svg'), url('../font/Istok-Bold.ttf') format('truetype'), url('../font/Istok-Bold.woff') format('woff'), url('../font/Istok-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../font/Montserrat-Regular.woff2') format('woff2'), url('../font/Montserrat-Regular.woff') format('woff'), url('../font/Montserrat-Regular.ttf') format('truetype'), url('../font/Montserrat-Regular.svg') format('svg'), url('../font/Montserrat-Regular.otf') format('opentype'), url('../font/Montserrat-Regular.eot') format('embedded-opentype');
}

.css300 {
    -moz-transition: all 300ms;
    -webkit-transition: all 300ms;
    -o-transition: all 300ms;
    transition: all 300ms;
}

.css500 {
    -moz-transition: all 500ms;
    -webkit-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 500ms;
}

html {
    min-height: 100%;
    background-color: white;
}
#main-logo{
    max-width: 100px; 
    -webkit-transform: translateZ(0); 
    transform: translateZ(0); 
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
#main-logo:hover{
    transform: scale(1.1) rotate(4deg);
}
body {
    margin: 0;
}
.medisaveaccept {
    display: inline-block;
    vertical-align: middle;
    padding: 0 34px;
    font-weight: bold;
}
.medisaveaccept img{
    vertical-align: middle;
    transform: translateY(-9px);
}
.accept {
    padding: 0 10px;
    vertical-align: middle;
}
.logo-image {
    background-image: url('../images/logo.png');
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    width: 175px;
    height: 65px;
    vertical-align: bottom;
    margin: auto;
}

#container .sideimg, #container #sidetext {
    vertical-align: middle;
    width: 19px;
}

.h1 {
    margin: 0;
    font-family: 'OpenSans';
    font-weight: 400;
    font-size: 6vw;
    color: black;
    text-align: left;
    line-height: 8.5vw;
    letter-spacing: 0.25px;
}

.h4 {
    margin: 0;
    font-family: 'OpenSans';
    font-weight: 400;
    font-size: 18px;
    color: black;
    text-align: left;
}

.img {
    width: 100%;
    display: block;
}

.row {
    position: relative;
    width: 95%;
    height: 100%;
    margin: auto;
}

.halfRow {
    width: 49%;
    text-align: left;
    display: inline-block;
    vertical-align: top;
}

.txtJustify {
    font-size: 0;
    text-align: justify;
    text-justify: distribute-all-lines;
}

    .txtJustify .stretch {
        width: 100%;
        display: inline-block;
    }

.table {
    width: 100%;
    height: 100%;
    display: table;
}

    .table .table-row {
        display: table-row;
    }

    .table .table-cell {
        text-align: center;
        display: table-cell;
        vertical-align: middle;
    }

.linkHover {
    color: #4f4f4f;
    text-decoration: none;
}

    .linkHover:hover {
        color: #15b3cc;
    }

    .linkHover .font {
        font-family: 'OpenSans-Bold';
        font-size: 14px;
        text-transform: uppercase;
    }

.absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#Nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 80px;
    background-color: white;
    border-bottom: 1px solid #cccccc;
}

.onScroll #Nav {
    height: 80px;
    background-color: white;
    border-bottom: 1px solid #cccccc;
}

#Nav .txtJustify {
    width: 100%;
    height: 100%;
}

#Nav #trigger,
#Nav #navWrapper,
#Nav #logoWrapper {
    height: 100%;
    display: inline-block;
}

#Nav #logoWrapper {
    width: 41%;
}

    #Nav #logoWrapper .img {
        width: 100%;
        height: auto;
        margin: auto;
    }

.onScroll #Nav #logoWrapper .img {
    width: auto;
    height: 75%;
    max-width: none;
}

#Nav #trigger,
#Nav #navWrapper {
    width: 17%;
    min-width: 60px;
    max-width: 100px;
}

#Nav #trigger {
    cursor: pointer;
    background: white;
}

    #Nav #trigger:hover {
        background: white;
    }

#Nav #navWrapper .share {
    height: 100%;
    display: none;
    background: #15b3cc url(../images/navBg.png) center no-repeat;
}

    #Nav #navWrapper .share:hover {
        background: #48ddbf url(../images/navBg.png) center no-repeat;
    }

    #Nav #navWrapper .share .table {
        background: url(../images/share2.png) center no-repeat;
    }

#Nav #navWrapper .linkHover {
    display: none;
}

    #Nav #navWrapper .linkHover.appt {
        color: #4f4f4f;
        padding: 15px 25px;
        border-radius: 50px;
        border: 1px solid #d6d6d6;
    }

        #Nav #navWrapper .linkHover.appt img {
            margin-right: 15px;
            vertical-align: middle;
        }

        #Nav #navWrapper .linkHover.appt .font {
            vertical-align: middle;
            text-transform: capitalize;
        }

        #Nav #navWrapper .linkHover.appt:hover {
            color: white;
            background-color: #15b3cc;
        }

#form {
    position: relative;
    width: 100%;
}

    #form .img {
        opacity: 0;
        display: none;
    }

    #form .formBg {
        width: 100%;
        min-height: 375px;
        background: url(../images/home-formBg.jpg) left center no-repeat;
        background-size: cover;
    }

    #form .formWrapper {
        position: absolute;
        top: 0;
        width: 100%;
        margin: auto;
        height: 100%;
        box-sizing: border-box;
        /* background-color: rgba(60,172,173,0.6);*/
        background-color: rgba(255,255,255,0.8);
    }

        #form .formWrapper .table {
            padding: 0 5%;
            box-sizing: border-box;
        }

        #form .formWrapper .linkHover {
            margin-top: 30px;
            border-radius: 50px;
            padding: 4.55vw 7.2vw;
            display: inline-block;
            vertical-align: middle;
            font-family: 'Istok-Bold';
            color: white;
            font-size: 2.5vw;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

            #form .formWrapper .linkHover.appt,
            #form .formWrapper .linkHover.enquire {
                background-size: cover;
                background-repeat: no-repeat;
                background-position: right center;
            }

            #form .formWrapper .linkHover.appt {
                background-color: #45cece;
                background-image: url(../images/master-appt.png);
            }

            #form .formWrapper .linkHover.enquire {
                background-color: #3cacad;
                background-image: url(../images/master-enquire.png);
            }

            #form .formWrapper .linkHover.appt:hover {
                background-color: #3cacad;
            }

            #form .formWrapper .linkHover.enquire:hover {
                background-color: #45cece;
            }

#footer {
    /*padding: 35px 0;*/
    text-align: center;
}

    #footer .row {
        width: 90%;
    }

    #footer .font {
        font-family: 'OpenSans';
        font-size: 14px;
        color: black;
        line-height: 30px;
    }

    #footer .linkHover.font {
        display: inline-block;
    }




/* Footer contact*/

#footer_contact {
    position: fixed;
    _position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 60px;
    transform: translateY(100%);
    z-index: 1;
    padding: 10px 0px;
}

    #footer_contact.hover {
        transform: translateY(0);
        background-color: rgba(0, 0, 0, 0.7);
    }

.content500 {
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    padding: 0px;
    min-height: 30px;
}

#footer_contact a {
    text-decoration: none;
}

#footer_contact .home_appbtn {
    background: #45cece;
    height: 40px;
    width: 250px;
    color: #fff;
    padding: 0 20px;
    text-transform: uppercase;
    font-family: 'OpenSans-Bold';
    border-radius: 50px;
    font-size: 12px;
    line-height: 40px;
    letter-spacing: 0.5px;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    cursor: pointer;
}

    #footer_contact .home_appbtn:hover {
        background: #15b3cc;
    }

.content_50 {
    width: 50%;
    float: left;
    position: relative;
}

#footer_contact .content_10 {
    line-height: 40px;
    font-family: 'OpenSans';
}

.content_10 {
    width: 10%;
    float: left;
    position: relative;
    display: block;
}

.content_40 {
    width: 40%;
    float: left;
    position: relative;
}

#footer_contact .home_enqbtn {
    background: transparent;
    border: 1px solid #fff;
    height: 40px;
    width: 180px;
    color: #fff;
    padding: 0 20px;
    text-transform: uppercase;
    font-family: 'OpenSans-Bold';
    border-radius: 50px;
    font-size: 12px;
    line-height: 40px;
    letter-spacing: 0.5px;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    cursor: pointer;
}

    #footer_contact .home_enqbtn:hover {
        background: #15b3cc;
    }

.center {
    text-align: center;
    padding: 0px;
    margin: 0 auto;
}





@media screen and (min-width: 390px) {

    #Nav #logoWrapper .img {
        width: auto;
        height: 75%;
    }
}

@media screen and (min-width: 500px) {

    .h1 {
        font-size: 30px;
        line-height: 42px;
    }

    #form .h1,
    #form .txtJustify {
        max-width: 480px;
        margin-left: auto;
    }

    #form .formWrapper .table {
        max-width: 580px;
        margin-left: auto;
    }
}

@media screen and (min-width: 550px) {

    #form .formWrapper .linkHover {
        font-size: 14px;
        padding: 25px 40px;
    }
}

@media screen and (min-width: 1024px) {

    
    #form .formWrapper {
        background-color: transparent;
    }

        #form .formWrapper .table {
            margin: auto;
            max-width: 1280px;
        }
}

@media screen and (min-width: 1220px) {

    #Nav #navWrapper {
        padding-right: 60px;
    }
}

@media screen and (min-width: 1300px) {
    #Nav {
        height: 120px;
        border-bottom: 0;
        background-color: transparent;
    }

        #Nav #trigger {
            display: none;
        }

        #Nav #logoWrapper {
            width: 13%;
            vertical-align: middle;
        }

    #Nav #logoWrapper .img { width: auto; height: 60%; max-width: none; }

    .onScroll #Nav #logoWrapper .img { width: 100%; height: auto; max-width: 117px; }

        #Nav #navWrapper {
            width: 87%;
            height: auto;
            max-width: 1220px;
            padding-left: 20px;
            padding-right: 5%;
            box-sizing: border-box;
            vertical-align: middle;
        }

            #Nav #navWrapper .linkHover {
                display: inline-block;
                vertical-align: middle;
            }

            #Nav #navWrapper .share {
                width: 24px;
                height: 24px;
                display: inline-block;
                vertical-align: middle;
                background: transparent !important;
            }

                #Nav #navWrapper .share .table {
                    background: url(../images/share.png) center no-repeat;
                }

                #Nav #navWrapper .share:hover .table {
                    background: url(../images/share3.png) center no-repeat;
                }
}
@media screen and (min-width: 1480px) {

    .h1 {
        font-size: 2.03vw;
        line-height: 2.9vw;
    }

    .onScroll #Nav {
        height: 5.2vw;
    }

    #Nav #navWrapper {
        max-width: 85.5%;
        padding-right: 4.5%;
    }

    #form .h1,
    #form .txtJustify {
        max-width: 32.43vw;
    }

    #form .img {
        display: block;
    }

    #form .formWrapper .table {
        max-width: 87.5%;
    }

    #form .formWrapper .linkHover {
        margin-top: 2vw;
        font-size: 0.95vw;
        border-radius: 3vw;
        padding: 1.7vw 2.7vw;
    }

    /*#footer {
        padding: 2.37vw 0;
    }*/

        #footer .font {
            font-size: 0.94vw;
        }

    #footer_contact {
        height: 3.51vw;
        padding: 0.5vw 0;
    }

    .content500 {
        max-width: 32.5vw;
    }


    #footer_contact .home_appbtn {
        height: 2.6vw;
        width: 16.3vw;
        font-size: 0.78vw;
        line-height: 2.6vw;
        padding: 0 1.2vw;
        border-radius: 3.25vw;
    }

    #footer_contact .content_10 {
        font-size: 1.05vw;
        line-height: 2.6vw;
    }

    #footer_contact .home_enqbtn {
        height: 2.6vw;
        width: 12.85vw;
        font-size: 0.78vw;
        line-height: 2.6vw;
        padding: 0 1.2vw;
        border-radius: 3.25vw;
        border: 0.06vw solid white;
    }
}

@media screen and (max-width: 899px) {

    /*   #form .formBg {
        filter: grayscale(100%);
    }*/
}

@media only screen and (max-width: 767px) {
    #footer_contact .content_40 {
        width: 40%;
        float: left;
    }

    #footer_contact{
        height: 60px;
    }

        #footer_contact .home_appbtn {
            line-height: 40px;
        }

        #footer_contact .home_enqbtn {
            line-height: 40px;
        }
}


@media only screen and (max-width: 580px) {

    #footer_contact {
        height: 70px;
    }

    #footer_contact .content_10 {
        line-height: 50px;
    }

        #footer_contact .home_appbtn {
            height: 50px;
            width: 230px;
            padding: 0 20px;
            font-size: 12px;
            text-align: center;
            margin: 0 auto;
            line-height: 50px;
        }

        #footer_contact .home_enqbtn {
            height: 50px;
            width: 170px;
            font-size: 12px;
            cursor: pointer;
            text-align: center;
            line-height: 50px;
            margin: 0 auto;
        }
}

@media only screen and (max-width: 480px) {
    #footer_contact .content_50 {
        width: 52%;
        float: left;
        text-align: center;
        margin: 0 auto;
    }

    #footer_contact .content_40 {
        width: 38%;
        float: left;
        text-align: center;
        margin: 0 auto;
    }

    #footer_contact .home_appbtn {
        height: 50px;
        width: 200px;
        padding: 0 10px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    #footer_contact .home_enqbtn {
        height: 50px;
        width: 140px;
        padding: 0 10px;
        font-size: 12px;
        letter-spacing: 1px;
        cursor: pointer
    }
}

@media only screen and (max-width: 430px) {
    #footer_contact {
        height: 60px
    }

        #footer_contact .content500 {
            padding: 0 10px;
        }

        #footer_contact .content_10 {
            line-height: 40px;
        }

        #footer_contact .home_appbtn {
            height: 40px;
            width: 180px;
            padding: 0 10px;
            font-size: 12px;
            letter-spacing: 0;
            line-height: 40px;
        }

        #footer_contact .home_enqbtn {
            height: 40px;
            width: 120px;
            padding: 0 10px;
            font-size: 12px;
            letter-spacing: 0;
            cursor: pointer;
            line-height: 40px;
        }
}
