* {
    padding: 0;
    margin: 0;
}

body {
    color: #666;
    font-family: "museo-sans", Arial, Helvetica, sans-serif;
    background-image: url(../images/bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed; 
}

.nowrap {
    white-space: nowrap;
}

.text-centered {
    text-align: center;
}


/* ---------------------------------------------------------------------------------- grid */

.row {
    max-width: 1200px;
    margin: 0 auto;
}

.col {
    float: left;
}

.col-third {
    width: 31.083333333333336%;
    margin-right: 3.3333333333333335%
}

.col-third:last-child {
    margin-right: 0
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

a {
    text-decoration: none;
}

header {
    padding: 0 7.142857142857142%;
    min-height: 778px;
}

h1 {
    width: 251px;
    height: 100px;
    background-image: url(../images/medifit_logo.svg);
    background-repeat: no-repeat;
    text-indent: -999em;
    margin: 0 auto 60px auto;
}

header h2 {
    color: #333f57;
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 20px;
}

header h3 {
    color: #7cb683;
    font-size: 27px;
    font-weight: 300;
    margin-bottom: 20px;
}

header h3 strong {
    font-weight: 900;
}

.video-link {
    background-image: url(../images/icon_video.png);
    background-repeat: no-repeat;
    padding: 2px 0 8px 40px;
    color: #333f57;
    font-size: 15px;
    font-weight: 700;
}

#benefits {
    background-image: url(../images/benefits.png);
    background-repeat: no-repeat;
    width: 753px;
    height: 753px;
    margin: -376px auto 50px auto;
} 

/* ---------------------------------------------------------------------------------- features */

section#features {
    padding: 50px 7.142857142857142% 0 7.142857142857142%;
    background-color: #fff;
}

section#features h2 {
    color: #7cb683;
    font-size: 30px;
    font-weight: 700;
    border-top: 8px solid #eff3f5;
    padding: 30px 0;
}

section#features p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    padding-bottom: 30px;
}

/* ---------------------------------------------------------------------------------- testimonials */

section#testimonials {
    padding: 60px 7.142857142857142%;
    background-color: #333f57;
    color: #fff;
    text-align: center;
}

section#testimonials h2 {
    font-size: 50px;
    margin: 0 auto;
    padding-bottom: 40px;
    font-weight: 700;
    max-width: 940px;
}

section#testimonials p {
    font-size: 20px;
    line-height: 1.5em;
    font-weight: 300;
}

section#testimonials p strong {
    font-weight: 700;
}

/* ---------------------------------------------------------------------------------- gallery */

#gallery-container {
    background-color: #fafafa;
}

section#gallery {
    background-color: #fafafa;
    max-width: 1400px;
    margin: 0 auto;

}


section#gallery img {
    width: 100%;
    max-height: 658px;
}

/* ------------------------------------------ gallery-mobile */

section#gallery-mobile {
    background-color: #fafafa;
    max-width: 1400px;
    margin: 0 auto;
    display: none;
}

section#gallery-mobile img {
    width: 100%;
    max-height: 658px;
}




.cycle-pager { 
    text-align: center;
    width: 100%;
    z-index: 500;
    position: absolute;
    top: 5px;
    overflow: hidden;
    z-index: 9999;
}
 
.cycle-pager span { 
    font-family: arial;
    font-size: 35px;
    width: 12px;
    height: 12px;
    display: inline-block;
    color: #ddd;
    cursor: pointer; 
}

.cycle-pager span.cycle-pager-active {
    color: #333f57;
}

.cycle-pager > * {
    cursor: pointer;
    margin-right: 10px;
}


/* ---------------------------------------------------------------------------------- guarantee */

section#guarantee {
    padding: 60px 7.142857142857142%;
    background-color: #7cb683;
    color: #fff;
    text-align: center;
}

section#guarantee h2 {
    font-size: 50px;
    margin: 0 auto;
    font-weight: 700;
    max-width: 940px;
}



footer { 
    background-color: #fff;
    padding: 70px 7.142857142857142%;
}

footer h2 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5em;
}

footer p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5em;
    margin-bottom: 1em;
}


footer p a {
    color: #666;
    font-weight: 700;
}

#credit-tonic a {
    width: 165px;
    height: 19px;
    background-image: url(../images/logo_tonic.png);
    background-repeat: no-repeat;
    text-indent: -999em;
    float: right;
}

@media all and (max-width: 1258px) {
    body {
        background-image: url(../images/bg_1258.jpg);
        background-position: right top;
    }
    
    #benefits {
        width: 700px;
        height: 700px;
        background-size: contain;
        margin: -386px auto 50px auto;
    } 

    h1 {
        width: 234px;
        height: 93px;
        background-size: contain;
    }
    
    header h2 {
        font-size: 54px;
    }
    
    header h3 {
        font-size: 24px;
    }

}

@media all and (max-width: 1150px) {
    
    header h2 {
        font-size: 50px;
    }
    
    header h3 {
        font-size: 22px;
    }

}




@media all and (max-width: 1098px) {
    body {
        background-image: url(../images/bg_1098.jpg);
    }

    h1 {
        margin-bottom: 50px;
    }

    #benefits {
        margin: -424px auto 50px auto;
    }
    
    header h2 {
        font-size: 45px;
        margin-bottom: 10px;
    }
    
    header h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

}

@media all and (max-width: 1060px) {
    
    body {
        background-image: url(../images/bg_1060.jpg);
    }
    
    #benefits {
        width: 650px;
        height: 650px;
        margin: -448px auto 50px auto;
    } 

    h1 {
        width: 216px;
        height: 86px;
        margin-bottom: 35px;
    }

}


@media all and (max-width: 1000px) {
    
    body {
        background-image: url(../images/bg_1000.jpg);
        background-position: center 320px;
        background-attachment: scroll;
    }
    
    #benefits {
        width: 650px;
        height: 650px;
        margin: 219px auto 0 auto;
    } 
    
    header h2 {
        text-align: center;
    }
    
    header h3 {
        text-align: center;
    }
    
    .video-link {
        display: block;
        margin: 0 auto;
        width: 274px;
    }

}

@media all and (max-width: 877px) {
    .col-third {
        width: 100%;
        margin-right: 0%
    }

    #features {
        text-align: center;
    }
    
    section#testimonials h2 {
        font-size: 40px;
    }
    
    section#guarantee h2 {
        font-size: 40px;
    }

    footer {
        text-align: center;
        padding: 30px 7.142857142857142%;
    }
    
    footer .col-third {
        margin-bottom: 30px;
    }
    
    #credit-tonic a {
        display: block;
       float: none;
       margin: 0 auto;
    }

}

@media all and (max-width: 766px) {
    
    body {
        background-position: center 320px;
        background-size: 800px;
    }    

    header h2 br {
        display: none;
    }
    
    #benefits {
        background-image: url(../images/benefits_stacked.png);
        width: 280px;
        height: 947px;
        margin: 90px auto 0 auto;
    }

    .video-link {
        width: 240px;
    }

    #gallery {
        display: none;
    }
    
    section#gallery-mobile {
        display: block;
    }

}

@media all and (max-width: 598px) {
    
    body {
        background-position: center 366px;
    }    
    
    #benefits {
        margin: 140px auto 0 auto;
    }

}


@media all and (max-width: 550px) {

    header h3 {
        max-width: 280px;
        margin: 0 auto 10px auto;
    }
    
    body {
        background-position: center 396px;
    }    
    
    #benefits {
        margin: 170px auto 0 auto;
    }

}

@media all and (max-width: 389px) {

    h1 {
        width: 180px;
        height: 71px;
        margin-bottom: 20px;
    }

    header h2 {
        font-size: 25px;
    }

    header h3 {
        margin-bottom: 5px;
    }
    
    body {
        background-position: center 280px;
        background-size: 600px;
    }    
    
    #benefits {
        margin: -95px auto 0 auto;
    }

}
