﻿body {
  font-family: '微軟正黑體';
  color: #FFF;
  background-color: #000000;
  background-image: url(../images/index.jpg);
  background-repeat: no-repeat;
  background-position: center top;
}
#wrap {
  width: 1200px;
  height: 1510px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}
.slogan {
  background: url(../images/slogan.png);
  width: 640px;
  height: 247px;
  position: relative;
  z-index: 50;
  top: -64px;
  left: 37%;
  ;
  -webkit-animation: float ease-in-out 1.5s infinite;
  animation: float ease-in-out 1.5s infinite;
  -moz-animation: float ease-in-out 1.5s infinite;
  -ms-animation: float ease-in-out 1.5s infinite;
  margin-top: -60px;
}
.logo {
  position: absolute;
  width: 320px;
  height: 206px;
  display: block;
  top: 16px;
  left: 3%;
  margin-left: 15px;
  cursor: pointer;
  z-index: 99;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
}
h4 {
  margin: 0;
  padding: 0;
  color: #fff291;
  font-size: 15px;
  margin-left: -15px;
  margin-right: -13px;
}
/*---------------------------
	內容 CONTENT
----------------------------*/
.content {
  position: relative;
  top: 150px;
  /* left: 160px; */
  width: 1200px;
  height: 1010px;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}
.monkey {
  position: absolute;
  background: url(../images/monkey.png) no-repeat;
  width: 492px;
  height: 694px;
  top: -68px;
  left: -11px;
}
.block {
  margin: 0 auto;
}
.username {
  position: absolute;
  color: #ffca00;
  border-radius: 6px;
  font-size: 29px;
  font-weight: 700;
  background: #002a18ad;
  width: 60%;
  height: 55px;
  margin: 0 auto;
  padding-top: 20px;
  padding-left: 32px;
  top: -93px;
  left: 226px;
}
.username span {
  font-size: 20px;
  margin-left: 257px;
  color: antiquewhite;
  font-weight: 500;
}
/*---------------------------
	骰子 dice
----------------------------*/
.dice_area {
  margin: 0 auto;
  width: 850px;
  height: 300px;
  background-color: #002a18c7;
  border-radius: 6px;
  margin-bottom: 300px;
  position: relative;
  top: 20px;
}
.play_o {
  width: 150px;
  height: 150px;
  position: relative;
  left: 92px;
  top: 70px;
}
.role01 {
  position: absolute;
  width: 15%;
  height: 29px;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  border-radius: 20px;
  top: 18px;
  left: 129px;
  padding-top: 7px;
  background-color: #589f42;
}
.role02 {
  position: absolute;
  width: 15%;
  height: 29px;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  border-radius: 20px;
  top: 18px;
  left: 569px;
  padding-top: 7px;
  background-color: #589f42;
}
.bureau {
  width: 400px;
  height: 140px;
  margin-top: 169px;
  margin-left: 2px;
  background-color: #08492dc7;
  border-radius: 6px;
  padding: 20px;
  position: absolute;
}
.bureau ul {
  margin: 0 auto;
  line-height: 2.5;
  text-align: center;
}
.bureau li {
  margin-top: 2px;
  font-size: 18px;
}
.result_01 {
  background-color: #a50909;
  width: 30px;
  height: 40px;
  float: right;
  font-size: 16px;
}
.result_02 {
  background-color: #353535;
  width: 30px;
  height: 40px;
  float: right;
  font-size: 16px;
}
.result_03 {
  background-color: #c9a34c;
  width: 30px;
  height: 40px;
  float: right;
  font-size: 16px;
}
.show_results {
  position: absolute;
  background: url(../images/win.png) no-repeat;
  width: 150px;
  height: 150px;
  left: -213px;
  top: -50px;
  animation: bounceIn .8s both 0.7s;
}
@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
.bounceIn {
  animation-duration: 0.75s;
  animation-name: bounceIn;
}
.times {
  font-size: 20px;
  color: #eefda0;
  margin-top: 70px;
  margin-left: 20px;
}
/*----Play----*/
.play {
  position: absolute;
  left: 540px;
  top: 70px;
}
.btn_play, .btn_share {
  position: absolute;
  width: 209px;
  top: 310px;
  cursor: pointer;
}
.dice {
  width: 200px;
  height: 200px;
  display: inline-block;
  background: url(../images/dice.png) no-repeat;
  background-color: #000000ba;
  border-radius: 10px;
}
.dice_1 {
  background-position: 0px 0px
}
.dice_2 {
  background-position: 0px -200px
}
.dice_3 {
  background-position: 0px -400px
}
.dice_4 {
  background-position: 0px -600px
}
.dice_5 {
  background-position: 0px -800px
}
.dice_6 {
  background-position: 0px -1000px
}
.dice_t {
  background-position: 0px -1200px
}
.dice_s {
  background-position: 0px -1400px
}
.dice_e {
  background-position: 0px -1600px
}
p#result {
  position: relative;
  text-align: center;
  font-size: 20px;
  top: -202px;
  left: -213px;
}
p#result span {
  font-weight: bold;
  color: #ffd535;
  margin: 22px
}
#dice_mask {
  width: 100px;
  height: 100px;
  background: #fff;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999
}
/*---------------------------
	
----------------------------*/
.date h1 {
  font-size: 16px;
  font-weight: bold;
  color: #FFF;
}
h3 {
  color: #ffffff;
  line-height: 30px;
}
.collar {
  background: url(../images/done.png);
  width: 90px;
  height: 90px;
  top: 20px;
  left: 25px;
  position: absolute;
}
.date {
  text-align: center;
  border-radius: 20px;
  line-height: 28px;
  font-size: 13px;
  display: block;
  position: relative;
  top: 14px;
  color: #ffe76f;
}
.props {
  text-align: center;
  height: 60px;
  line-height: 20px;
  overflow: hidden;
  font-weight: bold;
  font-size: 14px;
  color: #e1e1e1;
  margin-top: 35px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}
.remarks {
  width: 1000px;
  height: 350px;
  margin: 30px auto;
}
.remarks p {
  font-size: 24px;
  color: #FFF;
  margin-top: 20px;
  text-align: right;
}
.remarks h2 {
  color: #ffc355;
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}
.remarks ul li {
  list-style-type: decimal;
  line-height: 35px;
  color: #fff8df;
}
/*---------------------------
	按鈕 BTN
----------------------------*/
.btn01 a {
  background: url(../images/btn01.png);
  width: 76px;
  height: 26px;
  display: block;
  margin: 0 auto;
  position: absolute;
  top: 115px;
  left: 37px;
  transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
}
.btn01 a:hover {
  -webkit-filter: brightness(1.5);
  filter: brightness(1.5);
}
.btn01_b a {
  background: url(../images/btn01_b.png);
  width: 76px;
  height: 26px;
  display: block;
  margin: 0 auto;
  position: absolute;
  left: 37px;
  top: 115px;
}
/* ===scroll=== */ ::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.0);
  background: rgba(0, 0, 0, 0.0);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 1px 1px 6px 2px rgba(255, 255, 255, 0.9);
}
.btn {}
.btn a:hover {
  margin-bottom: 10px;
}
/*---------------------------

/*----Footer----*/
.customer {
  margin-top: 20px;
}
#footer {
  position: relative;
  width: 100%;
  color: #fff;
  background: #003509;
  padding: 15px 0;
  font-size: 12px;
  z-index: 2;
}
#footer table {
  margin: 0 auto;
}
#footer table td {
  padding-right: 8px;
}
#footer .copyright {
  padding-right: 20px;
  line-height: 20px;
}
#footer .grading {
  list-style: none;
  font-size: 10px;
  line-height: 18px;
}
#footer_sp {
  display: none;
}
/*---------------------------
	IE提示
----------------------------*/
#alert-ie8 {
  background: rgba(0, 0, 0, 0.6);
  background: url(../images/bg.png)\0;
  clear: both;
  display: block;
  font-size: 15px;
  height: 20px;
  letter-spacing: 1px;
  padding: 5px;
  position: fixed;
  text-align: center;
  top: 0px;
  width: 100%;
  z-index: 1000;
  left: 50%;
  margin-left: -50%;
  color: #FFF;
}
#alert-ie8 a:link, #alert-ie8 a:visited {
  color: #FC3;
}
#alert-ie8 a:hover {
  color: #FF0;
}
#alert-ie8 strong {
  color: #F00;
}