/* CARD CONTAINER */

#card-grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));;
    gap: 30px;
}

.card-container {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    background: #FFF;
}

@media screen and (max-width: 639px) {
    #card-grid-container {
        display: flex;
        gap: 16px;
        overflow-x: scroll;
    }

    .card-container {
        width: 330px;
        min-width: 330px;
    }
}

.card-image-container {
    min-height: 230px;
    border-radius: 8px 8px 0px 0px;
    background: #EDF7FC;
    display: flex;
    flex-direction: column;
    padding: 33px 0 24px;
    gap: 24px;
    align-items: center;
}

.card-image {
    width: 191px;
    height: 121px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.card-captions {
    display: flex;
    flex-direction: row;
}

.card-image-caption {
    display:inline;
    color: #252525;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
    text-transform: uppercase;
    padding: 3px 10px;
    background: #FFF;
}

.card-details {
    padding-top: 24px;
    padding-left: 20px;
    padding-right: 20px;
}

.card-pad {
    padding-bottom:24px;
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-details-header {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    /* min-height: 64px; */
    /* max-height: 175px; */
}

.card-title {
    color: #1F1F1F;
    font-family: 'RBCDISPLAY';
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 27px;
}

.card-details-annual-fee-container {
    color: #585858;
    text-align: right;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    min-width: 60px;
}

.card-details-annual-fee {
    color: #1F1F1F;
    font-family: Roboto;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
}

.card-details-offer-container {
    border-radius: 8px;
    border: 1px solid #FFB500;
    background: linear-gradient(180deg, rgba(255, 186, 0, 0.10) 0%, rgba(255, 186, 0, 0.00) 100%);
    padding: 22px 16px 16px 16px;
    position: relative;
}

.card-details-offer-caption {
    position: absolute;
    left: 16px;
    top: -11px;
    border-radius: 4px;
    background: #FFBA00;
    padding: 3px 10px;
    color: #252525;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px; /* 133.333% */
    text-transform: uppercase;
}

.card-details-offer-content {
    color: #1F1F1F;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: Paragraph/paragraph <strong> */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.card-details-features-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.card-details-features-heading {
    color: #1F1F1F;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Paragraphs/Styles/Form Label */
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

@media screen and (max-width: 768px) {
    .card-details-features-heading {
        color: #006AC3;
        font-family: Roboto;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;

    }
}

.card-details-features-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.card-details-features-item-content {
    color: #1F1F1F;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Paragraphs/Text/reg */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;

    /* for the ::before content */
    display: table;
}

.card-bottom {
    margin-top: auto;
}

.card-details-rate-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.card-details-rate-item-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-details-rate-item-label {
    color: #1F1F1F;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: UI/ui-xs_low-emphasis */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 16px; /* 133.333% */
}

.card-details-rate-item-value {
    color: #1F1F1F;
    font-feature-settings: 'clig' off, 'liga' off;

    /* Text: UI/ui-sm */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.card-action-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.card-accordion {
    border: none !IMPORTANT;
}

.apply-now-container {
    width: 100%;
    height: 51px;
    padding: 16px 32px 0px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    border-radius: 0px 0px 8px 8px;
    background: #006AC3;
    color: #FFF !important;
    text-align: center;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 18.968px; /* 118.553% */
    user-select: none;
    overflow: hidden;
}

.apply-now-container:hover {
    text-decoration: none;
}

/* icons */

.feature-icon-rewards::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-rewards.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-cash::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-cash.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(0%) saturate(6508%) hue-rotate(161deg) brightness(100%) contrast(102%);
}

.feature-icon-insurance::before {
    content: url("/new-to-canada/_assets-custom/images/feature-icon-insurance.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-money-coin::before {
    content: url("/new-to-canada/_assets-custom/images/feature-icon-money-coin.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-card::before {
    content: url("/new-to-canada/_assets-custom/images/feature-icon-card.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.icon-atm::before {
    content: url("/new-to-canada/_assets-custom/images/icon-atm.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.icon-transfer::before {
    content: url("/new-to-canada/_assets-custom/images/icon-transfer-small-bold.svg");
    display: table-cell;
    width: 24px;
    height: 24px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-heart::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-heart.svg");
    display: table-cell;
    width: 36px;
    height: 36px;
    vertical-align: top;
    padding-right: 12px;
}

.feature-icon-world::before {
    content: url("/credit-cards/transformer/img/icons/feature-icon-world.svg");
    display: table-cell;
    width: 36px;
    height: 36px;
    vertical-align: top;
    padding-right: 12px;
}

.icon-bank-accounts::before {
    content: url("/dvl/v1.0/assets/images/icons/icon-bank-accounts.svg");
    filter: brightness(0) saturate(100%) invert(13%) sepia(0%) saturate(6508%) hue-rotate(161deg) brightness(100%) contrast(102%);
    display: table-cell;
    width: 36px;
    height: 36px;
    vertical-align: top;
    padding-right: 12px;
}

.icon-investments::before {
    content: url("/new-to-canada/_assets-custom/images/icon-investments-simple.svg");
    display: table-cell;
    width: 36px;
    height: 36px;
    vertical-align: top;
    padding-right: 12px;
}

.mar-t-24 {
    margin-top: 24px !important;
}


/*
    Frenco (Sep 9):

    a dirty hack used in /new-to-canada/business-banking-offers/index.html,
    since the design used a horizontal scrollable view for mobile, thus needed
    to "remove" the padding to make the next card visible

    you may use other ways to make it works, or use the same id/classes as below:
*/
@media screen and (max-width: 639px) {
    #business-cards>.section-inner>.section-inner.pad-lr-0 {
        margin-right: -15px;
    }
}