/* ==========================================================================
   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: 755px;
    height: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

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

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

.body {
    background-color: #253746;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: normal;
    font-weight: 400;
    font-style: normal;
    color: #303030;
}

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

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

.header__wrapper {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 28px;
}

.header__logo {
    float: left;
}

.header__logo--default {
    width: 190px;
    height: 42px;
}

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

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

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

/* Appearance
   -------------------------------------------------------------------------- */
.header {
    background-color: #253746;
}

.header__logo {
    background-image: url('../images/logo--default.svg'); /* Overrided in #16, with url relative to the specific portal */
}

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

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

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

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

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

/* Appearance
   -------------------------------------------------------------------------- */
.banner {
    background-color: var(--color--site); /* Theme color defined in #16, with an override for each Library use as IE fallback */
    color: #FFFFFF;
}

.banner--main {
    background-image: url('../images/banner--main.jpg'); /* Overrided in #16, with url relative to the specific portal */
    max-width: 700px;
}

.banner--main .banner__title {
    font-family: 'Oswald', sans-serif;
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    text-align: center;
}

.banner__subtitle {
    font-size: 22px;
}

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

    /* Structure
       -------------------------------------------------------------------------- */
    .banner--main {
        height: 150px !important;
    }

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

    .banner__title>* {
        display: block;
    }

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

}

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

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

.main__wrapper {
    width: calc(100% - 48px);
    max-width: 700px;
    padding-bottom: 40px;
    background-color: #FFFFFF;
    -webkit-box-shadow: 0 0 12px 0 rgba(91, 91, 91, .5);
    box-shadow: 0 0 12px 0 rgba(91, 91, 91, .5);
    border-radius: 5px;
    padding-top:20px;
}

/* Appearance
   -------------------------------------------------------------------------- */
.main {


}

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

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

.footer__wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer__rights {
    float: left;
}

.footer__langs {
    float: right;
}

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

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

/*
 * 1. To make footer sticky.
 */
html,
.body {
    min-height: 100vh; /* 1 */
}

.body {
    display: table; /* 1 */
    border-collapse: separate; /* 1 */
}

.pusher {
    height: 100%; /* 1 */
}

.footer {
    display: table-row; /* 1 */
    height: 0; /* 1 */
}


/* Appearance
   -------------------------------------------------------------------------- */
.footer {

}

.footer--black {
  background-color: #303030;
}

.footer--black  span {
  margin-right: 15px;
  color:#FFFFFF;
}

.footer--blue {
  background-color: #253746;
  color: #8f979f;
  font-size: 13px;
}

.footer__col {
  display: inline-block;
  vertical-align: top;
  width: 49%;
}

.footer__col--left {
  text-align: left;
}

.footer__col--right {
  text-align: right;
}

.footer .link {
  color: #8f979f;
}

.footer__social {

}

.footer__social li {
  margin: 0 4px;
  display: inline-block;
}

.footer__social li .social__icon {
    position: relative;
    width: 32px;
    height: 32px;
    border: 2px solid #999999;
    border-radius: 99999px;
    color: #999999;
    display: block;
    text-align: center;
    vertical-align: middle;
}

.footer__social li .social__icon:hover {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
}

.footer__social li .social__icon .fa {
    position: absolute;
    left: 6px;
    top: 1px;
    font-size: 18px;
    line-height: 26px;
}

.footer__social li .social__icon .fa.fa-facebook {
    top: 2px;
    left: 8px;
}

.footer__links a + a {
  margin-left: 10px;
}

.footer__links {
  margin-bottom: 20px;
  font-weight: 600;
}

.footer__text {
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.5em;
}

.footer__link:hover {
    color: #FFFFFF;
}


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

    /* Structure
       -------------------------------------------------------------------------- */

    .footer {
       text-align: center;
    }
    .footer__col {
      display: block;
      width: 100%;
    }

    .footer__col--left,
    .footer__col--right {
      text-align: center;
    }

    .footer--black span {
        margin-right: 0;
        margin: 20px 0;
        display: block;
    }

    .footer__social {
        margin-top: 20px;
    }

}