/* Last Updated: JJ#581076 */

#loadPayMethods,
#loadTotals,
#loadingGC {
    min-width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: 50%;
    margin: 0 0 20px 0;
}

#pwdPopup {
    display: none;
    width: 300px;
    padding: 0 0 15px;
}

#cws_btn_pwPop {
    margin: 0 0 15px 0;
}

#goToCart {
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin: 0px 0 15px 0;
}

.field.small_field {
    width: 150px;
    white-space: nowrap;
}

.field.small_field .val {
    right: initial;
    left: 0;
}

#cws_btn_checkoutPay {
    display: none;
    width: 100%;
    padding: 15px 20px 15px 20px;
    font-size: 17px;
}

.rightClm {
    float: right;
}

#cws_val_pwPop {
    margin: 10px 0 10px 0;
}

/* ========== Order Totals ========== */
.totalsOutput {
    float: right;
}

#discountLine,
#orderFee,
#bonusAmtLine,
#bonusPtsLine,
#bonusEcertLine {
    display: none;
}

.feeSpan {
    display: block;
    margin: 0 0 15px 0;
}

#orderTotalLine .totalsOutput {
    font-weight: bold;
}

#orderTotalLine {
    font-size: 17px;
    margin: 0 0 20px 0;
    padding: 8px 0 0 0;
}

#errorTotal,
.errorMsg {
    font-size: 11px;
    font-style: italic;
    color: #aa0d0d;
}

#totalsContent,
#loadTotals {
    padding: 0 10%;
}

.discountDiv {
    display: block;
    background-color: #ddf7de;
    padding: 5px;
}

.bonusAmtDiv,
.bonusPtsDiv {
    border: 1px solid #14a218;
    box-sizing: border-box;
    padding: 5px;
}

.discountDiv+.discountDiv,
.bonusAmtDiv+.bonusAmtDiv,
.bonusPtsDiv+.bonusPtsDiv {
    margin-top: 10px;
}

.promoOutputWrapper {
    float: left;
    max-width: 60%;
}

.discountPromo,
.bonusAmtPromo,
.bonusPtsPromo {
    display: inline-block;
    font-size: 12px;
    line-height: 16px;
}

.promoCodeOutput {
    display: block;
    font-size: 12px;
    line-height: 16px;
    color: #0FBC7C;
}

/* =========== Scene Card Field =========== */
#scenePrefix {
    display: inline-block;
    margin: 0 5px 0 0;
    font-size: 14px;
    color: #888;
}

#cws_txt_sceneCard {
    width: 100%;
    display: inline-block;
    padding: 5px;
}

#sceneField label {
    font-size: 13px;
}

/* =========== Promo Offer Form =========== */
#promoWrap,
#sceneField,
#airMilesField,
#thirdPartyDiscountWrap {
    display: none;
    margin: 0 0 20px 0;
    background: #f1f1f1;
    padding: 16px 20px 16px 20px;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 0;
    /*used to counter the unwanted space from display: inline-block*/
    max-width: 100%;
}

#thirdPartyDiscountWrap {
    padding-bottom: 20px;
}

#cws_txt_coupon {
    display: block;
    width: 100%;
    padding: 5px;
}

#cws_val_coupon {
    white-space: nowrap;
}

#promoField {
    width: 73%;
    margin: 0 5% 0 0;
    display: inline-block;
}

#thirdPartyDiscountField {
    width: 73%;
    margin: 0 5% 0 0;
    display: inline-block;
}

#cws_lbl_coupon {
    display: inline-block;
    padding: 0 2% 0 0;
    font-size: 13px;
    vertical-align: middle;
}

#cws_lbl_thirdPartyDiscount {
    font-size: 13px;
}

#cws_txt_thirdPartyDiscount {
    display: inline-block;
    padding: 5px;
}

#promoField .val {
    bottom: -14px;
    right: 6%;
}

#cws_btn_coupon,
#cws_btn_thirdPartyDiscount {
    display: inline-block;
    padding: 7px 10px;
    position: relative;
    font-size: 13px;
    width: 22%;
}

#promoOut {
    color: #74bd34;
    font-size: 20px;
}

/* ========== Billing ========== */
#billingInfoBox {
    margin: 0 0 15px;
}

.leftBillOutput p {
    margin: 0 0 10px 0;
}

.leftBillOutput {
    width: 60%;
    float: left;
    padding: 0 2% 0 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.rightBillOutput {
    width: 40%;
    float: right;
    text-align: right;
}

.edit {
    text-decoration: underline;
}

.edit:hover {
    cursor: pointer;
}

#billingWrap {
    width: 100%;
    padding: 40px 10% 40px 10%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#billHeading {
    display: inline-block;
}

#billingInfo .btn~.val {
    text-align: left;
}

/* ==================== Payment Types ==================== */
#paymentsContainer {
    display: none;
}

.payment_type {
    max-width: 100%;
    padding: 30px;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 140px;
}

.payment_type.greyBorder {
    flex-wrap: nowrap;
}

.payment_type.greyBorder #credit_cards {
    margin: 0;
    max-width: 160px;
    width: unset;
}

.greyBorder {
    border: 1px solid #cccccc;
    margin-bottom: 5px;
}

.greyBorder~.greyBorder {
    /* border-top: none; */
    margin-top: 5px;
}

.payment_type:last-child {
    border-bottom: 1px solid #cccccc;
}

#payMethodClm:not(.separator):not(.separatorLeft) .payment_type .btn {
    padding: 10px 10px;
    min-width: 95px;
    max-width: 120px;
}

.paypal-payment-method__disclaimer, .interac-payment-method__disclaimer {
    width: 100%;
    text-align: left;
    margin: 0;
    order: 1;
    font-size: 13px;
    max-width: 165px;
}

.separator .btn {
    margin: 0;
}

#changeLink {
    display: none;
    float: right;
    text-decoration: underline;
}

.separator {
    border-right: 1px solid #cccccc;
    box-sizing: border-box;
}

.separatorLeft {
    border-left: 1px solid #cccccc;
    box-sizing: border-box;
}

.separatorLeft #creditCardClm,
.separator #creditCardClm,
.separatorLeft #existingCreditCardClm,
.separator #existingCreditCardClm {
    padding: 0px 10% 40px 10%;
}

#credit_cards {
    width: 100%;
    text-align: center;
}

.separator #cc_buttons ~ #credit_cards,
.separatorLeft #cc_buttons ~ #credit_cards {
    width: 100%;
}

#payMethodClm.lockedPayment #creditCardClm {
    padding: 40px 10% 40px 10%;
}

#payMethodClm.lockedPayment #paymentsContainer {
    position: relative;
    opacity: 0.5;
}

#payMethodClm.lockedPayment #paymentsContainer:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

#payMethodClm.separatorLeft.lockedPayment h2 {
    margin: 0;
}

#payMethodClm:not(.separator):not(.separatorLeft) #cc_buttons ~ #credit_cards {
    display: none;
}

/* ========== Pay by Credit Card ========== */
#billingForm,
#ccForm,
#billingInfo,
#cancelBilling,
#cws_form_reloadPay {
    display: none;
}

#cancelBilling {
    float: right;
}

#cws_link_editBill {
    position: relative;
    top: -38px;
}

#ccForm,
#confirmationEmail {
    margin: 0 0 35px 0;
}

#billingInfo .btn {
    float: none;
}

#cws_btn_next {
    float: left;
}

#creditCardClm {
    display: none;
    align-items: flext-start;
}

#credit_cards img {
    display: none;
    height: 25px;
    margin: 3px;
}

.cc_info_label {
    font-weight: 700;
}

#cws_list_ccExpMon,
#cws_list_ccExpYr {
    width: 90px;
    display: inline-block;
    margin: 0 4px 0 0;
}

#cvvField {
    display: inline-block;
    vertical-align: middle;
}

#cvvField+.questionIcon {
    vertical-align: middle;
}

.payment__mor-checkbox-wrapper {
    margin-bottom: 20px;
}

.payment__mor-checkbox {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.payment-mor-disclaimer__image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.payment-mor-disclaimer__image {
    max-width: 110px;
}

/* ========= PayPal, Interac ========== */
#paypalClm,
#interacClm {
    display: none;
    gap: 10px;
}

#paypalRequest,
#interacRequest {
    order: 0;
}

#cws_btn_usePayPal, #cws_btn_useInterac {
    order: 2;
}

#paypalRequest,
#interacRequest,
#cc_image {
    width: 20px;
    display: block;
}

#cc_image {
    margin: 6px 0 0 0;
}

.payField .val {
    position: static;
    text-align: left;
}

.payment_type .btn~.val {
    text-align: right;
}

#creditCardClm.payment_type > .val {
    text-align: left;
    width: 100%;
}

/* =========== Support =========== */
.columnWrap {
    padding: 0 10% 20px 10%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#emptyCart {
    color: #aa0d0d;
    font-style: italic;
}

#completeWrap {
    padding: 0px 10% 20px 10%;
}

/* =========== Reload =========== */
#amtLoading {
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-size: 100%;
}

.cws_output_gcAsOf {
    margin: 8px 0 0 0;
    font-size: 11px;
    line-height: 14px;
}

#amtList,
#amtTxt {
    width: 48%;
}

#amtList {
    float: left;
}

#amtTxt {
    float: right;
    display: none;
}

#listContainer,
#customContainer,
#outputs,
#expiryLine,
#autoOutputBox {
    display: none;
}

.fieldHint {
    text-align: left;
    font-size: 11px;
    font-style: italic;
    position: absolute;
    right: 0;
    bottom: -18px;
}

#changeGCInfo {
    float: right;
}

#outputs strong {
    display: block;
}

#amtLine,
#autoAmtLine {
    font-size: 15px;
    line-height: 170%;
}

#reload-totals__container {
    min-height: 50px;
    background-position: center;
    background-size: 50px;
    background-repeat: no-repeat;
}

#reload-totals__container #discountLine,
#reload-totals__container #orderFee,
#reload-totals__container #bonusAmtLine,
#reload-totals__container #bonusPtsLine,
#reload-totals__container #bonusEcertLine {
    display: block;
}

/* Hidden labels for accessibility */
#cws_lbl_reloadAmtOther,
#cws_lbl_ccExpMon,
#cws_lbl_ccExpYr {
    font-size: 0;
    margin: 0;
}

/* ================= ReCaptcha ================== */
#recaptcha {
    display: none;
}

#cws_captcha_errors {
    left: 0px;
    right: initial;
}

#recaptcha+.val {
    left: 0px;
    right: initial;
}

#recaptchaField {
    display: none;
}

/* ================= Accept-Terms Checkbox ================= */

.disclaimerField {
    position: relative;
    margin: 0 0 25px 0;
}

#termsField {
    box-sizing: border-box;
    display: none;
    margin: 0 0 30px 0;
    max-width: unset;
}

#termsField label {
    margin: 0;
}

#termsField #cws_val_terms {
    bottom: -20px;
    left: 0;
    right: unset;
}

/* ================= tmIframe ================= */
#tmIframe {
    width: 1px;
    height: 1px;
    border: none;
    display: none;
}

@media only screen and (max-width: 1024px) {
    .paypal-payment-method__disclaimer, .interac-payment-method__disclaimer, #credit_cards {
        display: none;
    }
}

@media only screen and (min-width: 550px) and (max-width: 767px) {
    .paypal-payment-method__disclaimer, .interac-payment-method__disclaimer, #credit_cards {
        display: block;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
    .paypal-payment-method__disclaimer, .interac-payment-method__disclaimer, .payment_type.greyBorder #credit_cards {
        max-width: 210px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px),
(max-width: 500px) {

    #cws_lbl_coupon,
    #cws_txt_coupon {
        width: 100%;
    }

    #bonusPromo,
    #discountPromo {
        font-size: 12px;
    }
}

@media only screen and (max-width: 767px) {
    .checkoutClm {
        width: 100%;
        float: none;
    }

    .rightClm {
        float: none;
    }

    #billingWrap {
        padding: 0px 10% 0px 10%;
    }

    #billingWrap.greyBorder {
        padding: 20px 10% 20px 10%;
    }

    .columnWrap,
    .separator #creditCardClm {
        margin: 0;
        padding: 10px 10% 10px 10%;
    }

    .separator,
    .separatorLeft {
        border: none;
    }

    #cws_btn_checkoutPay {
        margin: 0 0 25px 0;
    }

    #ccForm {
        margin: 0 0 15px 0;
    }
}

@media only screen and (max-width: 600px) {

    .columnWrap,
    .separator #creditCardClm {
        padding: 10px 5% 10px 5%;
    }

    #completeWrap {
        padding: 0;
    }

    #totalsContent {
        padding: 0 5% 0 5%;
    }

    #credit_cards {
        max-width: 100%;
    }
}

@media only screen and (max-width: 400px) {
    /* #recaptcha {
        transform: scale(0.85);
    } */

    #credit_cards img {
        height: 25px;
    }

    #cws_form_changeActDet {
        width: 96%;
    }
}

/* JJ#581076 */

#existingCreditCardClm {
    display: none;
    justify-content: space-between;
}

#payMethodClm.separator #existingCreditCardClm, 
#payMethodClm.separatorLeft #existingCreditCardClm,
#payMethodClm.separator #creditCardClm, 
#payMethodClm.separatorLeft #creditCardClm {
    justify-content: flex-end;
}

#cc_buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#cc_info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

#cc_info h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}

#cc_info p {
    margin: 0 0 5px 0;
}

#cws_btn_useExistingCC {
    padding: 10px 40px;
}

#existingCCchangeLink {
    display: none;
    float: right;
    text-decoration: underline;
}
#existingCCchangeLink:hover {
    text-decoration: none;
}

#cc_info.reload_page_cc_info {
    display: block;
    margin: 20px 0 0 0;
}

#cc_info.reload_page_cc_info p:last-of-type {
    margin: 0;
}

#cardRequiredReminder, #cardRequiredReminderSuspended {
    margin: 10px 0 0 0;
    color: #aa0d0d;
}

#cardRequiredReminderEdit {
    display: none;
    color: #aa0d0d;
}

.label_auto_width {
    display: inline-block;
}

#saveCCContainer {
    margin: 5px 0 0 0;
}

#saveCCContainer label {
    font-weight: 600;
}

#ccForm, #billingInfo, #cws_form_reloadPay {
    width: 100%;
}

#cc_intro {
    display: flex;
    align-items: center;
    gap: 15px;
}

#cc_intro h3 {
    margin: 0;
    white-space: nowrap;
}

#cc_intro #credit_cards {
    margin: 0;
}

#payMethodClm:not(.separator):not(.separatorLeft) #creditCardClm.payment_type #cc_buttons ~ .btn {
    margin: 0;
}

.payment_type.clearfix::after {
    content: unset;
}

#cws_btn_gcReload {
    display: none;
}

#cws_form_pay {
    display: none;
    width: 100%;
}

#payMethodClm.separator #creditCardClm #cws_btn_gcReload,
#payMethodClm.separatorLeft #creditCardClm #cws_btn_gcReload {
    margin-right: auto;
}

#outputs p {
    font-size: 15px;
    line-height: 170%;
}

#paypal_inner, #interac_inner, #cc_inner {
    display: flex;
    align-items: center;
    gap: 15px;
}
#paypal_inner h3, #interac_inner h3, #cc_inner h3 {
    margin: 0;
    font-size: 15px;
    white-space: nowrap;
}

/* JJ# 608259 */

#existingCCcvvField {
    margin: 20px 0 0 0;
    display: inline-block;
}

@keyframes highlight {
    0% {
        background-color: #fbfb5640;
    }
    100% {
        background-color: #f9f9f9;
    }
}

.highlight {
    animation: highlight 1s;
}