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

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

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

body {
  width: 100%;
  height: 100%;
  font-family: 'SFUIText-Regular', Helvetica, Arial, sans-serif;
  background-color: #fff;
  color: #fff;
  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: #fff;
  text-decoration: none;
}

b {
  font-family: 'SFUIText-Bold', Helvetica, Arial, sans-serif;
}

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

.frame {
  position: relative;
  width: 90%;
  max-width: 500px;
  /* -webkit-height: calc(100% - 20px);
  height: calc(100% - 20px); */
  height: 95%;
  overflow-y: auto;
  z-index: 2;
}

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

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

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

.caption {
  width: 75%;
  max-width: 400px;
  margin: auto;
  margin-top: -20px;
}
.deco {
  width: 100%;
  max-width: 600px;
  margin: auto;
  margin-top: 10px;
}

.form {
  position: relative;
  margin: auto;
  margin-top: 20px;
}

.form > input,
.form > select,
.form > textarea {
  width: 100%;
  max-width: 500px;
  font-size: 0.85em;
  background-color: #FFF;
  color: #000;
  margin: 0 auto 3px;
  padding: 8px 10px;
  display: block;
  border: 0;
  border-radius: 5px;
  opacity: 0.9;
}

.form > input:focus,
.form > textarea:focus {
  outline: none;
  color: #333;
}

.form > input.error,
.form > select.error,
.form > textarea.error {
  border: 2px solid #e00028;
}

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

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

.content_footer_start {
  position: relative;
  width: 100%;
  max-width: 500px;
  background-color: #FAC228;
  color: #000;
  font-weight: 700;
  border: 0;
  border-radius: 5px;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 15px;
  padding: 8px 0;
  box-shadow: 1px 1px 1px #333;
}

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: linear-gradient(to bottom right, #708E48, #E0DF6E);
  border: 0;
  border-radius: 5px;
  margin: 0 auto;
  padding: 0;
  color: #FFF;
}

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

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

.section-tnc {
  padding-top: 60px;
}

.table-tnc {
  width: 85%;
  max-width: 500px;
  text-align: left;
  margin: auto;
}

.table-tnc a {
  word-break: break-all;
  border-bottom: 1px dotted #fff;
}

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

td {
  font-size: 0.95em;
  vertical-align: top;
  padding-bottom: 10px;
}

td:first-child {
  padding-right: 5px;
}

.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: #000;
  font-size: 12px;
  margin: 0;
  display: table-cell;
  vertical-align: middle;
}

@-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: absolute;
  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: #D7D8D9;
  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;
  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-share2 {
  position: absolute;
  line-height: 40px;
  height: 40px;
  bottom: 40px;
  left: 0;
  right: 0;
  border-top: 1px solid #aaa;
}
.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, .button-share2 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;
}

.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_tap {
  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%);
}

.header {
  position: fixed;
  top: 0;
  height: 35px;
  width: 100%;
  background-color: #E4062C;
  z-index: 5;
}
.header img {
  height:35px;
  float:right;
}
.gameheader {
  position: fixed;
  top: 35px;
  height: 50px;
  width: 100%;
  background: url(/assets/tap/img/gameheader.png) no-repeat center center;
  background-size: 100% 100%;
  z-index: -1;
}
.scoreresult {
  padding: 5px 10px;
  color: #FFF;
  background: linear-gradient(to bottom right, #708E48, #E0DF6E);
  border: 1px solid #FFF;
  border-radius: 5px;
}
#thescore {
  font-size: 20px;
  font-weight: 900;
}
#labelscore {
  position: fixed;
  top: 90px;
  left: 10px;
}
#labeltime {
  position: fixed;
  top: 47px;
  left: 35%
}

.button-leaderboard {
  position: absolute;
  height: 40px;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid #aaa;
  padding-top: 8px;
  color: #000;
  font-weight: 600;
}
.button-leaderboard .active {
  color: #708E48;
  border-bottom: 3px solid #708E48;
}
.list-week-header, .list-grand-header {
  padding: 15px;
  margin-top: 45px;
  height: 80px;
  background: linear-gradient(to bottom right, #708E48, #E0DF6E);
  border-radius: 5px;
  text-align: center;
  color: #FFF;
}
.list-grand-header {
  padding: 5px;
}
.prize-frame {
  padding: 20px;
  background-color: #FFF;
  border-radius: 5px;
  overflow-y: auto;
  height:300px;
  position: relative;
  color: #000;
}
.prize-frame th {
  color: #708E48;
  padding-bottom: 10px;
}
.prize-frame td {
  text-align: left;
}
.zigzag {
  position: relative;
  margin-top: 34px; background: url(/assets/tap/img/zigzag.png) no-repeat center center;
  background-size: 100% 100%;
  height: 130px;
  color: #000;
}
.zigzag img {
  padding-top:5px;
  max-height: 45px;
}
.zigzag .valid {
  position: absolute;
  bottom: 8px;
  width: 100%;
  font-size: 12px;
  font-style: italic;
}
.bg-voucher {
  background: linear-gradient(to bottom right, #306B55, #4C788A);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  z-index: -1;
}
.voucher-code-frame {
  padding: 10px;
  background: linear-gradient(to bottom right, #2F865A, #4B9798);
}
.voucher-code {
  background-color: #FFF;
  border-radius: 5px;
  color: #000;
  padding: 5px;
  margin: 5px 50px;
}

.space {
  height: 30px;
}
@media screen and (max-height: 480px) {
  .prize-frame {
    height:220px
  }
  .space {
    height: 0;
  }

}
@media screen and (min-height: 600px) {
  .prize-frame {
    height:350px
  }
}
@media screen and (min-height: 700px) {
  .prize-frame {
    height:410px
  }
  .space {
    height: 60px;
  }
}