.blue-skies p {
    font-size: 14px;
}

.col-25 {
    width: calc(22.9% - 3px);
    display: inline-block;
    vertical-align: top;
    margin: 0px 21px 0px 0px;
}

#top {
    padding-top: 35px;
}

.dest {
    margin-top: 53px;
}

.dest .col-26 {
    padding: 0px 18px;
}

.dest p {
    font-weight: bold !important;
    font-size: 16px !important;
    padding-top: 10px;
    text-transform: uppercase;
}

.narrow h1 {
    margin-bottom: 30px;
}

.narrow h3 {
    margin-bottom: 20px;
}

.grey-bg {
    color: #000;
    text-align: center;
    background: linear-gradient(#f9f9f9 85%, #ffff 15%);
}

#regError,
#numebrError {
    color: #f01428;
    text-align: left;
    font-weight: 600;
}

.grey-bg .col-26,
.grey-bg .col-55 {
    padding: 2.7em;
    text-align: left;
    background: #fff;
    color: #000;
    position: relative;
    margin: 0px 10px;
    margin-top: 62px;
    text-align: center;
    -webkit-box-shadow: 0 6px 19px -7px rgb(0 0 0 / 15%);
    box-shadow: 0 6px 19px -7px rgb(0 0 0 / 15%);
}

.col-55 {
    width: calc(53% - 12px);
    display: inline-block;
    vertical-align: top;
}

.col-26 {
    width: calc(33% - 11px);
    display: inline-block;
    vertical-align: top;
}

.bk {
    background-color: black;
    border-radius: 13px;
    text-transform: uppercase;
    padding: 3px 27px;
    font: normal 14px Open Sans !important;
    color: #fff;
    letter-spacing: 0.2px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    display: table;
    margin: 0px auto 27px auto;
}

hr {
    height: 3px;
    width: 20px;
    background-color: #b8a890;
    margin: 20px auto 30px;
    border: none;
}

.step1 {
    height: 800px;
    background: linear-gradient(#fff 45%, rgba(0, 0, 0, 0) 87%), linear-gradient( #b9d9eb 41%, #b9d9eb 64%) !important;
}

input#ae-number {
    background-color: #fff;
    border-bottom: 1px solid #d0d0ce;
    color: #737373;
    font-size: 16px;
    padding-left: 0px;
}

#agreement {
    width: 16px;
    height: 16px;
    background-color: #000;
    cursor: pointer;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 3px 3px 3px 4px;
    padding: initial;
    border: initial;
    opacity: 1;
    position: relative;
}

.box-close {
    background: url(/content/dam/aircanada/loyalty-content/images/icon/blue-skies-gift-box-close.svg) no-repeat;
}

.box-open {
    background: url(/content/dam/aircanada/loyalty-content/images/icon/blue-skies-gift-box-open.svg) no-repeat;
}

.box-close,
.box-open {
    background-position: 50% 92%;
    height: 800px;
}

.step2 h5 {
    font-weight: 600;
    margin-bottom: 1px;
    margin-top: 13px;
}

.grey-bg .row {
    margin-bottom: 22px;
}

p.blue {
    background-color: #f1f7fa;
    padding: 14px;
    margin-top: 16px;
    margin-bottom: 50px;
}

.blue span {
    background: url(/content/dam/aircanada/loyalty-content/images/icon/icon-ticket.svg) no-repeat;
    padding: 1px 12px 3px 12px;
    margin-right: 6px;
}

ul.offer {
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0px;
}

.offer li:before {
    content: '';
    display: block;
    float: left;
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
    margin-bottom: 11px;
    background: url(/content/dam/aircanada/loyalty-content/images/icon/icon-contest-entry.svg)no-repeat left top;
}

.offer span {
    overflow-y: hidden;
    display: block;
}

.offer li {
    list-style: none;
    padding: 1px 0px 28px 0px;
    margin: 0px;
    clear: both;
    width: 90%;
    font: normal 400 14px Open Sans;
    line-height: 1.5;
}

 :lang(fr) .offer li {
    padding: 4px 0px 58px 0px;
}

label#rules-check,
input#sing-up,
form#formulaire+p {
    margin-top: 30px;
background: transparent;
}


/* .offer:nth-child(2n) li:nth-child(3) {
    position: relative;
    bottom: 27px;
}

 :lang(fr) .offer:nth-child(2n) li:nth-child(3) {
    position: relative;
    bottom: 57px;
} */

 :root {
    --borderWidth: 4px;
    --height: 24px;
    --width: 13px;
    --borderColor: #20842f;
}

.check {
    display: inline-block;
    transform: rotate( 45deg);
    height: var(--height);
    width: var(--width);
    border-bottom: var(--borderWidth) solid var(--borderColor);
    border-right: var(--borderWidth) solid var(--borderColor);
    margin-bottom: 13px;
}

.cc-faqs .accordion__container {
    padding: 7.5em 0px 0px 0px !important;
}

.step2 .row strong {
    white-space: nowrap;
}

.join-aeroplan-banner .ae-content {
    padding: 30px 6em !important;
    margin: 39px auto !important;
}

.step1 .primary-btn {
    padding: 15px 56px;
}

:lang(fr) .step1 .primary-btn {
    padding: 15px;
}

.offer span {
    overflow-y: hidden;
    display: inherit;
}

p.accordion__title.panel-box.white-bg {
    text-align: left;
}

.ae-footer.row {
    margin-bottom: 0px;
}

#regulations {
    text-align: left;
}

#regulations table {
    margin: 10px 0px;
}

#regulations ol li p {
    font: normal 400 14px Open Sans;
}

.footnote p {
    margin-bottom: 10px;
    text-align: left;
    font-size: small;
    font-size: 12px;
}

.footnote {
    text-align: left;
}

.space {
    padding-left: revert;
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
     :lang(fr) .step1 .primary-btn {
        right: 0px;
    }
    .col-25 {
        width: calc(30% - 3px);
    }
    .col-26,
    .col-55 {
        width: 100% !important;
    }
    .step1 {
        height: 685px !important;
    }
    .box-close,
    .box-open {
        background-position: 49% 67%;
        height: 800px !important;
    }
 
}

@media only screen and (max-width: 767px) {
     :lang(fr) .step1 .primary-btn {
        right: 0px;
    }
    .col-25 {
        width: 40%;
        display: inline-block;
        margin: 0px 21px 0px 0px;
    }
    .col-26,
    .col-55 {
        width: 90%;
        margin: 61px 0px 0px 0px!important;
    }
    .dest img {
        min-height: auto;
    }
    .step1 {
        height: 685px;
    }
     :lang(fr) .step1 {
        height: 730px;
    }
    .step2 .row strong {
        display: block;
    }
    
    .box-open {
        background-position: 50% 80%;
        height: 680px;
    }
    .box-close{
        background-position: 50% 92%;
        height: 680px;
    }
     :lang(fr).box-close {
    background-position: 50% 92%;
    height: 729px;
    }
    :lang(fr).box-open {
    background-position: 50% 92%;
    
    }

    .box-open {
        height: 730px;
    }
    .offer {
        column-count: 1 !important;
    }
     :lang(fr) .offer li {
        padding: 1px 0px 20px 0px;
    }
    .cc-faqs .accordion__container {
        padding: 30px 20px !important;
    }
    .join-aeroplan-banner .ae-content {
        margin: 0px auto !important;
    }
    #regulations .ac-table thead tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        position: relative !important;
        top: 0;
        left: 0;
    }
    #regulations .ac-table thead tr th {
        width: 50%;
        font-size: 14px;
    }
    #regulations .ac-table tbody tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    #regulations .ac-table tbody tr td {
        padding: 15px;
        width: 50%;
    }
    #regulations .ac-table tbody tr td p {
        margin-bottom: 10px;
        font-size: 13px;
    }
    .ac-table-columns tr td:before {
        display: none;
    }
    ul.offer {
        grid-template-columns: repeat(1, 1fr);
    }
    .offer li:before {
        margin-right: 9px;
    }
     :lang(fr) .join-aeroplan-banner div.prelogin .ae-content {
        min-height: 400px;
    }
   
}

@media (min-width: 1024px) and (max-width: 1298px) {
     :lang(fr).step2 .row strong {
        white-space: pre-wrap;
    }
}

@media (min-width: 1400px) {
     :lang(fr).step2 .row strong {
        white-space: nowrap;
    }
}