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

   * DOCUMENT
   * HEADER
   * BANNER
   * MAIN
   * FOOTER

   ========================================================================== */

/* 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,
 * separating them in Structure, Behaviour or Appearance styles as appropriate.
 */

/* FONTS
   ========================================================================== */
   @font-face {
    font-family: 'Bower';
    src: url('../fonts/Bower/Bower-Bold.eot');
    src: url('../fonts/Bower/Bower-Bold.eot?#iefix') format('embedded-opentype'),
            url('../fonts/Bower/Bower-Bold.woff2') format('woff2'),
            url('../fonts/Bower/Bower-Bold.woff') format('woff'),
            url('../fonts/Bower/Bower-Bold.otf') format('truetype'),
            url('../fonts/Bower/Bower-Bold.svg') format('svg');
    font-weight:600;
    font-style: normal;
}

@font-face {
    font-family: 'LarishMcKinsey';
    src: url('../fonts/LarishMcKinseyRegular.eot');
    src: url('../fonts/LarishMcKinseyRegular.eot?#iefix') format('embedded-opentype'),
            url('../fonts/LarishMcKinseyRegular.woff2') format('woff2'),
            url('../fonts/LarishMcKinseyRegular.woff') format('woff'),
            url('../fonts/LarishMcKinseyRegular.ttf') format('truetype'),
            url('../fonts/LarishMcKinseyRegular.svg') format('svg');
    font-weight:400;
    font-style: normal;
}

@font-face {
    font-family: 'LarishMcKinsey';
    src: url('../fonts/LarishMcKinseyRegularSemibold.eot');
    src: url('../fonts/LarishMcKinseyRegularSemibold.eot?#iefix') format('embedded-opentype'),
            url('../fonts/LarishMcKinseyRegularSemibold.woff2') format('woff2'),
            url('../fonts/LarishMcKinseyRegularSemibold.woff') format('woff'),
            url('../fonts/LarishMcKinseyRegularSemibold.ttf') format('truetype'),
            url('../fonts/LarishMcKinseyRegularSemibold.svg') format('svg');
    font-weight:600;
    font-style: normal;
}

@font-face {
    font-family: 'Theinhard';
    src: url('../fonts/Theinhardt-Light.otf') format('opentype'),
    url('../fonts/Theinhardt-Light.ttf') format('truetype');
    font-weight:300;
    font-style: normal;
}

@font-face {
    font-family: 'Theinhard';
    src: url('../fonts/Theinhardt-LightItalic.otf') format('opentype'),
    url('../fonts/Theinhardt-LightItalic.ttf') format('truetype');
    font-weight:300;
    font-style: italic;
}

@font-face {
    font-family: 'Theinhard';
    src: url('../fonts/Theinhardt-Regular.otf') format('opentype'),
    url('../fonts/Theinhardt-Regular.ttf') format('truetype');
    font-weight:400;
    font-style: normal;
}

@font-face {
    font-family: 'Theinhard';
    src: url('../fonts/Theinhardt-Italic.otf') format('opentype'),
    url('../fonts/Theinhardt-Italic.ttf') format('truetype');
    font-weight:400;
    font-style: italic;
}

@font-face {
    font-family: 'Theinhard';
    src: url('../fonts/Theinhardt-Medium.otf') format('opentype'),
    url('../fonts/Theinhardt-Medium.ttf') format('truetype');
    font-weight:600;
    font-style: normal;
}

@font-face {
    font-family: 'Theinhard';
    src: url('../fonts/Theinhardt-MediumItalic.otf') format('opentype'),
    url('../fonts/Theinhardt-MediumItalic.ttf') format('truetype');
    font-weight:600;
    font-style: italic;
}
/* DOCUMENT
   ========================================================================== */

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

/* Behaviour
   -------------------------------------------------------------------------- */
.body {
    overflow-x: hidden;
}

/* Appearance
   -------------------------------------------------------------------------- */
.body {
    width: 100%;
    color: #000000;
    margin: 0 auto;
    font-size: 16px;
    min-height: 100vh;
    font-style: normal;
    line-height: 24px;
    font-weight: 300;
    font-family: 'Theinhard', Arial, Helvetica, sans-serif;
    background-color: #fff;
}

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

/* Structure
   -------------------------------------------------------------------------- */
.header {
    width: 100%;
    height: 90px;
    margin: 0 auto;
}

.header__logo {
    float: left;
}

.header__logo--default {
    width: 127px;
    height: 80px;
}
.body--IE .header__logo--default {
    width: 113px;
}

.header__logo--nav {
    width: 130px;
    height: 34px;
}

.header__wrapper {
    max-width: 100%;
    margin-left: 0;
    padding-left: 32px;
    padding-right: 32px;
}

@media all and (max-width:480px) {
    .header__wrapper{
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Behaviour
   -------------------------------------------------------------------------- */
.header__logo {
    display: block;
    background-position: center center;
    -webkit-background-size: contain;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
}

/*
 * 1. To make the header fixed.
 */
.pusher {
    padding-top: 80px; /* 1 */
}

.header {
    position: fixed; /* 1 */
    top: 0; /* 1 */
    z-index: 4; /* 1 */
}

/* Appearance
   -------------------------------------------------------------------------- */
.header {
    color: #000;
    border-bottom: 1px solid #d8d8d8;
    background-color: #FFFFFF;
}

.body--loginPage .header {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.header__logo {
    background-image: url('../images/logo--default.svg');
}

@media all and (max-width:768px) {
    .pusher{
        padding-top: 88px;
    }

    .header {
        height: 88px;
    }

    .header__logo--default{
        width: 140px;
        height: 88px;
    }
}

@media all and (max-width:480px) {
    .header__logo--default{
        width: 110px;
    }
}

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

/* Structure
   -------------------------------------------------------------------------- */
.banner {
    margin: 0 auto;
    width: 100%;
}

.banner--main {
    height: 523px;
}

.banner__wrapper {
    padding-top: 24px;
    padding-bottom: 24px;
}

.banner__subtitle {
    margin-top: 20px;
}

.banner__actions {
    margin-top: 10px;
}

/* Behaviour
   -------------------------------------------------------------------------- */
.banner {
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
}

/*
 * 1. To center content vertically.
 */
.banner__content {
    display: table; /* 1 */
    width: 100%; /* 1 */
    height: 100%; /* 1 */
}

.banner__content>* {
    display: table-cell; /* 1 */
    vertical-align: middle; /* 1 */
}

/* Appearance
   -------------------------------------------------------------------------- */
.banner {
    background-color: #051C2C; /* var(--color--site) in an IE free world - use this comment as a handler for smart find & replace! */
    color: #FFFFFF;
}

.banner--main {
    background-image: url('../images/banner--main.jpg');
}

.banner--main .banner__title {
    font-size: 42px;
    font-weight: 400;
}

.banner__subtitle {
    font-size: 20px;
    font-weight: 500;
}

@media all and (max-width:768px) {
    /* Structure
       -------------------------------------------------------------------------- */
    .banner--main {
        height: 123px;
    }

    .banner__wrapper {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .banner__title>* {
        display: block;
    }

    /* Appearance
       -------------------------------------------------------------------------- */
    .banner--main .banner__title {
        font-size: 28px;
    }

}

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

/* Structure
   -------------------------------------------------------------------------- */
.main {
    margin: 0 auto;
    width: 100%;
}

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

/* Appearance
   -------------------------------------------------------------------------- */
.main {
    background-color: #f0f0f0;
}

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

/* Structure
   -------------------------------------------------------------------------- */
.footer {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #E6E6E6;
    background-color: #FFFFFF;
}

.footer__wrapper {
    padding-top: 40px;
    padding-bottom: 35px;
}

.footer__rights {
    float: left;
}

.footer__langs {
    float: right;
}

.footer__langs__item {
    display: inline;
}

.footer .footer__rights img {
    width: 225px;
}

.footer .link {
    color: inherit;
}

.footer .link {
    color: #4D4D4D;
    margin: 0 8px;
    font-size: 15px;
    text-align: left;
    font-weight: 600;
    line-height: 17px;
}
.footer .link--last {
    margin-right: 0;
}

.footer__langs__copyright {
    margin-top: 22px;
    text-align: right;
    border-top: 2px solid #E6E6E6;
}
.footer__langs__copyright span {
    color: #000000;
    display: inline-block;
    font-size: 16px;
    text-align: right;
    font-weight: 400;
    line-height: 18px;
    padding-top: 18px;
    letter-spacing: 0;
}

/* Appearance
   -------------------------------------------------------------------------- */
.duplicatedQuestion {
    height: 0;
    visibility: hidden;
}

@media all and (max-width: 700px) {
    .footer__wrapper {
        padding-top: 42px;
        padding-bottom: 62px;
    }

    .footer__langs {
        padding-top: 48px;
    }

    .footer__langs,
    .footer__rights {
        clear: both;
        float: none;
        width: 100%;
        text-align: left;
    }
    .footer .footer__rights img {
        width: 189px
    }

    .footer__langs__copyright,
    .footer__langs__copyright span {
        text-align: left;
    }
}

/* 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;
    padding-top: 88px;
}

@media all and (max-width: 768px) {
    .body--footer-sticky .body__content {
        padding-top: 88px;
    }
}

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