h1 {
    color: #fff;
    text-shadow: 0px 0px 15px #00000066;
}


.ups-cards {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0px 0px 15px 0px #00000026;
    margin: 30px 0 60px;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.ups-content {
    max-width: 292px;
}

.ups-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
}

.FareTitleHeader #top2 {
    max-width: 100%;
    margin-bottom: -90px;
}

.FlightsBooking.w-full.max-w-full .FareTitleHeader>div.w-full>div.w-full {
    background: transparent;
}

.flex.flex-wrap.flex-col.max-w-full.relative.justify-start.bg-center.bg-cover.bg-no-repeat.Bh.Bi {
    padding-top: 0 !important;
}

.FlightsBooking.w-full.max-w-full {
    padding: 0;
}

.flex.flex-wrap.flex.justify-center.max-w-full.BookingMask {
    padding: 0 30px;
}
div#top2 {
    width: 100%;
    max-width: 100%;
    padding-top: 30px;
    padding-bottom: 100px;
    margin-bottom: -75px;
}
div#top2 h1.__pfs.__bss {
    top: 0;
    text-shadow: none !important;
    color: black !important;
    font-size: 36px !important;
    margin-bottom: 30px;
}
#top2::before {
    background: transparent;
}
.__pfs.row.\36 f-intro.__bss {
    padding-top: 110px;
}
.row > .ae-content {
    max-width: 1150px;
    margin: 0 auto;
}
.row.\36 f-intro .ae-content > div > .col-50 {
    width: calc(49% - 5px);
}
.row.\36 f-intro .ae-content > div {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.__pfs.ups-card.__bss:nth-child(1), .__pfs.ups-card.__bss:nth-child(2), .__pfs.ups-card.__bss:nth-child(4), .__pfs.ups-card.__bss:nth-child(5) {
    border-right: none;
}
.__pfs.ups-card.__bss {
    width: calc(49% - 5px);
}
.ups-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.ups-cards {
    box-shadow: none;
    margin: 0;
}
.row.\36 f-intro .ae-content > div > .col-50 .ups-section {
    box-shadow: 0px 0px 15px 0px #00000026;
    background-color: white;
    border-radius: 14px;
    text-align: center;
    padding: 20px 0;
}
.row.\36 f-intro .ae-content > div > .col-50 .ups-section > h2 {
    font-weight: 700;
}
.row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div img {
    width: 48px;
    height: 48px;
}
.row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div .ups-content p {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 0;
    text-align: center;
}
.row.\36 f-intro .ae-content > div > .col-50:nth-child(2) {
    overflow: hidden;
    border-radius: 16px;
}
.row.\36 f-intro .ae-content > div > .col-50:nth-child(2) img {
    width: 106%;
    max-width: 110%;
}
.row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div:nth-child(1), 
.row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div:nth-child(3), 
.row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div:nth-child(5) {
    border-right: 2px solid #C9CACC;
    padding-right: 5px;
}
.row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards {
    padding-bottom: 0;
}
.row.\36 f-intro .ae-content > div .ups-cta {
    margin-top: 30px;
    margin-bottom: 0;
}
div#ww-destinations {
    padding-top: 0;
}
#flightOffers {
    padding: 0;
    padding-bottom: 40px;
    max-width: 1150px;
    margin: 0 auto;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to {
    padding: 0;
    padding-right: 40px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container {
    gap: 20px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to {
    width: 55%;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > #join-aeroplan.col-50 {
    width: 40%;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to {
    padding: 0px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .how-to-body {
    box-shadow: 0px 0px 15px 0px #00000026;
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}
a#save-and-earn {
    display: none;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .nav-tabs {
    border-bottom: none;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .nav-tabs ul {
    margin: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .nav-tabs ul li {
    width: calc(50% - 1px);
    display: flex;
    justify-content: center;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .nav-tabs ul li {
    width: calc(50% - 1px);
    display: flex;
    justify-content: center;
    border-bottom: 3px solid #C9CACC;
    font-weight: 600;
    font-size: 16px !important;
    cursor: pointer;
    padding: 15px 0;
    color: black;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .nav-tabs ul li.active {
    border-color: #1460AA;
    color: #1460AA;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .panels .panel {
    display: none;
    text-align: center;
    box-shadow: none;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .panels .panel.active {
    display: block;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .panels .panel img {
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 10px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .panels .panel h3 {
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .panels .panel h3 span {
    font-weight: 700;
    color: #D8292F;
    line-height: 12px;
    margin-left: 5px;
    font-size: 10px;
    margin-top: 2px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .panels .panel p {
    text-align: center;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .panels .panel p {
    text-align: center;
    margin-bottom: 0;
    margin-top: 15px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container .how-to .panels .panel p:nth-child(3) {
    font-size: 14px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer {
    background-color: #EFF0F2;
    border: 1px solid #C9CACC;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 15px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50 {
    width: calc(50% - 1px);
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50 p:nth-child(1) {
    margin-bottom: 0;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50 p:nth-child(1):before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: sub;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 5px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50.travel-period p:nth-child(1):before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/us-6f/plane-icon.svg);
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50.book-by p:nth-child(1):before {
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/us-6f/calendar-icon.svg);
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50 p:nth-child(2):before {
    content: '';
    display: inline-block;
    width: 20px;
    margin-right: 5px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50 p:nth-child(2) {
    font-size: 14px;
}
#flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50.travel-period {
    border-right: 1px solid #C9CACC;
}
.__allSales .__subheading > div > div {
    display: inline-flex;
    justify-content: center;
}
.Campaign .__allSales .__subheading > div > div h2 {
    font-size: 20px;
    font-weight: 700;
}
.__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap {
    padding-top: 0;
    cursor: pointer;
}
.__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content {
    position: relative;
}
.__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content > div {
    bottom: 0;
    position: absolute;
    flex-direction: column-reverse;
}
.__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content > div h3 {
    background-color: white;
    min-height: 60px;
    padding: 20px;
    border-radius: 16px;
}
.__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content > div h3:before {
    content: '';
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/us-6f/location-pin.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: text-bottom;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-size: cover;
}
.__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content > div h3:after {
    content: '';
    background-image: url(https://www.aircanada.com/content/dam/aircanada/airtrfx/images/campaigns/us-6f/links-icon.svg);
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-top: 5px;
    float: right;
}
.__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content > picture img {
    border-radius: 16px;
}
.__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.__infiniteCarousel .__scrollContainer .__offerContainer {
    margin-left: 0px;
}
.row.fly-comfort .ae-content h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
}
.row.fly-comfort .ae-content > div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 40px;
}
.row.fly-comfort .ae-content > div > .col-33 {
    width: calc(33%);
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 0px 15px 0px #00000026;
}
.row.fly-comfort .ae-content > div > .col-33 h3, 
.row.fly-comfort .ae-content > div > .col-33 p {
    padding-left: 20px;
    padding-right: 20px;
}
.row.fly-comfort .ae-content > div > .col-33 h3 {
    padding-top: 30px;
    font-size: 20px;
    font-weight: 700;
    min-height: 80px;
}
.row.fly-comfort .ae-content > div > .col-33 p {
    padding-bottom: 30px;
}
.row.fly-comfort .ae-content > div > .col-33 p:nth-child(3) {
    min-height: 126px;
}
.tc-panel-content > ul li {
    list-style-type: disc;
}
.tc-panel-content > ul li > ul li {
    list-style-type: circle;
}
.__infiniteCarousel .__scrollContainer .__offerContainer {
    margin-left: 0px;
}
.__infiniteCarousel .__offerContainer .__offerSnap .__offer {
    transform: translateX(calc((100vw - 1150px) / 2 - 10px));
}
#onlyAE {
    display: none;
}
#tc-panel-container {
    display: none;
}
div#\36 f-slider .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
    transform: translateX(calc((100vw - 1020px) / 2 - 10px));
}
#acDbaasRegistered a.__pfs.primary-btn.booking-mask-popup.__bss {
    margin-top: 30px;
    margin-bottom: 20px;
}
div#acDbaasRegistered p.__pfs.__bss {
    text-align: center;
}
.Campaign.lg\:max-w-6xl .tc-panel-content.active.__bss {
    border-top: none;
}
div#acDbaasRegisterForm .error-check p.__pfs.__bss {
    text-align: left;
}
.row.fly-comfort .ae-content > div > .col-33 p:last-child {
    padding-bottom: 10px;
}
.row.fly-comfort .ae-content > div > .col-33 p:last-child a {
    font-weight: 600;
}
div#onlyAE .ae-intro {
    margin: 0 auto;
    max-width: 1100px;
    width: 100%;
}
div#onlyAE .ae-intro h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
div#onlyAE .ae-intro p {
    text-align: left;
    margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
    div#top2 {
        padding-bottom: 40px;
    }
    div#top2 h1.__pfs.__bss {
        font-size: 24px !important;
        position: static;
    }
    #top2 > p {
        margin-top: 20px;
    }
    #main > div.FlightsBooking.w-full.max-w-full > div {
        background: none;
    }
    .row > .ae-content {
        padding: 0 20px;
    }
    .row.\36 f-intro .ae-content > div > .col-50 {
        width: 100%;
    }
    .__pfs.ups-card.__bss {
        width: 100%;
    }
    .row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div:nth-child(1), .row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div:nth-child(3), .row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div:nth-child(5) {
        border-right: none;
        padding-right: 0;
    }
    .Campaign.lg\:max-w-6xl .exploreFares-container .tab-container .nav.nav-tabs {
        display: flex;
        justify-content: flex-start;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to {
        width: 100%;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer {
        flex-direction: column;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50 {
        width: 100%;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50.travel-period {
        border-right: none;
        border-bottom: 1px solid #C9CACC;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to .ae-offer-footer > .col-50 p {
        text-align: left;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to {
        width: 100%;
        max-width: 95%;
        padding-left: 20px;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > #join-aeroplan.col-50 {
        width: 100%;
        max-width: 90%;
        margin-top: 0;
    }
    .__infiniteCarousel .__scrollContainer .__offerContainer {
        display: inline-flex;
        flex-direction: column;
    }
    .__infiniteCarousel .__navContainer .__rightArrow {
        background-image: none;
    }
    .row.__allSales {
        padding: 0;
        flex-direction: column;
    }
    .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
        max-width: 100%;
        margin-right: 40px;
    }
    .__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content > picture img {
        max-width: 100%;
        width: 100%;
    }
    .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
        height: auto;
    }
    .Campaign .__allSales .__offer .__content {
        min-height: auto !important;
    }
    .__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content > div {
        max-width: 100%;
        width: 100%;
        min-height: auto;
        height: auto;
    }
    .row.fly-comfort .ae-content > div {
        display: flex;
        gap: 10px;
        list-style: none;
        border-bottom: none;
        margin-bottom: 20px;
        padding: 30px 5px 15px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scrollbar-width: auto;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
        position: relative;
        scroll-snap-type: mandatory;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .row.fly-comfort .ae-content > div > .col-33 {
        min-width: 300px;
    }
    .__infiniteCarousel .__offerContainer .__offerSnap:last-child .__offer {
        padding-right: 0;
    }
    .row.fly-comfort .ae-content h2 {
        margin-bottom: 0;
        margin-top: 30px;
    }
    .Campaign .__allSales .__subheading > div > div h2 {
        text-align: center !important;
    }
    .__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap {
        padding-bottom: 0;
    }
    .__infiniteCarousel .__scrollContainer .__offerContainer {
        gap: 1px;
    }
    div#\36 f-slider .__infiniteCarousel .__offerContainer .__offerSnap:last-child .__offer {
        padding-right: 0;
    }
    .row.fly-comfort .ae-content > div > .col-33 p {
        text-align: left;
    }
    .flex.flex-wrap.flex.justify-center.max-w-full.BookingMask {
        padding: 0 10px;
    }
    div#\36 f-slider .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
        transform: translateX(20px);
    }
    div#onlyAE .ae-intro h2 {
        text-align: center;
    }
    div#onlyAE .ae-intro {
        padding: 0 20px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1160px) {
    div#top2 h1.__pfs.__bss {
        position: static;
    }
    div#top2 {
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
    #main > div.FlightsBooking.w-full.max-w-full > div {
        background: white;
    }
    .row.\36 f-intro .ae-content > div {
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 0 40px;
    }
    .row.\36 f-intro .ae-content > div > .col-50 {
        width: 100%;
    }
    .row.\36 f-intro .ae-content > div > .col-50 .ups-section .ups-cards > div .ups-content p {
        font-weight: 700;
        font-size: 16px;
        text-align: center;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > .col-50.how-to {
        width: 100%;
    }
    #flightOffers div#earn-bonus-points .row.ae-flex-container > #join-aeroplan.col-50 {
        width: 100%;
        margin-top: 2px;
    }
    .__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap .__offer .__content > div {
        width: 100%;
        margin-top: 10px !important;
    }
    .__infiniteCarousel .__scrollContainer .__offerContainer {
        flex-wrap: wrap;
    }
    .__allSales .__collapsibleSection.__infiniteCarousel.__bottomCarousel .__scrollContainer .__scrollContent .__offerContainer .__offerSnap {
        width: calc(50% - 15px);
        padding-bottom: 0;
    }
    div#\36 f-slider.__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        max-width: 100%;
    }
    .__pfs.__navContainer.__bss {
        display: none;
    }
    div#\36 f-slider .__infiniteCarousel .__offerContainer .__offerSnap:last-child .__offer {
        padding-right: 0;
    }
    .__infiniteCarousel .__offerContainer .__offerSnap:first-child .__offer {
        margin-left: 0;
    }
    .row.fly-comfort .ae-content > div {
        display: flex;
        gap: 20px;
        list-style: none;
        border-bottom: none;
        margin-bottom: 20px;
        padding: 30px 5px 15px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scrollbar-width: auto;
        -ms-overflow-style: none;
        overscroll-behavior-x: contain;
        position: relative;
        scroll-snap-type: mandatory;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-left: 20px;
    }
    .row.fly-comfort .ae-content > div > .col-33 {
        min-width: 300px;
    }
    div#\36 f-slider .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
        transform: translateX(0px);
    }
    div#\36 f-slider {
        padding-left: 20px;
        padding-right: 10px;
    }
    .row.fly-comfort .ae-content > div > .col-33 {
        min-width: 400px;
    }
    .row.fly-comfort .ae-content > div > .col-33 p {
        text-align: left;
    }
    .row > .ae-content {
        width: 100%;
    }
    div#onlyAE .ae-intro h2 {
        text-align: center;
    }
    div#onlyAE .ae-intro {
        padding: 0 20px;
    }
}