/* ==========================================================================
   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: 'Helvetica Neue';
    font-style: normal;
    font-weight: 300;
    src: local('Helvetica Neue'), local('Helvetica-Neue'),
    url('../fonts/HelveticaNeueLTW05-55Roman.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/HelveticaNeueLTW05-55Roman.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* DOCUMENT
   ========================================================================== */
.body {
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    font-family: "Helvetica Neue";
    font-size: 18px;
    line-height: normal;
    font-weight: 400;
    font-style: normal;
    color: #333333; /* var(--color--text--1) */
    overflow-x: hidden;
}

[class*="__wrapper"] {
    margin: 0 auto;
    width: 100%;
    max-width: 1250px;
}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    [class*="__wrapper"] {
        padding-right: 16px; /* var(--main__wrapper--padding-right--mobile) */
        padding-left: 16px; /* var(--main__wrapper--padding-left--mobile) */

    }

}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    [class*="__wrapper"] {
        padding-right: 32px; /* var(--main__wrapper--padding-right--tablet-and-desktop) */
        padding-left: 32px; /* var(--main__wrapper--padding-left--tablet-and-desktop) */
    }

}

/* HEADER
   ========================================================================== */
.header {
    margin: 0 auto;
    width: 100%;
    color: #333333; /* var(--color--text--1) */
    background-image: linear-gradient(to left, #d8e4f1, #f2f5fa);
}

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

}

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

}

.header__logo {
    display: block;
    float: left;
    width: 208px;
    height: 53px;
    margin: 15px 0 15px 0;
    background-image: url('../images/logo--default.png');
    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: 9;
}

.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-color: #E8E8E8; /* var(--color--brandeable--3) */
    color: #FFFFFF; /* var(--color--text--1) */
}

.banner--main {
    background-image: url('../images/banner--main.jpg');
    background-size: cover;
    background-position: center;
    height: 411px;
}

.body--dashboard .banner--main,
.body--search-jobs .banner--main {
    background-image: linear-gradient(to top, #466ea5, #282a32);
    background-size: cover;
    background-position: center;
    height: 196px;
}

.body--dashboard .banner--main {
    height: 264px;
}

.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;
    height: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
}

.banner__image {
    margin-right: 12px;
}

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

.banner__text {
    width: 100%;
    text-align: left;
}

.body--dashboard .banner__text,
.body--search-jobs .banner__text {
    text-align: center;
}

.banner__text__title {
    text-transform: capitalize;
    font-size: 36px;
    font-weight: bold;
}
.body--dashboard .banner__text__title,
.body--search-jobs .banner__text__title {
    font-weight: 700;
    text-transform: uppercase;
}

.banner__text__subtitle {
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 10px;
}

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

    .banner__text__subtitle {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
    }

    .body--dashboard .banner__text,
    .body--search-jobs .banner__text {
        text-align: left;
    }

}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .banner--main {
        background-image: url('../images/banner--main.jpg');
        height: 240px;
        min-height: 70px;
        -webkit-background-size: cover;
        background-size: cover;
  }

    .banner__text__title {
        font-size: 28px;
        line-height: 1.14;
    }

}

/* 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 {
        background-image: url('../images/banner--main.jpg');
        height: 274px;
        -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__image {
        width: 68px;
    }

    .banner__text__title {
        font-size: 48px;
        line-height: 1.13;
    }

    .banner__text__subtitle {
        font-size: 18px;
        line-height: 1.5;
    }

}

/* 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: 8;
        /* 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--scrolling .banner__wrapper {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .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 {
        font-size: 12px;
    }

}

/* MAIN
   ========================================================================== */
.main {
    margin: 0 auto;
    width: 100%;
    background-color: #FFFFFF;
    color: #333333; /* var(--color--text--1) */
}

.main__wrapper {
    height: 100%;
}

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

}

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

}

/* FOOTER
   ========================================================================== */
.footer {
    margin: 0 auto;
    margin-top: 20px;
    width: 100%;
    background-color: #282a32;
    color: #FFFFFF;
    font-size: 18px;
    line-height: 150%;
    font-weight: 700;
}

.footer__rights--list-item .link {
    color: inherit;
    padding-right: 8px;
    padding-left: 8px;
    font-weight: 500;
}

.footer__rights--list-item:last-child .link {
    border-right: none;
}

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

.footer__sponsor--logo {
    height: 36px;
}

.footer__rrss--img {
    width: 32px;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__rights {
    text-align: center;
    flex-grow: 1;
}

.footer__rrss,
.footer__rrss--list,
.footer__rights--list {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__rrss .footer__rrss--list__item:first-child {
    padding-right: 8px;
    padding-left: 8px
}

.footer .footer__rrss--list__item {
    padding-right: 8px;
    font-size: 14px;
}

.footer__rights--list {
    margin-top: 5px;
    flex-wrap: wrap;
}

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

    .footer__content {
        flex-wrap: wrap;
    }

    .footer__sponsor {
        order: 2;
        text-align: left;
        width: 50%;
    }

    .footer__rights {
        width: 100%;
        order: 1;
        border-bottom: solid 1px #FFFFFF;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .footer__rrss {
        order: 3;
        flex-wrap: wrap;
        width: 50%;
    }

}

/* 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: 8px;
    }

}

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

    .footer__langs {
        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;
}
