/*
 * Theme Name: Fitnessnord Guide
 * Theme URI: https://www.fitnessnord.com/
 * Description: Custom pages for Fitnessnord Guide.
 *
 * Author: Maninder Pal Singh
 * Author URI:
 */
/* Base Styles
 * -------------------------------------------------- */
.sr-only {
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

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

img {
    max-width: 100%;
}

.breadcrumbs {
    display: block;
    margin-bottom: 17px;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 15px 15px 0 !important;
    }
}

.breadcrumbs span {
    font-size: 16px !important;
}

.breadcrumbs .custom-sep {
    border-width: 5px 5px 0 !important;
}

.main {
    padding-top: 18px;
}

/* Guide
 * -------------------------------------------------- */
.fn-guide {
    font-family: FuturaStd-book;
    font-size: 16px;
    line-height: 1.7;
    padding: 0 15px 40px;
}

.fn-guide,
.fn-guide:before,
.fn-guide:after,
.fn-guide *,
.fn-guide *:before,
.fn-guide *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .fn-guide {
        padding: 0;
    }
}

.fn-guide h1,
.fn-guide h2,
.fn-guide h3,
.fn-guide h4,
.fn-guide h5,
.fn-guide h6 {
    color: #333;
}

.fn-guide h1 {
    font-family: FuturaStd-Bold !important;
    font-size: 3em;
    margin: 0 0 0.25em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .fn-guide h1 {
        font-size: 4.5em;
    }
}

.fn-guide h2 {
    font-family: FuturaStd-Medium !important;
    font-size: 2.25em;
    margin: 0 0 0.25em;
    text-transform: capitalize;
}

@media (min-width: 768px) {
    .fn-guide h2 {
        font-size: 3.75em;
    }
}

.fn-guide h3 {
    font-family: FuturaStd-Bold !important;
    font-size: 1.25em;
    line-height: 1.4;
    margin: 0 0 0.35em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .fn-guide h3 {
        font-size: 1.25em;
    }
}

@media (min-width: 992px) {
    .fn-guide h3 {
        font-size: 1.875em;
    }
}

.fn-guide h4 {
    font-family: FuturaStd-Medium !important;
    font-size: 1.5em;
    margin: 0 0 0.25em;
}

@media (min-width: 768px) {
    .fn-guide h4 {
        font-size: 2.5em;
    }
}

.fn-guide p {
    margin: 0 0 1.5em;
}

.fn-guide .page-title {
    margin: 30px 0 0;
    text-align: center;
}

.fn-guide .btn {
    font-family: FuturaStd-Bold;
    font-size: 0.9em;
    display: inline-block;
    padding: 1em 1.5em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
    background-color: #a5db00;
}

@media (min-width: 992px) {
    .fn-guide .btn {
        font-size: 0.95em;
        padding: 1em 2.5em;
    }
}

.fn-guide ul,
.fn-guide li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fn-guide ul {
    margin: 2em 0;
}

.fn-guide li {
    font-family: FuturaStd-Bold;
    font-size: 1em;
    position: relative;
    margin: 1em 0;
    padding-left: 45px;
}

.fn-guide li:before {
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    padding-top: 2px;
    content: "\2713";
    text-align: center;
    color: #fff;
    border-radius: 50%;
    background-color: #a5db00;
}

.fn-guide-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
}

@media (min-width: 768px) {
    .fn-guide-tabs {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row;
        flex-flow: row;
    }
}

.fn-guide-tab {
    position: relative;
    flex: 1;
    min-width: 0;
    margin: 15px 0;
    background-color: #fff;

    -webkit-box-flex: 1;
    -ms-flex: 1;
}

@media (min-width: 768px) {
    .fn-guide-tab {
        margin: 18px;
    }
    .fn-guide-tab:first-child {
        margin-left: 0;
    }
    .fn-guide-tab:last-child {
        margin-right: 0;
    }
}

.fn-guide-tab:hover .fn-guide-tab-img img,
.fn-guide-tab:focus .fn-guide-tab-img img {
    -webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    transform: scale(1.03);
}

.fn-guide-tab h3 {
    -webkit-hyphens: auto;
    hyphens: auto;

    -ms-hyphens: auto;
}

.fn-guide-tab-img {
    font-size: 0;
    overflow: hidden;
    text-align: center;
}

.fn-guide-tab-img a {
    display: block;
}

.fn-guide-tab-img img {
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

@media (max-width: 767px) {
    .fn-guide-tab-img img {
        width: 100%;
    }
}

.fn-guide-tab-title {
    font-family: FuturaStd-Bold;
    font-size: 1.75em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    color: #333;
}

@media (min-width: 768px) {
    .fn-guide-tab-title {
        font-size: 2.25em;
    }
}

.fn-guide-tab-title a {
    display: block;
    padding: 0.9em 10px;
    color: #333;
}

.fn-guide-tab-content {
    padding: 35px 30px 90px;
}

.fn-guide-tab-content .cta {
    position: absolute;
    bottom: 10px;
}

.fn-guide-banner {
    font-size: 0;
    margin: 15px 0;
}

.fn-guide-banner.fn-weight-loss-banner {
    font-size: 16px;
    padding: 24% 0 4%;
    text-align: center;
    background: url(../images/banner-weight-loss-guide.jpg) no-repeat 50% 0;
    background-size: cover;
}

.fn-guide-banner.fn-weight-loss-banner h1 {
    color: #fff;
}

.fn-guide-banner .btn {
    min-width: 180px;
    margin: 10px;
    padding: 1em 4em;
}

.fn-section-header {
    font-size: 20px;
    line-height: 30px;
    padding: 2em 5% 1em;
    text-align: center;
}

@media (min-width: 992px) {
    .fn-section-header {
        padding: 2em 15% 1em;
    }
}

.fn-product {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 30px 0;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
}

@media (min-width: 768px) {
    .fn-product {
        margin: 70px 0;

        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row;
        flex-flow: row;
    }
}

.fn-product > div {
    flex: 1;
    min-width: 0;
    margin: 0 0 30px;

    -webkit-box-flex: 1;
    -ms-flex: 1;
}

@media (min-width: 768px) {
    .fn-product > div {
        margin: 0 20px;
    }
    .fn-product > div:first-child {
        margin-left: 0;
    }
    .fn-product > div:last-child {
        margin-right: 0;
    }
}

.fn-product:first-child {
    margin-top: 0;
}

.fn-product:first-child > div {
    margin-top: 0;
}

@media (min-width: 768px) {
    .fn-product:nth-of-type(even) .fn-product-img {
        margin-right: 0;
        margin-left: 20px;

        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }
    .fn-product:nth-of-type(even) .fn-product-content {
        margin-right: 20px;
        margin-left: 0;
        padding: 0 1em 0 0;
    }
}

.fn-product-img {
    font-size: 0;
    overflow: hidden;
    margin-right: 20px;
    margin-left: 0;
    text-align: center;
}

.fn-product-img a {
    display: block;
}

.fn-product-img img {
    width: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.fn-product-img:hover img,
.fn-product-img:focus img {
    -webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    transform: scale(1.03);
}

.fn-product-content {
    margin-right: 0;
    margin-left: 20px;
    padding: 0 1em;
}

.fn-product-content .cta {
    margin-bottom: 0;
}

.body-type-finder h3 {
    font-size: 2.5em;
}

.finder {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 455px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

@media (min-width: 900px) {
    .finder {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row;
        flex-flow: row;
    }
}

.finder-img {
    font-size: 0;
    flex: 0 1 445px;
    background: url(../images/body-type-generic.jpg) no-repeat 50% 50%;
    background-size: cover;

    -webkit-box-flex: 0;
    -ms-flex: 0 1 445px;
}

@media (max-width: 899px) {
    .finder-img {
        flex: 1;
        height: 0;
        padding-bottom: 100%;

        -webkit-box-flex: 1;
        -ms-flex: 1;
    }
}

.finder-img.body-type-endomorph {
    background-image: url(../images/body-type-endomorph.png);
}

.finder-img.body-type-mesomorph {
    background-image: url(../images/body-type-mesomorph.png);
}

.finder-img.body-type-ectomorph {
    background-image: url(../images/body-type-ectomorph.png);
}

.finder-app {
    flex: 1;
    padding: 20px 25px;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: #fff;

    -webkit-box-flex: 1;
    -ms-flex: 1;
}

@media (min-width: 900px) {
    .finder-app {
        flex: 1 0 450px;

        -webkit-box-flex: 1;
        -ms-flex: 1 0 450px;
    }
}

.finder-app label {
    font-family: FuturaStd-book;
    font-size: 18px;
    display: block;
    margin: 10px 0;
    padding: 10px 20px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: #585858;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #fafafa;
}

.finder-app label.checked {
    color: #333;
    border: 1px solid #a5db00;
}

.finder-app input[type="radio"] {
    margin-right: 12px;
}

.finder-app input[type="submit"],
.finder-app .cta a {
    min-width: 170px;
    margin-top: 20px;
    cursor: pointer;
    text-align: center;
}

.finder-slide.result {
    padding: 20px 1em 0 1em;
}

.finder-slide.result h3 {
    font-size: 28px;
}

@media (min-width: 768px) {
    .finder-slide.result {
        padding: 40px 6em 0 3em;
    }
    .finder-slide.result h3 {
        font-size: 37px;
    }
}

.finder-slide-counter {
    margin-bottom: 10px;
    text-align: right;
}

.finder-slide-counter span {
    font-family: FuturaStd-Bold;
    font-size: 12px;
    display: inline-block;
    padding: 2px 10px 1px;
    color: #333;
    border-radius: 12px;
    background: #f0f0f0;
}

.finder-slide-title {
    font-family: FuturaStd-Bold;
    font-size: 22px;
    line-height: 1.5;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 25px;
    text-transform: uppercase;

    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.finder-slide-title span {
    font-size: 18px;
    line-height: 40px;
    display: inline-block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: -6px 20px 0 0;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    background: #a5db00;

    -webkit-box-flex: 0;
    -ms-flex: 0 0 40px;
}

@media (min-width: 768px) {
    .finder-slide-title span {
        font-size: 22px;
        line-height: 50px;
        flex: 0 0 50px;
        width: 50px;
        height: 50px;

        -webkit-box-flex: 0;
        -ms-flex: 0 0 50px;
    }
}