/*
*  Contents

    01 - Global Styles and Includes
    02 - Basic Page Needs
    03 - Typography
    04 - Banner
    05 - Footer
    06 - Content
    07 - Big Banner
   
    

*/

/************ 01 - GLOBAL STYLES & INCLUDES ************/
@font-face {
    font-family: 'Formata Bold';
    font-weight: 700;
    font-style: normal;
    src: url(../fonts/Formata-Bold.otf) format('opentype');
}

@font-face {
    font-family: 'Formata';
    font-weight: 400;
    font-style: normal;
    src: url(../fonts/Formata-Regular.otf) format('opentype');
}

@font-face {
    font-family: 'Formata Italic';
    font-weight: 400;
    font-style: italic;
    src: url(../fonts/Formata-Italic.otf) format('opentype');
}

@font-face {
    font-family: 'Formata Light';
    font-weight: 300;
    font-style: normal;
    src: url(../fonts/Formata-Light.otf) format('opentype');
}

@font-face {
    font-family: 'Formata Light Italic';
    font-weight: 300;
    font-style: italic;
    src: url(../fonts/Formata-LightItalic.otf) format('opentype');
}

:root {
    --color-primary: #fdca00;
    --color-primary-hover: #f0ad4e;
    --body-font-family: 'Oxygen', 'Open sans', sans-serif;
    --body-font-weight: 400;
    --body-font-size: 16px;
    --body-line-height: 24px;
    --body-font-color: #000000;
    --heading-font-family: 'Oxygen', 'Open sans', sans-serif;
    --heading-font-weight: 600;
    --footer-background-color: #222222;
    --footer-color: #ffffff;
    --footer-font-family: 'Oxygen', 'Open sans', sans-serif;
    --footer-font-weight: 300;
}

::selection {
    background: var(--color-primary);
}

::-moz-selection {
    background: var(--color-primary);
}

.clearfix {
    clear: both;
}

/************ 02 - BASIC PAGE NEEDS ************/

html,
body {
    height: 100%;
}

/* Fix for sticky footer, when layout is embedded in nero */
body #root,
body #root > div {
    height: 100%;
}

body #root > div {
    height: 100%;
    flex-direction: column !important;
    display: flex !important;
}

body {
    font-family: var(--body-font-family);
    font-size: var(--body-font-size);
    line-height: var(--body-font-line-height);
    color: var(--body-font-color);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: var(--color-primary);
}

.page-wrapper {
    flex: 1 0 auto;
}

/************ 03 - TYPOGRAPHY ************/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--heading-font-family);
    font-weight: var(--heading-font-weight);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-bottom: 23px;
}

p {
    margin-bottom: 43px;
    line-height: var(--body-line-height);
}

a {
    color: var(--color-primary);
}

a:hover,
a:focus,
a.active {
    color: var(--color-primary-hover);
}

/************ 04 - BANNER ************/
.banner-section {
    max-height: 250px;
    min-height: 250px;
    background: url(../images/cpi_banner_seckau.png) rgba(0, 0, 0, 0.3);
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    text-align: center;
}

.banner-section h1 {
    color: #ffffff;
    text-shadow: 2px 2px 2px rgba(150, 150, 150, 0.21);
}

.banner-section .img-container {
    text-align: center;
    margin-bottom: 23px;
}

.banner-section .img-container img {
    max-width: 323px;
    width: 100%;
    height: auto;
}

/************ 05 - Footer ************/
.footer {
    background-color: var(--footer-background-color);
    color: var(--footer-color);
    font-family: var(--footer-font-family);
}

/************ 06 - Content ************/
.content-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/************ 07 - EASTER GREETINGS SPECIAL ************/
/* Typography */
#easter-greetings h1,
#easter-greetings .h1 {
    margin-bottom: 40px;
}

/* Big Banner */
.bg-img-container {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#easter-greetings .big-banner-section .bg-img-container {
    background-image: url('../images/easter-greetings/img-main-bg-desktop.png');
    height: 700px;
}

#easter-greetings .big-banner-section .img-greetings {
    width: 100%;
    max-width: 976px;
    margin: 0 auto;
}

#easter-greetings .big-banner-section .img-greetings img {
    width: 100%;
    height: auto;
}

#easter-greetings .big-banner-section .mobile .bg-img-container {
    background-image: url('../images/easter-greetings/img-main-bg-mobile.png');
    max-height: 700px;
}

#easter-greetings .big-banner-section .mobile .img-greetings {
    width: 100%;
    max-height: 700px;
}

#easter-greetings .big-banner-section .mobile .img-greetings img {
    width: auto;
    height: 100%;
    max-height: 700px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 589px) {
    #easter-greetings .big-banner-section .mobile .img-greetings img {
        width: inherit;
        height: inherit;
        max-height: inherit;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }
}

@media (max-width: 420px) {
    #easter-greetings .big-banner-section .mobile .bg-img-container {
        max-height: 400px;
    }

    #easter-greetings .big-banner-section .mobile .img-greetings {
        max-height: 400px;
    }
}

/* Teaser */
#easter-greetings .teaser-section .teaser-wrapper {
    margin-bottom: 30px;
}

#easter-greetings .teaser-section .row {
    height: 100%;
}

#easter-greetings .teaser-section .teaser-box {
    background-color: #fdca00;
    display: block;
    height: 100%;
}

#easter-greetings .teaser-section .teaser-box .icon {
    padding: 20px 10px;
}

#easter-greetings .teaser-section .teaser-box .icon img {
    width: 100%;
    height: 100%;
    max-height: 80px;
    object-fit: contain;
}

#easter-greetings .teaser-section .text {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    padding: 0 10px;
    height: 100%;
}

#easter-greetings .teaser-section a.teaser-box:hover {
    color: inherit;
    background-color: #f0ad4e;
    text-decoration: none;
    -webkit-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

/* Footer */
.footer.easter-greetings {
    background-color: transparent;
    color: var(--body-font-color);
}

.footer.easter-greetings .container {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer.easter-greetings .newsletter-sign-off {
    padding-top: 30px;
}

/* Newsletter sign-off */
