
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

/* BROWSER RESETS & GLOBAL DEFAULTS 
*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    font-size: 100%;
    line-height: 1;
}

body.lock {
    position: fixed;
    width: 100%;
    min-width: 100vw;
    overflow: hidden;
}

.animation__region img {
    display: block;
    width: 100%;
}

.displaySectionNo {
    display: none !important;
}

.displaySectionYes {
    display: block;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.icon-replay {
    background-image: url('/cws4.0/global-egift/images/icons/icon-replay.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-play-circle {
    background-image: url('/cws4.0/global-egift/images/icons/icon-play-circle.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.animation-description {
    position: absolute;
    left: -1000%;
    color: transparent;
}

/* PAGE LAYOUT STYLES 
*/
.page__wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-color: #ffffff;
}

.page__main {
    flex-basis: 0;
    flex-grow: 1;
    height: 100%;
    background-color: #ffffff;
}

footer {
    flex-basis: auto;
    flex-grow: 0;
    height: 100%;
}

/* PAGE FOOTER STYLES 
    - uses _includes/footer.html for markup
    - uses cwsV2_global.css & _branding.css for styles
    - this file contains only overrides
*/
.footerNav,
#backToTop,
.cookie-list-item,
#button--footer-change-cookie-settings {
    display: none;
}

#footer_1-grey-nav .footerContact {
    padding: 0;
}

/* PAGE HEADER STYLES 
    - uses _includes/header.html for markup
    - uses cwsV2_global.css & _branding.css for styles
    - this file contains only overrides
    - header is entirely hidden and then removed by JS, only included to get the logo
*/

header {
    display: none !important;
}

/* EGIFT ANIMATION REGION STYLES 
    -   includes region layout/ placement styles only, wrapper-specific styles should be 
        written in that wrapper's CSS doc.
*/
.animation__region {
    position: relative;
    width: 100%;
    height: auto;
    background: linear-gradient(180deg,
            rgb(255, 255, 255),
            rgba(215, 227, 239, 0.6));
}

@media all and (min-width: 980px) {
    .animation__region {
        margin-bottom: 60px;
    }
}

.animation__canvas,
.animation__window {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.animation__window {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: transparent;
}

/* PRESENTER & DEDICATION FALLBACK LAYOUT STYLES
*/
.egift-fallback-wrapper {
    display: none;
}

.show-fallback .egift-fallback-wrapper {
    display: block;
}

.presenter-wrapper-fallback {
    margin: 0 auto;
}

@media all and (min-width: 0px) and (max-width: 979px) {
    .dedication__wrapper--fallback {
        position: relative;
        z-index: 100;
        width: 100%;
        padding-bottom: 40px;
    }
}

@media all and (min-width: 0px) and (max-width: 389px) {
    .animation__region.show-fallback {
        min-height: 720px;
    }

    .presenter-wrapper-fallback {
        transform: scale(0.725) translateX(-30px);
    }

    .dedication__wrapper--fallback {
        margin: 180px 0 0 0;
        padding-top: 40px;
    }
}

@media all and (min-width: 390px) and (max-width: 639px) {
    .animation__region.show-fallback {
        min-height: 760px;
    }

    .presenter-wrapper-fallback {
        transform: scale(0.8);
    }

    .dedication__wrapper--fallback {
        margin: 214px 0 0 0;
        padding-top: 40px;
    }
}

@media all and (min-width: 640px) and (max-width: 767px) {
    .animation__region.show-fallback {
        min-height: 800px;
    }

    .presenter-wrapper-fallback {
        transform: scale(0.88);
    }

    .dedication__wrapper--fallback {
        margin: 248px 0 0 0;
        padding-top: 48px;
    }
}

@media all and (min-width: 768px) and (max-width: 979px) {
    .animation__region.show-fallback {
        min-height: 860px;
    }

    .presenter-wrapper-fallback {
        transform: scale(0.96) translateY(24px);
    }

    .dedication__wrapper--fallback {
        margin: 307px 0 0 0;
        padding-top: 64px;
    }
}

@media all and (min-width: 980px) {
    .dedication__wrapper--fallback {
        position: absolute;
        top: 50%;
        transform: translate(0, -40%);
        height: auto;
        padding-left: 16px;
    }
}

@media all and (min-width: 980px) and (max-width: 1179px) {
    .animation__region.show-fallback {
        height: 560px;
    }

    .presenter-wrapper-fallback {
        transform: scale(0.9) translateY(80px);
    }

    .dedication__wrapper--fallback {
        width: calc(50% - 188px);
        padding-right: 32px;
    }
}

@media all and (min-width: 1180px) and (max-width: 1279px) {
    .animation__region.show-fallback {
        height: 580px;
    }

    .presenter-wrapper-fallback {
        transform: scale(0.94) translateY(80px);
    }

    .dedication__wrapper--fallback {
        width: calc(50% - 192px);
        padding-right: 32px;
    }
}

@media all and (min-width: 1280px) {
    .animation__region.show-fallback {
        height: 610px;
    }

    .presenter-wrapper-fallback {
        transform: translateY(40px);
    }

    .dedication__wrapper--fallback {
        width: calc(50% - 204px);
        padding-right: 64px;
    }
}

/* EGIFT PRESENTER (WITH "OPEN" ANIMATION)
    -   Presenter styles that are wrapper-specific should be written in the wrapper's CSS doc.
    -   IMPORTANT: card flap "open" animation requires class "animate-reveal", toggle this class
        in the wrapper-speicifc Js to trigger animation
*/

.presenter-wrapper,
.presenter-wrapper-fallback {
    position: relative;
    z-index: 50;
    width: 408px;
    height: 276px;
}

.presenter-main,
.presenter-fallback-main {
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: inherit;
    height: inherit;
    overflow: hidden;
    background-color: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 3px 12px 24px rgba(0 0 0 / 20%);
}

.presenter-main::before,
.presenter-fallback-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: inherit;
    height: inherit;
    background: linear-gradient(-164deg, rgba(0 0 0 / 20%), 4%, transparent);
}

.egift-barcode-wrapper {
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 1;
    width: 100%;
    height: 50%;
    margin: 3px 0 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.egift-barcode-wrapper img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.egift-amount,
.egift-number {
    flex-basis: auto;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

.egift-amount {
    font-size: 24px;
    font-weight: bold;
}

.egift-amount .currency-type {
    margin: 0 0 0 4px;
    font-size: 12px;
    font-weight: normal;
}

.egift-number {
    font-size: 18px;
    font-weight: 600;
    z-index: 2;
}

.egift-pin {
    margin: 0;
    margin-top: 5px;
    z-index: 2;
    font-weight: 600;
}

.presenter-top,
.presenter-top-inner,
.presenter-fallback-top {
    display: block;
    width: inherit;
    height: 300px;
    background-color: #ffffff;
}

.presenter-top,
.presenter-top-inner {
    border-radius: 0 0 8px 8px;
    position: absolute;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: top;
}

.presenter-top {
    z-index: 110;
}

.presenter-top-inner {
    z-index: 100;
    transform: rotateY(180deg);
    box-shadow: -3px -12px 24px rgb(0 0 0 / 20%);
}

.presenter-fallback-top {
    position: relative;
    border-radius: 8px 8px 0 0;
    box-shadow: 3px 12px 24px rgb(0 0 0 / 20%);
}

.presenter-top-inner:before,
.presenter-fallback-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: inherit;
    height: inherit;
}

.presenter-top-inner:before {
    background: linear-gradient(164deg, rgba(0 0 0 / 30%), 3%, transparent);
}

.presenter-fallback-top::before {
    background: linear-gradient(328deg, rgba(0 0 0 / 30%), 3%, transparent);
}

.egift-card-image,
.egift-card-image-fallback {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.egift-card-image>#egift-card-image,
.egift-card-image-fallback>#egift-card-image-fallback {
    position: relative;
    top: 8%;
    width: 360px;
    height: 232px;
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.egift-card-image {
    transform: rotateZ(180deg);
}

.animate-reveal .presenter-top,
.animate-reveal .presenter-top-inner {
    animation-duration: 640ms;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
}

.animate-reveal .presenter-top {
    animation-name: flip-presenter-top;
}

.animate-reveal .presenter-top-inner {
    animation-name: flip-presenter-top-inner;
}

@keyframes flip-presenter-top {
    0% {
        transform: rotateX(0deg);
    }

    100% {
        transform: rotateX(180deg);
    }
}

@keyframes flip-presenter-top-inner {
    0% {
        transform: rotateY(180deg) rotateX(0deg);
    }

    100% {
        transform: rotateY(180deg) rotateX(180deg);
    }
}

/* EGIFT DEDICATION (WITH "ENTER" ANIMATION)
    -   Dedication styles that are wrapper-specific should be written in the wrapper's CSS doc.
    -   IMPORTANT: dedication animation requires class "animate-reveal", toggle this class
        in the wrapper-speicifc Js to trigger animation
*/
.dedication__wrapper,
.dedication__wrapper--fallback {
    height: auto;
}

.dedication__brand-wrapper,
.dedication__recipient-wrapper,
.dedication__sender-wrapper {
    visibility: hidden;
    opacity: 0;
    animation-direction: normal;
    animation-duration: 1600ms;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.dedication__brand-wrapper,
.dedication__brand-wrapper--fallback {
    width: 100%;
    margin: 0 0 32px 0;
}

.dedication__recipient-wrapper p,
.dedication__recipient-wrapper--fallback p,
.dedication__sender-wrapper p,
.dedication__sender-wrapper--fallback p {
    margin: 0;
}

.dedication__special-effect,
.dedication__special-effect--fallback {
    width: 100%;
}

.special-effect__wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    /* set for height with buttons to avoid layout "jump" */
    height: 50px;
}

.special-effect__wrapper p {
    color: #333333;
}

.special-effect__wrapper button {
    font-size: 13px;
    text-transform: capitalize;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    color: #555555;
    visibility: hidden;
    transition: visibility 160ms ease;
}

.special-effect__wrapper button:hover {
    cursor: pointer;
}

#special-effect-button,
#special-effect-button-fallback {
    display: none;
    margin: 0 0 0 8px;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #CDDDEB;
    background-color: #ffffff;
    box-shadow: 0 4px 16px #9FB9D9;
    overflow: hidden;
}

#special-effect-id {
    pointer-events: none;
}

#animation-reset-button,
#animation-reset-button-fallback {
    display: none;
    padding: 0 12px 8px;
    opacity: 0.65;
    border-color: transparent;
    background-color: transparent;
    visibility: hidden;
}

#animation-reset-button .icon-replay,
#animation-reset-button-fallback .icon-replay {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    pointer-events: none;
}

.show-options-effects #special-effect-button,
.show-options-effects #special-effect-button-fallback,
.show-options-wrapper #animation-reset-button,
.show-options-wrapper #animation-reset-button-fallback {
    display: inline-block;
    visibility: visible;
}

@media all and (min-width: 0px) and (max-width: 979px) {

    /* TIP: dedication sits under the egift-wrapper
    */
    .dedication__wrapper {
        position: relative;
        z-index: 100;
        width: 100%;
        padding-bottom: 40px;
    }

    .dedication__brand-wrapper,
    .dedication__brand-wrapper--fallback {
        margin: 0 auto;
    }

    .dedication__brand-wrapper img,
    .dedication__brand-wrapper--fallback img {
        max-width: 200px;
        height: auto;
        margin: 0 auto;
    }

    .dedication__recipient-wrapper,
    .dedication__recipient-wrapper--fallback,
    .dedication__sender-wrapper,
    .dedication__sender-wrapper--fallback {
        width: 100%;
        max-width: 88%;
        margin: 16px auto;
        text-align: center;
    }

    .dedication__recipient-wrapper p,
    .dedication__recipient-wrapper--fallback p,
    .dedication__sender-wrapper p,
    .dedication__sender-wrapper--fallback p {
        font-size: 20px;
        line-height: 1.2;
    }

    .dedication__special-effect,
    .dedication__special-effect--fallback {
        margin: 32px 0 0 0;
        text-align: center;
    }

    .special-effect__wrapper {
        justify-content: center;
    }

    .special-effect__wrapper p {
        margin: 0 0 12px 0;
        font-size: 12px;
    }
}

@media all and (min-width: 980px) {

    /* TIP: dedication sits beside the egift-wrapper on the left
    */
    .dedication__wrapper {
        position: absolute;
        top: 50%;
        transform: translate(0, -40%);
        padding-left: 16px;
    }

    .dedication__brand-wrapper img,
    .dedication__brand-wrapper--fallback img {
        width: 220px;
        height: auto;
        margin: 0 0 0 auto;
    }

    .dedication__recipient-wrapper,
    .dedication__recipient-wrapper--fallback,
    .dedication__sender-wrapper,
    .dedication__sender-wrapper--fallback {
        width: 100%;
        margin: 16px 0;
        text-align: right;
    }

    .dedication__special-effect,
    .dedication__special-effect--fallback {
        margin: 48px 0 0 0;
        text-align: right;
    }

    .special-effect__wrapper {
        justify-content: right;
    }

    .special-effect__wrapper p {
        margin: 0 0 16px 0;
        font-size: 14px;
    }
}

@media all and (min-width: 980px) and (max-width: 1179px) {

    .dedication__recipient-wrapper p,
    .dedication__recipient-wrapper--fallback p,
    .dedication__sender-wrapper p,
    .dedication__sender-wrapper--fallback p {
        font-size: 22px;
        line-height: 1.2;
    }
}

@media all and (min-width: 1180px) and (max-width: 1279px) {

    .dedication__recipient-wrapper p,
    .dedication__recipient-wrapper--fallback p,
    .dedication__sender-wrapper p,
    .dedication__sender-wrapper--fallback p {
        font-size: 24px;
        line-height: 1.4;
    }
}

@media all and (min-width: 1280px) {

    .dedication__recipient-wrapper p,
    .dedication__recipient-wrapper--fallback p,
    .dedication__sender-wrapper p,
    .dedication__sender-wrapper--fallback p {
        font-size: 26px;
        line-height: 1.4;
    }
}

.animate-reveal .dedication__brand-wrapper,
.animate-reveal .dedication__recipient-wrapper,
.animate-reveal .dedication__sender-wrapper {
    visibility: visible;
    animation-name: egift-dedication;
}

@keyframes egift-dedication {
    0% {
        transform: translateX(-24%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* PERSONAL MESSAGE STYLES 
*/
.personal-message__region {
    height: auto;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: max-height 1600ms ease-out, opacity 540ms ease-in;
}

.personal-message__wrapper {
    width: 100%;
    margin: 0 auto;
}

.personal-message__heading {
    display: none;
    margin: 0 0 20px 0;
    text-align: center;
}

.personal-message__heading h2 {
    display: inline-block;
    padding-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 1px solid #bbbbbb;
}

.personal-message__text {
    display: none;
    color: #000000;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

.personal-message__video-wrapper {
    position: relative;
    display: none;
    width: 100%;
    height: auto;
}

.personal-message__video-button {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #cccccc;
    background-color: hsla(0, 0%, 90%, 0.3);
}

.personal-message__video-button:hover {
    cursor: pointer;
}

.personal-message__video-button .icon-play-circle {
    display: inline-block;
    width: 100%;
    min-width: 120px;
    height: 50%;
    min-height: 90px;
    background-position: center;
}

.personal-message__video {
    width: 100%;
}

.personal-message__wallets>a {
    display: none;
}

.personal-message__wallets img {
    height: 55px;
    width: 100%;
}

.personal-message__region.show-text,
.personal-message__region.show-video {
    margin: 0 0 50px 0;
    max-height: 1000px;
    opacity: 1;
}

.show-text .personal-message__text,
.show-text .personal-message__heading,
.show-video .personal-message__video-wrapper,
.show-video .personal-message__heading,
.show-wallet-apple #anchor-wallet-apple,
.show-wallet-gpay #anchor-wallet-google {
    display: block;
}

.show-text #anchor-wallet-apple,
.show-video #anchor-wallet-apple,
.show-text #anchor-wallet-google,
.show-video #anchor-wallet-google {
    margin-top: 40px;
}

.personal-message__wallets {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: 720px;
    margin: 0px auto 0 auto;
    gap: 40px;
}

.personal-message__wallets:is(.show-wallet-apple, .show-wallet-gpay) {
    margin: 50px auto 0 auto;
}

@media all and (min-width: 0px) and (max-width: 639px) {

    .show-text #anchor-wallet-apple,
    .show-video #anchor-wallet-apple,
    .show-text #anchor-wallet-google,
    .show-video #anchor-wallet-google {
        margin-top: 0px;
    }

    .personal-message__wallets {
        flex-direction: column;
        gap: 20px;
    }

    .personal-message__wallets>a {
        margin-left: auto;
        margin-right: auto;
    }

    .show-wallet-gpay.show-wallet-apple .personal-message__wallets>a:not(:last-of-type) {
        margin-bottom: 24px;
    }
}

/* @media all and (min-width: 0px) and (max-width: 479px) {
    .personal-message__wallets>a {
        width: 60%;
    }
}

@media all and (min-width: 480px) and (max-width: 639px) {
    .personal-message__wallets>a {
        width: 40%;
    }
} */
@media all and (max-width: 639px) {
    .personal-message__wallets>a {
        width: 182px;
    }
}

@media all and (min-width: 0px) and (max-width: 979px) {
    .personal-message__region:is(.show-text, .show-video) {
        margin: 50px 0 0 0;
    }

    .personal-message__wrapper, .personal-message__wallets {
        max-width: 88%;
    }
}

@media all and (min-width: 640px) {

    /* .personal-message__wallets>a {
        flex-basis: 25%;
    } */

    .show-wallet-gpay.show-wallet-apple .personal-message__wallets>a:not(:last-of-type) {
        margin-right: 30px;
    }

    .show-text #anchor-wallet-apple,
    .show-video #anchor-wallet-apple,
    .show-text #anchor-wallet-google,
    .show-video #anchor-wallet-google {
        margin-bottom: 10px;
    }
}

@media all and (min-width: 980px) {
    .personal-message__region:is(.show-text, .show-video) {
        margin: 100px 0 0 0;
    }

    .personal-message__wrapper {
        max-width: 720px;
        padding: 30px;
        border: 1px solid #cccccc;
        border-radius: 4px;
    }
}

/* CARD EXPIRY STYLES
*/
#egift-expiry-wrapper,
#egift-expiry-print {
    display: none;
}

#egift-expiry-wrapper.show {
    display: block;
    margin: 0 0 40px 0;
    padding: 30px 0 0 0;
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 540ms;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    animation-direction: normal;
}

#egift-expiry-wrapper.show ~ .personal-message__region {
    margin: 40px 0 0 0;
}

#egift-expiry {
    margin: 0;
    font-size: 13px;
    font-style: italic;
    text-align: center;
}

#egift-expiry-print {
    margin: 10px 0 0 0;
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

/* SEND GIFT STYLES 
*/
.send-gift__region {
    margin: 60px 0 50px 0;
}

.send-gift__wrapper {
    margin: 0 auto;
    text-align: center;
}

.send-gift__icon {
    display: inline-block;
    margin: 0 4px 0 0;
}

.send-gift__icon img {
    display: inline-block;
    width: 20px;
    height: 18px;
    animation-name: grow-pulse;
    animation-duration: 1600ms;
    animation-timing-function: ease;
    animation-delay: 800ms;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-play-state: playing;
}

.send-gift__anchor {
    font-style: italic;
    color: #000000;
    text-decoration: underline;
    line-height: 1.4;
    font-size: 14px;
}

@media all and (min-width: 0px) and (max-width: 979px) {
    .send-gift__wrapper {
        max-width: 88%;
    }
}

@media all and (min-width: 980px) {
    .send-gift__wrapper {
        max-width: 720px;
    }
}

/* INFORMATION REGION STYLES 
*/
.information__region {
    text-align: center;
    background-color: #fff;
    margin: 50px 0 70px 0;
}

.information__wrapper {
    width: 100%;
    margin: 0 auto;
}

.information__description {
    margin: 0 0 48px 0;
}

.information__terms {
    margin: 48px 0 0 0;
}

.information__description,
.information__description>p,
.information__description>span {
    display: block;
    line-height: 1.6;
    font-size: 1.05rem;
    font-weight: normal;
}

.information__terms,
.information__terms>p,
.information__terms>span {
    display: block;
    font-size: 0.875rem;
    line-height: 1.6;
}

.information__description>p,
.information__terms>p {
    margin: 0;
}

@media all and (min-width: 0px) and (max-width: 979px) {
    .information__wrapper {
        max-width: 88%;
    }
}

@media all and (min-width: 980px) {
    .information__wrapper {
        max-width: 720px;
    }
}

/* PAGE MODAL  
*/
.page__modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1000;
    display: none;
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
}

.page__modal::before {
    content: "";
    display: none;
    width: inherit;
    height: inherit;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 350ms ease;
}

.modal__form {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%, -50%);
    display: block;
    /*  
    TIP: form should only be as wide as it's form elements; width: unset helps keep input  
    width the same as the recaptcha component which has a set width of 300px and cannot be resized; 
  */
    width: 390px;
    background-color: #ffffff;
    border-radius: 4px;
}

.page__modal.enter {
    display: block;
    z-index: 1000;
    animation-name: fade-in;
    animation-duration: 240ms;
}

.page__modal.exit {
    display: block;
    z-index: 1000;
    animation-name: fade-out;
    animation-duration: 160ms;
}

.page__modal.enter::before,
.page__modal.exit::before {
    display: block;
    opacity: 0.95;
}

@media all and (min-width: 0px) and (max-width: 419px) {
    .modal__form {
        max-width: 90%;
    }
}

@media all and (min-width: 420px) {
    .modal__form {
        max-width: 85%;
        padding: 35px 45px;
        box-shadow: 0px 5px 24px rgba(0, 0, 0, 0.3);
    }
}

/* OTHER 
*/
.wallet__anchor--apple,
.wallet__anchor--google {
    display: inline-block;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
}

.wallet__anchor--apple:hover,
.wallet__anchor--google:hover {
    cursor: pointer;
}

/* VERIFICATION FORM 
*/
.form__field,
.form__actions--align-right {
    width: 100%;
    /* TIP: limit form width to be as wide as the recaptcha component */
    max-width: 300px
}

.form__field {
    margin: 0 auto 24px auto;
}

.form__field label,
.form__field input {
    display: block;
}

.form__field label {
    font-size: 16px;
    margin: 0 0 12px 0;
    padding-bottom: 2px;
}

.form__field input {
    width: 100%;
    padding: 12px 16px;
    margin: 12px 0 6px 0;
    font-size: 18px;
    /* match  reCaptcha element's styles */
    border: 1px solid #d3d3d3;
    border-radius: 3px;
}

#recaptcha {
    margin: 0 0 6px 0;
}

.form__field span,
.form__global-errors span {
    display: none;
    font-size: 12px;
}

.form__field span.error,
.form__global-errors span.error {
    color: red;
}

.form__actions--right-align {
    text-align: right;
}

.form__actions--center-align {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.form__global-errors {
    max-width: 300px;
    margin: 16px 0 0 0;
}

.form button[type=submit],
.form button[type=cancel],
.form button.cancel {
    position: relative;
    padding: 11px 24px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    background-color: #2a2a2a;
    border: 1px solid #000;
    border-radius: 3px;
    transition: all 320ms ease;
}

.form button[type=cancel],
.form button.cancel {
    background-color: #FFF;
    color: #000000;
}

.form button[type=submit]:hover,
.form button[type=submit]:focus,
.form button[type=cancel]:hover,
.form button[type=cancel]:focus,
.form button.cancel:hover,
.form button.cancel:focus {
    cursor: pointer;
    color: #2a2a2a;
    background-color: #EEE;
    border-color: #EEE;
}

.form button[type=submit].loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("https://cws.givex.com/cws4.0/global-unix/images/loading.gif");
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: 60%;
    background-color: rgba(0 0 0 / 50%)
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes grow-pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.4);
    }
}

#hide-image-link__wrapper {
    display: none;
    font-style: italic;
    font-size: 13px;
    color: #999;
    text-align: right;
    padding: 15px 40px 0 0;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    text-decoration: underline;
    position: relative;
}

#hide-image-link__wrapper.hide-video {
    padding: 15px 0 0 0;
}


#hide-image-link__wrapper img {
    height: 22px;
    width: 22px;
}

#hide-image-link {
    background: none;
    border: none;
    color: #999;
}

.hide-link-text {
    display: none;
    pointer-events: none;
}

@media all and (max-width: 979px) {
    #hide-image-link__wrapper {
        margin: 10px 0 0 0;
    }
}

.remove-custom-message {
    display: none;
    margin: 0 0 30px 0;
    max-width: 300px;
    line-height: 155%;
    text-align: center;
}

button.cancel {
    display: none;
}

button.modal-close {
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
    position: absolute;
    display: none;
    background: url(/cws4.0/global-unix/images/fancybox/fancybox_sprite.png);
    border: none;
}

.remove-custom-header {
    display: none;
    text-align: center;
}

/* PRINT STYLES */

#print-container {
    display: none;
    margin: 10px;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}

#egift-card-image-print {
    max-width: 280px;
    max-height: 180px;
    margin: 0 0 15px 0;
}

.presenter-main-print {
    flex-grow: 0;
    margin: 0 0 5px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#egift-amount-print {
    flex-grow: 1;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.3;
    font-size: 24px;
    font-weight: bold;
}

#egift-amount-print .currency-type {
    font-size: 12px;
}

#egift-barcode-print {
    max-height: 200px;
    max-width: unset;
    display: block;
    margin: 0 auto;
}

#egift-card-number-print.egift-number,
#egift-card-pin-print.egift-pin {
    font-size: 16px;
    font-weight: 600;
}

.presenter-main-print .egift-barcode-wrapper {
    margin: 0;
}

#egift-dedication-wrapper-print {
    display: none;
    margin: 20px 0;
    position: relative;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    top: unset;
    transform: none;
}

.dedication__brand-wrapper-print {
    display: none;
    justify-content: center;
    margin: 35px 0 25px 0;
}

.dedication__brand-wrapper-print img {
    max-height: 30px;
}

.dedication__recipient-wrapper-print, 
.dedication__sender-wrapper-print {
    display: none;
    justify-content: center;
}

.dedication__recipient-wrapper-print p, 
.dedication__sender-wrapper-print p {
    margin: 0;
    font-size: 14px;
}

@media print {
    body {
        background-color: #FFF;
    }

    .page__main {
        flex-grow: 0;
    }

    #e-gift {
        display: none;
    }
    #print-container {
        display: flex;
        flex-direction: column;
    }

    #egift-dedication-wrapper-print {
        display: flex;
    }

    .dedication__brand-wrapper-print {
        display: flex;
    }

    .dedication__recipient-wrapper-print, .dedication__sender-wrapper-print {
        display: flex;
    }

    .personal-message__region:is(.show-text, .show-video),
    #egift-expiry-wrapper.show ~ .personal-message__region:is(.show-text, .show-video) {
        margin: 10px 0 0 0;
    }

    .personal-message__heading {
        margin: 0 0 10px 0;
    }

    .personal-message__heading h2 {
        text-transform: none;
        border-bottom: none;
        padding: 0;
        margin: 0;
        font-size: 14px;
        line-height: 155%;
    }

    #egift-expiry-wrapper.show {
        display: none;
    }

    #egift-expiry-print {
        display: block;
    }

    .information__region {
        text-align: left;
        margin: 10px 0 10px 0;
    }

    .information__wrapper {
        max-width: 80%;
    }

    .information__description {
        margin: 0 0 10px 0;
    }

    .information__terms {
        margin: 0;
    }

    .information__description, 
    .information__description>p, 
    .information__description>span,
    .information__terms, 
    .information__terms>p, 
    .information__terms>span {
        font-size: 0.8rem;
    }

    #add-to-wallets {
        display: none !important;
    }

    .send-gift__region {
        display: none;
    }

    .disclaimerHold {
        display: none;
    }

    #footer_1-grey-nav .footerHold {
        padding: 5px 0;
    }

    #socialLinks {
        display: none !important;
    }

    #hide-image-link__wrapper {
        display: none !important;
    }

    #footer_1-grey-nav .footerHold {
        background-color: #FFF;
        color: #000;
    }

    #footer_1-grey-nav .footerContact ul li a {
        color: #000;
    }

    .personal-message__wrapper:has(.personal-message__video-wrapper:not([style*="display: none;"])) {
        display: none;
    }

    .personal-message__wrapper {
        padding: 10px 0;
        max-width: 80%;
    }

    .personal-message__text {
        font-size: 14px;
    }
}
