@font-face {
  font-family: JCuYuan;
  src: url(/assets/fonts/JCuYuan.eot) format('eot');
  src: url(/assets/fonts/JCuYuan.woff) format('woff'),
    url(/assets/fonts/JCuYuan.ttf) format('truetype'),
    url(/assets/fonts/JCuYuan.svg) format('svg'),
    url(/assets/fonts/JCuYuan.otf) format('otf');
  font-weight: 400;
  font-style: normal;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  font-family: 'JCuYuan', Microsoft YaHei, Helvetica, Arial, sans-serif;
  background-color: #eeeff3;
  color: #111;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  overflow-y: auto;
}

button:focus,
button:hover,
button:visited {
  outline: 0;
}

a,
a:focus,
a:hover,
a:visited {
  color: #222;
  text-decoration: none;
}

hr {
  margin: 5px auto;
  border-color: #ccc;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/assets/mas/img/bg.png) no-repeat center center;
  background-size: 100% 100%;
  z-index: -1;
}

.bg-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/assets/mas/img/bg-blur.png) no-repeat center center;
  background-size: 100% 100%;
  z-index: -1;
}

.frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 100%;
  margin: auto;
  padding-bottom: 20%;
  overflow-y: auto;
  z-index: 5;
}

.apac {
  width: 85%;
  max-width: 120px;
  padding: 10px 0;
  margin: auto;
}

.caption {
  width: 85%;
  max-width: 500px;
  margin: auto;
  margin-top: 35%;
  display: block;
}

.caption-couple {
  width: 70%;
  max-width: 500px;
  margin: auto;
  display: block;
}

.caption-packet {
  width: 120px;
  position: absolute;
  top: 1px;
  right: 0;
}

.caption-prizebox,
.caption-grats,
.caption-lose {
  width: 60%;
  max-width: 300px;
  margin: auto;
  display: block;
  padding-top: 40%;
}

.caption-tap {
  width: 100%;
  max-width: 120px;
  margin: auto;
  display: block;
}

.caption-prize,
.caption-girl {
  width: 40%;
  max-width: 300px;
  margin: auto;
  display: block;
}

.footer-bg {
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 5;
}

.footer .text {
  position: fixed;
  bottom: 15px;
  left: 0;
  right: 0;
  color: #fff;
  margin: 0 auto;
  text-align: center;
  z-index: 5;
}

.mas-button {
  background-color: transparent;
  border: none;
}

.mas-button-green {
  width: 50%;
  max-width: 150px;
  background-color: #61bb50;
  color: #fff;
  font-size: 1.3em;
  border: none;
  border-radius: 3px;
  margin: 5px auto;
  padding: 5px 0;
  box-shadow: 2px 2px 3px 1px #888;
  display: block;
}

.mas-button-blue {
  width: 50%;
  max-width: 150px;
  background-color: #1e73ba;
  color: #fff;
  font-size: 1.3em;
  border: none;
  border-radius: 3px;
  margin: 5px auto;
  padding: 5px 0;
  box-shadow: 2px 2px 3px 1px #888;
  display: block;
}

.mas-button-grey {
  width: 50%;
  max-width: 150px;
  background-color: #aaa;
  color: #333;
  font-size: 1.3em;
  border: none;
  border-radius: 3px;
  margin: 5px auto;
  padding: 5px 0;
  box-shadow: 2px 2px 3px 1px #888;
  display: block;
}

.mas-button-green:active {
  box-shadow: none;
}

.mas-header {
  padding: 10px;
}

.gold-button-img {
  width: 85%;
  max-width: 225px;
}

.table-header {
  width: 95%;
  max-width: 500px;
  table-layout: fixed;
  color: #fff;
  font-size: 0.95em;
  margin: auto;
}

.table-header td {
  padding: 5px;
}

.table-header tr:nth-child(2) td {
  border-bottom: 1px solid #fff;
  padding: 0;
}

[class*='close-'] {
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
  /*text-shadow: 1px 1px 0 #333;*/
}

.close-thik:before {
  content: '\2715';
  font-size: 2em;
  /* UTF-8 symbol */
}

.active {
  position: relative;
  border-top: 3px solid #fff;
}

.active:before {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  content: '\A';
  border-style: solid;
  border-width: 8px 8px 10px 8px;
  border-color: transparent transparent #fff transparent;
}

.mas-header-modal {
  width: 90%;
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 10px auto 30px;
  padding: 20px 15px;
  border-radius: 10px;
}

.mas-header-modal h3 {
  color: #c1001b;
}

.mas-header-modal h3:first-child {
  margin-top: 0;
}

.caption-redeem {
  position: absolute;
  top: 0;
  left: 0;
  height: 35px;
}

.forward:before {
  content: '❯';
  /* UTF-8 symbol */
  font-size: 2em;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-80%);
}

.redeem-coupon {
  position: relative;
  border: 2px solid #333;
  border-radius: 8px;
  padding: 10px 20px;
  padding-top: 30px;
}

.redeem-confirmation {
  color: #d39e2e;
  border-top: 2px dashed #333;
  margin: 0;
  padding-top: 5px;
}

.coupon-header {
  position: relative;
  background-color: #1e73ba;
  color: #fff;
}

.coupon-header-container {
  padding: 10px 15px;
}

.coupon-header-container h6 {
  margin-top: 0;
  margin-bottom: 20px;
}

.coupon-header:after {
  content: ' ';
  display: block;
  position: absolute;
  bottom: -20px;
  left: 0px;
  width: 100%;
  height: 36px;
  background: linear-gradient(#1e73ba 0%, transparent 0%),
    linear-gradient(135deg, #fff 33.33%, transparent 33.33%) 0 0%,
    #fff linear-gradient(45deg, #fff 33.33%, #1e73ba 33.33%) 0 0%;
  background: -webkit-linear-gradient(#1e73ba 0%, transparent 0%),
    -webkit-linear-gradient(135deg, #fff 33.33%, transparent 33.33%) 0 0%,
    #fff -webkit-linear-gradient(45deg, #fff 33.33%, #1e73ba 33.33%) 0 0%;
  background: -o-linear-gradient(#1e73ba 0%, transparent 0%),
    -o-linear-gradient(135deg, #fff 33.33%, transparent 33.33%) 0 0%,
    #fff -o-linear-gradient(45deg, #fff 33.33%, #1e73ba 33.33%) 0 0%;
  background: -moz-linear-gradient(#1e73ba 0%, transparent 0%),
    -moz-linear-gradient(135deg, #fff 33.33%, transparent 33.33%) 0 0%,
    #fff -moz-linear-gradient(45deg, #fff 33.33%, #1e73ba 33.33%) 0 0%;
  background-repeat: repeat-x;
  background-size: 0px 100%, 9px 27px, 9px 27px;
}

.coupon-details,
.user-details {
  position: relative;
  background-color: #fff;
  margin-top: 5px;
  padding: 10px 15px;
}

.user-details {
  margin: 0;
}

.coupon-details p {
  margin: 0;
}

.table-coupon-details {
  width: 100%;
  table-layout: fixed;
}

.table-coupon-details td:first-child {
  width: 80px;
  vertical-align: top;
}

.profilepic {
  position: relative;
  width: 85%;
  max-width: 500px;
  margin: 0 auto;
}

.profilepic .pic {
  position: absolute;
  top: 81px;
  left: 0;
  right: 0;
  width: 84px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  margin: auto;
  z-index: 1;
}

.profilepic .banner {
  position: relative;
  width: 250px;
  margin: auto;
  margin-top: 80px;
  z-index: 2;
}

.section-blue {
  width: 100%;
  background-color: #1e73ba;
  color: #fff;
  padding: 5px 15px;
}

#user-info p {
  margin: 0;
}

#user-info input {
  width: 100%;
  background-color: #e8e8e9;
  margin-bottom: 20px;
  padding: 5px 10px;
  border: none;
  border-radius: 2px;
  outline: none;
}

.result h4,
h6 {
  margin: 0;
  margin-bottom: 3px;
}

input:focus,
textarea:focus {
  outline: none;
}

input.error,
textarea.error {
  border: 2px solid #e00028 !important;
}

::-webkit-input-placeholder {
  color: #ccc;
}

input:focus::-webkit-input-placeholder {
  color: #eee;
}

fieldset {
  overflow: hidden;
}

.radio-container {
  float: left;
  clear: none;
}

label {
  float: left;
  clear: none;
  display: block;
  margin-top: -2px;
  margin-left: 5px;
  padding: 0px 20px 0 0;
}

input[type='radio'],
input.radio {
  float: left;
  clear: none;
  margin: 2px 0 0 2px;
}

.prize-redeem-btn {
  position: relative;
  width: 100%;
  max-width: 200px;
  height: 26px;
  background-color: #ff0;
  font-weight: 600;
  border: 0;
  border-radius: 12px;
  margin: 0 auto;
  padding: 0;
  box-shadow: 1px 1px 1px #333;
}

#agree {
  display: inline-block;
  vertical-align: middle;
  width: 13px;
  margin: 0;
  border-radius: 0;
}

.agreebox {
  color: #111;
  line-height: 30px;
  font-size: 12px;
  display: inline-block;
  vertical-align: middle;
}

ul,
ol {
  padding-left: 20px;
}

.gift {
  width: 85%;
  max-width: 150px;
  display: block;
  margin: auto;
  margin-bottom: 20px;
}

.play-button {
  background-color: #fff;
  color: #e40029;
  font-size: 1.5em;
  border: 7px solid #e40029;
  border-radius: 10px;
  margin: 10px auto;
  padding: 3px 25px;
  display: block;
}

.prize-title {
  height: 40px;
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 700;
  margin: 0;
  display: table-cell;
  vertical-align: middle;
  text-shadow: 1px 1px 1px #333;
}

@-o-keyframes fadeout {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeout {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-ms-keyframes fadeout {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Firefox < 16 */

@-moz-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Internet Explorer */

@-ms-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Opera < 12.1 */

@-o-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.overlay {
  position: fixed;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
}

.overlay-arrow {
  position: absolute;
  top: 5%;
  right: 10%;
  width: 80px;
  z-index: 10;
  -webkit-animation: fadein 0.5s;
  -moz-animation: fadein 0.5s;
  -ms-animation: fadein 0.5s;
  -o-animation: fadein 0.5s;
  animation: fadein 0.5s;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 240px;
  background-color: #fff;
  color: #333;
  display: block;
  padding: 10px 0;
  border-radius: 6px;
  z-index: 10;
  -webkit-animation: fadein 0.5s;
  -moz-animation: fadein 0.5s;
  -ms-animation: fadein 0.5s;
  -o-animation: fadein 0.5s;
  animation: fadein 0.5s;
}

.modal .bottom {
  position: absolute;
  bottom: 0;
  height: 40px;
  width: 100%;
  border-top: 1px solid #999;
}

.modal .left,
.modal .right {
  position: absolute;
  width: 50%;
  font-size: 0.9em;
  color: #333;
  bottom: 0;
  border-top: 1px solid #999;
  padding: 0px 0;
}

.modal .left {
  left: 0;
  border-right: 1px solid #999;
}

.modal .right {
  right: 0;
}

.modal .left button,
.modal .right button {
  width: 100%;
  height: 45px;
  font-size: 18px;
  line-height: 45px;
  border: 0;
  background-color: #ebeced;
}

.button-share {
  position: absolute;
  height: 40px;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #aaa;
}

.button-share .fb-container,
.button-share .mm-container {
  height: 40px;
  padding-top: 8px;
}

.button-share .fb-container {
  border-right: 1px solid #aaa;
}

.button-share a {
  color: #111;
}

.button-share a > img,
.button-share a > p {
  display: inline-block;
}

.moment {
  width: 22px;
  height: 22px;
  margin-left: -4px;
}

.facebook {
  width: 18px;
  height: 18px;
}

.facebook-gray,
.moment-gray {
  -o-filter: grayscale(1);
  -ms-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.overlay-arrow {
  position: relative;
  z-index: 9;
}

#arrow {
  width: 18%;
  position: fixed;
  top: 10px;
  right: 20px;
}

.up250 {
  margin-bottom: 250px;
}

/*dashed animation*/

@-moz-keyframes pound {
  from,
  to {
    transform: none;
  }
  10% {
    transform: scale(1.2);
  }
  20% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1);
  }
}

@-webkit-keyframes pound {
  from,
  to {
    transform: none;
  }
  10% {
    transform: scale(1.2);
  }
  20% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1);
  }
}

@-o-keyframes pound {
  from,
  to {
    transform: none;
  }
  10% {
    transform: scale(1.2);
  }
  20% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1);
  }
}

@keyframes pound {
  from,
  to {
    transform: none;
  }
  10% {
    transform: scale(1.2);
  }
  20% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1);
  }
}

.dashed {
  -o-animation: pound 1s ease-in-out;
  -ms-animation: pound 1s ease-in-out;
  -moz-animation: pound 1s ease-in-out;
  -webkit-animation: pound 1s ease-in-out;
  animation: pound 1s ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.filter {
  filter: gray;
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -ms-filter: grayscale(1);
  -o-filter: grayscale(1);
}

.nopadding {
  margin: 0;
  padding: 0;
}

.display-none {
  display: none;
}

.the_canvas {
  display: block;
  padding: 0;
  margin: 0 auto;
  width: 90%;
  height: auto;
  border-radius: 50%;
}
.content .content_spin {
  width: 100%;
  height: 219px;
}

.content .content_shadow {
  position: absolute;
  display: block;
  padding: 0;
  margin: 0 auto;
  width: 90%;
  height: auto;
  border-radius: 50%;
  top: 0px;
  left: 0px;
  right: 0px;
}

.content .content_needle {
  margin: auto;
  position: absolute;
  top: -20px;
  left: 0px;
  right: 0px;
  width: 37%;
}

.content .content_block {
  margin: auto;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 25%;
  z-index: -1;
}

.content .content_wheelstand {
  margin: auto;
  margin-top: -40px;
  width: 70%;
  z-index: -1;
}

.angpow {
  position: relative;
  width: 58%;
  max-width: 400px;
  margin: 30px auto;
  margin-top: 28%;
}

.middle {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

@media screen and (max-height: 480px) {
  .angpow {
    margin-top: 12%;
  }
}

.caption-packet {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) infinite;
}

@keyframes shake {
  10%, 80% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 1px, 1px);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, -1px, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
  0%, 85% {
    transform: translate3d(0, 0, 0);
  }
}