body {
  margin: 0;
  padding: 40px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 20px !important;
  color: #2D2D2D;
  background: #EFEFEF !important;
  width: auto !important;
  height: auto !important;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 830px;
  min-height: calc(100vh - 80px);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid #CECECE;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 5px 30px -5px rgba(23, 59, 92, 0.1);
  box-shadow: 0px 5px 30px -5px rgba(23, 59, 92, 0.1);
  -webkit-animation: fadeIn 0.7s ease-out both;
  animation: fadeIn 0.7s ease-out both;
  position: relative;
}

.container.transitional {
  justify-content: space-between;
}

.imageHeader {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}

.rewardDetails .imageHeader,
.transitional .imageHeader {
  margin: 0 0 40px;
}

.ghost {
  display: none;
}

.verticalCenter {
  margin: 0 0 40px;
}

.rewardLanding .rewardWrapper {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  text-align: center;
}

.rewardDetails .rewardWrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 40px;
}

.rewardLanding .flexible {
  flex-basis: auto;
}

.rewardDetails .flexible {
  width: 360px;
  margin-right: 10px;
}

.rewardLanding .customMessage {
  margin: 0;
}

.rewardDetails .customMessage {
  margin: 0 0 40px 0;
  text-align: center;
}

.codeInfo {
  width: min-content;
  margin: auto;
}

.codeInfo,
.codeInfo .label {
  font-size: 17px;
}

.codeInfo .codeId,
.codeInfo .redeemInfo {
  display: inline-block;
  white-space: nowrap;
}

.rewardLanding .imageContainer {
  position: relative;
  flex-basis: auto;
  min-height: 100%;
  padding: 0
}
.rewardDetails .imageContainer {
  padding: 0 0 0 20px;
}

.rewardDetails h1 {
  margin: 0;
  line-height: normal;
  font-size: 56px;
  line-height: 52px;
  font-weight: 800 !important;
}

.transitional h1 {
  text-transform: uppercase;
  text-align: center;
  font-size: 28px;
  line-height: 32px;
  color: #FFCE05;
  margin: 0 0 40px;
}

.errorImage {
  display: inherit;
  text-align: center;
  margin: 0 auto 20px;
}

.table {
  width: 400px;
  margin: 0 auto 40px;
  padding: 20px 0;
  border-top: 4px solid #FFCE05;
  border-bottom: 4px solid #CECECE;
}

.table table {
  border-collapse: collapse;
  width: 100%;
  margin: 0;
}

.table tr:nth-child(odd) {
  background-color: #EFEFEF;
}

.table th,
.table td {
  padding: 4px 8px;
  width: 50%
}

.table th {
  text-align: right;
}

.rewardDetails .nameAmmount {
  text-align: center;
}

.rewardDetails .nameAmmount h2 {
  margin: 0;
  font-size: 26px;
  line-height: 40px;
}

.rewardLanding .cardLink {
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(-3deg);
  transform: translate(-50%, -50%) rotate(-3deg);
  display: inline;
}

img.cardPicture {
  border-radius: 12px;
  height: auto;
}

.rewardLanding img.cardPicture {
  width: 520px;
}

.rewardDetails img.cardPicture {
  width: 340px;
}

.redeemButton {
  text-align: center;
}

.rewardDetails p,
.transitional p {
  margin: 0 0 20px;
}

.transitional p {
  text-align: center;
  font-size: 16px;
}

.rewardDetails .label {
  color: #848484;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 10px 0 0;
  display: inline-block;
  text-align: right;
}

.rewardDetails .code {
  font-family: courier, monospace;
  margin: 0 10px 0 0;
}

.rewardDetails .copyButton {
  width: 130px;
  background-color: #FFFFFF;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #2D2D2D;
  padding: 4px 8px;
  text-align: center;
  border: 1px solid #2D2D2D;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.rewardDetails .copyButton.disabled {
  background-color: #EFEFEF;
  color: #CECECE;
  border: 1px solid #EFEFEF;
  cursor: default;
}

.buttonContainer {
  margin: 0;
  padding-bottom: 60px;
  text-align: center;
}

.buttonContainer a:link,
.buttonContainer a:visited,
.rewardDetails .redeemButton button,
.formCaptcha .buttonCaptcha {
  background-color: #000000;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  color: #FFFFFF;
  padding: 14px 25px;
  text-align: center;
  border: 0;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
}

a:link,
a:visited {
  color: #2D2D2D;
  text-decoration: none;
}

.languages {
  text-align: center;
}

.languages button {
  text-transform: uppercase;
  padding: 2 4px;
  font-size: 12px;
  border: 0;
  background: inherit;
  cursor: pointer;
}

.languages button.selected {
  cursor: default;
  color: #CECECE;
}

.languages button:hover,
.rewardDetails a.redemptionLink:hover {
  text-decoration: underline;
}

.languages button.selected:hover {
  text-decoration: none;
}

.rewardDetails .rewardInfo {
  padding: 0 20px;
}

.rewardDetails .rewardInfo h2,
.rewardDetails .rewardInfo h3 {
  font-size: 14px;
  text-transform: uppercase;
}

.rewardInfo a:link,
.rewardInfo a:visited {
  text-decoration: underline;
}

h4 {
  font-size: 12px;
  text-align: center;
  font-weight: normal;
}

h4 span {
  cursor: pointer;
}

.termsDetails {
  font-size: 12px;
  color: #848484;
}

.termsDetails.showtime {
  font-size: 12px;
  color: #848484;
}

.rewardDetails .footer,
.transitional .footer {
  padding: 20px;
}

.rewardDetails .footer {
  background: #EFEFEF;
  border-radius: 4px;
}

.rewardDetails .footer p,
.transitional .footer p {
  margin: 0;
  font-size: 12px;
}

.transitional .footer p {
  width: 100%;
  font-size: 12px;
  color: #848484;
}

#countdownTimer {
  background: #FFFFFF;
  color: #2D2D2D;
  border: 4px solid #FFCE05;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  line-height: 100px;
  margin: 0 auto 20px;
  font-size: 48px;
  font-weight: bold;
}

#bracode {
  max-width: 358px;
  width: 100%;
}

@media only screen and (max-width: 910px) {
  .rewardLanding .rewardWrapper {
    min-height: 380px;
  }

  .rewardLanding .imageContainer {
    min-height: 240px;
  }

  .rewardDetails .imageContainer {
    min-height: inherit;
    margin: 0 0 20px 0;
    padding: 0;
  }

  .rewardLanding img.cardPicture {
    width: 420px;
  }

  .rewardDetails .rewardWrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 20px;
  }

  .rewardDetails .flexible {
    width: 100%;
    text-align: center;
  }

  .rewardDetails .rewardWrapper h1,
  .rewardDetails .rewardWrapper h2 {
    display: inline-block;
    font-weight: bold !important;
  }

  .rewardDetails .rewardWrapper h1 {
    margin: 0 4px 0;
    font-size: 26px;
  }
}

.formCaptcha {
  text-align: center;
}
.formCaptcha div {
  margin: 0 0 40px 0;
}
.formCaptcha .g-recaptcha div:first-child {
  margin: 0 auto;
}

@media only screen and (max-height: 800px) {
  .rewardLanding .rewardWrapper {
    min-height: 380px;
  }

  .rewardLanding img.cardPicture {
    width: 380px;
  }
}

@media only screen and (max-width: 640px) {
  .codeInfo {
    text-align: center;
  }

  .rewardLanding img.cardPicture {
    width: 340px;
  }

  .rewardDetails .codeInfo p span,
  .rewardDetails .redeemInfo p span {
    display: block;
    margin: 0 0 10px;
    width: auto;
    text-align: center;
  }

  #your-code {
    display: none;
  }

  #your-code-div {
    display: inline-block !important;
  }

  .yourCode {
    display: inline-block !important;
    white-space: nowrap;
    padding: 8px;
  }

  #_1 {
    margin-top: 3%;
    margin-bottom: 8%;
  }

  #bracode {
    padding-top: 2%;
    padding-bottom: 3%;
  }
}

@media only screen and (max-width: 570px) {
  .table {
    width: 100%;
  }

  .table table {
    font-size: 14px;
  }
}

@media only screen and (max-width: 540px) {

  .rewardDetails .rewardWrapper h1,
  .rewardDetails .rewardWrapper h2 {
    font-size: 24px;
    line-height: 26px;
  }

  .rewardDetails img.cardPicture {
    width: 320px;
  }
}

@media screen and (min-width: 610px) and (max-width: 960px) {
  .container,
  .container.transitional {
    padding: 160px 20px 0!important;
  }
}

@media only screen and (max-width: 960px) {
  body {
    padding: 0;
    background: #FFFFFF !important;
  }

  .container,
  .container.transitional {
    min-width: 100vw;
    min-height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 100px 20px 0;
    border: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .imageHeader {
    margin: 0;
    width: 100vw;
    height: auto;
    -webkit-box-shadow: 0px 5px 10px 5px rgba(23, 59, 92, 0.1);
    box-shadow: 0px 5px 10px -px rgba(23, 59, 92, 0.1);
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0
  }

  .ghost {
    display: block;
    height: 20px;
  }

  .rewardDetails .customMessage {
    margin: 0 0 30px 0;
  }

  .rewardLanding .rewardWrapper {
    min-height: 420px;
  }

  .rewardLanding img.cardPicture {
    width: 360px;
  }

  .rewardDetails .redeemButton {
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #FFFFFF;
    padding: 20px 20px 25px;
    margin: 0;
    width: 100vw;
    -webkit-box-shadow: 0px -5px 10px 5px rgba(23, 59, 92, 0.1);
    box-shadow: 0px -5px 10px 5px rgba(23, 59, 92, 0.1);
    z-index: 100;
  }

  .rewardDetails .redeemButton button {
    width: 100%;
  }

  .rewardDetails .rewardInfo {
    padding: 0;
  }

  .rewardDetails .footer {
    margin: 0 -20px;
    padding: 20px 20px 110px;
    border-radius: 0;
  }
}

@media only screen and (max-width: 420px) {
  .container {
    padding: 85px 20px 0;
  }

  .rewardLanding img.cardPicture {
    width: 300px;
  }
}

@media only screen and (max-width: 360px) {
  .container {
    padding: 80px 20px 0;
  }
}
@media only screen and (min-height: 1200px) {
  .container {
    min-height: 1120px !important;
  }
  .rewardDetails .footer {
    bottom: 40px;
  }
}
