/* ==========================================================================
   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
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

.body {
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: normal;
    font-weight: 400;
    font-style: normal;
    color: #000;
    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: 15px;
        padding-right: 15px;
    }
}

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

.header {
    margin: 0 auto;
    width: 100%;
    background-color: #000;
    color: #fff;
    border-bottom: 1px solid #333;
}

.header__wrapper {
    padding-top: 12px;
    padding-bottom: 3px;
    max-width: 1366px
}

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

.header__logo {
    display: block;
    width: 182px;
    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;
}

.body--Gecko .header__logo,
.body--IE .header__logo {
    flex-grow: 2;
    position: absolute;
    top: 35px;
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .header__wrapper {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .header__logo {
        width: 142px;
        height: 27px;
        margin: auto;
    }
}

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

.body--header-fixed-on-scroll .body__content {
    padding-top: 61px /* (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: 666666;
}
.body--Gecko.body--header-fixed-on-scroll .header,
.body--IE.body--header-fixed-on-scroll .header {
    height: 91px;
}

.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: #ababa9;
    background-color: #000;
    border-bottom: 6px solid #0D8390;
}

.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;
    background-size: auto 100%;
    background-position: right center;
    justify-content: space-between;
}

.banner__image--container {
    width: 330px;
    height: 274px;
    order: 2;
    position: relative;
}

.banner__gradient {
    background: rgb(0,0,0);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 100%),
                radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,.5) 100%);
}

.banner__image {
    margin-right: 12px;
    width: 100%;
    height: 274px;
    display: block;
    background-position: right center;
    background-size: cover;
}

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

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

.banner__text__subtitle {
    text-transform: none;
    font-size: 24px;
    color: #ababa9;
    margin-bottom: 10px;
    font-weight: 400;
}
.banner__text__subtitle--2 {
    font-weight: 300;
    color: #707377;
}
.banner__text__paragraph {
    color: #ababa9;
    font-size: 18px;
    line-height: 1.7;
}
.banner__text {
    max-width: calc(100% - 500px);
    order: 1;
}

/* Media query to target mobile and tablet */
@media all and (max-width:1024px) {
    .banner__text__subtitle {
        margin-bottom: 4px;
        font-size: 12px;
        font-weight: 700;
    }
    .banner__text {
        max-width: 100% !important;
    }

}

/* Media query to target only mobile */
@media all and (max-width:750px) {
    .body--header-fixed-on-scroll .body__content {
        padding-top: 76px;
    }
    .banner--main {
        height: auto;
    }

    .banner__text__title {
        font-size: 28px;
    }
    .banner__wrapper {
        background-size: auto 94px;
        background-position: top center;
        padding-top: 0;
        padding-bottom: 25px;
        background-position: top center !important;
        flex-direction: column;
    }
    .banner--main {
        min-height: 168px;
    }

    .banner__text__title {
        font-size: 24px;
    }

    .banner__text__subtitle {
        font-size: 24px;
        font-weight: 300;
    }
    .banner__text__paragraph {
        font-size: 14px;
    }
    .banner__image--container {
        width: 100%;
        height: 150px;
        order: 1;
        position: relative;
        margin-bottom: 20px
    }
    .banner__image {
        margin-right: 0;
        height: 150px;
        display: block;
        background-position: center center;
        background-size: cover;
    }
}

/* Media query to target tablet and desktop */
@media all and (min-width:751px) {
    .banner--main {
        height: 280px;
    }

    .banner__text__title {
        line-height: normal;
        font-weight: 300;
        color: #fff;
        font-size: 30px;
    }

}

/* 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: #e8eae9;
    color: #000;
}

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

@media all and (max-width: 750px) {
    .main__wrapper {
        padding-top: 16px;
        padding-bottom: 16px !important;
    }
}

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

.extra__footer {
    background-color: #d0d0ce;
    padding-top: 48px;
    padding-bottom: 48px;
    text-align: center;
    font-size: 12px;
}
.extra__footer__menu--item {
    display: inline-block;
    line-height: 2
}
.extra__footer__menu--item:after {
    padding-left: 8px;
    padding-right: 8px;
    content: '|';
    display: inline-block;
}
.extra__footer__menu--item:last-child:after {
    display: none;
}
.extra__footer__menu--item-link {
    color: #333;
    border-bottom: 1px solid transparent
}
.extra__footer__menu--item-link:hover {
    color: #333;
    border-bottom: 1px solid #333;
}

.footer {
    background-color: #d0d0ce;
    padding-top: 48px;
    padding-bottom: 48px;
    text-align: center;
    font-size: 12px;
}

.footer .paragraph {
    margin-bottom: 15px;
}

.footer .link {
    color: #000;
    font-weight: 600;
}

.footer__social {
    font-size: 16px;
    margin-top: 20px
}

.footer__social__item {
    display: inline-block;
    margin-right: 10px
}

.footer__social .footer__social__item__link {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: relative;
    background-color: #d0d0ce;
}
.footer__social .footer__social__item__link:hover {
    background-color: #0076a8
}
.footer__social .footer__social__item__link i {
    position: absolute;
    left: 5px;
    top: 3px;
    color: #fff;
}
.footer__social .footer__social__item__link i.fa-glassdoor {
    background-image: url(../images/glassdoor.svg);
    display: block;
    width: 25px;
    height: 23px;
    position: absolute;
    left: 0;
    top: 0;
    background-size: 100%;
}

.footer__social .footer__social__item__link--facebook i {left: 8px; top: 4px;}
.footer__social .footer__social__item__link--twitter i {left: 5px; top: 4px;}
.footer__social .footer__social__item__link--instagram i {top: 3px;}

.footer__social .footer__social__item__link--facebook:hover {background-color: #3b5998;}
.footer__social .footer__social__item__link--twitter:hover {background-color: #00aced;}
.footer__social .footer__social__item__link--linkedin:hover {background-color: #007bb6;}
.footer__social .footer__social__item__link--youtube:hover {background-color: #b00;}
.footer__social .footer__social__item__link--glassdoor:hover {background-color: #60aa27;}
.footer__social .footer__social__item__link--instagram:hover {background-color: #000;}

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

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

    .extra__footer__menu--item:after {
        padding-left: 5px;
        padding-right: 5px;
    }

}

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

}

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

    .footer__rights {
        float: left;
    }

    .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--Gecko,
.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;
}
