*{
	margin: 0;
	padding: 0;
	font-family: 'Microsoft JhengHei';
	letter-spacing:1.5px;	
}
a{
	color:#FFF;
	cursor:pointer;
	text-decoration:none;
}
#css_table {
	margin: auto;
	width: 96%;
	margin: 5% 0;
	display:table;
	/*border: solid 1px #000;*/
}
#css_table img{
	width: 100%;
}
.css_tr .title{
	background: rgba(255,94,153,.8);
	color: #fff;
}
.css_tr .date {
	text-align: center;
}
.css_tr {
	background: rgba(255,255,255,.5);
	display: table-row;
}
.css_td {
	border-radius: 10px; 
	-webkit-border-radius: 10px; 
	-moz-border-radius: 10px; 
	vertical-align:middle;
	padding: 1% 3%;
	display: table-cell;
	border-bottom: solid 1px rgba(0,0,0,.15); 
}

body{
	/*min-height: 910px;*/
	background-image:url(../images/bg.jpg);
	background-position:top center;
	margin:0;
	background-color:#fff;
}
#wrapper {
	width:100%;	
}
.index_bg{
	background-image: url(../images/index_bg.jpg);
	background-position: top center;
	background-size: auto ;
	background-repeat: no-repeat;
	background-attachment: initial;
	background-color:#fff;
}
ul.nav_btn {
	list-style-type: none;
	position:fixed;
	width:100%;
	z-index:999;
	top:0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color:rgba(255,94,153,.9);
}

ul.nav_btn li {float: left;}

ul.nav_btn li a {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 13px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 18px;
}

ul.nav_btn li a:hover {text-shadow: 0px 0px 20px #fff,0px 0px 20px #fff,0px 0px 20px #fff;}

ul.nav_btn li.icon {display: none;	background-color:rgba(255,94,153,.9);}

#nav ul li a.active{
	color:#fff;
	text-shadow: 0px 0px 20px #fff,0px 0px 20px #fff,0px 0px 20px #fff; 
}

.menu{
	position:absolute;
	top:630px;
	left:50%;
	margin-left:0px;
	width:345px;
	height:170px;	
}
.menu a{
	float:left;
	width:345px;
	height:170px;	
	/*-moz-transition:margin-top .2s ease-out;
	-webkit-transition:margin-top .2s ease-out;
	-o-transition:margin-top .2s ease-out;
	-ms-transition:margin-top .2s ease-out;*/
  -webkit-transition: all 0.3s linear;
          transition: all 0.3s linear;
  -webkit-transform: scale3d(0.9, 0.9, 0.9);
          transform: scale3d(0.9, 0.9, 0.9);
}
.menu a:hover{
	/*margin-top:-10px;*/
  -webkit-transform: scale3d(1, 1, 1);
          transform: scale3d(1, 1, 1);
}
.btn_01{
	background-image:url(../images/menu_01.png);
}
.main{
	display:block;
	margin:0 auto;
}
.about,.gift{
	margin: 100px auto 0 13px;
}
.about ul,.gift ul{
	list-style:circle;
}
.about ul li,.gift ul li{
	font-size:18px;
	letter-spacing: 1.5px;
	line-height:36px;
	padding-left: 12px;
	margin-bottom:30px;
	list-style: none;
}
.about h4,.gift h4{
	font-size: 22px;
	text-align: center;
	width: auto;
	height: 35px;
	line-height: 35px;
	color: #fff;
	padding: 5px 0;
	font-weight: normal;
	background: #ff5e99;
	letter-spacing: 2px;
	margin-bottom: 15px;
	border-radius: 10px; 
	-webkit-border-radius: 10px; 
	-moz-border-radius: 10px; 
}

.gift ol{
	margin: 20px 0;
}

.gift ol h4{
	font-size: 22px;
	padding: 5px 0;
}

.gift ol li{
	font-size:18px;
	letter-spacing: 2px;
	line-height:25px;
	margin:20px 0 80px 25px;
	list-style-image: url(../images/list.gif);
}


#about,#rule,#play,#gift{
	width:900px;
	padding:80px 2.5% 80px 2.5%; 
	margin:0 auto;

}
#result{
	position:absolute;
	left:47.5%;
	top:calc(50% - 260px);
	margin-left:-450px;
	width:900px;
	padding:80px 2.5% 80px 2.5%; 
}
#rule ul{
	margin:0;
	font-size:18px;
	list-style:circle;
	list-style:cjk-ideographic;
	padding:20px 50px 0 50px;
}
#rule ul li{
	margin-bottom:40px;
	line-height:36px;
}
#result h1{
	margin:0 auto 50px auto;
	text-indent:-9999px;
	width:800px;
	height:192px;
	display:block;
	background-size:contain;
	background-image:url(../images/result_title.png);
	background-repeat:no-repeat;
}
#about h1{
	margin:20px auto 40px auto;
	text-indent:-9999px;
	width:400px;
	height:96px;
	display:block;
	background-size:contain;
	background-image:url(../images/about_title.png);
	background-repeat:no-repeat;
}
#gift h1{
	margin:20px auto 40px auto;
	text-indent:-9999px;
	width:400px;
	height:96px;
	display:block;
	background-size:contain;
	background-image:url(../images/gift_title.png);
	background-repeat:no-repeat;
}
#play h1{
	margin:20px auto 40px auto;
	text-indent:-9999px;
	width:400px;
	height:96px;
	display:block;
	background-size:contain;
	background-image:url(../images/play_title.png);
	background-repeat:no-repeat;
}
#play h3{
	margin:10px auto 40px auto;
	color:#512a2f;
	text-align:left;
	font-size: 26px;
	font-weight: 100;
	line-height: 40px;
	letter-spacing:3px;
}
#play img{
    -webkit-border-radius: 30px 30px 0 0;
    -moz-border-radius: 30px 30px 0 0;
    border-radius: 30px 30px 0 0;
}
#rule h1{
	margin:20px auto 40px auto;
	text-indent:-9999px;
	width:400px;
	height:96px;
	display:block;
	background-size:contain;
	background-image:url(../images/rule_title.png);
	background-repeat:no-repeat;
}

form h1{
	color:#ff5e99;	
}
form p{
	margin:0;
	color:#333;
	font-size:18px;
	line-height:18px;
}
form h4{
	border:#ff5e99 1px solid;
	background-color:rgba(255,255,255,0.4);
	-webkit-border-radius: 20px;
	   -moz-border-radius: 20px;
			border-radius: 20px;
	padding:6px 0;
	letter-spacing:5px;
	text-align:center;
	margin:10px 0;
	color:#ff5e99;	
}
form h4.sel{
	color:#fff;
	border:#ff5e99 1px solid;	
}
form a{
	float:left;
	width:20%;
	padding:5% 1.5% 2.5% 1.5%;
	height:100%;
	margin:0 1%;
}
form img{
	border-radius: 30px 30px 0px 0px; 
	-webkit-border-radius: 30px 30px 0px 0px; 
	-moz-border-radius: 30px 30px 0px 0px; 
}
.form-group .warn{
	margin-left: 5px;
	line-height:18px;
	font-size:15px;
	color:#ff5e99;
	float:right;
}
#play ul{
	list-style:none;
	margin:0;
	padding:0;	
}
input{
	height:18px;
	margin:0 0;
	width:100%;	
}
label{
	font-size:18px;
	letter-spacing:0.1em;
	float:left;
}
.info{
	color:#222;
	width:90%;
	float:left;
	padding:30px 5.01% 50px 5.01%;
	margin-bottom: 20px;
	/*border:#ff5e99 1px solid;*/
	background-color:rgba(255,255,255,0.5);
	-webkit-border-radius: 0 0 30px 30px;
	   -moz-border-radius: 0 0 30px 30px;
			border-radius: 0 0 30px 30px;
}
.fix{
	margin:0;
	width:auto;
}
.g-recaptcha {
	clear: both;
		margin:30px 0 0 0;
}
.form-control{
	float:left;
	width:98%;
	height:20px;
	padding:5px 1% 5px 1%;
	margin:10px auto 10px auto;
	border:#ccc 1px solid;	
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
			border-radius: 5px;
}
button,#submit{
	display: block;
	margin: 15px auto;
	padding: 15px 50px;
	width:auto;
	cursor:pointer;
	letter-spacing:3px;
	font-size:25px;
	font-weight:bold;
	border:0;
	background-color:#ff5e99;
	color:#FFF;
	height:auto;
	-webkit-border-radius: 40px;
	   -moz-border-radius: 40px;
			border-radius: 40px;
}
.start{
	display:none;	
}
#form{
	padding-bottom:80px;	
}
#footer{
	background-color:rgba(255,94,153,.9);
	position:fixed;
	bottom:0;
	width:100%;
	height:40px;
	line-height:40px;
	font-size:15px;
	color:#FFF;
	text-align:center;
}
.fb-like{
	top:-10px;
	z-index:999;
	/*position:absolute;*/
	margin-left:10px;
}
#scrolldown{
	display:none;	
}
@media(max-width:1023px){

	#about,#rule,#play,#gift{
		float:left;
		width:90%;
		padding:1% 5% 8% 5%; 
		margin:0 auto;
	}
	#result{
		position:absolute;
		left:0;
		top:calc(50% - 180px);
		margin-left:0;
		background-image:inherit;
		width:85%;
		padding:80px 7.5% 80px 7.5%; 
	}
	#about h1,#gift h1{
		margin:80px auto 0 auto;
		text-indent:-9999px;
		width:100%;
		display:block;
		background-size:contain;
		background-position:top center;
		background-image:url(../images/about_title.png);
		background-repeat:no-repeat;
	}
	#about ul,#gift ul{
		padding: 0;
	}
	#about ul li,#gift ul li {
		margin: 0 auto 8% auto;
	}
	#about span{
		font-size:18px;
		float:left;
		width:100%;
		letter-spacing:2px;
		background-color:#ff5e99;
		color:#FFF;
		padding:2% 0;
		text-align:center;
		margin:0;
		-webkit-border-radius: 30px;
		   -moz-border-radius: 30px;
				border-radius: 30px;
	}
	#about p,#gift p{
		padding:3%;
		float:left;
	}
	#result{
		position:absolute;
		top:calc(50% - 250px);
	}
	#result h1{
		margin:0 auto;
		width:100%;
		height: 100px;
		background-position: center;
	}
	#play h1{
		margin:80px auto 0 auto;
		text-indent:-9999px;
		width:100%;
		display:block;
		background-size:contain;
		background-position:top center;
		background-image:url(../images/play_title.png);
		background-repeat:no-repeat;
	}
	#rule h1{
		margin:80px auto 0 auto;
		text-indent:-9999px;
		width:100%;
		display:block;
		background-size:contain;
		background-position:top center;
		background-image:url(../images/rule_title.png);
		background-repeat:no-repeat;
	}
	#rule ul{
		padding:0px 50px 0 50px;
	}
	#play h3{
		margin:0 auto 20px auto;
		color:#111;
		text-align:left;
		font-size:20px;
		line-height:30px;
		letter-spacing:2px;
	}
	.fix{
		width:100%;
	}
}
@media(max-width:768px){
	.index_bg{
		min-width: 100%;
		min-height: 100vh;
		background-size: auto;
		background-image:url(../images/index_m.jpg);
		background-position:top center;
		background-repeat: no-repeat;
		margin:0;
		background-color:#d7ab9f;
	}

	ul.nav_btn{
		background-color:rgba(255,94,153,.9);
	}
	ul.nav_btn li:not(:first-child) {display: none;}
	ul.nav_btn li{
		height:54px;
	}
	ul.nav_btn li.icon {
		float: right;
		display: inline-block;
	}
	ul.nav_btn li a{
		padding:15px 20px;
		letter-spacing:3px;
		font-size:20px;
	}
	ul.nav_btn.responsive {
		position:fixed;
	}
	ul.nav_btn.responsive li.icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	ul.nav_btn.responsive li {
		float: none;
		display: inline;
	}
	ul.nav_btn.responsive li a {
		display: block;
		text-align: center;
	}
	.info{
		float:left;
		width:80%;
		padding:10%;
		margin-bottom: 10px;
	}
	.menu{
		display:none;	
	}
	.start{
		font-weight: bolder;
		left: 50%;
		font-size: 32px;
		letter-spacing: 5px;
		border: 0;
		width: 350px;
		height: 80px;
		float: left;
		margin: 115% -175px 30px;
		display: block;
		position: absolute;
	}
	.g-recaptcha {
		max-width:200px;
		float:left;
		margin-top:10px;
		transform:scale(0.82);
		-webkit-transform:scale(0.82);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}
	button,#submit{
		letter-spacing:2.5px;
		font-size:20px;
	}
	form a{
		float:left;
		width:88%;
		padding:2% 6%;
		margin:3% 1%;
	}
	.item input{
		margin-left:45.5%;
		height:25px;
		float:left;
		width:25px;;
	}
	form h4{
		font-size:18px;
		-webkit-border-radius: 30px;
		   -moz-border-radius: 30px;
				border-radius: 30px;
		padding:8px 0;
		width:100%;
		border:#ff5e99 1px solid;
		letter-spacing:5px;
		text-align:center;
		color:#ff5e99;	
		float:left;
	}
	form p{
		line-height:25px;
		text-align:center;
		font-size:18px;
		width:100%;
		float:left;	
	}
	.form-control{
		width:90%;
		padding:3% 5% 3% 5%;
	}
	#scrolldown{
		text-align:center;
		position:fixed;
		bottom:0;
		z-index:999;
		height:50px;
		line-height:50px;
		width:100%;
		background-color:rgba(255,255,255,0.8);	
	}
	#footer{
		display:none;	
	}
}

@media(max-width:500px){
	.index_bg{
		overflow: hidden;
		background-position: top;
		background-size: cover;
		background-image:url(../images/index_s.jpg);
	}
	.start{
		font-weight: bolder;
		left: 50%;
		font-size: 26px;
		letter-spacing: 5px;
		border: 0;
		width: 230px;
		height: 70px;
		float: left;
		margin: 75vh -115px;
		display: block;
		position: absolute;
	}
}