/* ==========================================================================
   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.
 */

/* FONT DEFINITION */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/OpenSans/OpenSans-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/OpenSans/OpenSans-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/OpenSans/OpenSans-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/OpenSans/OpenSans-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/OpenSans/OpenSans-300-Italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/OpenSans/OpenSans-400-Italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 600;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/OpenSans/OpenSans-600-Italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('../fonts/OpenSans/OpenSans-700-Italic.woff2') format('woff2');
}

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

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

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

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

.header {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    min-height: 60px;
    background-color: rgba(255,255,255,0.95);
    color: #666666;
}

.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 .header {
    position: fixed;
    top: 0;
    z-index: 5;
    min-height: 60px;
}

.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: #666666;
    background-color: #E8E8E8;
}

.banner--main {
    min-height: 350px;
    background-image: url('../images/banner--main-large.jpg');
    background-position: center top;
    -webkit-background-size: cover;
    background-size: cover;
}

.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__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 {
        min-height: 470px;
        background-image: url('../images/banner--main-large.jpg');
        -webkit-background-size: cover;
        background-size: cover;
    }

    .banner__text__title {
        font-size: 34px;
    }

}

/* Media query to target only desktop */
@media all and (min-width:1025px) {
    .banner--main {
        min-height: 665px;
        background-image: url('../images/banner--main-large.jpg');
        -webkit-background-size: cover;
        background-size: cover;
    }

    .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 .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%;
    color: #666666;
}

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

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

.footer {
    margin: 0 auto;
    border-top: 9px solid #F7F7F7;
    width: 100%;
    color: #5d5f5f;
    font-size: 14px;
    line-height: 1.5em;
    text-align: left;
}

.footer__wrapper {
    max-width: 1200px !important;
    padding-top: 40px;
    padding-bottom: 28px;
    padding-left: 48px;
    padding-right: 48px;
}

.footer .link {
    color: inherit;
}

.footer__langs .link + .link {
    margin-left: 15px;
}

.footer .link {
    color: inherit;
}

.footer__logo {
    margin-bottom: 15px;
}

.footer__logo img {
    width: 100%;
    max-width: 397px;
}

.footer__social .footer__social__item {
    margin:0 2px;
    display: inline-block;
}

.footer__social__item.footer__social__item--title {
    margin-left: 0;
}

.footer__social .footer__social__item--title span {
    display: inline-block;
    vertical-align: middle;
    height: 25px;
    padding: 0px 60px 0px 10px;
    background-color: #003299;
    font-size: 14px;
    line-height: 25px;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
}

.footer__social .footer__social__item--title img {
    vertical-align: text-top;
    line-height: 0;
}

.footer__bottom {
    clear: both;
    margin-top: 20px;
    padding-top: 20px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #d9d9d9;
    font-size: 14px;
    line-height: 22.652px;
}

.footer__info .link,
.footer__info .link:visited,
.footer__info .link:hover,
.footer__info .link:focus {
    font-size: 14px;
    color: #5d5f5f;
    font-weight: 400;
    text-decoration: none;
}

.footer__rights {
    float: left;
}
.footer__rights__copy {
    color: #5d5f5f;
}

.footer__bottom__links {
    float: right;
    width: 70%;
    max-width: 560px;
}

.footer__bottom__links .footer__bottom-item {
    float: left;
}

.footer__bottom__links .footer__bottom-item + .footer__bottom-item {
    padding-left: 35px;
}

.footer__bottom__links a,
.footer__bottom__links a:visited {
    display: block;
    margin-bottom: 5px;
    color: #191919;
    text-decoration: none;
}

.footer__bottom__links a:hover,
.footer__bottom__links a:focus {
    color: #003299;
    text-decoration: none;
}

.footer__bottom-title {
    margin-bottom: 10px;
    font-weight: 700;
    color: #328dd2;
}

/* Media query to target mobile and tablet */

@media all and (max-width:1200px) {
    .footer__wrapper {
        padding-left: 72px;
        padding-right: 72px;
    }
}

@media all and (max-width:1024px) {
    .footer__wrapper {
        padding-left: 24px;
        padding-right: 24px;
    }

    .body--search-jobs .footer__wrapper {
        padding-left: 48px;
        padding-right: 48px;
    }

    .footer__rights .footer__rights__links {
        display: none;
    }
}

/* Media query to target only mobile */

@media all and (max-width:960px) {
    .footer__info,
    .footer__social,
    .footer__rights,
    .footer__bottom__links {
        float: none;
        clear: both;
    }

    .footer__info,
    .footer__rights {
        margin-bottom: 30px;
    }

    .footer__bottom__links {
        width: 100%;
        max-width: 100%;
    }

}

@media all and (max-width:750px) {
    .footer__wrapper {
        padding-top: 40px;
        padding-bottom: 15px;
    }

    .body--search-jobs .footer__wrapper {
        padding-left: 24px;
        padding-right: 24px;
    }

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

    .footer__info,
    .footer__social {
        float: none;
        clear: both;
    }

    .footer__info {
        margin-bottom: 15px;
    }

}

@media all and (max-width:600px) {
    .footer__bottom__links .footer__bottom-item {
        margin-bottom: 20px;
        width: 50%;
    }
     .footer__bottom__links .footer__bottom-item + .footer__bottom-item {
        padding-left: 0;
    }
}

@media all and (max-width:400px) {
    .footer__social .footer__social__item--title span {
        display: block;
        margin-bottom: 4px;
        padding: 0px 5px 0px 5px;
        font-size: 12px;
    }

    .footer__social .footer__social__item {
        margin: 0;
    }

}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {

    .footer__info {
        float: left;
    }

    .footer__social {
        float: right;
    }
}

/* 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;
    min-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;
}
