﻿/* Phased Campaign LP CSS */
/* Relies on campaign/general-lp.css */
html {
    scroll-padding-top: 150px;
}

@media(min-width:768px) {
    html {
        scroll-padding-top: 92px;
    }
}

/*******************************/
/* // Bootstrap carry over // */
/******************************/

@media(min-width: 768px) {
    .flex {
        display: flex;
    }
    .medium-7 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-right: 30px;
        padding-top: 20px;
        width: 65%;
    }
    .medium-5 {
        padding-top: 20px;
        width: 55%;
    }
}

@media(min-width:768px) {
    .flex.row {
        margin: 0 -.9375rem;
    }
}

@media(max-width: 767px) {
	section .container {
		padding: 30px 40px;
	}
}

/*************************/
/*   //  Typography //  */
/************************/
.dark-red {
    color: #CB0303;
}

.darker-red {
    color: #9C0202;
}

.even-darker-red {
    color: #610303;
}

.darkest-red {
    color: #400202;
}
.dark-red,
.darker-red,
.even-darker-red,
.darkest-red {
    white-space: nowrap;
}

.h1 {
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0;
    text-shadow: var(--text-shadow);
}

html[lang|="fr"] .h1 {
    font-size: 1.25rem;
    /* 20px */
}

.h1-xl {
    display: inline-block;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

h2,
.h2 {
    font-size: 1.75rem;
    /* 28px */
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

h2 span,
.h2 span {
    line-height: 1.2;
}

.h2.regular {
    font-weight: 400;
}

.h3 {
    font-size: 1.25rem;
    /* 20px */
}

@media (min-width: 768px) {
    .h1-xl {
        margin-bottom: 10px;
    }
}

@media (min-width: 1024px) {
    .h1,
    html[lang|="fr"] .h1 {
        font-size: 2.125rem;
        /* 34px */
    }

    h2,
    .h2 {
        font-size: 40px;
        letter-spacing: 0.5px;
    }

    .h3 {
        font-size: 1.5625rem;
        /* 25px */
    }
}

p {
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

p + p:last-of-type {
    margin-bottom: 0;
}

a {
    color: inherit;
}

@media(min-width:768px) {
    .p-break p {
        margin: 0;
    }
}

a.cta-link.arrow {
    border-bottom: 1px solid var(--secondary-blue);
    text-decoration: none;
    white-space: nowrap;
}

a.cta-link.arrow::after {
    color: inherit;
    content: "\f063";
    display: inline;
    font-family: 'FontAwesome';
    font-weight: 400;
    font-size: inherit;
    padding: 5px;
    transform: rotate(-90deg);
}

a.cta-link.arrow:hover::after,
a.cta-link.arrow:focus::after {
    color: inherit;
}

.cta-link.arrow.down::after {
    transform: rotate(0deg);
}

/*********************************/
/*   ////////  Header ///////   */
/********************************/
/* Variations: with or without header button, with or without html links, with or without BOTH header button and html links) */
/* 92px height is the default for simple header: mobile <-> desktop */
.header-inner {
    align-items: center;
    display: flex;
    height: var(--desktop-header-height);
    justify-content: space-between;
    padding: 8px 30px;
}

@media(max-width: 767px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: row;
        padding-left: 20px;
        padding-right: 20px;
    }
    /* by default - if there is a value for header button, it will show in mobile unless 'desktop-button-only' / 'tablet-button-only' is added to .header */
    .header-inner:has(.header-button-container) {
        align-items: flex-start;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        height: var(--mobile-header-height-btn);
        justify-content: space-between;
        padding-bottom: 16px;
        padding-top: 16px;
    }
    .landing-page-container:has(.header-button-container):has(.header.desktop-only-btn) .header-inner {
        height: var(--desktop-header-height);
        padding-bottom: 8px;
        padding-top: 8px;
    }
    .header-button-container {
        bottom: 20px;
        left: 0;
        padding: 0;
        position: absolute;
        margin: 0 20px;
        width: calc(100% - 40px);
    }
    .header-button-container .btn {
        width: 100%;
    }
    .logo-wrapper,
    .logo-wrapper + div {
        height: 62px;
    }
    .logo-wrapper + div {
        align-items: center;
        display: flex;
        justify-content: space-between;
    }
    .desktop-only-btn .logo-wrapper {
        max-width: 315px;
        width: 80%;
    }
    .desktop-only-btn .logo-wrapper + div {
        width: 20%;
    }
}

@media(max-width: 420px) {
    .header-inner {
        height: var(--desktop-header-height);
    }
    .header-inner:has(.header-button-container) {
        height: var(--mobile-header-height-btn);
    }
    .landing-page-container:has(.header.desktop-only-btn) .header-inner {
        height: var(--desktop-header-height);
    }
}

.header-inner .header-html-wrapper {
    padding: 0 20px;
    width: 100%;
}

.header-inner .header-html-wrapper ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.header-inner .header-html-wrapper li a {
    color: var(--black);
    display: inline-block;
    font-size: .875rem;
    font-weight: 700;
    margin: 0 10px;
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

.header-inner .header-html-wrapper li a:hover,
.header-inner .header-html-wrapper li a:focus {
    color: var(--secondary-red);
    text-decoration: underline;
}

@media(max-width: 950px) {
    .header-inner .header-html-wrapper {
        display: none;
    }
}
@media(min-width: 1024px) {
    .header-inner:has(.header-html-wrapper) .language-switch-container {
        margin-left: 40px;
    }
}

/*********************************/
/* ///  Language Toggle +    /// */
/********************************/
.logo-wrapper + div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    line-height: 1
}

/*********************************/
/* ///     Header Button    /// */
/********************************/
.header-button-container .btn {
    font-size: .875rem;
    letter-spacing: .28px;
    line-height: 1.5;
    padding: 11px 34px;
}

/*********************************/
/*   ///////  Links ////////   */
/********************************/
.inline-anchor {
    padding-top: 60px;
}

/*************************/
/*  //  Hero Banner  //  */
/*************************/
#banner {
    background-color: var(--white);
    position: relative;
    margin-bottom: 40px;
    min-height: 260px;
}

#banner .container {
    padding: 0;
}

.banner-content-container {
    padding-top: 20px;
}

.banner-title {
    font-size: 1.75rem;
    /* 28px */
    line-height: 125%;
    padding: 0 10px;
    text-align: center;
}

.banner-image {
    margin: 20px 0 0;
    text-align: center;
}

.banner-gift .banner-image {
    margin: 0;
}

.banner-image img {
    max-width: 400px;
}

/* Background Image */
.banner-background {
    background: linear-gradient(3deg, rgba(0, 0, 0, 0.78) 38.59%, rgba(217, 217, 217, 0.00) 98.3%);
    height: 100%;
    left: 0;
    margin: 0;
    mix-blend-mode: multiply;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.banner-background::after {
    background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5) 90%);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.banner-background img {
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 18% 0%;
    width: 100%;
}

.banner-background .image-credit {
    bottom: 10px;
    color: var(--white);
    font-size: .625rem;
    left: 0;
    padding: 10px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.banner-with-background {
    color: var(--white);
}

@media(min-width:768px) {
    .banner-background .image-credit {
        bottom: inherit;
        display: block;
        left: inherit;
        padding: 0 345px 0 40px;
        position: relative;
        margin: -45px auto 0;
        max-width: 1080px;
        text-align: left;
        width: 100%;
        /* Banner with Fundraise Up form positioned right */
    }
}

@media (min-width: 1024px) {
    .monthly-match .banner-background .image-credit {
        padding-left: 30px;
        padding-right: 395px;
    }
}

/* Content for banner with a background */
.banner-with-background .banner-content-container {
    display: grid;
    flex: 1;
    grid-template-rows: 1fr auto;
    height: 260px;
    padding: 30px 16px;
    position: relative;
    text-align: center;
}

.banner-with-background .banner-content-container::before {
    content: "";
    display: block;
    height: 0;
}

.banner-with-background .banner-title {
    color: var(--white);
    font-size: 2.25rem;
    /* 36px */
    line-height: 1;
    margin-bottom: 10px;
    padding: 0;
    position: relative;
    text-align: center;
    z-index: 1;
}

.banner-with-background .banner-title span {
    line-height: 1;
}

html[lang|="fr"] .banner-with-background .banner-title {
    font-size: 1.625rem;
    /* 26px */
}

/***********************************/
/* ///  Fundraise Up Pop Up  ///  */
/* //////  Form in Banner //////  */
/**********************************/
.banner {
    align-items: stretch;
    display: flex;
    min-height: 500px;
}

.banner-form-title {
    background: var(--primary-red);
    color: var(--white);
    font-size: .9375rem;
    font-weight: bold;
    padding: 15px 25px;
    text-align: center;
}

.banner-with-background .banner-form-container {
    background: var(--white);
    background-image: url('https://cdn.redcross.ca/prodmedia/crc/azure/campaign/spin-1s-50px.svg');
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    min-width: 300px;
    max-width: 375px;
    margin: 30px 0;
    z-index: 1;
}

/* Content for banner with an icon */
.banner-with-icon .banner-content-container {
    gap: 10px;
    grid-template-rows: 1fr auto auto;
}

.banner-with-icon .banner-icon {
    margin: 0;
    width: 80px;
    z-index: 1;
}

.banner-with-icon .banner-title {
    text-align: left;
    margin-bottom: 0;
    padding-left: 0;
}

@media(min-width: 500px) {
    .banner-title,
    .banner-with-background .banner-title {
        font-size: 40px;
    }
}

@media(min-width: 768px) {
    #banner .container {
        padding: 0 30px;
    }

    .banner-content-container {
        display: grid;
        flex: 1;
        grid-template-rows: 1fr auto auto;
        justify-content: center;
        padding-top: 30px;
        text-align: center;
    }

    .banner-content-container::before {
        content: "";
        display: block;
        height: 0;
    }

    .banner-title {
        font-size: 36px;
        padding: 0 30px 0 0;
    }

    .banner-image {
        margin: 30px 30px 0;
    }

    .banner-gift .banner-image {
        margin: 0 30px;
    }

    .banner-image img {
        max-width: 550px;
    }

    .banner-gift .banner-image img {
        max-width: 450px;
    }

    /* Background Image */
    .banner-background {
        height: 100%;
        left: 0;
        margin: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 0;
    }

    .banner-background img {
        max-width: none;
        object-position: 92% 0%;
    }

    /* Content for banner with a background */
    .banner-with-background .banner-content-container {
        height: auto;
        padding: 30px 15px 50px 0;
    }

    .banner-with-background .banner-title {
        font-size: 3.125rem;
        /* 50px */
        text-shadow: var(--text-shadow);
    }

    .banner-with-background.extended .banner-title b {
        font-size: 3.875rem;
        /* 62px */
        line-height: 1;
    }

    .banner-with-background .banner-image img {
        object-position: 50% 40%;
    }

    .banner-with-background .banner-image .image-credit {
        text-align: left;
    }

    /* Content for banner with an icon */
    .banner-with-icon .banner-content-container {
        align-items: center;
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .banner-with-icon .banner-title {
        font-size: 2.75rem;
        /* 44px */
        padding-left: 0px;
    }

    html[lang|="fr"] .banner-with-background .banner-title {
        font-size: 1.75rem;
        /* 28px */
    }

    html[lang|="fr"] .banner-with-background.extended .banner-title b {
        font-size: 32px;
    }

    .banner-with-icon .banner-icon {
        width: 120px;
    }
}

@media(min-width: 1024px) {
    .banner-content-container {
        margin-right: 40px;
    }

    .banner-with-background .banner-content-container {
        padding-right: 0;
    }

    /* Content for banner with a background */
    .banner-with-background .banner-title {
        font-size: 4.0625rem;
        /* 65px */
    }

    .banner-with-background.off .banner-title {
        font-size: 3.125rem;
        /* 50px */
        line-height: 1;
    }

    .banner-with-background.extended .banner-title {
        font-size: 2.5rem;
        /* 40px */
        line-height: 1.25;
        text-align: left;
    }

    html[lang|="fr"] .banner-with-background .banner-title {
        font-size: 2.75rem;
        /* 44px */
    }

    html[lang|="fr"] .banner-with-background.extended .banner-title b {
        font-size: 62px;
    }

    html[lang|="fr"] .banner-with-background.off .banner-title {
        font-size: 2.5rem;
        /* 40px */
        line-height: 1;
    }

    .banner-background img {
        object-position: 100% 40%;
    }

    /* Content for banner with an icon */
    .banner-with-icon .banner-content-container {
        gap: 30px;
        grid-template-columns: 120px 1fr;
        grid-template-rows: 1fr auto;
    }

    .banner-with-icon .banner-icon {
        grid-row: 2 / 3;
    }

    .banner-with-icon .banner-title {
        font-size: 3.125rem;
        /* 50px */
        grid-row: 2 / 3;
        text-align: left;
    }
}

@media(min-width: 1100px) {
    /* Content for banner with an icon */
    .banner-with-icon .banner-title {
        font-size: 3.5625rem;
        /* 57px */
    }

    .banner-with-background .banner-title {
        font-size: 4.25rem;
        /* 68px */
    }

    .banner-with-background.off .banner-title {
        font-size: 3.4375rem;
        /*55px */
        line-height: 1;
    }

    .banner-with-background.extended .banner-title {
        font-size: 2.875rem;
        /* 46px */
    }

    html[lang|="fr"] .banner-with-background .banner-title {
        font-size: 50px;
    }

    html[lang|="fr"] .banner-with-background.off .banner-title {
        font-size: 48px;
        line-height: 1;
    }
}

@media(min-width: 1200px) {
    .banner-title {
        font-size: 72px;
        padding: 0;
    }
}

@media (max-width: 767px) {
    .banner {
        flex-direction: column;
        margin: 0 auto;
    }

    .banner-background img {
        object-position: 68% 60%;
    }

    .banner-content-container .mobile-only.icon-match {
        margin: 40px auto 0;
        max-width: 325px;
    }

    .banner-with-background .banner-form-container {
        margin: 0 auto 35px;
    }

    .banner-content-container .banner-title {
        font-weight: 700;
    }

    .banner-content-container .banner-title .bold {
        font-weight: 400;
    }
}

/*************************/
/*    //    Intro   //   */
/*************************/
#intro .container {
    padding-top: 30px;
}

#intro .mobile-form {
    margin-bottom: 30px;
}

#intro .content-item-form {
    max-width: 500px;
    box-shadow: 0px 4.7619px 19.0476px 0px rgba(0, 0, 0, 0.35);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#intro .content-item-form-title {
    background: var(--primary-red);
    color: var(--white);
    font-size: 15px;
    font-weight: bold;
    padding: 15px 25px;
    text-align: center;
}

#intro .content-item-form {
    background: var(--white);
    background-image: url('https://cdn.redcross.ca/prodmedia/crc/azure/campaign/spin-1s-50px.svg');
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
}

#intro .content-item-description {
    margin-top: 10px;
}

#intro .content-item-description p:not(:last-of-type) {
    margin-bottom: 2em;
}

#intro .content-item-button {
    margin-top: 2em;
    text-align: center;
}

#intro .content-item-button a.btn {
    width: 100%;
    max-width: 400px;
}

.description-and-button .content-item-description {
    margin-bottom: 30px;
}

.description-and-button .content-item-button {
    margin-bottom: 10px;
}

@media(max-width: 767px) {
    .description-and-button .content-item-button,
    .description-and-button .content-item-button a {
        width: 100%;
    }
}

/*************************/
/*    //    Impact   //   */
/*************************/

#impact .container,
.impact-off .inner-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.impact-content-item {
    background: var(--lightest-grey);
}

.impact-content-item .text-red {
    color: var(--tertiary-red);
}

.impact-content-item .content-item-image {
    margin: 0;
    position: relative;
}

.impact-content-item .image-credit {
    bottom: 0;
    color: var(--white);
    font-size: 9px;
    padding: 10px;
    position: absolute;
    text-shadow: var(--text-shadow);
    width: 100%;
}

.impact-content-item .content-item-description {
    font-size: .875rem;
    /* 14px */
    padding: 20px;
}

.impact-content-item .content-item-description strong {
    color: var(--primary-red);
}

.impact-off .container {
    display: block;
    padding-bottom: 10px;
}

.impact-off .inner-container {
    background: var(--lightest-grey);
    padding: 30px;
}

.impact-off .impact-content-item {
    background: var(--white);
}

.impact-off .impact-content-item .image-credit {
    padding: 5px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, .5) 20%, rgba(0, 0, 0, 0));
}

.impact-off .content-item-description {
    padding: 10px 20px 15px;
    text-align: center;
}

.impact-off .content-item-description strong {
    display: block;
    font-size: 1.375rem;
    /* 22px */
}

.impact-off .impact-button {
    padding: 20px;
    text-align: center;
    width: 100%;
}

.impact-off .impact-button a.btn {
    width: 100%;
    max-width: 400px;
}

@media(min-width: 590px) {
    #impact:not(.impact-off) .container,
    .impact-off .inner-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .impact-off .inner-container {
        padding: 30px;
    }

    .impact-off .impact-title {
        grid-column: 1 / 3;
    }

    .impact-off .impact-button {
        grid-column: 1 / 3;
    }
}

@media(min-width: 768px) {
    #impact:not(.impact-off) .container,
    .impact-off .inner-container {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .impact-off .inner-container {
        padding: 30px 60px;
        margin: 0 auto;
    }

    .impact-off .impact-title {
        grid-column: 1 / 4;
    }

    .impact-off .impact-button {
        grid-column: 1 / 4;
    }

    .impact-off .impact-button a.btn {
        min-width: calc(33% - 40px);
        width: auto;
    }
}

@media(min-width: 1024px) {
    #impact:not(.impact-off) .container {
        /* grid-template-columns: 1fr 1fr 1fr 1fr; */
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/*************************/
/*    //    Icons   //   */
/*************************/
#icon-grid {
    margin-top: 30px;
}

#icon-grid.impact-content-item {
    background: none;
}

#icon-grid.impact-content-item .content-item-image {
    margin: 0 auto;
    max-width: 140px;
}

#icon-grid.impact-content-item .image-and-description {
    margin-bottom: 40px;
}

#icon-grid.impact-content-item .image-and-description:last-of-type {
    margin-bottom: 0;
}

@media(min-width: 768px) {
    #icon-grid .container {
        display: flex;
        position: relative;
    }

    #icon-grid.impact-content-item .image-and-description {
        padding: 0 30px;
        margin: 0;
        text-align: center;
        width: 33.33%;
    }
}

@media(min-width: 1024px) {
    #icon-grid .container:before,
    #icon-grid .container:after {
        background-image: url('/crc/img/campaign/2024_springmatch/springmatch2024_icon-swirl.png');
        background-repeat: no-repeat;
        background-size: contain;
        content: '';
        display: inline-block;
        height: 130px;
        position: absolute;
        top: 40px;
        width: 170px;
    }

    #icon-grid .container:before {
        left: 26%;
    }

    #icon-grid .container:after {
        right: 26%;
    }
}

/*************************/
/*    //    Match   //   */
/*************************/
#match .container {
    padding-bottom: 40px;
}

#match .content-item-description {
    font-size: 16px;
    text-align: center;
}

#match .content-item-description p:not(:last-of-type) {
    margin-bottom: 2em;
}

#match .content-item-button {
    margin-top: 2em;
    text-align: center;
}

#match .content-item-button a.btn {
    width: 100%;
    max-width: 400px;
}

@media(min-width: 768px) {
    #match .content-item-button {
        text-align: left;
    }

    #match .content-item-button a.btn {
        width: auto;
    }
}

/*************************/
/*  //   Quote  //  */
/*************************/
#quote .content-item-button {
    margin: 0 0 50px;
}

#quote .content-item-button a {
    max-width: 400px;
    width: 100%;
}

#quote .container {
    padding-top: 0;
}

.quote-content-item {
    background: var(--lightest-grey);
}

.content-item.image-and-description.quote-content-item {
    text-align: left;
}

.quote-content-item .content-item-image {
    height: 230px;
    margin: 0;
    position: relative;
}

.quote-content-item .content-item-image img {
    height: 100%;
    margin: 0;
    object-fit: cover;
    position: relative;
}

.quote-content-item .image-credit {
    bottom: 0;
    color: var(--white);
    font-size: 10px;
    padding: 10px;
    position: absolute;
    text-align: right;
    text-shadow: var(--text-shadow);
    width: 100%;
}

.content-item.image-and-description.quote-content-item .h3 {
    font-size: 1.25rem;
    /* 20px */
    margin: 0 auto 20px;
    text-align: left;
}

.content-item.image-and-description.quote-content-item .h3,
.content-item.image-and-description.quote-content-item .h3 .bold {
    line-height: 1.6;
}

.quote-content-item .content-item-description {
    font-size: 1rem;
    padding: 30px;
}

.quotation {
    font-size: 1.25rem;
}

.quotation-by {
    font-size: .875rem;
    display: block;
    text-transform: uppercase;
}

.quote-content-item .content-item-description p:not(:last-of-type,.quotation) {
    margin-bottom: 2em;
}

.quote-content-item .content-item-description .quote-inner p:last-of-type {
    font-size: .875rem;
}

@media(min-width: 500px) {
    .quote-content-item .content-item-image {
        height: 330px;
    }
}

@media(min-width: 768px) {
    #quote .content-item-button {
        margin: 0 0 30px;
    }

    #quote .content-item-button a {
        width: auto;
    }

    .quote-content-item {
        background: var(--white);
    }

    .quote-content-item {
        display: grid;
        grid-template-columns: 340px 1fr;
    }

    .quote-content-item .content-item-image {
        height: 100%;
    }

    .quote-content-item .content-item-description {
        padding: 70px 0;
    }

    .quote-content-item .content-item-description .quote-inner {
        background-color: var(--lightest-grey);
        padding: 30px;
    }
}

/*******************************/
/*    //    Blockquote   //   */
/*******************************/
#blockquote blockquote {
    font-size: 23px;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 700px;
    padding: 40px 0 15px;
}

@media(min-width: 768px) {
    #blockquote blockquote {
        font-size: 27px;
        padding: 40px 20px 15px;
    }
}

#blockquote cite {
    font-size: .875rem;
}

/*************************/
/*   //  FinalCTA   //   */
/*************************/
#finalCTA .container {
    padding-top: 0;
}

#finalCTA .content-item-image {
    margin: 20px 0 0;
    max-height: 150px;
}

#finalCTA .content-item-image img {
    height: 100%;
    max-height: 150px;
    width: auto;
}

#finalCTA .content-item-description {
    font-size: 1.375rem;
    /* 22px */
    margin-top: 20px;
}

#finalCTA .content-item-button {
    margin-top: 30px;
}

#finalCTA .content-item-button a.btn {
    max-width: 400px;
    width: 100%;
}

@media(min-width: 768px) {
    #finalCTA .content-item-description {
        font-size: 1.9375rem;
        /* 31px */
    }

    #finalCTA .content-item-button {
        margin-top: 30px;
    }

    #finalCTA .content-item-button a.btn {
        width: auto;
    }
}

@media(min-width:1024px) {
    #finalCTA .content-item .title-and-button.off {
        max-width: 750px;
    }
}

/*******************************/
/*   ///////  FAQ  //////   */
/*******************************/
#faq {
	background: none;
	padding: 30px 40px 0;
}

#faq.faq-grey-bg .container {
	background-color: var(--lightest-grey);
	padding: 30px 20px;
}

#faq.crc-volunteer-bg {
    background-image: url("https://cdn.redcross.ca/prodmedia/crc/azure/campaign/monthly/monthly-volunteer.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: -40px;
    padding: 30px 30px 36% 30px;
}

#faq.crc-volunteer-bg .container {
    background-color: var(--white);
    padding: 0;
}

@media(max-width: 767px) {
    #faq.crc-volunteer-bg .container {
        padding: 0;
    }
}

@media(min-width: 768px) {
    #faq .container .accordion-faq p {
        margin: 0;
        max-width: 100%;
    }
}

@media(min-width: 1024px) {
    #faq.crc-volunteer-bg {
        background-size: auto;
        padding: 30px 30px 330px 30px;
    }
    #faq h2 {
        font-size: 2rem;
    }
}

/**********************************************/
/* ACT MONTHLY MATCH - SPECIFIC STYLES ~ 2024 */
/**********************************************/
.banner-with-icon.act .banner-content-container {
    align-items: center;
    display: flex;
    flex-direction: column-reverse;
}

.banner-with-icon.act .banner-icon {
    display: none;
}

@media(min-width: 768px) {
    .banner-with-icon.act .banner-icon {
        display: inline-block;
        width: 250px;
    }
}

.banner-with-icon .banner-title {
    text-align: left;
    margin-bottom: 0;
    padding-left: 0;
}

.banner-with-icon.act .banner-title {
    text-align: inherit;
}

.banner-with-icon.act .banner-title,
.banner-with-icon.act .banner-title .bold {
    line-height: 1;
}
/* BLUE BACKGROUND SECTION */
.act-donor-section {
    margin-top: 30px;
    padding: 80px 30px 30px;
    position: relative;
    overflow: unset;
}

.act-donor-section::before {
    background-image: url("https://cdn.redcross.ca/prodmedia/crc/azure/campaign/monthly/donor_icon.png");
    background-position: top center;
    background-repeat: no-repeat;
    content: "";
    display: block;
    height: 112px;
    position: absolute;
    top: -56px;
    left: calc(50% - 56px);
    width: 112px;
}

.act-donor-section .content-item-description > p {
    margin: 0 auto;
    max-width: 810px;
}

@media(min-width: 768px) {
    .banner-with-background.act .banner-content-container {
        display: flex;
    }
}

@media(min-width: 1024px) {
    .banner-with-background.act .banner-title {
        font-size: 60px;
        margin-bottom: 30px;
    }
}

/* ICONS */
.icon-container .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.icon-container .title-and-description,
.icon-container .description-and-button {
    width: 100%;
}

.icon-container .image-and-description {
    text-align: center;
}

.icon-container .content-item-title {
    margin-bottom: 20px;
}

.icon-container .image-and-description figure {
    margin-bottom: 0;
}

.icon-container .h2 {
    margin-bottom: 20px;
}

.icon-container .image-and-description p {
    font-size: 14px;
}

.icon-container .image-and-description p:first-of-type {
    margin-bottom: 10px;
}

.icon-container .image-and-description img {
    max-width: 100px;
}

@media(max-width: 767px) {
    .icon-container .image-and-description {
        max-width: 70%;
        margin: 0 auto;
        padding: 10px;
    }
}

@media(min-width: 768px) {
    .icon-container .image-and-description {
        width: calc(25% - 30px);
    }
}

@media(min-width: 992px) {
    .icon-container .image-and-description {
        width: calc(25% - 50px);
    }
}

.icon-container .red-border {
    border: 1px solid var(--primary-red);
    border-radius: 3px;
    line-height: 1.38;
    margin: 40px 0;
    padding: 20px;
}

.icon-container .red-border .bold {
    line-height: 1.38;
}

@media(min-width: 768px) {
    .icon-container .red-border {
        margin: 40px 20px;
        padding: 40px;
    }
}

.icon-container .red-border .content-item-description {
    font-size: 18px;
    margin-bottom: 20px;
}

.icon-container .red-border .description-and-button .content-item-button {
    margin-bottom: 0;
}

/* CAROUSEL */
#maincontent .container {
    padding-top: 0;
}

#maincontent .inner-container {
    padding: 0;
    position: relative;
}

#maincontent .carousel-direction {
    background-color: inherit;
    cursor: pointer;
    height: 40px;
    position: absolute;
    top: 117px;
    width: 40px;
    z-index: 39;
}

#maincontent .carousel-direction.carousel-direction-previous {
    left: -25px;
}

#maincontent .carousel-direction.carousel-direction-previous svg {
    transform: scale(-1, -1);
    transition-property: none;
}

#maincontent .carousel-direction.carousel-direction-next {
    right: -25px;
}

#maincontent .carousel-direction svg {
    display: block;
    height: 40px;
    width: 40px;
}

#maincontent .carousel-direction:hover,
#maincontent .carousel-direction:focus {
    background-color: rgba(225, 225, 225, .9);
}

#maincontent .carousel-direction svg path {
    fill: var(--a11y-grey);
}

#maincontent .carousel-direction:hover svg path,
#maincontent .carousel-direction:focus svg path {
    fill: var(--blackest-black);
}

#main-ctas .container,
#main-ctas .inner-container {
    padding: 0;
}

#main-ctas .flex-container {
    display: flex;
    height: 450px;
    min-height: 100%;
    position: relative;
}

#main-ctas .flex-slide {
    align-content: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    left: 0;
    max-height: 450px;
    overflow: hidden;
    padding: 4px 4px 0;
    position: absolute;
    top: 0;
    transition: all 500ms ease;
    z-index: 2;
}

#main-ctas .flex-slide.active {
    align-content: center;
    z-index: 30;
}

#main-ctas .flex-slide.active img {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.34);
}

#main-ctas .flex-slide .content-item-title,
#main-ctas .flex-slide .content-item-description,
#main-ctas .flex-slide .image-credit {
    display: none;
}

#main-ctas .flex-slide.active .content-item-title,
#main-ctas .flex-slide.active .content-item-description,
#main-ctas .flex-slide.active .image-credit {
    display: block;
    z-index: 9999;
}

#main-ctas .flex-slide.active .image-credit {
    color: var(--black);
    font-size: .625rem;
    text-align: left;
}

@media(min-width: 768px) {
    #main-ctas .flex-slide .content-item-title,
    #main-ctas .flex-slide .content-item-description,
    #main-ctas .flex-slide .image-credit {
        opacity: 0;
    }

    #main-ctas .flex-slide.active .content-item-title,
    #main-ctas .flex-slide.active .content-item-description,
    #main-ctas .flex-slide.active .image-credit {
        color: var(--black);
        display: block;
        z-index: 9999;
        -webkit-animation-name: delayDisplay;
        -webkit-animation-duration: 1s;
        -webkit-animation-delay: 0.5s;
        -webkit-animation-fill-mode: forwards;
    }
}

#main-ctas .container .content-item-image {
    display: none;
}

#main-ctas .container .flex-slide.active .content-item-image {
    display: inline-block;
    margin: 0 auto 10px;
    max-width: 320px;
}

@keyframes delayDisplay {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#main-ctas .container .content-item-description p {
    font-size: 14px;
    text-align: center;
}

#main-ctas .container .content-item-description p:first-of-type {
    margin-bottom: 5px;
}

.carousel-mobile-path {
    display: none;
}

@media(max-width: 767px) {
    .carousel-mobile-path {
        display: inline-block;
        left: calc(50% - 28px);
        position: absolute;
        top: 260px;
        width: 56px;
    }

    .carousel-mobile-path svg {
        width: 10px;
        height: 10px;
    }

    .carousel-mobile-path svg.active circle {
        fill: var(--primary-red);
    }

    #main-ctas .container .flex-slide.active .content-item-image {
        margin-bottom: 60px;
    }

    #main-ctas .flex-slide.active img {
        max-height: 240px;
    }
}

@media(min-width: 768px) {
    #main-ctas .flex-container,
    #main-ctas .flex-slide {
        max-height: 450px;
    }

    #carousel .inner-container {
        padding: 0 40px;
    }

    #main-ctas .container {
        padding: 0 30px 40px;
    }

    #carousel .carousel-direction {
        background: none;
        box-shadow: none;
        cursor: pointer;
        position: absolute;
        top: 23%;
    }

    #carousel .carousel-direction.carousel-direction-previous {
        left: 0;
    }

    #carousel .carousel-direction.carousel-direction-next {
        right: 0;
    }

    #main-ctas .flex-slide {
        flex: 1;
        margin: 5% 0 0;
        position: relative;
    }

    #main-ctas .flex-slide.active {
        flex: 1.5;
        margin-top: 0;
    }

    #main-ctas .container .content-item-image {
        display: inline-block;
        margin: 0 0 10px;
    }

    #main-ctas .container .flex-slide .content-item-image {
        opacity: .55;
    }

    #main-ctas .container .flex-slide.active .content-item-image {
        opacity: 1;
    }

    #main-ctas .container .content-item-description p {
        text-align: left;
    }
}

/* SLIDER */
#media {
    padding: 30px 30px 0;
    margin-bottom: 20px;
}

#media .container {
    padding-bottom: 0;
}

@media(max-width: 767px) {
    #media {
        padding: 30px 20px 0;
    }

    #media .container {
        padding: 0;
    }
}

/* GENEROUS DONORS */
#generous-donors .content-item-description .act-donor-wrapper {
    padding: 30px 0;
}

#generous-donors .container .act-donor-section .h2 {
    margin-bottom: 20px;
}

@media(max-width: 767px) {
    #generous-donors .content-item-description .act-donor-wrapper {
        padding: 30px 0 0;
    }

    #generous-donors .container {
        padding: 30px 0;
    }

    #generous-donors .container .act-donor-section h2 {
        font-size: 38px;
        line-height: 1.1;
    }

    #generous-donors .container .act-donor-section h2 .bold {
        line-height: 1.1;
    }

    #generous-donors .content-item-description .act-donor-wrapper p {
        padding: 30px 0;
    }

    #generous-donors .content-item-description .act-donor-wrapper p:first-of-type {
        border-bottom: 1px solid var(--primary-red);
    }
}

@media(min-width: 768px) {
    #generous-donors .content-item-description .act-donor-wrapper p {
        padding: 0 30px;
    }

    #generous-donors .content-item-description .act-donor-wrapper p:first-of-type {
        border-right: 1px solid var(--primary-red);
    }
}

/* BLOCKQUOTE */
#blockquote blockquote {
    font-size: 23px;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 700px;
    padding: 40px 0 15px;
}

@media(min-width: 768px) {
    #blockquote blockquote {
        font-size: 27px;
        padding: 40px 20px 15px;
    }
}

#blockquote cite {
    font-size: 14px;
}

/*********************************/
/*   ///////  CAROUSEL  //////   */
/*********************************/
/* Universal Carousel styles - for both mobile map and standard carousel */
.carousel-container {
    position: relative;
}

.carousel-container .carousel-controls {
    bottom: 0;
    height: 200px;
    position: absolute;
    width: 100%;
}

.carousel-container .carousel-direction {
    /* background-color: inherit; */
    cursor: pointer;
    height: 40px;
    position: absolute;
    top: 117px;
    width: 40px;
    z-index: 39;
}

.carousel-container .carousel-direction.carousel-direction-next {
    right: -25px;
}

.carousel-container .carousel-direction.carousel-direction-previous {
    left: -25px;
}

@media(min-width: 768px) {
    .carousel-container .carousel-direction.carousel-direction-next {
        right: -5px;
    }

    .carousel-container .carousel-direction.carousel-direction-previous {
        left: -5px;
    }
}

/* flex-slider styling */
.carousel-container .container {
    padding-top: 0;
}

.carousel-mobile-path {
    display: none;
}

.carousel-container .container {
    padding: 0;
}

.carousel-container .flex-container {
    display: flex;
    height: 450px;
    min-height: 100%;
    position: relative;
}

.carousel-container .flex-slide {
    align-content: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    left: 0;
    overflow: hidden;
    padding: 4px 4px 0;
    position: absolute;
    top: 0;
    transition: all 500ms ease;
    z-index: 2;
    display: none;
}

.carousel-container .flex-slide.active {
    align-content: center;
    display: flex;
    margin: 0 auto;
    max-width: 400px;
    z-index: 30;
}

.carousel-container .info-box {
    background: inherit;
    box-shadow: none;
}

/*************************/
/*    //    Icons   //   */
/*************************/
#icon-grid {
    margin-top: 30px;
}

#icon-grid.impact-content-item {
    background: none;
}

#icon-grid.impact-content-item .content-item-image {
    margin: 0 auto;
    max-width: 140px;
}

#icon-grid.impact-content-item .image-and-description {
    margin-bottom: 40px;
}

#icon-grid.impact-content-item .image-and-description:last-of-type {
    margin-bottom: 0;
}

@media(min-width: 768px) {
    #icon-grid .container {
        display: flex;
        position: relative;
    }

    #icon-grid.impact-content-item .image-and-description {
        padding: 0 30px;
        margin: 0;
        text-align: center;
        width: 33.33%;
    }
}

@media(min-width: 1024px) {
    #icon-grid .container:before,
    #icon-grid .container:after {
        background-image: url('/crc/img/campaign/2024_springmatch/springmatch2024_icon-swirl.png');
        background-repeat: no-repeat;
        background-size: contain;
        content: '';
        display: inline-block;
        height: 130px;
        position: absolute;
        top: 40px;
        width: 170px;
    }

    #icon-grid .container:before {
        left: 26%;
    }

    #icon-grid .container:after {
        right: 26%;
    }
}

/* Mobile Carousel feature - requires js */
#mobile-carousel .inner-container {
    padding: 0;
    position: relative;
}

#mobile-carousel > .container {
    padding: 0 12px;
}

#mobile-carousel .carousel-direction {
    top: 77px;
}

/* General Carousel Direction Styles */
#maincontent .carousel-direction svg path,
.carousel-direction svg path {
    fill: var(--grey-black);
}

.carousel-direction.carousel-direction-previous svg {
    transform: scale(-1,-1);
    transition-property: none;
}

.carousel-direction svg {
    background-color: #fff7;
    display: block;
    height: 40px;
    width: 40px;
}

.carousel-direction:hover,
.carousel-direction:focus {
    background-color: var(--lightest-grey);
}

.carousel-direction:hover svg path,
.carousel-direction:focus svg path {
    fill: var(--grey-black);
}

.carousel-js .container,
.carousel-js .inner-container {
    padding: 0;
}

.carousel-js .flex-container {
    display: flex;
    height: 610px;
    margin: 0 auto;
    max-width: 310px;
    min-height: 100%;
    position: relative;
}

.carousel-js .flex-slide {
    align-content: center;
    cursor: pointer;
    display: flex;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    left: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 0;
    transition: all 500ms ease;
    z-index: 2;
}

.carousel-js .flex-slide.active {
    display: flex;
    align-content: center;
    z-index: 30;
}

.carousel-js .flex-slide .content-item-description {
    display: none;
}

.carousel-js .flex-slide.active .content-item-description {
    display: block;
    z-index: 9999;
}

#mobile-carousel .flex-slide .image-container > img {
    min-width: 100%;
}

@media(min-width: 768px) {
    .carousel-js .flex-slide .content-item-description {
        opacity: 0;
    }
    .carousel-js .flex-slide.active .content-item-description {
        -webkit-animation-name: delayDisplay;
        -webkit-animation-duration: 1s;
        -webkit-animation-delay: .5s;
        -webkit-animation-fill-mode: forwards;
        color: var(--black);
        display: block;
        z-index: 9999;
    }
}

.carousel-js .container .content-item-image {
    display: none;
}

.carousel-js .container .flex-slide.active .content-item-image {
    display: inline-block;
    margin: 0 auto 10px;
    max-width: 300px;
}

@keyframes delayDisplay {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.carousel-js .container .content-item-description p {
    font-size: .875rem;
    text-align: center;
}

.carousel-js .container .content-item-description p:first-of-type {
    margin-bottom: 5px;
}

.carousel-mobile-path {
    display: none;
}

@media(max-width: 767px) {
    #mobile-carousel .carousel-mobile-path {
        display: inline-block;
        left: 0;
        position: absolute;
        right: 0;
        text-align: center;
        top: 150px;
        width: 100%;
        z-index: 39;
    }
}

@media(max-width: 413px) {
    #mobile-carousel .carousel-mobile-path {
        top: 157px;
    }
}

@media(max-width: 400px) {
    #mobile-carousel .carousel-mobile-path {
        top: 145px;
    }
}

@media(max-width: 380px) {
    #mobile-carousel .carousel-mobile-path {
        top: 135px;
    }
}

@media(max-width: 321px) {
    #mobile-carousel .carousel-mobile-path {
        top: 105px;
    }
}

@media(max-width: 767px) {
    .carousel-mobile-path svg {
        width: 10px;
        height: 10px;
    }

    .carousel-mobile-path svg circle {
        fill: var(--white);
    }

    .carousel-mobile-path svg.active circle {
        fill: var(--primary-red);
    }

    .carousel-js .container .flex-slide.active .content-item-image {
        margin-bottom: 60px;
    }

    .carousel-js .flex-slide.active img {
        display: block;
        max-width: 100%;
    }
}

#mobile-carousel {
    display: block;
    margin: 0 auto;
    max-width: 330px;
    padding: 30px 0 0;
}

@media(min-width: 768px) {
    #mobile-carousel {
        display: none;
    }

    .carousel-js .container {
        padding: 0 30px 40px;
    }

    .carousel-js .flex-slide {
        flex: 1;
        margin: 5% 0 0;
        position: relative;
    }

    .carousel-js .flex-slide.active {
        flex: 1.5;
        margin-top: 0;
    }

    .carousel-js .container .content-item-image {
        display: inline-block;
        margin: 0 0 10px;
    }

    .carousel-js .container .content-item-description p {
        text-align: left;
    }
}

/* CAROUSEL */
#maincontent > .container {
    margin: 0 auto;
}

@media (max-width: 767px) {
    #main-ctas .container .flex-slide.active .content-item-image {
        margin-bottom: 50px;
    }
    #maincontent .carousel-direction {
        top: 87px;
    }
    .carousel-mobile-path {
        display: block;
        top: 255px;
    }
    .carousel-mobile-path svg circle {
        fill: #ABADB1;
    }
    #maincontent > .container {
        margin: 0 auto;
        padding: 0;
    }
    #maincontent .carousel-direction.carousel-direction-previous, 
    .carousel-direction.carousel-direction-previous {
        left: 8px;
    }
    #maincontent .carousel-direction.carousel-direction-next, 
    .carousel-direction.carousel-direction-next {
        right: 8px;
    }
    #main-ctas .container .flex-slide.active .content-item-image {
        max-width: 255px;
    }
    #maincontent .content-item-description {
        padding: 0 30px;
    }
}

@media (min-width: 768px) {
    #maincontent .carousel-direction.carousel-direction-previous, 
    .carousel-direction.carousel-direction-previous {
        left: -14px;
    }

    #maincontent .carousel-direction.carousel-direction-next, 
    .carousel-direction.carousel-direction-next {
        right: -14px;
    }

    #maincontent .carousel-direction {
        top: 77px;
    }
    #main-ctas .container {
        padding: 0 30px 0;
    }
}


@media (min-width: 1024px) {
    #maincontent .carousel-direction {
        top: 107px;
    }
    html[lang|="fr"] #main-ctas .flex-container, 
    html[lang|="fr"] #main-ctas .flex-slide {
        max-height: 550px;

    }
    html[lang|="fr"] #main-ctas .flex-container {
        height: 550px;
    }
}

/* Monthly Match - Adapted from Spring Match 2024 */

/* Updated Oct 28 2025 - Alex Davey */
/* Map styles moved to /campaign/elements folder */
