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

  /* ======= SCALA SANS FONT ======= */

@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/webfonts/32015A_3_0.eot');
    src: url('../fonts/webfonts/32015A_3_0.eot?#iefix') format('embedded-opentype'), url('../fonts/webfonts/32015A_3_0.woff2') format('woff2'), url('../fonts/webfonts/32015A_3_0.woff') format('woff'), url('../fonts/webfonts/32015A_3_0.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/webfonts/32015A_4_0.eot');
    src: url('../fonts/webfonts/32015A_4_0.eot?#iefix') format('embedded-opentype'), url('../fonts/webfonts/32015A_4_0.woff2') format('woff2'), url('../fonts/webfonts/32015A_4_0.woff') format('woff'), url('../fonts/webfonts/32015A_4_0.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/webfonts/32015A_9_0.eot');
    src: url('../fonts/webfonts/32015A_9_0.eot?#iefix') format('embedded-opentype'), url('../fonts/webfonts/32015A_9_0.woff2') format('woff2'), url('../fonts/webfonts/32015A_9_0.woff') format('woff'), url('../fonts/webfonts/32015A_9_0.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/webfonts/32015A_8_0.eot');
    src: url('../fonts/webfonts/32015A_8_0.eot?#iefix') format('embedded-opentype'), url('../fonts/webfonts/32015A_8_0.woff2') format('woff2'), url('../fonts/webfonts/32015A_8_0.woff') format('woff'), url('../fonts/webfonts/32015A_8_0.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/webfonts/32015A_7_0.eot');
    src: url('../fonts/webfonts/32015A_7_0.eot?#iefix') format('embedded-opentype'), url('../fonts/webfonts/32015A_7_0.woff2') format('woff2'), url('../fonts/webfonts/32015A_7_0.woff') format('woff'), url('../fonts/webfonts/32015A_7_0.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/webfonts/32015A_0_0.eot');
    src: url('../fonts/webfonts/32015A_0_0.eot?#iefix') format('embedded-opentype'), url('../fonts/webfonts/32015A_0_0.woff2') format('woff2'), url('../fonts/webfonts/32015A_0_0.woff') format('woff'), url('../fonts/webfonts/32015A_0_0.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/webfonts/32015A_5_0.eot');
    src: url('../fonts/webfonts/32015A_5_0.eot?#iefix') format('embedded-opentype'), url('../fonts/webfonts/32015A_5_0.woff2') format('woff2'), url('../fonts/webfonts/32015A_5_0.woff') format('woff'), url('../fonts/webfonts/32015A_5_0.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Scala Sans';
    src: url('../fonts/webfonts/32015A_6_0.eot');
    src: url('../fonts/webfonts/32015A_6_0.eot?#iefix') format('embedded-opentype'), url('../fonts/webfonts/32015A_6_0.woff2') format('woff2'), url('../fonts/webfonts/32015A_6_0.woff') format('woff'), url('../fonts/webfonts/32015A_6_0.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

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

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

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

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

.body {
    background-color: #fff;
    font-family: 'Scala Sans', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: normal;
    font-weight: 400;
    font-style: normal;
    color: #666 !important;
}

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

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

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

.header__logo {
    float: left;
}

.header__logo--default {
    width: 161px;
    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.
 */
.body__content {
    padding-top: 0; /* 1 */
}

.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/logo--default.png');
}

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

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

.banner--main {
    height: 500px;
    text-align: center;
}
.body--dashboard .banner--main {
    height: 400px;
}
@media all and (min-width: 1300px) {
    .body--details .banner--main {
        height: 430px;
    }
}

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

.banner__subtitle {
    margin-top: 20px;
}

.banner__actions {
    margin-top: 24px;
}

/* Behaviour
   -------------------------------------------------------------------------- */
.banner {
    background-position: center top;
    -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: bottom; /* 1 */
}

/* Appearance
   -------------------------------------------------------------------------- */
.banner {
    background-color: #007481; /* var(--color--site) in an IE free world - use this comment as a handler for smart find & replace! */
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
}

.banner--main {
    background-image: url('../images/banner--main--desktop--homepage.jpg');
    display: flex;
    align-items: end;
    justify-content: center;
}
.body--details .banner--main {
    background-color: #253746;
    background-image: url('../images/banner--experienced3--desktop.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.body--details-military .banner--main {
    margin-top: -5px;
    background-image: url('../images/banner--military3--desktop.png');
}
.body--details-university .banner--main {
    background-image: url('../images/banner--university2.jpg');
}

.banner--main .banner__title {
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    text-shadow: 0px 5px 8px #00000073;
    text-align: center;
    background-color: #243746;
    width: 100%;
    padding: 38px 0 0 0;
}

.banner__subtitle {
    font-size: 22px;
}

.row__header__title {
    font-size: 52px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    text-shadow: 0px 5px 8px #00000073;
    text-align: center;
}

@media all and (max-width:1024px) {
    .banner--main{
        height: 430px;
    }
    .banner--main .banner__title {
        padding: 25px 0 0 0;
    }
}

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

    /* Structure
       -------------------------------------------------------------------------- */
    .banner--main {
        height: 340px;
    }
    .body--dashboard .banner--main {
        height: 250px;
        margin-top: 76px;
    }

    .banner__wrapper {
        padding: 0 !important;
    }

    .banner__title>* {
        display: block;
    }

    /* Appearance
       -------------------------------------------------------------------------- */
    .banner--main .banner__title {
        font-size: 26px;
        padding: 23px 0 0 0;
        line-height: 28px;
    }

    .row__header__title {
        font-size: 26px;
        line-height: 28px;
    }

}

@media all and (max-width:568px) {
    .banner--main{
        height: 150px;
        position: relative;
    }
    .banner--main .banner__title {
        position: absolute;
        bottom: -37px;
    }
    .section--search-extended .row {
        padding: 37px 0 20px;
    }
    .banner--main .banner__title {
        font-size: 19px;
        padding: 16px 0 0 0;
        line-height: 21px;
    }
    .row__header__title {
        font-size: 21px;
    }

}

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

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

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

@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: 40px;
    padding-bottom: 40px;
}

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

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

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

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

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

.footer__terms{
    margin-top: 6px;
}

.footer__social .link{
    padding: 0 0 0 30px;
}

.footer__content__logo {
    width: 25px;
    height: 25px;
    margin-bottom: -7px;
    margin-right: 10px;
}

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

/*
 * 1. To make 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 .link {
    color: inherit;
}

.footer .link,
.footer .link:hover,
.footer .link:focus,
.footer .link:active{
    text-decoration: none;
    border:0;
}

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

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

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

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

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

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

    .footer__social {
        margin: 20px auto;
        float: none;
        display: block;}

    .footer .link{
        padding: 0
    }
}
