@-webkit-keyframes opacity-animation {
    0% {
        opacity: 0.4;
    }
    100% {
        opacity: 1.0;
    }
}

@font-face {
    font-family: proximaBold;
    src: url(/assets/proximaBold.ttf) format('truetype'), url('/assets/proximaBold.woff') format('woff');
}

@font-face {
    font-family: proximaReg;
    src: url("/assets/proximaReg.ttf") format('truetype'), url('/assets/proximaReg.woff') format('woff');
}

@font-face {
    font-family: proximaMed;
    src: url("/assets/proximaMed.woff") format("truetype"), url('/assets/proximaMed.woff') format('woff');
}

@font-face {
    font-family: 'Heading';
    src: url(/assets/heading.woff2) format('woff2');
}
@font-face {
    font-family: 'Para';
    src: url(/assets/para.woff2) format('woff2');
}

#dema-offer {
    margin: 0;
    overflow: auto;
    font-family: "proximaReg", sans-serif;
    font-weight: 400;
}

body {
    letter-spacing: -0.01em
}

body * {
    -webkit-font-smoothing: subpixel-antialiased !important;
    text-rendering: optimizeLegibility !important;
}

.doubleWrapper {
    padding: 0.7rem;
}

#dema-offer .headline {
    font-family: "proximaBold", sans-serif;
}

#dema-offer .sub-headline, #dema-offer .text {
    color: #ccc;
    font-family: "proximaReg", sans-serif;
    line-height: 1.2em;
    margin: 0;
    text-align: left;
    font-size: 1.4rem;
}

#dema-offer .headline {
    font-size: 70px;
    padding-bottom: 0.7em;
}

#dema-offer .sub-headline {

    font-size: 1.4rem;
    font-weight: 500;
}

#dema-offer .button {
    background: #f1f1f1;
    border-radius: 0.3em;
    box-shadow: 3px 3px 3px #00000036;
    color: #4c5454;
    padding: 1.3em 1.4em;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    cursor: pointer;
    line-height: 1.5rem;
}

#dema-offer #dema-offer_wrapper {
    background: #fff;
    border-radius: 0.7rem;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    max-width: 500px;
    margin: 0 auto;
}

#dema-offer #dema-offer_header-wrapper {
    position: relative;
}

#dema-offer #dema-offer_header-wrapper.blocking {
    padding: 2.5rem 2rem 1.5rem;
}

#dema-offer #dema-offer_header-wrapper #dema-offer_logo div {
    display: block;
    margin: 0 auto;
    opacity: 1;
    width: auto;
    height: 500px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top;
    border-radius: 10px;
}

#dema-offer #dema-offer_header-wrapper .headline {
    font-size: 2.7em;
    padding: 0 1rem 1rem;
    text-align: center;
    line-height: 2.7rem;
    letter-spacing: -0.01em;
    margin: 2rem 0 0;
    word-wrap: break-word;
    white-space: normal;
}

#dema-offer #dema-offer_header-wrapper .sub-headline {
    color: #0c0c0c;
    padding: 0 1rem;
    font-size: 1.4rem;
    text-align: center;
    line-height: 1.7rem;
    letter-spacing: -0.01em;
    margin: 0 0 30px 0;
}

#dema-offer #dema-offer_header-wrapper .text {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.5;
    padding-bottom: 1.2em;
}

#dema-offer .dema-coupon-barcode {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

#dema-offer #dema-offer_code .text {
    background: #f1f1f1;
    border-radius: 0.3rem;
    font-size: 1.4rem;
    font-family: Consolas, "Liberation Mono", Courier, monospace;
    line-height: 2.5em;
    letter-spacing: 0.1em;
    overflow: scroll;
    text-align: center;
}

#dema-offer #dema-offer_code .barcode,
#dema-offer #dema-offer_code .qrcode {
    margin: 0;
    width: 100%;
    text-align: center;
}

#dema-offer #dema-offer_code p#dema-show_code_submessage {
    padding-top: 1.5rem;
    padding-bottom: 0;

}

#dema-offer #dema-offer_code .expired {
    display: none;
}

#dema-offer #dema-offer_code .expired span {
    background: #fff;
    color: #a00;
    display: block;
    margin: 15px 0 15px;
}

#dema-offer #dema-offer_code_and_countdown_wrapper {
    border-top: 2px dotted #9a9a9a;
    position: relative;
    margin: 0;
}

#dema-offer #dema-offer_countdown .countdownHeadline {

    font-size: 1.4rem;
    font-family: "proximaReg", sans-serif;
    letter-spacing: -0.01rem;
    padding: 0 1rem 1rem;
    text-align: center;
    line-height: 1.7rem;
}

#dema-offer #dema-offer_countdown #countdown-wrapper {

    font-size: 2rem;
    text-align: center;
    font-family: proximaBold, sans-serif;
}

#dema-offer #dema-offer_countdown #countdown-wrapper .countdown {
    display: inline-block;
}

#dema-offer #dema-offer_countdown #countdown-wrapper .countdown a {
    font-size: 1.2rem;
    font-weight: normal!important;
    font-family: proximaBold, sans-serif;
}

#dema-offer .dema-offer_redeem-button {
    padding-top: 24px;
    padding-bottom: 24px;
    background: url('/assets/circ-code.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 1.2rem;
    margin-top: 1.2rem;
}

#dema-offer .dema-offer_redeem-button .button {
    display: block;
    width: 80%;
    text-align: center;
    background: #4374E1 url('/assets/white-padlock.svg') no-repeat;
    background-size: 25% 55%;
    background-position: left;
    border-radius: 0.3em;
    box-shadow: 3px 3px 3px #CCC !important;
    color: #fff;
    padding: 1.3em 1.5em 1.3em 3.7em;
    font-size: 1.6rem;
    font-weight: 400;
    text-transform: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

#dema-offer #dema-offer_code .expired span {
    color:red !important;
}

#headerfiller {
    height: 20px;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    background-size: cover;
    background: url('/assets/final-rainbow.png') repeat-y center center;
    display: none;
}

.separator {
    width: 30%;
    margin: 0 auto 30px !important;
}

.footerImage {
    display: block;
    background: url('/assets/zappit-footer.svg') center center;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    background-size: cover;
    height: 50px;
    width: 100.1%;
    padding: 10px 0;
}

.footerImage img {
    height: 100%;
    width: 100%;
    margin-bottom: -5px;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.dema-coupon-barcode text {
    font-family: "proximaBold", sans-serif;
    margin-top: 8px;
    font-weight: 700;
    font-size: 1.5em !important;
    letter-spacing: 0.05em !important;
}

.qrHeading {
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    margin: 0 15px 20px 15px;
    line-height: 1.5rem;
    text-align: center;
}

.qrHeading2 {
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    margin: 5px 0 5px 0;
    line-height: 1.7rem;
    text-align:center
}

.bolder {
    font-family: "proximaBold", sans-serif
}

.whiteBackgrounded {
    background-color: white;
    border-radius: 0.5rem;
    justify-content: space-around;
    margin-bottom: 30px;
}

.smallWhiteBackgrounded {
    position: relative;
    background-color: yellow;
    border: 1px solid;
    width: 45%;
    height: 58px;
    margin: 0 auto 30px;
    box-sizing: border-box;
    padding: 13px;
    text-align: center;
    font-size: 1.6rem;
    border-radius: 5px;
}

.separator2 {
    width: 100%;
    margin: 20px 0 0;
    border: 0.5px solid;
}

.expiredFeedbackContainer {
    font-size: 1.4rem;
    text-align: center;
    /*margin-bottom: 30px;*/
    border-top: 2px dotted #9a9a9a;
    position: relative;
}

.locationShareDisclaimer {
    font-size: 1rem;
    text-align: center;
}

.schedulingMessage {
    text-align: center;
}

.scheduleHeader {
    display: block;
    font-size: 1.4rem;
    font-family: "proximaBold", sans-serif;
    margin-bottom: 8px;
}

#dema-offer_code {
    padding: 0;
}

#overlay {
    position:fixed;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    background-color:#000;
    opacity:0.5;
    z-index: 2;
}

#dema-offer .encrypted-barcode-number {
    padding-top: 30%;
    position: inherit;
    font-size: 33px;
    text-align: center;
}

@media ( max-width: 600px) {
    #dema-offer .dema-offer_redeem-button .button {
        display: block;
        width: 90%;
        text-align: center;
        background-size: 2.9rem 2.9rem!important;
        background: #4374E1 url('/assets/white-padlock.svg') no-repeat 1rem center;
        border-radius: 0.3em;
        box-shadow: 3px 3px 3px #CCC !important;
        color: #fff;
        /*padding: 1em 0.2em 1em 2.8em;*/
        padding: 1em 0.50em 1em 3.30em;
        font-size: 1.4rem;
        font-weight: 400;
        text-transform: none;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        box-sizing: border-box;
        line-height: 1.5rem;
    }
}

.coupon-dashed-separator {
    border-top: 3px dashed #555;
}

.charity {
    margin: 40px;
}

.charity-header {
    text-align: center;
}

.charity-image-container {
    display: inline-block;
    margin-left: 24%;
}

.charity-image {
    display: inline-block;
    margin-bottom: 40px;
    margin-left: 10px;
}

.charity-link {
    display: inline-block;
    margin-bottom: 45px;
}

.charity-text {
    margin-top: 5px;
    text-align: center;
    font-size: 20px;
}

.charity-donate-header {
    text-align: center;
    font-weight: bolder;
}

.charity-donate-buttons {
    text-align: center;
}

.charity-donate-button {
    color: rgba(33, 116, 255, 1);
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    font-family: "proximaReg", sans-serif;
}

.charity-payment-method-logos {
    text-align: center;
}

.charity-footer {
    text-align: center;
}

#dema-offer .popup-modal {
    position: fixed;
    background: #f5eee7;
    top: 25%;
    height: auto;
    text-align: center;
    z-index: 2000;
    border-radius: 0.7rem;
    font-family: "proximaReg", sans-serif;
    max-width: 500px;
    width: 94.2vw;
    padding-bottom: 20px;
    padding-top: 14px;
}

#dema-offer .popup-modal button {
    background: #4374E1;
    border-radius: 0.3em;
    border: 0 !important;
    color: #fff;
    font-weight: 400;
    text-align: center;
    position: relative;
    width: 29%;
    padding: 10px;
    font-family: "proximaBold", sans-serif;
    box-shadow: 3px 3px 3px #00000036 !important;
    cursor: pointer;
    margin: auto 30px;
    font-size: 22px;
}

#dema-offer .popup-modal .notSCO {
    margin: 0 auto !important;
    background-color: rgba(255,255,255,0.7) !important;
    /*width: 90%;*/
    border-radius: 40px;
    padding: 5px 10px;
    display: inline-block !important;
}
#dema-offer #barcodeContainer .notSCO {
    margin: 12px 0 27px 0 !important;
    line-height: 1.4rem;
}

.popup-modal-top-message {
    font-family: "proximaBold", sans-serif;
    font-size: 22px;
    padding: 0 1em;
    line-height: 1.5rem;
    margin-top: 5px !important;
}

.popup-modal-bottom-message {
    font-family: "proximaReg", sans-serif;
    font-size: 22px;
    margin-bottom: 32px;
    padding: 0 1em;
    line-height: 1.5rem;
}

.star {
    transform: scale(2.5);
}
