/* ==========================================================================
   03_GENERALS: SITE
   --------------------------------------------------------------------------
   * README

   * DOCUMENT
   * HEADER
   * HEADER FIXED ON SCROLL
   * BANNER
   * BANNER FIXED ON SCROLL
   * MAIN
   * FOOTER
   * FOOTER STICKY
   ========================================================================== */

/* README
   ========================================================================== */

/*!
 * Styles on this stylesheet are the Site default styles.
 * That means they apply to the HTML components you can find in the
 * BaseTemplate.nopage file, and therefore, they apply to all site pages.

 * If you need to deal with an exception to these Site default styles, you
 * should manage it by adding a .body--modifier class via
 * {% block extraBodyClass %}{% endblock %} in the .page file that requires it,
 * and develop the given exception nested to that body modifier class in
 * stylesheet #17 under the corresponding page subtitle.

 * If you need to deal with styles for a new type of Site component or a new
 * sub-element for an existing one, you should develop them in this stylesheet,
 * under a new component subtitle or under the correspondent one accordingly.
 */


/* DOCUMENT
   ========================================================================== */

.body {
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: normal;
    font-weight: 400;
    font-style: normal;
    color: #333333;
    overflow-x: hidden;
}

[class*="__wrapper"] {
    margin: 0 auto;
    width: 100%;
    max-width: 1148px;
    height: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    [class*="__wrapper"] {
        /*
        padding-left: 32px;
        padding-right: 32px;
        */
    }
}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    [class*="__wrapper"] {
        padding-left: 24px;
        padding-right: 24px;
    }

}

/* HEADER
   ========================================================================== */

.header {
    margin: 0 auto;
    width: 100%;
    background-color: #FFFFFF;
    color: #333333;
}

.header__wrapper {
    padding-top: 12px;
    padding-bottom: 12px;
}

.header__logo {
    display: block;
    float: left;
    width: 141px;
    height: 36px;
    background-image: url('../images/logo--default.svg');
    background-position: left center;
    -webkit-background-size: contain;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
}


/*  HEADER FIXED ON SCROLL
   ========================================================================== */

.body--header-fixed-on-scroll .body__content {
    /* padding-top: (the .header height value will be set as part of this element inline padding-top via JS) */
}

.body--header-fixed-on-scroll .header {
    position: fixed;
    top: 0;
    z-index: 5;
}

.body--header-fixed-on-scroll .header--scrolling {
    -webkit-box-shadow: 0 0 12px 0 rgba(91, 91, 91, .3);
    box-shadow: 0 0 12px 0 rgba(91, 91, 91, .3);
}


/* BANNER: MAIN
   ========================================================================== */

.banner {
    margin: 0 auto;
    width: 100%;
    background-position: center top;
    color: #FFFFFF;
}

.banner__wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.banner__image {
    margin-right: 12px;
}

.banner__image img {
    display: block;
    border-radius: 100%;
    border: 2px solid #FFFFFF;
}

.banner__text__title {
    font-weight: 400;
    text-transform: capitalize;
    line-height: 100%;
}

.banner__text__subtitle {
    text-transform: uppercase;
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .banner__image {
        width: 46px;
    }

    .banner__text__subtitle {
        margin-bottom: 4px;
        font-size: 12px;
        font-weight: 700;
    }

}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .banner--main {
        height: auto;
        min-height: 85px;
        background-image: url('../images/banner--main-small.png');
        background-position: center bottom;
        -webkit-background-size: cover;
        background-size: cover;
    }

    .banner__wrapper {
        padding-top: 20px;
        padding-bottom: 25px;
    }

    .banner__text__title {
        font-size: 28px;
    }

}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .banner__text__title br {
        display: none;
    }

}

/* Media query to target only tablet */
@media all and (min-width:751px) and (max-width:1024px) {
    .banner--main {
        height: 95px;
        background-image: url('../images/banner--main-medium.png');
        background-position: left top;
        -webkit-background-size: 100% 95px;
        background-size: 100% 95px;
    }

    .banner__text__title {
        font-size: 34px;
    }

}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .banner--main {
        height: 140px;
        background-image: url('../images/banner--misc-left.png'), url('../images/banner--misc-right.png'), url('../images/banner--main-large.png');
        background-position: left top, right top, left top;
        -webkit-background-size: contain, contain, 100% 140px;
        background-size: contain, contain, 100% 140px;
    }

    .banner__image {
        width: 68px;
    }

    .banner__text__title {
        font-size: 36px;
    }

}


/* BANNER FIXED ON SCROLL
   ========================================================================== */

/* --------------------------------------------------------------------------
   To be used only in combination with .body--header-fixed-on-scroll
   -------------------------------------------------------------------------- */

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .body--banner-fixed-on-scroll .body__content {
        /* padding-top: (the .banner height value will be set as part of this element inline padding-top via JS) */
    }

    .body--banner-fixed-on-scroll .banner--main {
        position: fixed;
        /* top: (the .header height value will be set as this element inline top via JS) */
        z-index: 4;
        /* max-height: (this element height will be overrided with a scroll-changing inline max-height set via JS) */
    }

    .body--banner-fixed-on-scroll .banner--main .banner__image {
        -webkit-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .body--banner-fixed-on-scroll .banner--main.banner--scrolling .banner__image {
        width: 46px;
    }

    .body--banner-fixed-on-scroll .banner--main .banner__text__title {
        -webkit-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .body--banner-fixed-on-scroll .banner--main.banner--scrolling .banner__text__title {
        font-size: 28px;
    }

    .body--banner-fixed-on-scroll .banner--main .banner__text__subtitle {
        -webkit-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .body--banner-fixed-on-scroll .banner--main.banner--scrolling .banner__text__subtitle {
        margin-bottom: 4px;
        font-size: 12px;
    }

}


/* MAIN
   ========================================================================== */

.main {
    margin: 0 auto;
    width: 100%;
    background-color: #FFFFFF;
    color: #333333;
}

.main__wrapper {
    padding-top: 32px;
    padding-bottom: 32px;
}


/* FOOTER
   ========================================================================== */

.footer {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #8F98A7; /* var(--color--borders) */
    margin: 0 auto;
    width: 100%;
    background-color: #FFFFFF;
    color: #8F98A7; /* var(--color--borders) */
    font-size: 12px;
    line-height: 150%;
}

.footer .link {
    color: inherit;
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .footer {
        text-align: center;
    }
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .footer__wrapper {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .footer__rights .footer__rights__copy {
        display: block;
        margin-bottom: 10px;
    }

    .footer__rights .footer__rights__links {
        display: block;
    }

}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .footer__wrapper {
        padding-top: 28px;
        padding-bottom: 28px;
    }

}


/* FOOTER STICKY
   ========================================================================== */

.body--footer-sticky .body__content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
}

.body--footer-sticky.body--IE {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.body--footer-sticky .main {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.body--footer-sticky .footer {
    flex-shrink: 0;
}
