/* Global
   ========================================================= */

* {
    /* Include padding and border in all elements' total width and height. */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Gotham Medium", sans-serif;
    font-weight: normal;
    color: #fff;
    background-color: #db291e;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

figure {
    margin: 0;
}

ul {
    margin: 0;
}

img {
    width: 100%;
}

a {
    color: #fff;
}

button {
    text-align: center;
    border: 0;
    cursor: pointer;
    font-weight: bold;
}

sup {
    top: 0;
    vertical-align: top;
    font-size: 0.35em;
}

/* Fonts
   ========================================================================== */

@font-face {
    font-family: "Gotham Medium";
    src: url("../fonts/gotham-medium-webfont.woff2") format("woff2"),
        url("../fonts/gotham-medium-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Gotham Black";
    src: url("../fonts/gotham-black-webfont.woff2") format("woff2"),
        url("../fonts/gotham-black-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* General
   ========================================================= */
.alert-downtime-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.alert-downtime {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    background-color: #e0271b;
    max-width: 450px;
}

.alert-downtime-message {
    color: white;
    padding: 0 1rem 0 0;
    margin: 0;
}

.alert-downtime-action {
    background-color: transparent;
    border: none;
    color: white;
}

.alert-downtime-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.alert-downtime {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    background-color: #e0271b;
    max-width: 450px;
}

.alert-downtime-message {
    color: white;
    padding: 0 1rem 0 0;
    margin: 0;
}

.alert-downtime-action {
    background-color: transparent;
    border: none;
    color: white;
}

.header,
.content,
.footer {
    max-width: 24rem;
    margin: 0 auto;
}

select {
    max-width: 100%;
    padding-left: 0.5rem;
    padding-right: -0.5rem;
    height: 3rem;
    background-color: #f5f5f5;
}

.nowrap {
    white-space: nowrap;
}

.hidden {
    visibility: hidden;
}

.alert-row {
    padding: 1.5rem 0.5rem;
    text-align: center;
    position: relative;
}

.error-row {
    background: repeating-linear-gradient(
        -45deg,
        red,
        #ff4444 10px,
        red 10px,
        #ff4444 20px
    );
}

.success-row {
    background: repeating-linear-gradient(
        -45deg,
        #4caf50,
        #8bc34a 10px,
        #4caf50 10px,
        #8bc34a 20px
    );
}

.error-message {
    max-width: 24rem;
    margin: 0 auto;
    font-weight: 600;
}

/* Admin
   ========================================================= */

.admin-button {
    background: repeating-linear-gradient(
        -45deg,
        red,
        #ff4444 10px,
        red 10px,
        #ff4444 20px
    ) !important;
    border: 2px solid #fff !important;
    color: white !important;
}

.admin-button:hover {
    background-color: initial !important;
    color: white !important;
}

.qa-form {
    text-align: center;
}

/* reCAPTCHA
   ========================================================= */

.grecaptcha-badge {
    visibility: collapse !important;
}

/* Sticky footer
   ========================================================= */

body {
    min-height: 100vh;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.wrapper {
    -ms-flex: 1 1 auto; /* IE 11 requires flex: 1 1 auto (not flex: 1) for sticky footer */
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
}

.header,
.content,
.footer {
    width: 100%;
}

/* Header
   ========================================================= */

.header {
    padding: 0 1rem 0 1rem;
    text-align: center;
}

.header .banner {
    width: 213px;
    margin-top: 1rem;
}

/* Content
   ========================================================= */

.content {
    padding: 0 1rem;
}

/* Home Page
   ========================================================= */

.hero {
    max-width: 12rem;
    margin: 1rem auto auto;
}

.welcome-message {
    text-align: center;
    margin-bottom: 1rem;
}

.begin-button,
.redeem-popup-button,
.daily-limit-popup-button,
.redeem-store-locator-button,
.redeem-accept-button,
.redeem-cancel-button {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.5rem 4rem;

    text-transform: uppercase;
    font-size: 1.2rem;
    background-color: #fff;
    color: #e0271b;
    border: 2px solid #fff;
    text-decoration: none;
    transition: background-color 0.15s;
}

.begin-button:hover,
.redeem-popup-button:hover,
.daily-limit-popup-button:hover,
.redeem-store-locator-button:hover,
.redeem-accept-button:hover {
    background-color: #e0271b;
    color: #fff;
    border: 2px solid #fff;
    transition: background-color 0.15s;
}

.welcome-fineprint {
    text-align: left;
    font-size: 0.7rem;
    line-height: 0.9rem;
    margin-bottom: 2rem;
}

.clickable {
    cursor: pointer;
}

.promotion-title {
    text-align: center;
    margin-top: 2rem;
}

/* Claim Page
   ========================================================= */

.begin-message {
    text-align: center;
    padding-bottom: 2rem;
}

.begin-message h2 {
    margin-top: 1rem;
    font-family: "Gotham Black", sans-serif;
}

.begin-footer {
    font-size: 1rem;
    background-color: #d71d12;
    padding: 1rem;
    margin: 0 -1rem;
}

.text-message {
    color: grey;
    margin-top: 1rem;
    font-size: 0.8rem;
    line-height: 1rem;
    padding: 0.5rem;
    border: 0;
    resize: none;
    min-width: 20rem;
    max-width: 100%;
    min-height: 7rem;
}

.your-coupon-link {
    word-break: break-word;
    font-weight: bold;
}

/* Country Selector Popup
   ========================================================= */

.country-button {
    color: #fff;
    background-color: #db291e;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 0.5rem;
    width: 10rem;
    height: 3rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.15s;
}

.country-button:hover {
    background-color: #d71d12;
    transition: background-color 0.15s;
}

.content {
    overflow-x: hidden; /* Prevent splash image from stretching page */
    overflow-y: hidden;
}

html.fixed {
    max-height: 100vh; /* Prevent from scrolling which popup open */
    overflow-y: hidden;
}

.fullscreen {
    background-color: rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    opacity: 1;
    transition: opacity 0.5s;
    z-index: 1500;
    padding: 0 0.5rem;
}

.fullscreen.hidden {
    transition: opacity 0.5s;
    opacity: 0;
}

.country-popup {
    background-color: #ffffff;
    border: 1px solid white;
    color: #db291e;
    z-index: 100;
    text-align: center;
    max-width: 34rem;
    margin: 10vh auto;
    border-radius: 1rem;
    position: relative;
    top: 0;
    transition: top 1s;
    font-size: 1rem;
}

@media screen and (max-width: 35rem) {
    .country-popup {
        width: calc(100% - 2rem);
        position: fixed;
        margin: 1rem;
        border-radius: 0;
    }
    .country-popup-title {
        border-radius: 0 !important;
    }
}

.country-popup-title {
    text-transform: uppercase;
    color: #fff;
    background-color: #db291e;
    margin: 0;
    padding: 0.5rem;
    font-size: 1.5rem;
    border-radius: 1rem 1rem 0 0;
}

.country-popup .country-wrapper {
    padding: 1rem;
    font-size: 1.2rem;
}

.country-popup .country-wrapper form {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.country-popup .country-wrapper .submit {
    font-size: 1.5rem;
    max-width: 30rem;
    margin-top: 0.5rem;
}

.country-popup .country-wrapper p {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.country-popup .country-wrapper em {
    font-weight: bold;
    font-style: normal;
    text-decoration: underline;
}

.country-popup select {
    width: 15rem;
    margin: 0.5rem 0;
}

/* Footer
   ========================================================= */

.footer {
    padding: 1rem;
    font-size: 0.7rem;
    color: #db291e;

    background-color: white;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    overflow: hidden;
}

.footer-left a {
    display: inline-block;
    color: #db291e;
    text-decoration: none;
    margin-bottom: 0.3rem;
}

.footer-left a:hover {
    color: #d71d12;
}

.footer-right {
    flex-basis: 3rem; /* Don't let long French words scare the right footer */
}

.logo {
    height: 60px;
    width: auto;
    margin: -1rem -0.5rem; /* Logo has built-in padding */
}

.ck-logo {
    width: 100px;
}

.ct-logo {
    height: 40px;
}

.holiday-logo {
    height: 25px;
    margin: -0.5rem 0;
}

/* Thx Page
   ========================================================= */

.phone-form-instructions {
    text-align: center;
    margin: 1rem auto 1.5rem auto;
}

.region-selector {
    width: 100%;
    margin: 0 auto 1.5rem auto;
}

.region-selector:invalid {
    color: gray;
}

.thx-message {
    text-align: center;
}

.phone-row {
    max-width: 15rem;
    position: relative;
    margin: 1.5rem auto;
}

.phone-row input {
    text-transform: uppercase;
    padding-left: 1rem;
    padding-right: 70px;
    color: rgb(0, 0, 0);
    line-height: 48px;
    height: 48px;
    width: 100%;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 4px;
}

.phone-row button {
    display: block;
    font-weight: 600;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    width: 48px;
    background-color: rgb(246, 81, 100);
    position: absolute;
    right: 0px;
    top: 0px;
    height: 3rem;
    cursor: pointer;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    transition: background-color 0.2s ease 0s;
    margin: 0px !important;
}

.phone-row svg {
    fill: #fff;
}

.begin-button[disabled],
.phone-row button[disabled] {
    color: white;
    background-color: rgb(221, 221, 221);
    transition: background-color 0.2s ease 0s;
    cursor: not-allowed;
}

.optin-row,
.terms-row {
    max-width: 22rem;
    padding: 0 1.5rem 0 1.5rem;
    display: flex;
}

.optin-row input,
.terms-row input {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
    margin-right: 0.5rem;
    flex-basis: 1.5rem; /* Fix checkbox squishing on desktop Safari 13 */
}

.optin-row label,
.terms-row label {
    font-size: 0.8rem;
    text-align: left;
    flex: 1; /* Fix checkbox squishing on desktop Safari 13 */
}

.login-sent-message {
    text-align: center;
}

.login-sent-title {
    font-family: "Gotham Black", sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    margin: 1rem 0;
}

/* Preview Deals
   ========================================================= */

.deals-list {
    margin: 0 -1rem;

    display: grid;
    grid-auto-rows: minmax(11rem, auto);
    grid-gap: 0px;
}

.deals-list .deal {
    background-color: #d71d12;
    border-top: 1px solid #e08673;

    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto;
    grid-template-areas: "image info";
    -webkit-box-pack: center;
    justify-content: center;
}

.deal .deal-image {
    grid-area: image;

    align-self: center;
    min-width: 5rem;
    margin-top: 1rem;
}

.deal .deal-info {
    grid-area: info;
    padding: 1rem 1rem 1rem 0.5rem;
}

.deal .deal-info h1 {
    font-family: "Gotham Black", sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1.5rem;
}

.deal .deal-info h2 {
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: #f2a355;
}

.deal .deal-info h3 {
    font-size: 1rem;
    line-height: 1.3rem;
}

.deal .deal-info p {
    font-size: 0.6rem;
    line-height: 0.7rem;
    margin: 0.5rem 0 0 0;
}

.deal button {
    color: #db291e;
    background-color: white;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

#clickable-deals form {
    min-height: 12.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: solid white 2px;
    width: 100vw;
    margin-left: -1rem;
    max-width: 24rem;
}

#clickable-deals form:nth-child(even) {
    background-color: #dc281d;
}

#clickable-deals form:first-child {
    border-top: solid white 2px;
}

/* Login Deals
   ========================================================= */

.login-message {
    margin: 1rem 0 1rem 0;
    text-align: center;
}

.choose-button {
    display: inline-block;
    margin: 0.5rem 0;
    padding: 0.5rem;

    background-color: #db291e;
    text-align: center;
    width: 100%;
    max-width: 13rem;

    text-transform: uppercase;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.15s;
}

.choose-button:hover {
    background-color: #fff;
    color: #db291e;
    transition: background-color 0.15s;
}

.choose-button[disabled] {
    background-color: transparent;
}

.choose-button[disabled]:hover {
    color: white;
    cursor: not-allowed;
}

/* Redeem Page
   ========================================================= */

.redeem {
    text-align: center;
}

.redeem-image {
    max-width: 7rem;
    margin: 0 auto;
}

.redeem .redeem-deadline {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.redeem .redeem-info h1 {
    font-family: "Gotham Black", sans-serif;
    font-size: 2.4rem;
    line-height: 2.1rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.redeem .redeem-info h2 {
    font-size: 1.4rem;
    line-height: 1.5rem;
    color: #fff;
}

.redeem .redeem-info h3 {
    font-size: 1.2rem;
    display: none;
}

.redeem-fineprint {
    font-size: 0.8rem;
    line-height: 1.1rem;
    text-align: justify;
    text-align-last: left;
}

.redeem-popup,
.daily-limit-popup {
    background-color: white;
    color: #db291e;
    position: relative;
    max-width: 24rem;
    top: 10%;
    margin: 0px auto;
    padding: 0px;
    border: 1px solid white;
}

.daily-limit-popup {
    text-align: center;
}

.daily-limit-popup p {
    margin: 1.5rem 0 0.5rem 0;
}

.daily-limit-popup-button {
    border: 1px solid white;
}
.daily-limit-popup-button:hover {
    border: 1px solid #d71d12;
}

.redeem-popup-title {
    background-color: #db291e;
    text-transform: uppercase;
    text-align: center;
    color: white;
    margin: 0px;
    padding: 0.5rem;
}

.redeem-popup em {
    text-decoration: underline;
    font-style: normal;
}

.redeem-popup p {
    font-size: 0.9rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
}

.redeem-popup-form {
    margin-bottom: 0.5rem;

    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.redeem-store-locator-button {
    padding: 0.5rem 2rem;
}

.redeem-cancel-button {
    background-color: #db291e;
    border: 2px solid #db291e;
    color: #fff;
}

.redeem-cancel-button:hover {
    background-color: #fff;
    color: #db291e;
    border: 2px solid #db291e;
}

.redeem-accept-button,
.redeem-cancel-button {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.redeem-accept-button {
    background-color: #fff;
    color: #db291e;
    border: 2px solid #db291e;
    transition: background-color 0.15s;
}

.redeem-accept-button:hover {
    background-color: #db291e;
    color: #fff;
    transition: background-color 0.15s;
}

.spinner {
    width: 90px;
    height: 90px;
    opacity: 0.7;
}

.timer {
    font-family: "Gotham Black", sans-serif;
    font-size: 5rem;
    line-height: 4.5rem;
    margin: 0;
}

#local-time {
    width: 100vw;
    margin-left: -1rem;
    background-color: #fff;
    color: #e0271b;
    padding: 0.5rem;
    font-size: 1.5rem;
    max-width: 24rem;
}

.barcode {
    background-color: white;
    padding: 1rem;
}

.plu {
    font-family: "Gotham Black", sans-serif;
    text-transform: uppercase;
    font-size: 2.5rem;
    line-height: 2.3rem;
    margin: 1rem 0;
}

.plu-valid {
    font-family: "Gotham Medium", sans-serif;
    text-align-last: center;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1rem;
    padding: 0 1.5rem;
}

/* Thanks Page
   ========================================================= */

.thanks-message {
    text-align: center;
}

.short-code {
    font-family: "Gotham Black", sans-serif;
    font-style: normal;
}

/* Expired Page
   ========================================================= */

.expired-message {
    text-align: center;
}

/* Contact Page
   ========================================================= */

.contact-title {
    font-size: 2.3rem;
    text-align: center;
}

.contact-form {
    margin: 2rem 0.5rem 2rem 0;
    text-align: center;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 1rem;
    flex: 1 100%;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #c6c7cc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 100%;
    flex: 1 100%;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
}

.contact-form input[required],
.contact-form textarea[required] {
    background-image: radial-gradient(#f00 15%, transparent 16%),
        radial-gradient(#f00 15%, transparent 16%);
    background-size: 2em 2em;
    background-position: right top;
    background-repeat: no-repeat;
    padding-right: 1.5rem;
}

.contact-form .contact-button {
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    background-color: white;
    border: 2px solid white;
    color: #d71d12;
    text-decoration: none;
    transition: background-color 0.15s;
}

.contact-form .contact-button:hover {
    background-color: #d71d12;
    color: #fff;
    transition: background-color 0.15s;
}

.contact-form .contact-button[disabled] {
    cursor: not-allowed;
    background-color: #ccc;
    color: white;
    transition: background-color 0.2s;
}

.contact-form input[name="contact-website"] {
    display: none !important;
}

.contact-form label[for="contact-website"] {
    display: none !important;
}

.contact-message {
    text-align: center;
    font-size: 1.5rem;
}

select option:disabled {
    color: #d71d12;
}

.all-claimed {
    margin-top: 2rem;
    text-transform: uppercase;
    text-align: center;
}
