/* ==========================================================================
   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 {
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
    width: 100%;
}

* {
    line-height: 150%;
}

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

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

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

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

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

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

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

.header__logo {
    float: left;
}

.header__logo--default {
    width: 200px;
    height: 36px;
}

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

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

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

.header {
    position: fixed; /* 1 */
    top: 0; /* 1 */
    z-index: 3; /* 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;
}

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

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

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

.banner__wrapper {
    padding-top: 0;
}

.banner__subtitle {
    margin-top: 20px;
}

.banner__actions {
    margin-top: 24px;
}

.body--details .banner--main .banner__title {
    max-width: 60%;
}

/* 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 .banner__title {
    font-size: 24px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
}

.body--details .banner--main .banner__title {
    font-size: 24px;
    font-weight: 600;
    text-align: left;
}

.banner__subtitle {
    font-size: 22px;
}

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

    /* Structure
       -------------------------------------------------------------------------- */
    .banner--main {
        height: 200px;
    }

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

    .banner__title>* {
        display: block;
    }

    .body__content {
        padding-top: 60px;
    }

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

}

@media all and (max-width:660px){
    [class*="__wrapper"]{
        padding-left: 14px;
        padding-right: 14px;
    }
}

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

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

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

/* Appearance
   -------------------------------------------------------------------------- */
.main {
    background-color: #FFFFFF;
    color: #2D2D2D;
}

/* FOOTER
   ========================================================================== */
.footer__content {
    display: flex;
    align-items: center;
}

@media (min-width: 751px) {
    .footer__content {
        justify-content: space-between;
    }
}

.footer__rights__logo {
    margin-right: 40x;
}

.footer__rights {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .footer__rights {
        flex-flow: column;
    }
    .footer__content {
        flex-flow: column;
    }
}

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

.footer__content__logo {
    display: inline-block;
    width: 164px;
    height: 24px;
}

/* Appearance
   -------------------------------------------------------------------------- */

   .link,
   .article--details .article__content__view__field__value a,
   div[class*="fieldSpec"] div[class*="description"] a {
    margin-bottom: -1px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: transparent;
    font-weight: var(--font--weight--bold);
    text-decoration: none;
    word-break: break-word;
    transition: all 0.3s ease;
}

.footer {
    background: #1c2b39;
    color: #b9dded;
    font-size: 12px;
}

.footer__wrapper {
    max-width: none;
    padding-top: 48px;
    padding-bottom: 48px;
    padding-left: 32px;
    padding-right: 32px;
    height: auto;
}

.footer .link {
    color: inherit;
}

.footer .link:hover,
.footer .link:focus,
.footer .link:active{
    color: #2c5875;
}

.footer__content__logo {
    background: url(../images/footer--logo.svg) no-repeat top left;
}

.footer__social .fa-stack{
    width: 2em;
    height: 2em;
}

.footer__rights__logo {
    margin-right: 40px;
}

@media (max-width: 1024px) {
    .footer__rights__logo {
        margin-right: 0;
        margin-bottom: 32px;
    }
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 806px;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer__links__btn {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border-radius: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    border-bottom-width: .1rem;
    border-bottom-style: solid;
    border-bottom-color: #1c2b39;
}

.footer__links__btn:hover {
    cursor: pointer;
    background-color: transparent;
    color: #b9dded;
    border-bottom-color: #b9dded;
}

.footer__links__btn:focus {
    background-color: transparent;
}

.footer .link {
    border-bottom-color: #1c2b39;
    font-size: 14px;
    font-weight: 600;
}

.footer .link:hover {
    color: #b9dded;
    border-bottom-color: #b9dded;
}

.footer__links__divider {
    margin-left: 11px;
    margin-right: 11px;
    color: #1c2b39;
}

.footer__social {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .footer__social {
        margin-top: 32px;
    }
}

.footer__social__item {
    height: 21px;
    max-width: 24px;
}

.footer__social__item__icon {
    display: block;
    max-width: none;
    height: 100%;
}

.footer__social__item + .footer__social__item {
    margin-left: 29px;
}

@media (max-width: 1024px) {
    .footer__rights {
        flex-flow: column;
    }
}