.overview .ae-header .ae-content {
    background: transparent;
    margin-top: -370px;
    padding: 0;
}

section.overview #credit-card-tabs nav.cc-nav .ribbon {z-index: 1;}

/*#credits-cards-overview-td-business .ae-header .ae-content {
    padding: 4em;
    background: white;
    margin-top: -168px;
}*/

section.overview .ae-content.white-panel:first-child {margin-top: 0px; padding-top: 20px !important;}

#business .ae-content.white-panel {
    -webkit-box-shadow: 0 15px 19px -7px rgb(0 0 0 / 20%);
    box-shadow: 0 15px 19px -7px rgb(0 0 0 / 16%) !important;
    margin-top: -25px;
}

.ae-header picture img {
    height: 500px;
    width: 100%;
}

.overview .ae-header .ae-content p {
    font-weight: 600;
}

.overview .ae-content.top {
    box-shadow: 0 -6px 19px -7px rgb(0 0 0 / 20%);
    padding-top: 12px;
    padding-bottom: 32px;
}

.overview .tab-pane {
    margin-top: 0;
}

.overview .tab-pane .ae-content.white-panel {
    padding-top: 3em;
}

.overview .td-aeroplan-offered {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.overview .td-aeroplan-offered img {
    max-width: 50px;
    margin: 0 10px;
}

.overview .td-aeroplan-offered img {
    max-width: 50px;
    margin: 10px;
}

.overview .mobile-banner {
    display: none;
}

.overview .nav.nav-tabs.newUI li a,
.overview .mobile-banner a {
    padding: 0px;
    border-bottom: none;
    text-align: center;
    margin-bottom: 15px;
}

.overview .nav.nav-tabs.newUI li.col-33 {
    width: 33.33%;
    border-left: solid 1px #c6c6c6;
    border-bottom: solid 1px #c6c6c6;
    background-color: #f1f1f1;
    padding: 20px 35px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overview .nav.nav-tabs.newUI li.col-33:nth-child(1) {
    border-left: none;
}

.overview .nav.nav-tabs.newUI li.col-33:hover,
.overview .mobile-banner:hover {
    cursor: pointer;
}

.overview .nav.nav-tabs.newUI li.col-33.active {
    background-color: #fff;
    border-bottom: solid 1px transparent;
    ;
}

.overview .nav.nav-tabs.newUI li.col-33 span.title,
.overview .mobile-banner span.title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 14px;
    text-align: center;
}

.overview .nav.nav-tabs.newUI li.col-33 img,
.overview .mobile-banner img {
    max-width: 180px;
}

.overview .nav.nav-tabs.newUI li.col-33 .banner {
    background: url(https://www.aircanada.com/content/dam/aircanada/portal/images/target/td-aeroplan-rectangle-white.svg) no-repeat;
    width: 340px;
    height: 60px;
    position: relative;
    margin-top: -35px;
    display: flex;
    text-align: center;
}

@media only screen and (min-width: 1025px) {
    .overview .nav.nav-tabs.newUI li.col-33:nth-of-type(3) .banner .earn {
        flex: 1.25;
    }
    .overview .nav.nav-tabs.newUI li.col-33:nth-of-type(2) .banner .plus,
    .overview .nav.nav-tabs.newUI li.col-33:nth-of-type(3) .banner .plus {
        flex: 0;
    }
    .overview .nav.nav-tabs.newUI li.col-33:nth-of-type(2) .banner .upto,
    .overview .nav.nav-tabs.newUI li.col-33:nth-of-type(3) .banner .upto {
        flex: 1.25;
    }
    .overview .nav.nav-tabs.newUI li.col-33:nth-of-type(2) .banner p,
    .overview .nav.nav-tabs.newUI li.col-33:nth-of-type(3) .banner p {
        font-size: 14px;
    }
    .overview .nav.nav-tabs.newUI li.col-33:nth-of-type(2) .banner .earn {
        flex: 1;
        padding: 0 10px;
    }
}

 :lang(fr) .banner p {
    font-size: 14px;
    letter-spacing: 0px;
}

.overview .mobile-banner .banner {
    background: url(https://www.aircanada.com/content/dam/aircanada/portal/images/target/td-aeroplan-rectangle.svg) no-repeat;
    width: 340px;
    height: 60px;
    position: relative;
    margin-top: -35px;
    display: flex;
}

 :lang(fr).newUI li:nth-child(3) .plus img {
    position: relative;
    left: calc(40% - 0px);
}

.overview .nav.nav-tabs.newUI li.col-33.active .banner {
    background: url(https://www.aircanada.com/content/dam/aircanada/portal/images/target/td-aeroplan-rectangle.svg) no-repeat;
}

.overview .nav.nav-tabs.newUI li.col-33 .banner p,
.overview .mobile-banner .banner p {
    margin: 0 auto;
    align-self: center;
}

.overview .nav.nav-tabs.newUI li.col-33 .banner p img,
.overview .mobile-banner .banner p img {
    margin: 0;
}

.overview .tab-content .tab-pane .intro-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/*#credits-cards-overview-td-business .ae-header .ae-content p {
    font-size: 16px;
    font-weight: 300;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.63;
    letter-spacing: normal;
    text-align: center;
    color: #000;
}*/

.overview .tab-content .tab-pane .intro-row h2,
.overview .tab-content .tab-pane .intro-row p {
    margin-bottom: 0px;
}
.overview .tab-content .tab-pane .intro-row h2{
	width: 100%;
	margin-top: 20px;    
	text-align: center;
}
.overview .tab-content .tab-pane .intro{
	text-align: center;
}
.overview .tab-content .tab-pane .intro p{
	font-size: 20px;
}
.overview .tab-content .tab-pane .intro p.cc-offer-desc-small{
    font-size: 14px;
}

.overview .tab-content .tab-pane .intro-row .green-pill {
    margin: 0 20px;
}

.overview .tab-content .tab-pane .intro-row .green-pill+p {
    font-size: 16px;
    font-weight: 600;
    color: #e02020;
}

.overview .tab-content .tab-pane .intro-row+.row {
    text-align: center;
}

.overview .tile-container {
    display: flex;
}

.tile-container .mobile-tile-heading .learn-more {
    display: none;
}

.overview .tile-container .tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: solid 1px #efefef;
    background-color: #fff;
    margin: 30px 30px 30px 0;
    padding: 15px 30px;
    text-align: center;
}

@media only screen and (min-width: 1025px) {
    .overview .tile-container .tile {
        min-height: 320px;
    }
    .overview .tile-container .tile:nth-of-type(even) p {
        font-size: 16px;
        font-weight: 300;
    }

	#credits-cards-overview-td-personal{
		margin-top: 55px;
	}

    #credits-cards-overview-td-business .tile-container .tile:lang(fr) {min-height: 370px;}
    #credits-cards-overview-td-personal .td-aeroplan-offered {padding-right: 2em;}
}

.overview .tile-container .tile a:hover {
    cursor: pointer;
    text-decoration: underline !important;
}

.overview .tile-container .tile:hover {
    box-shadow: 0 0 25px 0 rgb(0 0 0 / 15%);
    -webkit-box-shadow: 0 0 25px 0 rgb(0 0 0 / 15%);
}

.overview .tile-container .tile:nth-last-of-type(2),
.overview .tile-container .tile:nth-last-of-type(1) {
    margin-right: 0;
}

.overview .tile-container .tile img {
    margin: 10px auto;
}

.overview .tile-container .tile .mobile-tile-heading {
    display: flex;
    flex-direction: column;
}

.overview .ae-content.white-panel .offer-end {
    background-color: #f2f2f2;
    padding: 25px 30px;
}

.overview .ae-content.white-panel .offer-end div {
    display: flex;
}

.overview .ae-content.white-panel .offer-end p {
    margin-bottom: 0;
    align-self: center;
}

.overview .ae-content.white-panel .offer-end div p {
    margin-right: 30px;
}

.overview .ae-content.white-panel .offer-end div+p {
    margin-left: auto;
}

.overview .tile-container .mobile-tile-heading img {
    margin-bottom: 15px;
    width: 110px;
    height: 110px;
}

.overview .tile-container .mobile-tile-heading div p,
.overview .tile-container .mobile-tile-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.25;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.overview .tile-container .mobile-tile-heading div p.h2-styled {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.33px;
    color: #000;
}

.overview .tile-container .mobile-tile-heading div p.h2-styled:after {
    width: 20px;
    height: 2px;
    background: #d0d0ce;
    margin: 10px auto;
    border: solid 2px #d0d0ce;
    display: block;
    content: '';
}

.overview .rewards-medallion {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 750px;
    margin: 50px auto 30px;
    width: 100%;
    height: 68px;
    padding: 0 30px;
    font-size: 16px;
    border-top: 36px solid #f5f5f5;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 36px solid #f5f5f5;
}

.overview .rewards-medallion-img {
    position: relative;
}

.overview .rewards-medallion-content {
    margin-left: 25px;
    text-align: center;
}

.overview .rewards-medallion-content p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0px;
}

.col-45 {
    width: calc(45% - 3px);
    display: inline-block;
    vertical-align: top;
}

.light-blue-bg h4 {
    font-size: 28px;
    text-align: left;
}

.tile .close {
    position: relative;
    margin: auto auto 10px;
    left: 0;
    /*transform: rotateZ(180deg) !important;*/
}

/*#infinite .tile .close {
    transform: translate(9rem, -34rem);
}

#platinum .tile .close {
    transform: translate(16rem, -35rem);
}

:lang(fr) #platinum .tile .close {
    transform: translate(14rem, -38rem);
}

:lang(fr) #infinite .tile .close {
    transform: translate(8rem, -37rem);
}

#privilege.tile .close {
    transform: translate(15rem, -36rem);
}*/

/*:lang(fr) .learn-more {
    transform: translate(-4rem, 5rem);
    position: absolute;
}*/

.mobile-tile-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-tile-content .learn-more {
    margin-top: auto;
    margin-bottom: 15px;
}

/*:lang(fr) .tile .close {
    position: relative;
    margin: auto auto 10px;
    transform: none !important;
}*/

.light-blue-bg .col-45 .row {
    padding: 20px 0px;
    border-top: 1px solid #e6e6e6;
}

.light-blue-bg .col-25 {
    padding: 0px !important;
    font-weight: 600;
}

.result {
    font-size: 18px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
    border-top: 3px solid black;
    padding-top: 8px;
}

.light-blue-bg .col-50 {
    margin-right: calc(6% - 10px);
    text-align: left;
}

#view-legal-point-email,
#view-legal-platinum,
#view-legal-infinite,
#view-legal-privilege {
    display: none;
    position: fixed;
    z-index: 10;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
}

.modal-container {
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 710px;
    position: relative;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal .modal-container .modal-header h3:before {
    display: inline-block;
    height: 15px;
    content: '';
    border-right: 3px solid #b8a890;
    margin-right: 10px;
}

.modal-header .close {
    position: relative;
    left: calc(98% - 0px) !important;
    bottom: 41px;
    font-size: 25px !important;
}

.modal.selected {
    display: block !important;
}

.modal-container .modal-header {
    padding: 25px 30px 0px 30px;
    color: black;
    -webkit-box-shadow: 0 6px 19px -7px rgb(0 0 0 / 20%);
    box-shadow: 0 6px 19px -7px rgb(0 0 0 / 20%);
    padding: 25px 30px;
    color: black;
}

.modal-body {
    overflow-y: scroll;
    height: 400px;
    width: 100%;
    padding: 2em;
}

#view-more-infinite .modal-body,
#view-more-privilege .modal-body {
    padding: 0px;
}

#view-more-infinite .modal-content,
#view-more-privilege .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border: none;
    width: 86%;
    margin-top: -10%;
    z-index: 5;
    position: relative;
    padding: 4em 30px 30px;
}

.black-bg {
    padding-top: 64px !important;
    margin-top: 0px !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
}

.modal .modal-container {
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 40%;
    position: relative;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal .modal-container .modal-header {
    padding: 25px 30px;
    color: black;
}

.modal .modal-container .modal-footer p {
    margin-bottom: 0px;
}

.modal .modal-container .primary-btn {
    float: right;
    margin: 0px;
}

.ae-content+img {
    display: none;
}

.light-blue-bg {
    background-image: linear-gradient(to top, #ddecf5, #fff) !important;
}

.mobile-only {
    display: none !important;
}

.card-intro {
    display: none;
}

.overview.td .rewards-canada-badge {
    max-width: 80px;
    width: 100%;
    margin: 0 auto;
}

/*:lang(fr) #privilege .tile-container .close {
    position: absolute;
    margin: auto auto 0;
    transform: translate(15rem, -37rem);
}*/

/*#privilege .tile-container .close {
    transform: translate(14rem, -33rem);
}*/

@media only screen and (min-width: 768px) and (max-width: 1025px) {
    .overview .ae-header .ae-content {
        background: transparent;
        margin-top: -220px;
        padding: 0;
    }
    .overview .ae-header picture img {
        height: 300px;
        width: 100%;
    }
    .overview .rewards-medallion-img img {
        width: 200px;
    }
    .banner {
        display: none;
    }
    .overview .ae-header .ae-content p,
    .overview .ae-header .ae-content h1 {
        display: none;
    }
    .card-intro {
        display: block;
        background-color: white;
        z-index: 1;
        position: relative;
        margin-bottom: -26px;
        text-align: center;
        padding: 4em 4em 30px 4em;
    }
    .mobile-tile-heading {
        display: flex !important;
    }
    .tile div p {
        font-size: 16px;
        font-weight: 300;
        padding-top: 13px;
    }
    .h2-styled {
        padding-top: 0px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .overview .ae-header .ae-content h1 {
        font-size: 28px;
    }
    .overview .ae-header .ae-content h1+p {
        font-size: 14px;
    }
    .overview .mobile-banner {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10px 0 30px;
    }
    .overview .mobile-banner .banner {
        margin-top: -20px;
    }
    .overview .mobile-banner img {
        max-width: 280px;
    }
    .overview .nav.nav-tabs.newUI li.col-33 {
        width: 100%;
        border: none;
        background-color: #fff;
        padding: 10px 20px;
        align-items: baseline;
    }
    .overview .nav.nav-tabs.newUI li.col-33.active {
        background-color: #f1f1f1;
    }
    .overview .nav.nav-tabs.newUI li a {
        padding: 0px;
        border-bottom: none;
        text-align: left;
        margin-bottom: 0;
        width: 100%;
    }
    .overview .nav.nav-tabs.newUI li.col-33 span.title {
        font-size: 18px;
        margin-bottom: 0px;
        text-align: left;
    }
    .overview .nav.nav-tabs.newUI li.col-33 .banner,
    .overview .nav.nav-tabs.newUI li.col-33 img,
    .overview .nav.nav-tabs.newUI li.col-33 span.title br,
    .overview .rewards-medallion-content br {
        display: none;
    }
    .overview .ae-content.white-panel .offer-end {
        flex-direction: column;
        margin: 20px 0 25px;
    }
    .overview .ae-content.white-panel .offer-end div {
        flex-direction: column;
    }
    .overview .ae-content.white-panel .offer-end p {
        margin: 0 0 10px 0;
        align-self: end;
    }
    .overview .ae-content.white-panel .offer-end div+p {
        margin: 10px 0;
    }
    .overview .tile-container {
        flex-direction: column;
    }
    .overview .tile-container .tile {
        margin: 10px 0;
        padding: 15px 20px;
    }
    .overview .tile-container .tile:nth-of-type(odd) {
        flex-direction: row;
    }
    .overview .tile-container .tile .mobile-tile-heading {
        flex-direction: row;
        align-items: center;
        flex: 2;
    }
    .overview .tile-container .mobile-tile-heading .learn-more {
        display: block;
    }
    .overview .tile-container .mobile-tile-heading img {
        margin: 0 20px 0 0;
        width: 60px;
        height: 60px;
    }
    .overview .tile-container .mobile-tile-content {
        display: flex;
        align-items: center;
    }
    .overview .tile-container .mobile-tile-content p {
        display: none;
    }
    .overview .tile-container .mobile-tile-content a.learn-more {
        text-decoration: none;
        content: url(/content/dam/aircanada/loyalty-content/images/icon/icon-down-arrow.svg);
        display: block;
        width: 24px;
        height: 24px;
    }
    .overview .tile-container .mobile-tile-heading div p {
        font-size: 14px;
        text-align: left;
        margin-bottom: 0;
    }
    .overview .tile-container .mobile-tile-heading div p.h2-styled {
        font-size: 18px;
        font-weight: bold;
    }
    .overview .tile-container .mobile-tile-heading div p.h2-styled:after {
        display: none;
    }
    .dropdown-arrow {
        content: url(/content/dam/aircanada/loyalty-content/images/icon/icon-down-arrow.svg);
        display: block;
        width: 24px;
        height: 24px;
        -o-object-fit: contain;
        object-fit: contain;
        float: left;
        margin-right: -20px;
        margin-top: -3px;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
        float: right;
    }
    .tile .close, .close {
        position: relative;
        margin: auto auto 10px;
        left: 0;
        transform: rotateZ(180deg) !important;
        -webkit-transform: rotateZ( 180deg) !important;
    }
/*     :lang(fr) .close {
        position: absolute;
        transform: translate(-1rem, 0rem) rotateZ( 180deg);
        -webkit-transform: translate(-1rem, 0rem) rotateZ( 180deg);
    }*/
     :lang(fr) .learn-more {
        transform: translate(-1rem, 0rem);
        position: relative;
        top: 0px;
    }
    .rewards-medallion-img {
        position: relative;
        max-width: 100px;
        padding: 0px;
        margin: 0px;
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .overview .ae-header .ae-content h1 {
        font-size: 20px;
    }
    .overview .ae-header .ae-content h1+p {
        margin-bottom: 5px;
    }
    .overview .td-aeroplan-offered span {
        font-size: 14px;
    }
    .overview .td-aeroplan-offered img {
        max-width: 30px;
        min-height: 30px;
    }
    .overview .ae-header picture {
        width: 100%;
        display: block;
        height: 250px;
        background-color: #d2ebf9;
    }
    .overview .ae-header picture img {
        display: none;
    }
    .overview .ae-header .ae-content {
        background: transparent;
        margin-top: -220px;
        padding: 0;
    }
    .overview .mobile-banner img {
        max-width: 300px;
        transform: rotate( 350deg);
    }
    .overview .tab-pane .ae-content.white-panel {
        box-shadow: none;
    }
    .overview .ae-content.top {
        box-shadow: 0 -12px 6px -7px rgb(0 0 0 / 20%);
    }
    .overview .tab-content .tab-pane .intro p.cc-offer-desc-small{
        font-size: 12px;
    }
    .overview .tab-content .tab-pane .intro-row .green-pill {
        margin: 10px;
    }
    .overview .ae-content.white-panel .offer-end div+p {
        text-align: left;
    }
    .overview .ae-content.white-panel .offer-end {
        margin: 10px 0 0;
    }
    .overview .nav.nav-tabs.newUI li.active:after {
        display: none;
    }
    .col-45,
    .col-50 {
        width: 100%;
    }
    .col-50 img {
        display: none;
    }
    .ae-content+img {
        display: block;
    }
    .light-blue-bg .col-75 {
        width: calc(75% - 3px) !important;
        display: inline-block !important;
        font-size: 14px;
    }
    small {
        font-size: 12px !important;
    }
    .light-blue-bg .col-25 {
        width: calc(24.9% - 3px) !important;
        display: inline-block !important;
        vertical-align: top;
    }
    .light-blue-bg .row {
        margin-top: 0px;
        text-align: left;
        display: block !important;
    }
    .modal .modal-container {
        width: 100%;
    }
    #view-more-infinite .close,
    #view-more-privilege .close {
        left: 0px !important;
        -webkit-transform: rotateZ( 0deg);
        transform: rotateZ( 0deg);
    }
    .dropdown-arrow {
        content: url(/content/dam/aircanada/loyalty-content/images/icon/icon-down-arrow.svg);
        display: block;
        width: 24px;
        height: 24px;
        -o-object-fit: contain;
        object-fit: contain;
        float: left;
        margin-right: -15px;
        margin-top: -3px;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
        float: right;
    }
    .close {
        -webkit-transform: rotateZ( 180deg);
        transform: rotateZ( 180deg);
        position: relative;
        position: relative;
        bottom: 0px;
        margin-left: 0px;
    }
    .rewards-medallion {
        display: block !important;
        position: relative;
        margin-top: 70px !important;
        border-bottom: 52px solid #f5f5f5 !important;
    }
    .rewards-medallion-content {
        display: block;
        position: relative;
        width: 100%;
        bottom: 107px;
        margin: 0px !important;
    }
    .rewards-medallion-content p {
        font-size: 12px !important;
        font-weight: 300;
        margin-bottom: 0px;
    }
    .rewards-medallion-img {
        max-width: 100%;
        bottom: 110px;
    }
    .rewards-medallion-img img {
        width: 80px;
    }
    .banner {
        display: none !important;
    }
    .overview .ae-header .ae-content p,
    .overview .ae-header .ae-content h1 {
        display: none;
    }
    .card-intro {
        display: block;
        background-color: white;
        z-index: 1;
        position: relative;
        margin-bottom: 1px;
        text-align: center;
        padding: 4em 4em 1px 4em;
    }
    .mobile-tile-heading {
        display: flex !important;
    }
    .tile div p {
        font-size: 16px;
        font-weight: 300;
        padding-top: 13px;
    }
    .h2-styled {
        padding-top: 0px !important;
    }
}

@media screen and (min-width: 1200px) {
    .overview.td .rewards-canada-badge {
        max-width: 100px;
        position: absolute;
        right: 16em;
        top: 10%;
    }
}

/* [START] UBER PASS TD BANNER */

#uber-pass-infinite {
    background: #f5f5f5;
}

#uber-pass-platinum {
    background: #f5f5f5;
}

#uber-pass-privilege {
    background: #f5f5f5;
}

span.nobreak {
    white-space: nowrap;
}

.black-panel {
    flex: 1;
    display: flex;
    border: solid 1px #efefef;
    background-color: #fff;
    margin: 30px auto 0;
}

.black-panel img {
    max-width: 30%;
}

.black-panel .delivery p {
    text-align: left !important;
}

.black-panel .content {
    padding: 15px 15px;
}

.black-panel .content p {
    font-size: 16px;
}

.black-panel .content p.member-content {
    text-align: center;
    font-size: 16px;
}

.icon-container {
    display: flex;
    justify-content: space-between !important;
    padding-bottom: 40px;
}

.icon-container-1 {
    display: flex;
    justify-content: space-between !important;
}

.delivery {
    display: flex;
    max-width: 75%;
    flex: 1;
}

.delivery:nth-of-type(1) {
    flex: 0.7;
}

 :lang(fr) .delivery:nth-of-type(2) {
    padding-left: 30px;
}

.delivery img {
    width: 45px;
    margin-right: 20px;
    align-self: baseline;
}

.conditions-apply {
    padding: 20px;
    display: flex;
    align-content: center;
    margin-bottom: 30px;
}

.conditions-apply p {
    margin-bottom: 0;
    padding: 0;
    text-align: left;
}

.conditions-apply p.condition-app {
    flex: 0 0 325px;
}

.conditions-apply p.condition-learn {
    text-decoration: underline;
    width: 100%;
    text-align: center;
}

p.icon-content {
    text-align: left !important;
    margin-bottom: 0;
}

 :lang(fr) .black-panel .content p {
    font-size: 14px;
}

@media only screen and (max-width: 1024px) {
    .black-panel img {
        max-width: 35%;
    }
    .black-panel .content p.member-content,
     :lang(fr) .black-panel .content p.member-content {
        text-align: left;
        font-size: 16px;
    }
    .black-panel .delivery p {
        margin-bottom: 0 !important;
        font-size: 14px !important;
    }
    #uber-pass-infinite {
        background: transparent;
        margin-bottom: 30px;
    }
    #uber-pass-platinum {
        background: transparent;
        margin-bottom: 30px;
    }
    #uber-pass-privilege {
        background: transparent;
        margin-bottom: 30px;
    }
    .black-panel {
        margin: 0 auto;
    }
    .black-panel .content {
        padding: 15px 30px;
    }
    .icon-container {
        flex-direction: column;
        padding-bottom: 5px;
    }
    .delivery {
        width: 100%;
        max-width: 100%;
        padding-bottom: 10px;
    }
     :lang(fr) .delivery:nth-of-type(2) {
        padding-left: 0;
    }
    .delivery img {
        width: 40px;
        /* padding: ; */
    }
    p.icon-content {
        margin: 0px;
    }
    .icon-container-1 {
        flex-direction: column;
    }
    .conditions-apply {
        margin-bottom: 0;
        background-color: #f5f5f5;
    }
    .conditions-apply p.condition-app {
        flex: 0 0 190px;
        text-align: left;
    }
    .delivery.icon.image-04 {
        padding-bottom: 5px;
    }
}

@media only screen and (max-width: 767px) {
    .black-panel img {
        max-width: 100% !important;
    }
    .black-panel {
        margin: 0 0 15px 0;
        flex-direction: column;
    }
    .black-panel .content {
        padding: 15px;
    }
     :lang(fr) .black-panel .content p.member-content,
    .black-panel .content p.member-content {
        text-align: center;
    }
    .conditions-apply {
        background-color: transparent;
        flex-direction: column;
        padding: 0px;
    }
    .conditions-apply p {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    .conditions-apply p.condition-learn {
        background-color: #f5f5f5;
        text-align: center;
        width: 100%;
        padding: 18px;
    }
    .conditions-apply p.condition-app {
        background: #fff;
        margin-top: -18px;
        border-left: 1px solid #f2f2f2;
        border-right: 1px solid #f2f2f2;
        width: 100%;
        flex: 0;
        text-align: center;
        padding: 12px;
    }
}


/* [END] UBER PASS TD BANNER */


/*business page start */

.tile:nth-child(2n) .mobile-tile-heading+div:before {
    width: 20px;
    height: 2px;
    background: #d0d0ce;
    margin: 15px auto;
    border: solid 2px #d0d0ce;
    display: block;
    content: '';
}

.light-blue-bg .row .col-75:before {
    display: block;
    width: 24px;
    height: 24px;
    -o-object-fit: contain;
    object-fit: contain;
    float: left;
    margin-right: 20px;
    margin-top: 0;
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
    position: relative;
    bottom: 7px;
}

.light-blue-bg .col-75 span {
    display: block;
    overflow: hidden;
}

.light-blue-bg .ae-content .col-45 .col-25 {
    text-align: right !important;
    flex: 0;
}

:lang(fr) .light-blue-bg .ae-content .col-45 .col-25 {
    flex: 1;
}

#business .green-pill {
    transform: translate(7em, -5px);
}

.pts:before {
    content: url(https://aircanada.com/content/dam/aircanada/loyalty-content/images/icon/pts.svg);
}

.ticket:before {
    content: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/ticket.svg);
}

.suitCase:before {
    content: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/suitCase.svg);
}

.lounge:before {
    content: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/lounge.svg);
}

.dollar:before {
    content: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/dollar.svg);
}

.cc:before {
    content: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/icon/cc.svg);
}

#business .ae-content .col-66 .col-95 .primary-btn {
    float: right;
    margin-top: 5px;
}

#business .intro-row.row {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: wrap;
}

#business .green-pill {
    margin-left: 20px;
    margin-right: 20px;
}

#business .ae-content .col-66 .col-95 p:nth-child(3) {
    float: left;
    color: #e02020;
    font-weight: 600;
    margin-top: 20px;
    font-size: 16px;
}

.light-blue-bg .ae-content .col-50 h4 span {
    color: #20842f;
    white-space: nowrap;
}

h2.row {
    text-align: center;
}

.light-blue-bg .col-45 p:nth-child(1) {
    font-size: 14px;
}

.light-blue-bg .col-50 img {
    max-width: 511px;
    width: 100%;
    transform: translate(0px, 2em);
}

.light-blue-bg .ae-content .col-50 h4+p a {
    text-decoration: underline;
}

.light-blue-bg .col-75 {
    flex: 1 1 20rem;
}

.light-blue-bg .row.result {
    background-color: #20842f;
    color: white;
    padding: 8px 8px 8px 18px !important;
    margin: 0px !important;
}

.light-blue-bg .row.result .col-25 {
    float: right;
    width: 0px;
    justify-content: right;
    text-align: right !important;
}

.row.result+p {
    text-align: center;
    font-size: 12px;
    margin: 10px;
}

.light-blue-bg .ae-content .col-50 h4+p {
    font-size: 14px;
}

.light-blue-bg .ae-content .col-50 h4+p a:nth-child(2) {
    margin-left: 2rem;
}

#mobile-legal {
    display: none;
}

@media only screen and (max-width: 767px) {
    .mobile-tile-heading+div:before {
        display: none;
    }
    /*section#credits-cards-overview-td-business .ae-header .ae-content h1 {
        display: block;
        font: normal 300 30px Open Sans;
    }
    section#credits-cards-overview-td-business .ae-header .ae-content p {
        display: block;
    }*/
    #business .ae-content .col-66 .col-95 .primary-btn {
        float: revert;
        margin-top: 0px;
    }
    #business .ae-content.white-panel .col-33 img:first-child {
        margin: 20px
    }
    #business .ae-content .col-66 .col-95 p:nth-child(3) {
        text-align: center;
        float: revert;
    }
    .overview .ae-content.white-panel .offer-end p {
        align-self: baseline !important;
    }
    .light-blue-bg h4 {
        font-size: 24px !important;
        text-align: center !important;
    }
    .light-blue-bg .ae-content .col-50 h4+p {
        display: none;
    }
    #mobile-legal {
        display: block;
    }
    #mobile-legal a {
        font-size: 14px;
        font-weight: 600;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        text-decoration: underline;
        color: #005078;
        margin: 0px 20px;
    }
    .overview .tile-container,
    .offer-end {
        flex-direction: column;
        position: relative;
        width: 90vw;
        left: calc(-45vw + 50%);
    }
    #business .ae-content.white-panel {
        padding: 20px 20px 0px 20px !important;
    }
    .offer-end div {
        margin: auto 30px;
        flex-direction: column !important;
    }
    .result .col-75 {
        font-size: 18px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .mobile-tile-heading+div:before {
        display: none;
    }
    /*#credits-cards-overview-td-business .ae-header .ae-content {
        margin-top: -5rem;
    }
    #credits-cards-overview-td-business .ae-header .ae-content h1,
    #credits-cards-overview-td-business .ae-header .ae-content p {
        display: block;
    }*/
    #business .col-33 {
        width: 100%;
        display: block;
        text-align: center;
    }
    #business .col-33 img {
        width: 450px;
        margin: auto;
    }
    #business .col-66 {
        text-align: center;
        width: 100%;
    }
    #business .intro-row.row {
        flex-direction: column;
    }
    #business .green-pill {
        transform: translate(0em, 0px);
    }
    #business .ae-content .col-66 .col-95 p:nth-child(3),
    #business .ae-content .col-66 .col-95 .primary-btn {
        float: revert;
    }
    #business .ae-content.white-panel .offer-end,
    #business .ae-content.white-panel .offer-end div {
        flex-direction: row;
    }
    .overview .tile-container {
        flex-direction: column;
        position: relative;
        width: 100%;
        left: 0;
    }
    #business .ae-content.white-panel {
        padding-bottom: 1rem !important;
    }
    #business .ae-content.white-panel .offer-end {
        margin: 1rem 0px 0px 0px;
        padding: 1rem !important;
    }
    p.compare {
        position: absolute;
        right: 2rem;
    }
    .light-blue-bg .col-45,
    .light-blue-bg .col-50 {
        width: 100%;
    }
    .col-50 img {
        display: none;
    }
    .ae-content+img {
        display: block !important;
        max-width: 328px;
        width: 100%;
        margin: 0px auto;
    }
    #mobile-legal {
        display: block;
        text-align: center;
    }
    #mobile-legal a {
        font-size: 14px;
        font-weight: 600;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        color: #005078;
        margin: 0px 20px;
        text-decoration: underline;
    }
    .light-blue-bg .ae-content .col-50 h4+p {
        display: none;
    }
    .col-45 p:first-child {
        text-align: center;
        margin-top: 30px;
    }
    .light-blue-bg h4 {
        text-align: center !important;
    }
}

@media only screen and (min-width:912px) and (max-width:1368px) {
    .overview .tile-container {
        /*flex-direction: column;*/
        position: relative;
        width: 100%;
        left: 0;
    }
    .tile .close {
        margin: auto auto 0;
    }
    #credits-cards-overview-td-personal .ae-header .ae-content {margin-top: -390px; margin-bottom: 20px;}
}

@media only screen and (min-width:1024px) and (max-width:1366px) {
    .mobile-tile-heading+div:before {
        display: none;
    }
}


/*business page end */


/*business on page css*/

#credits-cards-overview-td-personal .ae-header .header-image,
#credits-cards-overview-td-business .ae-header .header-image {
    background: url(/content/dam/aircanada/loyalty-content/images/td-personal-desktop.png) no-repeat left top;
    height: 525px;
    width: 100%;
    background-size: cover;
}

@media only screen and (min-width: 1025px) and (max-width: 1400px){
    #credits-cards-overview-td-personal .ae-header .header-image,
    #credits-cards-overview-td-business .ae-header .header-image {
        background: url(/content/dam/aircanada/loyalty-content/images/td-personal-desktop.png) no-repeat center center;
        background-size: cover;
    }
    #credits-cards-overview-td-personal .td-aeroplan-offered {
        padding-right: 1em;
        margin-top: -4em;
        padding-bottom: 4em;
    }
}

#credits-cards-overview-td-personal .ae-header .ae-content {
    background: transparent;
    margin-top: -370px;
    padding: 0;
}

.ae-header picture img {
    height: 500px;
    width: 100%;
}

#credits-cards-overview-td-personal .ae-header .ae-content p {
    font-weight: 600;
}

#credits-cards-overview-td-personal .ae-content.top {
    box-shadow: 0 -6px 19px -7px rgb(0 0 0 / 20%);
    padding: 0 0 1px 0;
}

#credits-cards-overview-td-personal .tab-pane {
    margin-top: 0;
}

#credits-cards-overview-td-personal .tab-pane .ae-content.white-panel {
    padding-top: 3em;
}

#credits-cards-overview-td-personal .td-aeroplan-offered {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

#credits-cards-overview-td-personal .td-aeroplan-offered img {
    max-width: 50px;
    margin: 0 10px;
}

#credits-cards-overview-td-personal .td-aeroplan-offered img {
    max-width: 50px;
    margin: 10px;
}

#credits-cards-overview-td-personal .mobile-banner {
    display: none;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li a,
#credits-cards-overview-td-personal .mobile-banner a {
    padding: 0px;
    border-bottom: none;
    text-align: center;
    margin-bottom: 15px;
    background-color: transparent;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 {
    width: 33.33%;
    border: solid 1px #f1f1f1;
    background-color: #f1f1f1;
    padding: 20px 35px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33:hover,
#credits-cards-overview-td-personal .mobile-banner:hover {
    cursor: pointer;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33:hover a {background: transparent;}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33.active {
    background-color: #fff;
    border-bottom: solid 1px transparent;
    ;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 span.title,
#credits-cards-overview-td-personal .mobile-banner span.title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 14px;
    text-align: center;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 img,
#credits-cards-overview-td-personal .mobile-banner img {
    max-width: 180px;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 .banner {
    background: url(https://www.aircanada.com/content/dam/aircanada/portal/images/target/td-aeroplan-rectangle-white.svg) no-repeat center center;
    background-size: contain;
    width: 340px;
    height: 60px;
    position: relative;
    margin-top: -35px;
    display: flex;
    text-align: center;
}

#credits-cards-overview-td-personal .mobile-banner .banner {
    background: url(https://www.aircanada.com/content/dam/aircanada/portal/images/target/td-aeroplan-rectangle.svg) no-repeat;
    width: 340px;
    height: 60px;
    position: relative;
    margin-top: -35px;
    display: flex;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33.active .banner {
    background: url(https://www.aircanada.com/content/dam/aircanada/portal/images/target/td-aeroplan-rectangle.svg) no-repeat center center;
    background-size: contain;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 .banner p,
#credits-cards-overview-td-personal .mobile-banner .banner p {
    margin: 0 auto;
    align-self: center;
}

:lang(fr).upto strong {
    white-space: pre;
}

:lang(fr) .earn {
    padding-left: 20px;
}

#credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 .banner p img,
#credits-cards-overview-td-personal .mobile-banner .banner p img {
    margin: 0;
}

#credits-cards-overview-td-personal .tab-content .tab-pane .intro-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
#credits-cards-overview-td-personal .tab-content .tab-pane .intro-row + .row h4 {margin-bottom: 20px;}

#credits-cards-overview-td-personal .tab-content .tab-pane .intro-row h2,
#credits-cards-overview-td-personal .tab-content .tab-pane .intro-row p {
    margin-bottom: 0px;
}

#credits-cards-overview-td-personal .tab-content .tab-pane .intro-row .green-pill {
    margin: 0 20px;
    background-color: #208428;
	color: #fff !important;
}

#credits-cards-overview-td-personal .tab-content .tab-pane .intro-row .green-pill+p {
    font-size: 16px;
    font-weight: 600;
    color: #e02020;
}

#credits-cards-overview-td-personal .tab-content .tab-pane .intro-row+.row {
    text-align: center;
}

#credits-cards-overview-td-personal .tile-container {
    display: flex;
}

.tile-container .mobile-tile-heading .learn-more {
    display: none;
}

#credits-cards-overview-td-personal .tile-container .tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: solid 1px #efefef;
    background-color: #fff;
    margin: 30px 30px 30px 0;
    padding: 15px 30px;
    text-align: center;
}

#credits-cards-overview-td-personal .tile-container .tile a:hover {
    cursor: pointer;
}

#credits-cards-overview-td-personal .tile-container .tile:nth-last-of-type(2) {
    margin-right: 0;
}

#credits-cards-overview-td-personal .tile-container .tile img {
    margin: 10px auto;
}

#credits-cards-overview-td-personal .tile-container .tile .mobile-tile-heading {
    display: flex;
    flex-direction: column;
}

#credits-cards-overview-td-personal .ae-content.white-panel .offer-end {
    background-color: #f2f2f2;
    padding: 25px 30px;
}

#credits-cards-overview-td-personal .ae-content.white-panel .offer-end div {
    display: flex;
}

#credits-cards-overview-td-personal .ae-content.white-panel .offer-end p {
    margin-bottom: 0;
    align-self: center;
}

#credits-cards-overview-td-personal .ae-content.white-panel .offer-end div p {
    margin-right: 30px;
}

#credits-cards-overview-td-personal .ae-content.white-panel .offer-end div+p {
    margin-left: auto;
}

#credits-cards-overview-td-personal .tile-container .mobile-tile-heading img {
    margin-bottom: 15px;
    width: 110px;
    height: 110px;
}

#credits-cards-overview-td-personal .tile-container .mobile-tile-heading div p,
#credits-cards-overview-td-personal .tile-container .mobile-tile-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.25;
    color: #2a2a2a;
    margin-bottom: 10px;
}

#credits-cards-overview-td-personal .tile-container .mobile-tile-heading div p.h2-styled {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.33px;
    color: #000;
}

#credits-cards-overview-td-personal .tile-container .mobile-tile-heading div p.h2-styled:after {
    width: 20px;
    height: 2px;
    background: #d0d0ce;
    margin: 10px auto;
    border: solid 2px #d0d0ce;
    display: block;
    content: '';
}

#credits-cards-overview-td-personal .rewards-medallion {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 750px;
    margin: 50px auto 30px;
    width: 100%;
    height: 68px;
    padding: 0 30px;
    font-size: 16px;
    border-top: 36px solid #f5f5f5;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 36px solid #f5f5f5;
}

#credits-cards-overview-td-personal .rewards-medallion-img {
    position: relative;
}

#credits-cards-overview-td-personal .rewards-medallion-content {
    margin-left: 25px;
    text-align: center;
}

#credits-cards-overview-td-personal .rewards-medallion-content p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0px;
}

.col-45 {
    width: calc(45% - 3px);
    display: inline-block;
    vertical-align: top;
}

.light-blue-bg h4 {
    font-size: 28px;
    text-align: left;
}

.light-blue-bg .col-45 .row {
    padding: 20px 0px;
    border-top: 1px solid #e6e6e6;
}

.light-blue-bg .col-25,
#credits-cards-overview-td-business .light-blue-bg .ae-content div.row .col-25 {
    padding: 0px !important;
    font-weight: 600;
    width: calc(24.9% - 3px);
    flex: 0 1 24.9%;
}

.result {
    font-size: 18px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #000000;
    border-top: 3px solid black;
    padding-top: 8px;
}

.light-blue-bg .col-50 {
    margin-right: calc(6% - 10px);
    text-align: left;
}

#view-legal-point-email,
#view-legal-platinum,
#view-legal-infinite,
#view-legal-privilege {
    display: none;
    position: fixed;
    z-index: 10;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
}

.modal-container {
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 710px;
    position: relative;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal .modal-container .modal-header h3:before {
    display: inline-block;
    height: 15px;
    content: '';
    border-right: 3px solid #b8a890;
    margin-right: 10px;
}

.modal-header .close {
    position: relative;
    left: calc(98% - 0px) !important;
    bottom: 41px;
    font-size: 25px !important;
    transform: revert;
}

.modal.selected {
    display: block !important;
}

.modal-container .modal-header {
    padding: 25px 30px 0px 30px;
    color: black;
    -webkit-box-shadow: 0 6px 19px -7px rgb(0 0 0 / 20%);
    box-shadow: 0 6px 19px -7px rgb(0 0 0 / 20%);
    padding: 25px 30px;
    color: black;
}

#view-more-infinite .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border: none;
    width: 86%;
    margin-top: -10%;
    z-index: 5;
    position: relative;
    padding: 4em 30px 30px;
}

.black-bg {
    padding-top: 64px !important;
    margin-top: 0px !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 30%);
}

.modal .modal-container {
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 35%;
    position: relative;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

.modal .modal-container .modal-header {
    padding: 25px 30px;
    color: black;
}

.modal .modal-container .modal-footer p {
    margin-bottom: 0px;
}

.modal .modal-container .primary-btn {
    float: right;
    margin: 0px;
}

.ae-content+img {
    display: none;
}

.light-blue-bg {
    background-image: linear-gradient(to top, #ddecf5, #fff) !important;
}

@media only screen and (min-width: 768px) and (max-width: 1025px) {
    #credits-cards-overview-td-personal .ae-header .ae-content {
        background: transparent;
        margin-top: -260px;
        padding: 0;
    }
    #credits-cards-overview-td-personal .ae-header picture img {
        height: 400px;
        width: 100%;
    }
    #credits-cards-overview-td-personal .rewards-medallion-img img {
        width: 200px;
    }
    #credits-cards-overview-td-personal .ae-header .header-image,
    #credits-cards-overview-td-business .ae-header .header-image {
        background: url(/content/dam/aircanada/loyalty-content/images/td-personal-mobile.svg) no-repeat center center;
        height: 350px;
        width: 100%;
        background-size: cover;
    }

    #credits-cards-overview-td-personal .ae-header,
    #credits-cards-overview-td-business .ae-header {height: 300px;}

    section#credits-cards-overview-td-personal.overview.td .ae-header .ae-content p, 
    section#credits-cards-overview-td-personal.overview.td .ae-header .ae-content h1,
    section#credits-cards-overview-td-business.overview.td .ae-header .ae-content p, 
    section#credits-cards-overview-td-business.overview.td .ae-header .ae-content h1 {display: block !important;}

    #credits-cards-overview-td-personal .td-aeroplan-offered,
    #credits-cards-overview-td-business .td-aeroplan-offered {justify-content: center; align-items: center;}
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 {padding: 20px 30px !important;}

    #credits-cards-overview-td-personal .ae-content.top {margin-bottom: 20px;}
}

@media only screen and (max-width: 1024px) {
    #credits-cards-overview-td-personal .ae-header .ae-content h1,
    #credits-cards-overview-td-business .ae-header .ae-content h1 {
        font-size: 36px;
    }
    #credits-cards-overview-td-personal .ae-header .ae-content h1 sup,
    #credits-cards-overview-td-business .ae-header .ae-content h1 sup {
        top: -0.7;
    }
    #credits-cards-overview-td-personal .ae-header .ae-content h1+p,
    #credits-cards-overview-td-business .ae-header .ae-content h1+p {
        font-size: 18px;
    }
    #credits-cards-overview-td-personal .tab-content .tab-pane .intro-row h2,
    #credits-cards-overview-td-business .tab-content .tab-pane .intro-row h2 {flex: 100%;}

    section#credits-cards-overview-td-personal.overview.td .nav.nav-tabs li.active a:after, 
    section#credits-cards-overview-td-personal.overview.td .nav.nav-tabs li.active a:after,
    section#credits-cards-overview-td-business.overview.td .nav.nav-tabs li.active a:after,
    section#credits-cards-overview-td-business.overview.td .nav.nav-tabs li.active a:after {display: none !important;}

    #credits-cards-overview-td-personal .mobile-banner {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10px 0 30px;
    }
    #credits-cards-overview-td-personal .mobile-banner .banner {
        margin-top: -20px;
    }
    #credits-cards-overview-td-personal .mobile-banner img {
        max-width: 280px;
    }
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 {
        width: 100%;
        border: none;
        background-color: #fff;
        padding: 10px 20px;
        align-items: baseline;
    }
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33.active {
        background-color: #f1f1f1;
    }
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li a {
        padding: 0px;
        border-bottom: none;
        text-align: left;
        margin-bottom: 0;
        width: 100%;
    }
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 span.title {
        font-size: 18px;
        margin-bottom: 0px;
        text-align: left;
    }
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 .banner,
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 img,
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li.col-33 span.title br,
    #credits-cards-overview-td-personal .rewards-medallion-content br {
        display: none;
    }
    #credits-cards-overview-td-personal .ae-content.white-panel .offer-end {
        flex-direction: column;
        margin: 20px 0 25px;
    }
    #credits-cards-overview-td-personal .ae-content.white-panel .offer-end div {
        flex-direction: row;
    }
    #credits-cards-overview-td-personal .ae-content.white-panel .offer-end p {
        margin: 0 0 10px 0;
        align-self: end;
    }
    #credits-cards-overview-td-personal .tile-container {
        flex-direction: column;
        max-width: 100%;
        width: 100%;
        left: 0;
    }
    #credits-cards-overview-td-personal .tile-container .tile {
        margin: 10px 0;
        padding: 15px 20px;
    }
    #credits-cards-overview-td-personal .tile-container .tile:nth-of-type(odd) {
        flex-direction: row;
    }
    #credits-cards-overview-td-personal .tile-container .tile .mobile-tile-heading {
        flex-direction: row;
        align-items: center;
        flex: 2;
    }
    #credits-cards-overview-td-personal .tile-container .mobile-tile-heading .learn-more {
        display: block;
    }
    #credits-cards-overview-td-personal .tile-container .mobile-tile-heading img {
        margin: 0 20px 0 0;
        width: 60px;
        height: 60px;
    }
    #credits-cards-overview-td-personal .tile-container .mobile-tile-content {
        display: flex;
        align-items: center;
    }
    #credits-cards-overview-td-personal .tile-container .mobile-tile-content p {
        display: none;
    }
    #credits-cards-overview-td-personal .tile-container .mobile-tile-content a.learn-more {
        text-decoration: none;
        content: url(/content/dam/aircanada/loyalty-content/images/icon/icon-down-arrow.svg);
        display: block;
        width: 24px;
        height: 24px;
        margin: 15px 0 0 0;
    }
    #credits-cards-overview-td-personal .tile-container .mobile-tile-heading div p {
        font-size: 14px;
        text-align: left;
        margin-bottom: 0;
    }
    #credits-cards-overview-td-personal .tile-container .mobile-tile-heading div p.h2-styled {
        font-size: 18px;
        font-weight: bold;
    }
    #credits-cards-overview-td-personal .tile-container .mobile-tile-heading div p.h2-styled:after {
        display: none;
    }
    .dropdown-arrow {
        content: url(/content/dam/aircanada/loyalty-content/images/icon/icon-down-arrow.svg);
        display: block;
        width: 24px;
        height: 24px;
        -o-object-fit: contain;
        object-fit: contain;
        float: left;
        margin-right: -20px;
        margin-top: -3px;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
        float: right;
    }
    .close {
        -webkit-transform: rotateZ( 180deg) translate(10px, 10px) !important;
        transform: rotateZ( 180deg) translate(24rem, 0rem) !important;
        position: relative !important;
    }
    .rewards-medallion-img {
        position: relative;
        max-width: 100px;
        padding: 0px;
        margin: 0px;
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    #credits-cards-overview-td-personal .ae-header .header-image,
    #credits-cards-overview-td-business .ae-header .header-image {
        background: url(/content/dam/aircanada/loyalty-content/images/td-personal-mobile.svg) no-repeat center center;
        height: 250px;
        width: 100%;
        background-size: cover;
    }
    #credits-cards-overview-td-personal .ae-header,
    #credits-cards-overview-td-business .ae-header {height: 200px;}

    section.overview .ae-content.white-panel:first-child {margin-top: 10px;}

    #credits-cards-overview-td-personal .ae-header .ae-content h1,
    #credits-cards-overview-td-business .ae-header .ae-content h1 {
        font-size: 26px;
    }

    #credits-cards-overview-td-personal .ae-header .ae-content h1+p,
    #credits-cards-overview-td-business .ae-header .ae-content h1+p {
        font-size: 14px;
    }

    #credits-cards-overview-td-personal .ae-header .ae-content h1+p,
    #credits-cards-overview-td-business .ae-header .ae-content h1+p {
        margin-bottom: 5px;
    }
    #credits-cards-overview-td-personal .td-aeroplan-offered span,
    #credits-cards-overview-td-business .td-aeroplan-offered span {
        font-size: 14px;
    }
    #credits-cards-overview-td-personal .td-aeroplan-offered,
    #credits-cards-overview-td-business .td-aeroplan-offered {display: none;}
    #credits-cards-overview-td-personal .td-aeroplan-offered img {
        max-width: 30px;
        min-height: 30px;
    }
    #credits-cards-overview-td-personal .ae-header picture {
        width: 100%;
        display: block;
        height: 250px;
        background-color: #d2ebf9;
    }
    #credits-cards-overview-td-personal .ae-header picture img {
        display: none;
    }
    #credits-cards-overview-td-personal .ae-header .ae-content {
        background: transparent;
        margin-top: -180px;
        padding: 0;
    }
    #credits-cards-overview-td-personal .mobile-banner img {
        max-width: 200px;
    }
    #credits-cards-overview-td-personal .tab-pane .ae-content.white-panel {
        box-shadow: none;
    }
    #credits-cards-overview-td-personal .ae-content.top {
        box-shadow: 0 -12px 6px -7px rgb(0 0 0 / 20%);
    }
    #credits-cards-overview-td-personal .tab-content .tab-pane .intro-row .green-pill {
        margin: 10px;
    }
    #credits-cards-overview-td-personal .ae-content.white-panel .offer-end div+p {
        text-align: left;
    }
     :lang(fr) #credits-cards-overview-td-personal .ae-content.white-panel .offer-end div+p {
        padding: 0px 66px;
    }
    #credits-cards-overview-td-personal .nav.nav-tabs.newUI li.active:after {
        display: none;
        padding: 25px 30px !important;
    }
    .col-45,
    .col-50 {
        width: 100%;
    }
    .col-50 img {
        display: none;
    }
    .ae-content+img {
        display: block;
    }
    .light-blue-bg .col-75 {
        width: calc(75% - 3px) !important;
        display: inline-block !important;
    }
    .light-blue-bg .col-25 {
        width: calc(24.9% - 3px) !important;
        display: inline-block !important;
        vertical-align: top;
        flex: 0 1 25% !important;
    }
    .light-blue-bg .row {
        margin-top: 0px;
        text-align: left;
        display: block !important;
    }
    .light-blue-bg .modal .modal-container {
        width: 100%;
    }
    .dropdown-arrow {
        content: url(/content/dam/aircanada/loyalty-content/images/icon/icon-down-arrow.svg);
        display: block;
        width: 24px;
        height: 24px;
        -o-object-fit: contain;
        object-fit: contain;
        float: left;
        margin-right: -15px;
        margin-top: -3px;
        -webkit-column-break-inside: avoid;
        break-inside: avoid;
        float: right;
    }
    .close {
        -webkit-transform: rotateZ( 180deg);
        transform: rotateZ( 180deg) translate(13rem, 0rem) !important;
        position: relative;
        left: 98%;
    }
    .rewards-medallion {
        display: block !important;
        position: relative;
        margin-top: 70px !important;
        border-bottom: 52px solid #f5f5f5 !important;
    }
    .rewards-medallion-content {
        display: block;
        position: relative;
        width: 100%;
        margin: 0px !important;
    }
    .rewards-medallion-content p {
        font-size: 12px !important;
        font-weight: 300;
        margin-bottom: 0px;
    }
    .rewards-medallion-img {
        max-width: 100%;
    }
    .rewards-medallion-img img {
        width: 80px;
    }
     :lang(fr) #mobile-legal a {
        margin: 0px 0px 15px 0px;
        display: inline-block;
    }
}

/*business on page css*/

#credits-cards-overview-td-personal .ae-content.top {
    margin-top: -475px;
	position: relative;
}
@media only screen and (width: 1025px){
    #credits-cards-overview-td-personal .ae-content.top {
		box-shadow: none;
		margin-top: -280px;
    }
}

@media only screen and (max-width: 1024px){
    #credits-cards-overview-td-personal .ae-content.top {
		box-shadow: none;
		margin-top: -410px;
    }
}

[lang="fr-CA"] .nav.nav-tabs.clean .grey-pill{
	min-height: 64px;
}