@charset "UTF-8";
/* ==========
1. media
2. @include
3. @extend
 ========== */
#d-input-wrong p, .scratched-mask, .is-card, .card-ani {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  display: inline-block;
  position: absolute;
}

.scratchNum-wrapper .tipNum {
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: center;
  position: absolute;
}

.scratchBtn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

/* ===================================
    tabs
    dialog
    ah-headline
==================================== */
/* ===================================
    tab
==================================== */
.tab-wrapper {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  clear: both;
}

.purple-style {
  background: #7200a2;
  border: 4px solid #fdedff;
  -webkit-box-shadow: rgba(187, 44, 148, 0.75) 0px 0px 15px 10px, #53005d 0 -6px 25px 3px inset;
  box-shadow: rgba(187, 44, 148, 0.75) 0px 0px 15px 10px, #53005d 0 -6px 25px 3px inset;
}

.pink-style {
  background: #bd0066;
  border: 4px solid #ffd5f0;
  -webkit-box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 15px 10px, #fd85c0 0 -6px 25px 3px inset;
  box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 15px 10px, #fd85c0 0 -6px 25px 3px inset;
}

.blue-style {
  background: #00218c;
  border: 4px solid #ace5ff;
  -webkit-box-shadow: rgba(133, 215, 253, 0.75) 0px 0px 15px 10px, #001353 0 -6px 25px 3px inset;
  box-shadow: rgba(133, 215, 253, 0.75) 0px 0px 15px 10px, #001353 0 -6px 25px 3px inset;
}

.tabs {
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.tabs li {
  width: 32%;
  height: 85px;
  line-height: 85px;
  bottom: -1px;
  -webkit-box-shadow: none;
  box-shadow: none;
  display: inline-block;
  vertical-align: bottom;
  overflow: hidden;
  position: relative;
  border-bottom: none;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  -webkit-transition: -webkit-box-shadow 0.2s ease-out;
  transition: -webkit-box-shadow 0.2s ease-out;
  -o-transition: box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out;
  transition: box-shadow 0.2s ease-out, -webkit-box-shadow 0.2s ease-out;
}

.tabs li a {
  display: block;
  color: #efefef !important;
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 5px;
  text-decoration: none;
}

.tabs li.active {
  height: 110px;
  line-height: 105px;
}

.tabs li.active.purple-style {
  -webkit-box-shadow: rgba(187, 44, 148, 0.75) 0px 0px 15px 10px, #53005d 0 7px 25px 3px inset;
  box-shadow: rgba(187, 44, 148, 0.75) 0px 0px 15px 10px, #53005d 0 7px 25px 3px inset;
}

.tabs li.active.pink-style {
  -webkit-box-shadow: rgba(187, 44, 148, 0.75) 0px 0px 15px 10px, #53005d 0 -6px 25px 3px inset;
  box-shadow: rgba(187, 44, 148, 0.75) 0px 0px 15px 10px, #53005d 0 -6px 25px 3px inset;
}

.tabs li.active.blue-style {
  -webkit-box-shadow: rgba(187, 44, 148, 0.75) 0px 0px 15px 10px, #53005d 0 -6px 25px 3px inset;
  box-shadow: rgba(187, 44, 148, 0.75) 0px 0px 15px 10px, #53005d 0 -6px 25px 3px inset;
}

@media (min-width: 768px) and (max-width: 1000px) {
  .tabs li {
    height: 75px;
    line-height: 65px;
  }
  .tabs li a {
    font-size: 32px;
  }
  .tabs li.active {
    height: 90px;
    line-height: 75px;
  }
}

@media (max-width: 600px) {
  .tabs li {
    height: 40px;
    line-height: 40px;
    bottom: 0;
    border-width: 3px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }
  .tabs li a {
    font-size: 17px;
    letter-spacing: 0;
  }
  .tabs li.active {
    height: 50px;
    line-height: 47px;
  }
  .tabs li.active.purple-style {
    -webkit-box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 8px 4px, #fd85c0 0 0px 15px 2px inset;
    box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 8px 4px, #fd85c0 0 0px 15px 2px inset;
  }
  .tabs li.active.pink-style {
    -webkit-box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 8px 4px, #fd85c0 0 0px 15px 2px inset;
    box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 8px 4px, #fd85c0 0 0px 15px 2px inset;
  }
  .tabs li.active.blue-style {
    -webkit-box-shadow: rgba(133, 215, 253, 0.75) 0px 0px 6px 4px, #001353 0 0px 15px 2px inset;
    box-shadow: rgba(133, 215, 253, 0.75) 0px 0px 6px 4px, #001353 0 0px 15px 2px inset;
  }
}

.tab_container {
  clear: both;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.tab_container .tab_content {
  min-height: 200px;
  padding: 20px;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  width: 100%;
  height: auto;
  display: block;
  clear: both;
  position: absolute;
  top: 0;
  opacity: 0;
  z-index: 0;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.tab_container .tab_content.active {
  position: relative;
  z-index: 1;
  opacity: 1;
}

@media (max-width: 767px) {
  .tab_container .tab_content {
    padding: 5px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }
  .tab_container .purple-style {
    -webkit-box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 8px 4px, #fd85c0 0 0px 15px 2px inset;
    box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 8px 4px, #fd85c0 0 0px 15px 2px inset;
  }
  .tab_container .pink-style {
    -webkit-box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 8px 4px, #fd85c0 0 0px 15px 2px inset;
    box-shadow: rgba(189, 0, 102, 0.75) 0px 0px 8px 4px, #fd85c0 0 0px 15px 2px inset;
  }
  .tab_container .blue-style {
    -webkit-box-shadow: rgba(133, 215, 253, 0.75) 0px 0px 6px 4px, #001353 0 0px 15px 2px inset;
    box-shadow: rgba(133, 215, 253, 0.75) 0px 0px 6px 4px, #001353 0 0px 15px 2px inset;
  }
}

/* ===================================
   dialog
==================================== */
.dialog,
.dialog-overlay {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.dialog {
  width: 100%;
  height: 100%;
  position: fixed;
  left: -100%;
  top: 0;
  z-index: 100;
  pointer-events: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.dialog-overlay {
  position: fixed;
  z-index: 1;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
  -webkit-backface-visibility: hidden;
}

.dialog-block {
  display: table;
  width: 100%;
}

.dialog-middle {
  display: table-cell;
  vertical-align: middle;
  height: 100vh;
  padding: 80px 30px;
}

.dialog-content {
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 995;
  opacity: 0;
  -webkit-box-shadow: 0 3px 36px 0 rgba(0, 0, 0, 0.6);
  box-shadow: 0 3px 36px 0 rgba(0, 0, 0, 0.6);
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.dialog-content img {
  display: block;
  margin: auto;
}

.dialog-open {
  left: 0;
  pointer-events: auto;
}

.dialog-open .dialog-content {
  opacity: 1;
  -webkit-animation-name: anim-open;
  animation-name: anim-open;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
}

.dialog-open .dialog-overlay {
  opacity: 1;
  pointer-events: auto;
}

@-webkit-keyframes anim-open {
  0% {
    opacity: 0;
    -webkit-transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  2.083333% {
    -webkit-transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  4.166667% {
    -webkit-transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  6.25% {
    -webkit-transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  8.333333% {
    -webkit-transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  10.416667% {
    -webkit-transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  12.5% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  14.583333% {
    -webkit-transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  16.666667% {
    -webkit-transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  18.75% {
    -webkit-transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  20.833333% {
    -webkit-transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  22.916667% {
    -webkit-transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  25% {
    -webkit-transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  27.083333% {
    -webkit-transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  29.166667% {
    -webkit-transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  31.25% {
    -webkit-transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  33.333333% {
    -webkit-transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  35.416667% {
    -webkit-transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  37.5% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  39.583333% {
    -webkit-transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  41.666667% {
    -webkit-transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  43.75% {
    -webkit-transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  45.833333% {
    -webkit-transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  47.916667% {
    -webkit-transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  50% {
    opacity: 1;
    -webkit-transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  52.083333% {
    -webkit-transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  54.166667% {
    -webkit-transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  56.25% {
    -webkit-transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  58.333333% {
    -webkit-transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  60.416667% {
    -webkit-transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  62.5% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  64.583333% {
    -webkit-transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  66.666667% {
    -webkit-transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  68.75% {
    -webkit-transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  70.833333% {
    -webkit-transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  72.916667% {
    -webkit-transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  75% {
    -webkit-transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  77.083333% {
    -webkit-transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  79.166667% {
    -webkit-transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  81.25% {
    -webkit-transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  83.333333% {
    -webkit-transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  85.416667% {
    -webkit-transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  87.5% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  89.583333% {
    -webkit-transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  91.666667% {
    -webkit-transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  93.75% {
    -webkit-transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  95.833333% {
    -webkit-transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  97.916667% {
    -webkit-transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  100% {
    opacity: 1;
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}

@keyframes anim-open {
  0% {
    opacity: 0;
    -webkit-transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.7, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  2.083333% {
    -webkit-transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.75266, 0, 0, 0, 0, 0.76342, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  4.166667% {
    -webkit-transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.81071, 0, 0, 0, 0, 0.84545, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  6.25% {
    -webkit-transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.86808, 0, 0, 0, 0, 0.9286, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  8.333333% {
    -webkit-transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.92038, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  10.416667% {
    -webkit-transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.96482, 0, 0, 0, 0, 1.05202, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  12.5% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1.08204, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  14.583333% {
    -webkit-transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.02563, 0, 0, 0, 0, 1.09149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  16.666667% {
    -webkit-transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.04227, 0, 0, 0, 0, 1.08453, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  18.75% {
    -webkit-transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.05102, 0, 0, 0, 0, 1.06666, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  20.833333% {
    -webkit-transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.05334, 0, 0, 0, 0, 1.04355, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  22.916667% {
    -webkit-transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.05078, 0, 0, 0, 0, 1.02012, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  25% {
    -webkit-transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.04487, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  27.083333% {
    -webkit-transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.03699, 0, 0, 0, 0, 0.98534, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  29.166667% {
    -webkit-transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.02831, 0, 0, 0, 0, 0.97688, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  31.25% {
    -webkit-transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.01973, 0, 0, 0, 0, 0.97422, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  33.333333% {
    -webkit-transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.01191, 0, 0, 0, 0, 0.97618, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  35.416667% {
    -webkit-transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00526, 0, 0, 0, 0, 0.98122, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  37.5% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 0.98773, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  39.583333% {
    -webkit-transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99617, 0, 0, 0, 0, 0.99433, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  41.666667% {
    -webkit-transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99368, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  43.75% {
    -webkit-transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99237, 0, 0, 0, 0, 1.00413, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  45.833333% {
    -webkit-transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99202, 0, 0, 0, 0, 1.00651, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  47.916667% {
    -webkit-transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99241, 0, 0, 0, 0, 1.00726, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  50% {
    opacity: 1;
    -webkit-transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99329, 0, 0, 0, 0, 1.00671, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  52.083333% {
    -webkit-transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99447, 0, 0, 0, 0, 1.00529, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  54.166667% {
    -webkit-transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99577, 0, 0, 0, 0, 1.00346, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  56.25% {
    -webkit-transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99705, 0, 0, 0, 0, 1.0016, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  58.333333% {
    -webkit-transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99822, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  60.416667% {
    -webkit-transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99921, 0, 0, 0, 0, 0.99884, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  62.5% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 0.99816, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  64.583333% {
    -webkit-transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00057, 0, 0, 0, 0, 0.99795, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  66.666667% {
    -webkit-transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00095, 0, 0, 0, 0, 0.99811, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  68.75% {
    -webkit-transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99851, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  70.833333% {
    -webkit-transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00119, 0, 0, 0, 0, 0.99903, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  72.916667% {
    -webkit-transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00114, 0, 0, 0, 0, 0.99955, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  75% {
    -webkit-transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  77.083333% {
    -webkit-transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00083, 0, 0, 0, 0, 1.00033, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  79.166667% {
    -webkit-transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00063, 0, 0, 0, 0, 1.00052, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  81.25% {
    -webkit-transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00044, 0, 0, 0, 0, 1.00058, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  83.333333% {
    -webkit-transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00027, 0, 0, 0, 0, 1.00053, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  85.416667% {
    -webkit-transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1.00012, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  87.5% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1.00027, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  89.583333% {
    -webkit-transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99991, 0, 0, 0, 0, 1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  91.666667% {
    -webkit-transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99986, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  93.75% {
    -webkit-transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99991, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  95.833333% {
    -webkit-transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99982, 0, 0, 0, 0, 0.99985, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  97.916667% {
    -webkit-transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0.99983, 0, 0, 0, 0, 0.99984, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  100% {
    opacity: 1;
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}

@-webkit-keyframes anim-close {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
  }
}

@keyframes anim-close {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
  }
}

/* ===================================
    ah-headline
==================================== */
.ah-headline.type .ah-words-wrapper.selected::after, .ah-headline.type b {
  visibility: hidden;
}

.ah-headline.clip span, .ah-headline.loading-bar span, .ah-headline.slide span {
  padding: .2em 0;
  display: inline-block;
}

.ah-headline.clip .ah-words-wrapper, .ah-headline.loading-bar .ah-words-wrapper, .ah-headline.slide .ah-words-wrapper, .ah-headline.type .ah-words-wrapper {
  overflow: hidden;
  vertical-align: top;
}

.ah-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}

.ah-words-wrapper b {
  display: inline-block;
  position: absolute;
  /*white-space: nowrap;*/
  left: 0;
  top: 0;
  text-align: center;
}

.ah-words-wrapper b.is-visible {
  position: relative;
}

.no-js .ah-words-wrapper b {
  opacity: 0;
}

.no-js .ah-words-wrapper b.is-visible {
  opacity: 1;
}

/*
.ah-headline.rotate-1 .ah-words-wrapper {
    -webkit-perspective: 300px;
    perspective: 300px
}
.ah-headline.rotate-1 b {
    opacity: 0;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg)
}
.ah-headline.rotate-1 b.is-visible {
    opacity: 1;
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
    -webkit-animation: ah-rotate-1-in 1.2s;
    animation: ah-rotate-1-in 1.2s
}
.ah-headline.rotate-1 b.is-hidden {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
    -webkit-animation: ah-rotate-1-out 1.2s;
    animation: ah-rotate-1-out 1.2s
}*/
@-webkit-keyframes ah-rotate-1-in {
  0% {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
    opacity: 0;
  }
  35% {
    -webkit-transform: rotateX(120deg);
    transform: rotateX(120deg);
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(360deg);
    transform: rotateX(360deg);
    opacity: 1;
  }
}

@keyframes ah-rotate-1-in {
  0% {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
    opacity: 0;
  }
  35% {
    -webkit-transform: rotateX(120deg);
    transform: rotateX(120deg);
    opacity: 0;
  }
  65% {
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(360deg);
    transform: rotateX(360deg);
    opacity: 1;
  }
}

@-webkit-keyframes ah-rotate-1-out {
  0% {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
    opacity: 1;
  }
  35% {
    -webkit-transform: rotateX(-40deg);
    transform: rotateX(-40deg);
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
    opacity: 0;
  }
}

@keyframes ah-rotate-1-out {
  0% {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
    opacity: 1;
  }
  35% {
    -webkit-transform: rotateX(-40deg);
    transform: rotateX(-40deg);
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
    opacity: 0;
  }
}

.ah-headline.type .ah-words-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 90%;
  width: 1px;
  background-color: #363636;
}

.ah-headline.type .ah-words-wrapper.waiting::after {
  -webkit-animation: ah-pulse 1s infinite;
  animation: ah-pulse 1s infinite;
}

.ah-headline.type .ah-words-wrapper.selected {
  background-color: #f0f0f0;
}

.ah-headline.type .ah-words-wrapper.selected b {
  color: #363636;
}

.ah-headline.type b.is-visible {
  visibility: visible;
}

.ah-headline.type i {
  position: absolute;
  visibility: hidden;
}

.ah-headline.type i.in {
  position: relative;
  visibility: visible;
}

@-webkit-keyframes ah-pulse {
  0% {
    -webkit-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(-50%) scale(0.9);
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(-50%) scale(0);
    transform: translateY(-50%) scale(0);
    opacity: 0;
  }
}

@keyframes ah-pulse {
  0% {
    -webkit-transform: translateY(-50%) scale(1);
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(-50%) scale(0.9);
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(-50%) scale(0);
    transform: translateY(-50%) scale(0);
    opacity: 0;
  }
}

.ah-headline.rotate-2 .ah-words-wrapper {
  -webkit-perspective: 300px;
  perspective: 300px;
}

.ah-headline.rotate-2 em, .ah-headline.rotate-2 i {
  display: inline-block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.ah-headline.rotate-2 b {
  opacity: 0;
}

.ah-headline.rotate-2 i {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translateZ(-20px) rotateX(90deg);
  transform: translateZ(-20px) rotateX(90deg);
  opacity: 0;
}

.is-visible .ah-headline.rotate-2 i {
  opacity: 1;
}

.ah-headline.rotate-2 i.in {
  -webkit-animation: ah-rotate-2-in .4s forwards;
  animation: ah-rotate-2-in .4s forwards;
}

.ah-headline.rotate-2 i.out {
  -webkit-animation: ah-rotate-2-out .4s forwards;
  animation: ah-rotate-2-out .4s forwards;
}

.ah-headline.rotate-2 em {
  -webkit-transform: translateZ(20px);
  transform: translateZ(20px);
}

.no-csstransitions .ah-headline.rotate-2 i {
  -webkit-transform: rotateX(0);
  transform: rotateX(0);
  opacity: 0;
}

.no-csstransitions .ah-headline.rotate-2 i em {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.no-csstransitions .ah-headline.rotate-2 .is-visible i {
  opacity: 1;
}

@-webkit-keyframes ah-rotate-2-in {
  0% {
    opacity: 0;
    -webkit-transform: translateZ(-20px) rotateX(90deg);
    transform: translateZ(-20px) rotateX(90deg);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateZ(-20px) rotateX(-10deg);
    transform: translateZ(-20px) rotateX(-10deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateZ(-20px) rotateX(0);
    transform: translateZ(-20px) rotateX(0);
  }
}

@keyframes ah-rotate-2-in {
  0% {
    opacity: 0;
    -webkit-transform: translateZ(-20px) rotateX(90deg);
    transform: translateZ(-20px) rotateX(90deg);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateZ(-20px) rotateX(-10deg);
    transform: translateZ(-20px) rotateX(-10deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateZ(-20px) rotateX(0);
    transform: translateZ(-20px) rotateX(0);
  }
}

@-webkit-keyframes ah-rotate-2-out {
  0% {
    opacity: 1;
    -webkit-transform: translateZ(-20px) rotateX(0);
    transform: translateZ(-20px) rotateX(0);
  }
  60% {
    opacity: 0;
    -webkit-transform: translateZ(-20px) rotateX(-100deg);
    transform: translateZ(-20px) rotateX(-100deg);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateZ(-20px) rotateX(-90deg);
    transform: translateZ(-20px) rotateX(-90deg);
  }
}

@keyframes ah-rotate-2-out {
  0% {
    opacity: 1;
    -webkit-transform: translateZ(-20px) rotateX(0);
    transform: translateZ(-20px) rotateX(0);
  }
  60% {
    opacity: 0;
    -webkit-transform: translateZ(-20px) rotateX(-100deg);
    transform: translateZ(-20px) rotateX(-100deg);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateZ(-20px) rotateX(-90deg);
    transform: translateZ(-20px) rotateX(-90deg);
  }
}

.ah-headline.loading-bar .ah-words-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: #356efd;
  z-index: 2;
  -webkit-transition: width .3s -.1s;
  -o-transition: width .3s -.1s;
  transition: width .3s -.1s;
}

.ah-headline.loading-bar .ah-words-wrapper.is-loading::after {
  width: 100%;
  -webkit-transition: width 3s;
  -o-transition: width 3s;
  transition: width 3s;
}

.ah-headline.loading-bar b {
  top: .2em;
  opacity: 0;
  -webkit-transition: opacity .3s;
  -o-transition: opacity .3s;
  transition: opacity .3s;
}

.ah-headline.loading-bar b.is-visible {
  opacity: 1;
  top: 0;
}

.ah-headline.slide b {
  width: 100%;
  opacity: 0;
  top: .2em;
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

.ah-headline.slide b.is-visible {
  top: 0;
  opacity: 1;
  -webkit-animation: slide-in .6s;
  animation: slide-in .6s;
}

.ah-headline.slide b.is-hidden {
  -webkit-animation: slide-out .6s;
  animation: slide-out .6s;
}

@-webkit-keyframes slide-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateY(20%);
    transform: translateY(20%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes slide-in {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateY(20%);
    transform: translateY(20%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes slide-out {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  60% {
    opacity: 0;
    -webkit-transform: translateY(120%);
    transform: translateY(120%);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}

@keyframes slide-out {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  60% {
    opacity: 0;
    -webkit-transform: translateY(120%);
    transform: translateY(120%);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}

.ah-headline.clip .ah-words-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: #363636;
}

.ah-headline.clip b {
  opacity: 0;
}

.ah-headline.clip b.is-visible {
  opacity: 1;
}

.ah-headline.zoom .ah-words-wrapper {
  -webkit-perspective: 300px;
  perspective: 300px;
}

.ah-headline.zoom b {
  opacity: 0;
}

.ah-headline.zoom b.is-visible {
  opacity: 1;
  -webkit-animation: zoom-in .8s;
  animation: zoom-in .8s;
}

.ah-headline.zoom b.is-hidden {
  -webkit-animation: zoom-out .8s;
  animation: zoom-out .8s;
}

@-webkit-keyframes zoom-in {
  0% {
    opacity: 0;
    -webkit-transform: translateZ(100px);
    transform: translateZ(100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

@keyframes zoom-in {
  0% {
    opacity: 0;
    -webkit-transform: translateZ(100px);
    transform: translateZ(100px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

@-webkit-keyframes zoom-out {
  0% {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateZ(-100px);
    transform: translateZ(-100px);
  }
}

@keyframes zoom-out {
  0% {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateZ(-100px);
    transform: translateZ(-100px);
  }
}

.ah-headline.rotate-3 .ah-words-wrapper {
  -webkit-perspective: 300px;
  perspective: 300px;
}

.ah-headline.rotate-3 b {
  opacity: 0;
}

.ah-headline.rotate-3 i {
  display: inline-block;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.is-visible .ah-headline.rotate-3 i {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
}

.ah-headline.rotate-3 i.in {
  -webkit-animation: ah-rotate-3-in .6s forwards;
  animation: ah-rotate-3-in .6s forwards;
}

.ah-headline.rotate-3 i.out {
  -webkit-animation: ah-rotate-3-out .6s forwards;
  animation: ah-rotate-3-out .6s forwards;
}

.no-csstransitions .ah-headline.rotate-3 i {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
  opacity: 0;
}

.no-csstransitions .ah-headline.rotate-3 .is-visible i {
  opacity: 1;
}

@-webkit-keyframes ah-rotate-3-in {
  0% {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }
  100% {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }
}

@keyframes ah-rotate-3-in {
  0% {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
  }
  100% {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }
}

@-webkit-keyframes ah-rotate-3-out {
  0% {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }
  100% {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
  }
}

@keyframes ah-rotate-3-out {
  0% {
    -webkit-transform: rotateY(0);
    transform: rotateY(0);
  }
  100% {
    -webkit-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
  }
}

.ah-headline.scale b {
  opacity: 0;
}

.ah-headline.scale i {
  display: inline-block;
  opacity: 0;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

.is-visible .ah-headline.scale i {
  opacity: 1;
}

.ah-headline.scale i.in {
  -webkit-animation: scale-up .6s forwards;
  animation: scale-up .6s forwards;
}

.ah-headline.scale i.out {
  -webkit-animation: scale-down .6s forwards;
  animation: scale-down .6s forwards;
}

.no-csstransitions .ah-headline.scale i {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 0;
}

.no-csstransitions .ah-headline.scale .is-visible i {
  opacity: 1;
}

@-webkit-keyframes scale-up {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  60% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-up {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  60% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@-webkit-keyframes scale-down {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  60% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
}

@keyframes scale-down {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
  60% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
}

.ah-headline.push b {
  opacity: 0;
}

.ah-headline.push b.is-visible {
  opacity: 1;
  -webkit-animation: push-in .6s;
  animation: push-in .6s;
}

.ah-headline.push b.is-hidden {
  -webkit-animation: push-out .6s;
  animation: push-out .6s;
}

@-webkit-keyframes push-in {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(10%);
    transform: translateX(10%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes push-in {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(10%);
    transform: translateX(10%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes push-out {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  60% {
    opacity: 0;
    -webkit-transform: translateX(110%);
    transform: translateX(110%);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

@keyframes push-out {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  60% {
    opacity: 0;
    -webkit-transform: translateX(110%);
    transform: translateX(110%);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

/* ===================================
    alert
==================================== */
.color-yellow {
  color: #fff100 !important;
}

.color-white {
  color: #fff;
}

.dialog {
  overflow: hidden;
}

.dialog .dialog-content {
  width: 1009px;
  min-height: 100px;
  background-image: url(../_img/dialog/dialog-body.png);
  background-size: contain;
  background-position: center;
  background-repeat: repeat-y;
  margin-top: 100px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.dialog .dialog-content:before, .dialog .dialog-content:after {
  content: "";
  width: 1009px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 2;
}

.dialog .dialog-content:before {
  background-image: url(../_img/dialog/dialog_head.png);
  height: 289px;
  top: -289px;
}

.dialog .dialog-content:after {
  background-image: url(../_img/dialog/dialog-end.png);
  height: 154px;
  bottom: -154px;
}

.dialog .d-circle-close {
  background: url(../_img/dialog/close.png) no-repeat center;
  background-size: contain;
  width: 105px;
  height: 105px;
  position: absolute;
  top: -150px;
  right: 0;
  z-index: 2;
  -webkit-transform: rotate(0);
  -ms-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: -webkit-transform 0.35s ease-out;
  transition: -webkit-transform 0.35s ease-out;
  -o-transition: transform 0.35s ease-out;
  transition: transform 0.35s ease-out;
  transition: transform 0.35s ease-out, -webkit-transform 0.35s ease-out;
}

.dialog p {
  font-size: 39px;
  font-weight: bold;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 0;
  font-family: Microsoft JhengHei,"微軟正黑體",Verdana , Arial;
  text-align: center;
  display: block;
}

.dialog p a {
  text-decoration: underline;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .dialog .dialog-content {
    width: 700px;
  }
  .dialog .dialog-content:before, .dialog .dialog-content:after {
    width: 700px;
  }
  .dialog .dialog-content:before {
    height: 210px;
    top: -205px;
  }
  .dialog .dialog-content:after {
    height: 110px;
    bottom: -108px;
  }
  .dialog p {
    font-size: 32px;
  }
  .dialog .d-circle-close {
    width: 70px;
    height: 70px;
    top: -100px;
    right: 0;
  }
}

@media (max-width: 767px) {
  .dialog .dialog-content {
    width: 360px;
    min-height: 50px;
  }
  .dialog .dialog-content:before, .dialog .dialog-content:after {
    width: 360px;
  }
  .dialog .dialog-content:before {
    height: 108px;
    top: -105px;
  }
  .dialog .dialog-content:after {
    height: 55px;
    bottom: -55px;
  }
  .dialog .d-circle-close {
    width: 40px;
    height: 40px;
    top: -55px;
    right: 0;
  }
  .dialog p {
    font-size: 18px;
    display: block;
    padding-left: 37px;
    padding-right: 35px;
  }
}

@media (max-width: 350px) {
  .dialog .dialog-content {
    width: 300px;
  }
  .dialog .dialog-content:before, .dialog .dialog-content:after {
    width: 300px;
  }
  .dialog .dialog-content:before {
    height: 89px;
    top: -88px;
  }
  .dialog .dialog-content:after {
    height: 47px;
    bottom: -46px;
  }
  .dialog .d-circle-close {
    top: -55px;
    right: 0;
  }
  .dialog p {
    font-size: 15px;
    line-height: 25px;
  }
}

@media (max-width: 767px) {
  .dialog-middle {
    padding: 0;
  }
}

/* 請輸入手機門號 */
#d-input .d-alert-form, #d-ver-input .d-alert-form {
  padding-bottom: 20px;
}

#d-input input, #d-input button, #d-ver-input input, #d-ver-input button {
  width: 700px;
  height: 135px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}

#d-input input, #d-ver-input input {
  border: none;
  color: #444;
  font-size: 53px;
  text-align: center;
  background-image: url(../_img/dialog/input.png);
}

#d-input .send-btn, #d-ver-input .send-btn {
  background-image: url(../_img/dialog/sureBtn_1.png);
  background-size: contain;
  font-size: 0;
  border: none;
  display: block;
  position: relative;
  margin: 25px auto 0 auto;
}

#d-input .send-btn:hover, #d-ver-input .send-btn:hover {
  background-image: url(../_img/dialog/sureBtn_2.png);
}

#d-input .send-btn:focus, #d-ver-input .send-btn:focus {
  background-image: url(../_img/dialog/sureBtn_3.png);
}

@media (min-width: 768px) and (max-width: 1024px) {
  #d-input input, #d-input button, #d-ver-input input, #d-ver-input button {
    width: 60%;
    height: 85px;
    font-size: 42px;
  }
  #d-input .send-btn, #d-ver-input .send-btn {
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  #d-input .d-alert-form, #d-ver-input .d-alert-form {
    padding-bottom: 5px;
  }
  #d-input input, #d-input button, #d-ver-input input, #d-ver-input button {
    width: 65%;
    height: 45px;
    font-size: 22px;
    padding-top: 4px;
    line-height: normal;
  }
  #d-input .send-btn, #d-ver-input .send-btn {
    margin-top: 15px;
  }
  #d-input p, #d-ver-input p {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 5px;
  }
}

/* 驗證碼有誤 */
#d-input-wrong .dialog-content {
  height: auto;
}

#d-input-wrong p {
  margin: 0;
}

/* 得獎 */
#d-success .dialog-content:before {
  background-image: url(../_img/dialog/dialog_head02.png);
}

#d-success p {
  padding-left: 120px;
  padding-right: 120px;
}

#d-success .name {
  font-size: 46px;
}

#d-success .prize {
  font-size: 42px;
  padding-left: 35px;
  padding-right: 35px;
}

#d-success .dialog-download {
  width: 769px;
  height: 165px;
  margin: 30px auto 50px auto;
}

@media (min-width: 768px) and (max-width: 1024px) {
  #d-success p {
    padding-left: 90px;
    padding-right: 90px;
  }
  #d-success .name {
    font-size: 40px;
  }
  #d-success .prize {
    font-size: 32px;
  }
  #d-success .dialog-download {
    width: 500px;
    height: 100px;
    margin: 30px auto 50px auto;
  }
}

@media (max-width: 767px) {
  #d-success .dialog-content {
    padding-bottom: 15px;
  }
  #d-success .name {
    font-size: 22px;
  }
  #d-success p {
    margin-bottom: 7px;
    margin-top: 0;
    padding-left: 40px;
    padding-right: 40px;
  }
  #d-success p, #d-success .prize {
    font-size: 18px;
  }
  #d-success .prize {
    margin-top: 10px;
  }
  #d-success .dialog-download {
    width: 80%;
    height: auto;
    padding-bottom: 15%;
    margin: 20px auto 0 auto;
  }
}

#d-personal .text-content {
  width: 74%;
  height: 65%;
  max-height: 400px;
  margin-left: auto;
  margin-right: auto;
  top: 19%;
  overflow: auto;
  position: relative;
  text-align: left;
}

#d-personal .text-content::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #171201;
}

#d-personal .text-content::-webkit-scrollbar {
  width: 6px;
  background-color: #171201;
}

#d-personal .text-content::-webkit-scrollbar-thumb {
  background-color: #000;
}

#d-personal p {
  font-size: 30px;
  line-height: 45px;
  color: #fff;
  text-align: left;
}

@media (min-width: 768px) and (max-width: 1024px) {
  #d-personal p {
    font-size: 22px;
    line-height: 36px;
  }
}

@media (max-width: 767px) {
  #d-personal p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 0;
  }
}

/* ==========
1. media
2. @include
3. @extend
 ========== */
#d-input-wrong p, .scratched-mask, .is-card, .card-ani {
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  display: inline-block;
  position: absolute;
}

.scratchNum-wrapper .tipNum {
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  text-align: center;
  position: absolute;
}

.scratchBtn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.select .placeholder, .select ul li {
  color: #5c3bcb;
  font-size: 34px;
  font-weight: bold;
}

.select {
  background: url(../_img/tab/select-bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 343px;
  height: 75px;
  position: relative;
  display: inline-block;
  margin: 0 auto;
  float: left;
  top: 15px;
  text-align: left;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.select .placeholder {
  line-height: 75px;
  display: block;
  position: relative;
  display: block;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding-left: 15px;
  cursor: pointer;
  overflow: hidden;
}

.select.is-open ul {
  display: block;
}

.select ul {
  display: none;
  position: absolute;
  overflow: hidden;
  width: 100%;
  background: #fff;
  border-radius: 5px;
  top: 100%;
  left: 0;
  list-style: none;
  padding-top: 15px;
  padding-bottom: 15px;
  z-index: 100;
}

.select ul li {
  display: block;
  text-align: left;
  padding: 5px 15px;
  cursor: pointer;
}

.select ul li:hover {
  background: #5c3bcb;
  color: #fff;
}

@media (max-width: 767px) {
  .select {
    width: 84%;
    height: auto;
    padding-bottom: 6%;
    margin-bottom: 0;
    float: right;
  }
  .select .placeholder {
    line-height: normal;
    padding-top: 5%;
    font-size: 24px;
  }
  .select ul {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .select ul li {
    font-size: 24px;
    padding: 3px 10px;
  }
}

@media (max-width: 350px) {
  .select {
    width: 100%;
  }
}

/* header-text 獲獎跑馬燈 */
.header-text {
  width: 100%;
  height: 80px;
  position: fixed;
  left: 0;
  top: -100%;
  z-index: 150;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 48px;
  text-align: center;
  font-weight: bold;
  line-height: 1.5em;
  -webkit-transition: top 1s;
  -o-transition: top 1s;
  transition: top 1s;
}

@media (max-width: 1024px) {
  .header-text {
    font-size: 4.5vw;
  }
}

@media (max-width: 991px) {
  .header-text {
    z-index: 50;
  }
}

@media (max-width: 767px) {
  .header-text {
    height: 60px;
  }
}

.header-text .ah-headline {
  font-family: "微軟正黑體", Heiti TC, Microsoft JhengHei, Verdana, Arial;
  overflow: hidden;
  display: inline;
  position: relative;
  top: -7px;
}

.header-text .ah-headline.slide .ah-words-wrapper {
  vertical-align: middle;
}

@media (max-width: 991px) {
  .header-text .ah-headline {
    top: 7px;
  }
}

@media (max-width: 767px) {
  .header-text .ah-headline {
    font-size: 19px;
    top: 17px;
  }
}

@media (max-width: 350px) {
  .header-text .ah-headline {
    font-size: 16px;
  }
}

.header-text .ah-words-wrapper {
  width: 100% !important;
  text-align: center !important;
}

.header-text .ah-words-wrapper b {
  display: block;
  width: 100%;
}

.header-text.active {
  top: 0;
}

.header-text .gift {
  padding: 0 10px !important;
}

.header-text .phone-num, .header-text .gift {
  color: #fdf400;
}

@media (max-width: 767px) {
  .header-text .phone-num, .header-text .gift {
    padding: 0 5px !important;
  }
}

body {
  background: url("../_img/bg19fe.jpg?r=v1") top center no-repeat;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

html {
  background-color: #55007c;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

* {
  outline: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:after, *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body, input, textarea, button, select {
  font-family: Microsoft JhengHei,"微軟正黑體", Verdana , Arial;
  border: none;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mt0 {
  margin-top: 0 !important;
}

.mb0 {
  margin-bottom: 0 !important;
}

.rwd {
  max-width: 100%;
  height: auto;
}

.clearfix:after {
  content: "";
  clear: both;
  display: table;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#dPageHolder {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
  max-width: 1024px;
}

#topLink {
  position: absolute;
  width: 100%;
  z-index: 5;
}

#topLink .content {
  max-width: 1024px;
  margin: auto;
  position: relative;
}

#dMainPhone {
  width: 100%;
  position: relative;
  z-index: 0;
  font-size: 0;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 1024px) {
  body {
    background-size: 184%;
  }
  #dMainPhone {
    margin: 0;
  }
}

#dMainPhone .block {
  max-width: 1024px;
  margin: auto;
}

#link_home a,
#link_fb a,
.youtube a,
.line a {
  position: relative;
  display: block;
  float: left;
  width: 8.6%;
  padding-bottom: 8.6%;
  z-index: 1;
}

.img-responsive {
  margin-top: 0px;
}

#link_fb a {
  left: 60%;
  background: url(../_img/fb41f2.png?r=20190604) 0px 0px no-repeat;
  background-size: contain;
}

#link_fb a:hover {
  background: url(../_img/fb_hover41f2.png?r=20190604) 0px 0px no-repeat;
  background-size: contain;
}

.youtube a {
  left: 60%;
  background: url(../_img/youtube41f2.png?r=20190604) 0px 0px no-repeat;
  background-size: contain;
}

.youtube a:hover {
  background: url(../_img/youtube_hover41f2.png?r=20190604) 0px 0px no-repeat;
  background-size: contain;
}

.line a {
  left: 60%;
  background: url(../_img/line41f2.png?r=20190604) 0px 0px no-repeat;
  background-size: contain;
}

.line a:hover {
  background: url(../_img/line_hover41f2.png?r=20190604) 0px 0px no-repeat;
  background-size: contain;
}

#link_home a {
  left: 60%;
  background: url(../_img/home41f2.png?r=20190604) 0px 0px no-repeat;
  background-size: contain;
}

#link_home a:hover {
  background: url(../_img/home_hover41f2.png?r=20190604) 0px 0px no-repeat;
  background-size: contain;
}

.gobackHome {
  background: rgba(255, 255, 255, 0) no-repeat;
  background-size: contain;
  width: 43%;
  padding-bottom: 13%;
  display: block;
  margin-top: 1%;
  position: relative;
  left: 13%;
}

.social-bg {
  width: 36.5%;
  padding-bottom: 11%;
  background-color: rgba(51, 0, 70, 0.8);
  position: absolute;
  top: -8px;
  right: 4.5%;
  z-index: 0;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  pointer-events: none;
}

#link_download {
  position: relative;
  width: 80%;
  height: 18vh;
  margin: 70% auto 0 auto;
  cursor: pointer;
}

@media (max-width: 767px) {
  #link_download {
    height: 12vh;
    margin: 70% auto 0 auto;
  }
}

.download-style {
  background: url(../_img/download41f2.png?r=20190604) center center no-repeat no-repeat;
  background-size: contain;
}

.download-style a {
  width: 100%;
  height: 100%;
  display: block;
}

.download-style:hover {
  background-image: url(../_img/download_hover41f2.png?r=20190604);
}

.download-style:active {
  display: block;
  background-image: url(../_img/download_focus41f2.png?r=20190604);
}

.wanin {
  width: 28%;
  height: 110px;
  position: absolute;
  left: 32%;
  bottom: 13px;
}

@media (max-width: 767px) {
  .wanin {
    width: 30%;
    height: 71%;
  }
}

#Part1, #Part2, #Part3, #Part4 {
  position: relative;
}

#Part1 img, #Part2 img, #Part3 img, #Part4 img {
  pointer-events: none;
}

#Part2 {
  z-index: 1;
}

#Part3 {
  z-index: 2;
}

#Part3 h3 {
  margin-top: 60px;
}

#Part3 .text-wrap {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  left: 10px;
  position: relative;
}

#Part3 p {
  font-size: 27px;
  line-height: 38px;
  color: #fff;
  font-family: Microsoft JhengHei,"微軟正黑體",Verdana , Arial;
  text-align: justify;
  text-indent: -3.2%;
  text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
  #Part3 .text-wrap {
    width: 92%;
    left: 5px;
  }
  #Part3 p {
    font-size: 3.3vw;
    line-height: 40px;
    margin-bottom: 5px;
  }
}

@media (max-width: 600px) {
  #Part3 .text-wrap {
    width: 90%;
    left: 6px;
  }
  #Part3 h3 {
    margin-top: 30px;
  }
  #Part3 p {
    font-size: 3.6vw;
    line-height: 3.1vh;
    margin-bottom: 5px;
    text-indent: -4%;
  }
}

#Part4 {
  /*background-color: #0091e5;*/
  position: relative;
  margin-top: 6%;
  padding-top: 5px;
}

#Part4:after {
  content: " ";
  width: 1000%;
  height: 100%;
  background-color: rgba(0, 33, 140, 0.45);
  display: block;
  position: absolute;
  top: 0;
  left: -500%;
  z-index: 0;
}

#Part4 img {
  position: relative;
  z-index: 1;
}

#Part4 a {
  z-index: 2;
}

.input-form {
  width: 100%;
  margin-top: 15%;
  position: relative;
  top: 0%;
}

.input-form input {
  background: url(../_img/input.png) no-repeat center;
  background-size: contain;
  width: 831px;
  height: 114px;
  margin: 30px 0 15px 0;
  padding: 0 50px;
  border: none;
  color: #444;
  font-size: 55px;
  text-align: center;
}

.input-form .sure-btn {
  width: 828px;
  height: 127px;
  background: url(../_img/btn_sure.html) center no-repeat;
  background-size: contain;
  font-size: 0;
  border: none;
}

.input-form .sure-btn:hover {
  background-image: url(../_img/btn_sure_hover.html);
}

.input-form .agree {
  font-size: 45px;
  font-weight: bold;
  color: #fff100 !important;
  margin-top: 20px;
  margin-bottom: 30px;
}

.input-form .agree a {
  color: #fff100;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 991px) {
  .input-form {
    width: 80%;
    left: 10%;
  }
  .input-form input, .input-form .sure-btn {
    width: 100%;
  }
  .input-form input {
    font-size: 40px;
    height: 9vh;
    margin: 10px auto 15px auto;
  }
  .input-form .sure-btn {
    height: 10vh;
  }
  .input-form .agree {
    font-size: 4.5vw;
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

@media (max-width: 640px) {
  .input-form {
    width: 90%;
    left: 5%;
    margin-top: 14%;
  }
  .input-form input {
    font-size: 22px;
    height: 45px;
    margin: 10px auto 5px auto;
  }
  .input-form .sure-btn {
    height: 50px;
  }
  .input-form .agree {
    font-size: 4.5vw;
    margin-top: 10px;
    margin-bottom: 20px;
  }
}

input:-webkit-autofill {
  -webkit-animation-name: autofill;
  -webkit-animation-fill-mode: both;
}

/* ===================================
   card-box
==================================== */
.card-box {
  position: absolute;
  width: 88%;
  left: 6%;
  z-index: 1;
}

.js-gold .card-box, .js-silver .card-box {
  top: 9%;
}

.js-diamond .card-box {
  top: 5.8%;
}

.js-silver.select-active .card-box {
  top: 15%;
}

.js-diamond.select-active .card-box {
  top: 14.2%;
}

@media (max-width: 767px) {
  .card-box {
    width: 78%;
    left: 11%;
  }
  .js-gold .card-box, .js-silver .card-box {
    top: 9.5%;
  }
  .js-diamond .card-box {
    top: 6.2%;
  }
  .js-silver.select-active .card-box {
    top: 29%;
  }
  .js-diamond.select-active .card-box {
    top: 20.5%;
  }
}

.scratchBtn {
  background: url(../_img/tab/scratchBtn_0.png) no-repeat center;
  background-size: contain;
  display: block;
  width: 500px;
  height: 240px;
  z-index: 3;
  top: -10px;
}

.scratchBtn:hover {
  background-image: url(../_img/tab/scratchBtn_1.png);
}

.scratchBtn:focus {
  background-image: url(../_img/tab/scratchBtn_2.png);
}

.scratchBtn.go-scratch {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: tada;
  animation-name: tada;
}

@media (max-width: 991px) {
  .scratchBtn {
    width: 60%;
    padding-bottom: 29%;
    height: auto;
  }
}

@-webkit-keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }
  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }
  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.login-wrapper {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  display: none;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .login-wrapper {
    width: 86%;
  }
}

.other-login {
  background: url(../_img/tab/otherBtn_1.png) no-repeat center;
  background-size: contain;
  display: inline-block;
  width: 290px;
  height: 95px;
  float: left;
}

.other-login:hover {
  background-image: url(../_img/tab/otherBtn_2.png);
}

@media (max-width: 767px) {
  .other-login {
    width: 56%;
    height: auto;
    padding-bottom: 25%;
    margin-bottom: 0;
    float: right;
    right: -13px;
    position: relative;
  }
}

.scratchNum-wrapper {
  width: 100%;
  display: inline-block;
  position: relative;
  text-align: center;
  margin-top: 13px;
  left: -13px;
}

.scratchNum-wrapper p {
  font-weight: bold;
  display: inline-block;
}

.scratchNum-wrapper .mainNum {
  font-size: 39px;
  color: #fff;
  text-shadow: 0 0 5px #277dd6;
  letter-spacing: 1px;
  background-color: #3081e7;
  border: 5px solid #66b6ff;
  padding: 5px 15px 5px 15px;
  border-radius: 10px;
  position: relative;
}

.scratchNum-wrapper .mainNum .num {
  background: url(../_img/tab/num.png) no-repeat center;
  background-size: contain;
  width: 80px;
  height: 55px;
  line-height: 47px;
  margin-left: 10px;
  padding-right: 2px;
  font-size: 45px;
  color: #f4ea2d;
  text-align: center;
  display: inline-block;
  top: 1px;
  position: relative;
}

.scratchNum-wrapper .tipNum {
  font-size: 35px;
  color: #fff100;
  width: 80%;
  background-color: #9638ff;
  border: 5px solid #fff;
  padding: 10px 20px;
  -webkit-box-shadow: 3px 4px 0px 3px #630183;
  box-shadow: 3px 4px 0px 3px #630183;
  border-radius: 15px;
  bottom: -175px;
  display: none;
}

.scratchNum-wrapper .tipNum:before, .scratchNum-wrapper .tipNum:after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  display: block;
  border-style: solid;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.scratchNum-wrapper .tipNum:before {
  border-width: 0 35px 35px 35px;
  border-color: transparent transparent #9638ff transparent;
  top: -35px;
  z-index: 2;
}

.scratchNum-wrapper .tipNum:after {
  border-width: 0 42px 42px 42px;
  border-color: transparent transparent #fff transparent;
  top: -42px;
  z-index: 1;
}

@media (max-width: 767px) {
  .scratchNum-wrapper {
    text-align: right;
    width: 50%;
    bottom: 9%;
    left: 0;
    position: absolute;
  }
  .scratchNum-wrapper .mainNum {
    width: 100%;
    font-size: 20px;
    letter-spacing: 0;
    border-width: 3px;
    padding: 5px 3px 3px 7px;
    text-align: center;
    margin-bottom: 0;
  }
  .scratchNum-wrapper .mainNum .num {
    width: 30%;
    height: auto;
    padding-bottom: 2%;
    line-height: normal;
    font-size: 16px;
    top: -2px;
    margin-left: 2px;
    padding-right: 1px;
  }
  .scratchNum-wrapper .tipNum {
    width: 100%;
    font-size: 18px;
    border-width: 3px;
    -webkit-box-shadow: 2px 2px 0px 2px #630183;
    box-shadow: 2px 2px 0px 2px #630183;
    padding: 8px 13px;
    top: calc(100% + 10px);
    bottom: auto;
  }
  .scratchNum-wrapper .tipNum:before, .scratchNum-wrapper .tipNum:after {
    display: none;
  }
}

@media (max-width: 350px) {
  .scratchNum-wrapper .mainNum {
    font-size: 16px;
  }
  .scratchNum-wrapper .mainNum .num {
    font-size: 14px;
  }
}

.scratched-mask {
  background: url(../_img/tab/scratched.png) no-repeat center;
  background-size: contain;
  display: inline-block;
  width: 350px;
  height: 350px;
  margin-top: -10px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.25s;
  -o-transition: opacity 0.25s;
  transition: opacity 0.25s;
}

.scratched-mask.is-done {
  opacity: 1;
}

@media (max-width: 991px) {
  .scratched-mask {
    width: 35%;
    height: auto;
    padding-bottom: 35%;
    margin-top: -3px;
  }
}

/* ===================================
   card
==================================== */
.is-card {
  z-index: 1;
  -webkit-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.is-card.is-show {
  opacity: 1;
}

.card-ani {
  opacity: 1;
  z-index: 2;
}

.card-ani.is-paly {
  opacity: 1;
}

@-webkit-keyframes carAni {
  0% {
    background-image: url(../_img/card/ani-1.png);
    opacity: 1;
  }
  25% {
    background-image: url(../_img/card/ani-2.png);
    opacity: 1;
  }
  50% {
    background-image: url(../_img/card/ani-3.png);
    opacity: 1;
  }
  75% {
    background-image: url(../_img/card/ani-4.png);
    opacity: 1;
  }
  100% {
    background-image: url(../_img/card/ani-5.png);
    opacity: 1;
  }
}

@keyframes carAni {
  0% {
    background-image: url(../_img/card/ani-1.png);
    opacity: 1;
  }
  25% {
    background-image: url(../_img/card/ani-2.png);
    opacity: 1;
  }
  50% {
    background-image: url(../_img/card/ani-3.png);
    opacity: 1;
  }
  75% {
    background-image: url(../_img/card/ani-4.png);
    opacity: 1;
  }
  100% {
    background-image: url(../_img/card/ani-5.png);
    opacity: 1;
  }
}
