.table-eupgrades table, 
.panels > .panel table {
    width: 100%;
    border-radius: 13px;
    overflow: hidden;
    margin-top: 40px;
    outline: 1px solid #f3f3f3;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.table-eupgrades table thead th, 
.panels > .panel table thead th {
    width: 20%;
    background-color: #2A2A2A;
    color: white;
    font-weight: 600;
    font-size: 18px;
    padding: 25px;
}
.table-eupgrades table tbody td,
.panels > .panel table tbody tr td {
    width: 20%;
    text-align: left;
    padding: 25px;
    font-weight: 500;
    border: 2px solid #f3f3f3;
}
.hideRows, .showRows {
    display: none;
}
.active{
    display: block;
}
.table-eupgrades{
    display: none;
}
#requirements-search {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}
#requirements-search > div, #requirements-search button {
    width: calc(20% - 0px);
}
#requirements-search select {
    border: 0;
    border-bottom: 1px solid;
    color: #737373;
    font-size: 16px;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    padding-bottom: 5px;
    background-color: white;
    padding-right: 25px;
}
#requirements-search > div {
    padding: 0 10px;
    position: relative;
}
#requirements-search button {
    background-color: #005078;
    color: white;
    border-radius: 13px;
    border: none;
    padding: 15px 20px;
}
#requirements-results > p {
    background-color: #f8f8f8;
    padding: 15px 20px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    display: inline-block;
    width: 100%;
    border-radius: 13px;
}
#requirements-results > p small {
    font-size: 11px;
}
.table-eupgrades h3 {
    text-align: left;
    margin-top: 30px;
}
.select-label {
    display: none;
    text-align: left;
    width: 100%;
    color: #737373;
    font-size: 12px;
}
.table-eupgrades > p {
    margin-bottom: 0;
    background-color: #FAFAFA;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    padding-top: 20px;
    padding-bottom: 20px;
    outline: 1px solid #f3f3f3;
}
.table-eupgrades > p a {
    font-size: 14px;
}
.table-eupgrades table thead th:nth-child(1), 
.table-eupgrades table thead th:nth-child(2) {
    text-align: left;
}
.table-eupgrades table tbody td.cellRow-header,
.panels > .panel table tbody tr td {
    font-size: 14px;
    font-weight: 700;
}
.ae-header img {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.bg-bottom-gradient {
    background: linear-gradient(#ffffff00, #ffffff8a, #ffffffd9, #ffffff);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 0;
}
.ae-header .ae-content {
    border-radius: 13px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 17px -8px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 17px -8px;
}
.clearance-box {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: calc(33% - 0px);
    padding: 7px;
    z-index: 1;
    position: relative;
}
.panels > .panel {
    display: none;
}
.clearance-windows .ae-content > h2, 
.clearance-windows .ae-content > p {
    text-align: center;
}
.clearance-windows .ae-content > h2:after {
    display: none;
}
.clearance-windows .ae-content > h2 {
    margin-bottom: 20px;
}
.clearance-row {
    margin-top: 60px;
}
.clearance-box > div {
    background-color: white;
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 17px -8px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 17px -8px;
    padding: 20px 30px;
    border-radius: 13px;
    width: 100%;
    min-height: 230px;
    animation: fade-in-bottom .75s ease-out both;
    animation-delay: .8s;
    transition: all 0.13s linear;
}
.clearance-box > div:hover {
    -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 17px -3px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 17px -3px;
    transform: scale3d(1.01, 1.01, 1.01);
    cursor: pointer;
}
.clearance-box > div img {
    max-width: 250px;
    margin-left: -25px;
    margin-top: -55px;
}
.clearance-box > div h3 {
    margin-top: 30px;
}
.clearance-box > div hr {
    margin-top: 30px;
    margin-bottom: 26px;
}
.panels > .panel.active {
    display: block;
    background-color: white;
    padding: 120px 0px 30px;
    margin: 0 auto;
    border-radius: 0;
    max-width: 1200px;
}
.panels > .panel table {
    width: 100%;
    margin-top: 0;
}
.panels > .panel table thead th {
    text-align: left;
}
.panels > .panel table {
    border-radius: 13px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 17px -5px;
}
.cellRow-faded {
    background-color: #e0e4e7;
}
.table-footer {
    text-align: left;
    margin-top: 20px;
}
.table-footer p span {
    background-color: #e0e4e7;
    width: 25px;
    height: 25px;
    display: inline-block;
    border-radius: 5px;
    border: 1px solid #cdcdcd;
    margin-right: 10px;
    vertical-align: middle;
}
.ae-header .ae-content .table-footer p {
    font-size: 14px;
    font-weight: 600;
}
#requirements-search button:hover {
    background-color: #004b70;
}
.panels > div > table > tbody > tr > td:nth-child(2), 
.panels > div > table > tbody > tr > td:nth-child(3) {
    font-weight: 500;
}
#requirements-search > div:after {
    content: '';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000000;
    width: 10px;
    height: 10px;
    position: absolute;
    right: 12px;
    top: 5px;
}
#requirements-search > div.active:after {
    bottom: 7px;
    top: unset;
}
.ae-header.row .ae-content h1 {
    font-weight: 600;
}
#priority-rewards > div:nth-child(3) > div {
    padding: 0;
}
.clearance-box > div a {
    text-decoration: none;
}
.cc-faqs .accordion__container .accordion__title.panel-box {
    -webkit-box-shadow: none;
    box-shadow: none;
    margin-bottom: 10px;
}
.faq-inner {
    -webkit-box-shadow: 0 6px 19px -7px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0px 19px -7px rgba(0, 0, 0, 0.15);
    background-color: white;
    border-radius: 13px;
    margin-bottom: 50px;
}
.accordion__content {
    text-align: left;
}
#priority-rewards > div.row.clearance-windows > div:nth-child(1) > div:nth-child(3) {
    margin-top: 100px;
}
.ae-header picture {
    position: relative;
    height: 100%;
    display: block;
}
.table-error p {
    margin: 0;
}
.table-error {
    margin: 30px 0;
    background-color: #efefef;
    border-radius: 13px;
    padding: 30px;
    display: none;
}
.table-eupgrades tbody tr {
    display: none;
}
.table-error.active {
    display: block;
}
.table-eupgrades.active {
    display: block;
}
.table-eupgrades tbody tr.active {
    display: table-row;
}
#priority-rewards {
    background-color: #F4F4F4;
}
.panels.active {
    width: calc(100vw);
    margin-left: -360px;
    margin-top: -82px;
    background-color: white;
    border-top: 1px solid #E0E4E7;
    border-bottom: 1px solid #E0E4E7;
}
.clearance-box.active > div,
.__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content.active {
    border: 2px solid #005078;
}
.clearance-box > div a:after {
    content: '';
    background-image: url(https://www.aircanada.com/content/dam/aircanada/loyalty-content/images/prev-arrow.svg);
    width: 13px;
    height: 13px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: -2px;
    transform: rotate(180deg);
    margin-left: 5px;
}
.clearance-box.active > div a:after {
    transform: rotate(270deg);
}
.cc-faqs .accordion__container {
    padding: 10px 0px;
}
.cc-faqs .accordion__container .accordion__title.panel-box {
    margin-bottom: 0;
}
.cc-faqs .accordion__container .accordion__title.panel-box a.accordion__toggle {
    text-decoration: none;
}
@media only screen and (max-width: 767px) {
    .panels.active {
        margin-left: -20px;
        margin-top: -120px;
    }
    .panels > .panel.active {
        padding: 140px 30px 50px;
    }
}
@media only screen and (max-width: 768px) {
    #requirements-search {
        display: flex;
        justify-content: space-evenly;
        align-items: flex-end;
        flex-wrap: wrap;
    }
    #requirements-search > div, #requirements-search button {
        width: 100%;
        margin: 10px 0;
    }
    .ae-header#top .ae-content h1 {
        font-size: 28px;
        font-weight: 600;
    }
    .table-eupgrades table, .panels > .panel table {
        table-layout: fixed;
    }
    .table-eupgrades table thead th, .panels > .panel table thead th {
        font-size: 10px;
        padding: 10px;
        text-align: left;
    }
    .table-eupgrades table tbody td.cellRow-header, .panels > .panel table tbody tr td {
        font-size: 8px;
        font-weight: 700;
    }
    .table-eupgrades table tbody td, .panels > .panel table tbody tr td {
        padding: 8px;
    }
    .table-eupgrades table {
        margin-top: 20px;
    }
    #requirements-search > div:after {
        top: 7px;
    }
    .select-label {
        padding-left: 0px;
    }
    .mobile-clearance .panels {
        margin-bottom: 40px;
    }
    div#tnc {
        padding: 0 20px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1260px) {
    #requirements-search > div {
        width: 50%;
        margin: 10px 0;
    }
    #requirements-search button {
        width: 100%;
        margin-top: 20px;
    }
    /* .__offer {
        width: 280px;
    } */
    .panels.active {
        margin-left: -96px;
    }
    .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        max-width: 245px;
    }
    .__offer .__content h3 {
        min-height: 45px;
    }
    .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div {
        min-height: 180px;
    }
    .mobile-clearance {
        width: 100%;
    }
    .ae-content {
        width: calc(100% - 20px);
    }
    #priority-rewards > div:nth-child(3) > div {
        padding: 0 20px;
    }
    .ae-header .ae-content {
        margin-top: -160px;
    }
    .table-eupgrades table thead th, .panels > .panel table thead th {
        font-size: 14px;
        padding: 20px 10px;
    }
    .table-eupgrades table tbody td.cellRow-header, .panels > .panel table tbody tr td {
        font-size: 12px;
        font-weight: 600;
    }
    #requirements-search {
        flex-wrap: wrap;
    }
    .mobile-clearance {
        padding-top: 0;
        padding-bottom: 0;
    }
}
@media only screen and (min-width: 768px) and (max-width: 959px){
    .panels.active {
        margin-left: -40px;
        margin-top: -130px;
    }
    .panels > .panel.active {
        padding: 150px 0px 50px;
        max-width: 680px;
    }
    .faq-inner {
        margin-top: 10px;
    }
}
@media only screen and (min-width: 960px) and (max-width: 1024px){
    .panels.active {
        margin-left: -110px;
        margin-top: -132px;
    }
    .panels > .panel.active {
        padding: 140px 0px 40px;
        max-width: 800px;
    }
    .faq-inner {
        margin-top: 50px;
    }
}
@media only screen and (max-width: 1260px) {
    .clearance-windows > .ae-content:first-child .clearance-row {
        display: none;
    }
    .__navContainer {
        display: none;
    }
    .mobile-clearance .__allSales {
        padding: 0;
    }
    .__offer .__content h3 {
        font-size: 20px;
        min-height: 35px;
    }
    .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content picture+div {
        min-height: 160px;
    }
    .__offerSnap .__offer {
        height: 250px;
    }
    .__allSales .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content img {
        margin-top: -50px;
    }
    .__infiniteCarousel .__offerContainer .__offerSnap .__offer .__content {
        margin-top: 40px;
    }
    .__infiniteCarousel .__offerContainer .__offerSnap .__offer {
        transform: translateX(10px);
    }
    .__allSales .__offer .__content {
        min-height: 250px;
    }
    .__infiniteCarousel .__scrollContainer .__offerContainer {
        padding-bottom: 0;
    }
}
@media only screen and (min-width: 1261px){
    .mobile-clearance {
        display: none;
    }
}
@media only screen and (min-width: 1260px) and (max-width: 1399px){
    .panels.active {
        margin-left: -33px;
    }
    .panels > .panel.active {
        padding: 120px 0px 60px;
    }
}
@media only screen and (min-width: 1400px) and (max-width: 1499px){
    .panels.active {
        margin-left: -115px;
    }
    .panels > .panel.active {
        padding: 120px 0px 60px;
    }
}
@media only screen and (min-width: 1500px) and (max-width: 1600px){
    .panels.active {
        margin-left: -170px;
    }
    .panels > .panel.active {
        padding: 120px 0px 60px;
    }
}