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

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

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

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

/* Behaviour
   -------------------------------------------------------------------------- */
.body {
    overflow-y: scroll;
}

/* Appearance
   -------------------------------------------------------------------------- */
html {
    background-color: #FFFFFF;
}

.body {
    background-color: #FFFFFF;
    font-family: ArialMT, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: normal;
    font-weight: 400;
    font-style: normal;
    color: #57555C;
}

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

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

.header__wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
    max-width: 100%;
}

.header__logo {
    float: left;
}

.header__logo--right {
    float: right;
    width: 80px;
    height: 90px;
}

.header__logo--default {
    width: 100px;
    height: 90px;
}

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

/* Behaviour
   -------------------------------------------------------------------------- */
.header__logo,
.header__logo--right {
    display: block;
    background-position: center center;
    -webkit-background-size: contain;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
}
@media all and (max-width: 768px) {

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

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

/* Appearance
   -------------------------------------------------------------------------- */
.header {
    -webkit-box-shadow: 0 0 12px 0 rgba(91, 91, 91, .3);
    box-shadow: 0 0 12px 0 rgba(91, 91, 91, .3);
    background-color: #FFFFFF;
    color: #565656;
}

.header__logo {
    background-image: url('../images/ICONlogo.png');
}

.header__logo--right {
    background-image: url('../images/DOCSsublogo.png');
    width: 70px;
}

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

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

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

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

body:not(.body--search-jobs) .banner__wrapper {
    height: calc(100% - 32px) /* breadcrumb height */
}

.banner__subtitle {
    margin-top: 20px;
}

.banner__actions {
    margin-top: 24px;
}

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

@media all and (min-width:769px) {
    .banner__content {
        width: 60%;
    }
}

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

.body--search-jobs .banner--main {
    background-image: url('../images/img-banner.jpg');
    background-position-y: top;
}

.banner--main .banner__title {
    font-size: 48px;
    font-weight: bold;
}

.banner__subtitle {
    font-size: 22px;
    max-width: 70%;
    display: block;
    margin-top: 25px;
    font-weight: normal;
}

@media all and (max-width:768px) {

    /* Structure
       -------------------------------------------------------------------------- */
    .body__content {
      padding-top: 80px;
    }
    .banner {
      background-position: center right 25%;
    }
    .banner--main {
      height: auto
    }
    .banner__wrapper {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .banner__title>* {
        display: block;
    }

    /* Appearance
       -------------------------------------------------------------------------- */
    .banner--main .banner__title {
        font-size: 36px;
    }
    .banner--main .banner__subtitle {
      max-width: 100%;
      line-height: 29px;
    }
    .header__logo--default {
      height: 50px;
      width: 55px;
    }

    .header__logo--right {
        float: left;
        margin-left: 20px;
        width: 35px;
        height: 50px;
    }

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

}

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

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

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

/* Appearance
   -------------------------------------------------------------------------- */
.main {
    background-color: #FFFFFF;
    color: #57555C;
}

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

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

.footer__wrapper {
    padding-top: 62px;
    padding-bottom: 28px;
}

.footer__rights {
    float: left;
}

.footer__langs {
    float: right;
}

.footer .link {
    margin: 0 8px;
}

/* Behaviour
   -------------------------------------------------------------------------- */
.footer {
    text-align: center;
}

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

   .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;
    width: 100%;
}

.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;
    width: 100%;
    min-height: 100vh;
}

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


/* Appearance
   -------------------------------------------------------------------------- */
.footer--top {
    background: #F4F4F4;
    color: #A1A1A1;
}
.footer--bottom {
    background: #f3f3f3;
    color: #626469;
    font-size: 11px;
    padding: 0px 0 17px;
    border-top: 3px solid #008680;
    font-weight: bold;
}

/*
 * As the footer in sticky mode has display:table-row and cannot have a border, we need to implement it using :before;.
 */

.footer .link {
    color: inherit;
}
.footer--top .logo {
  float: left;
}
.footer--top .logo img{
  width: 70px;
  height: 63px;
}
.footer--top .footer__social {
  float: right;
  margin-top: 15px;
}
.footer--top .footer__social li{
  display: inline-block;
}
.footer ul.socialIcons li {
    font-size: 18px;
}

@media all and (max-width:768px) {

    /* Structure
       -------------------------------------------------------------------------- */
    .footer__rights {
        float: none;
    }

    .footer__rights span {
        display: block;
        margin-bottom: 4px;
    }

    .footer__langs {
        display: none;
    }

}

@media (min-width: 1200px) {

    .header__logo {
        width: 138px;
        background-size: contain;
    }

    .header__logo--right {
        width: 100px;
        background-size: contain;
    }

}
