@charset "utf-8";
html {
	-webkit-font-smoothing: antialiased;
	font-family: "微軟正黑體", "微软雅黑", "Microsoft JhengHei", "新細明體", "PMingLiu", AppleGothic, Dotum, Lucida Grande, Verdana Sana-serif;
}
#wrapper {
	background: url(../images/bg.gif) top center no-repeat;
	position: relative;
	width:100%;
	min-height: 100%;
	*display: table; /* For IE7 Hack */
	*height: 100%; /* For IE7 Hack */
}

/* header */
#logo-bar {
	width:980px;
	height:56px;
	background: url(../images/logo.gif) 0 0 no-repeat;
	margin:0 auto;
}

.submenu {
	width:320px;
	height:20px;
	font-size:12px;
	letter-spacing:1px;
	margin-top:30px;
	float:right;
	text-align:center;
}
.submenu a { color:#fff;}
.submenu > a:hover { border-bottom:1px solid #E6F6F9;}
.submenu span {
	font-size:10px;
	margin:0 5px 0;
	color:#135d9b;
}

#header {
	background:url(../images/topbg.jpg) top center no-repeat;
	width:1280px;
	margin:0 auto;
}
.title {
	background:url(../images/title.png) bottom center no-repeat;
	width:100%;
	height:210px;
	text-indent:-9999px;
}
.mainshow {
	width: 100%;
	height: 580px;
	position: relative;
	z-index: 1;
}
.npBox {
	display:inline-block;
	float:left;
	width:250px;
	height:520px;
	margin:0 35px;
	position:relative;
}
.npBox > span > img { width:100%; height:16px;}
.npBox > ul {
	list-style:circle;
	width:75%;
	padding-top:380px;
	margin:0 auto;
}
.npBox > ul > li {
	padding:2px;
	width:100%;
	font-size:1em;
	font-weight:600;
	float:left;
}
#stf > a:hover, #rmb > a:hover, #gold > a:hover, #topix > a:hover {
	-webkit-animation-play-state:paused;
	animation-play-state:paused;
}

#stf > a {
	background:url(../images/stf.png) center center no-repeat;
	width:220px;
	height:250px;
	text-indent:-9999px;
	position:absolute;
	top:60px;
	left:15px;
	-webkit-animation:stfBox 4s infinite;
	animation:stfBox 4s infinite; 
}
@-webkit-keyframes stfBox{
  0%,100%{
	  top:60px;
  }
  50%{
    top:20px;
  }
}

#stf > span {
	width:128px;
	position:absolute;
	top:350px;
	left:55px;
	-webkit-animation:stfshadow 4s infinite;
	animation:stfshadow 4s infinite; 
}
@-webkit-keyframes stfshadow{
  0%,100%{
    left:55px;
    width:128px;
  }
  50%{
    left:74px;
    width:90px;
  }
}

#stf > ul > li { color:#1ca5e2;}

#rmb > a {
	background:url(../images/rmb.png) center center no-repeat;
	display:block;
	width:220px;
	height:250px;
	text-indent:-9999px;
	position:absolute;
	top:90px;
	left:15px;
	-webkit-animation:rmbBox 3s infinite;
	animation:rmbBox 3s infinite; 
}
@-webkit-keyframes rmbBox{
  0%,100%{
	  top:90px;
  }
  50%{
    top:70px;
  }
}

#rmb > span {
	display:block;
	width:220px;
	height:20px;
	position:absolute;
	top:350px;
	left:10px;
	-webkit-animation:rmbshadow 3s infinite;
	animation:rmbshadow 3s infinite; 
}
@-webkit-keyframes rmbshadow{
  0%,100%{
    left:10px;
    width:220px;
  }
  50%{
    left:40px;
    width:170px;
  }
}

#rmb > ul > li { color:#ba0606;}
.rmblottery > a {
	background:url(../images/rmb_button.gif) top center no-repeat;
	display:block;
	float:left;
	width:100%;
	text-indent:-9999px;
	height:72px;
	margin-top:10px;
	margin-bottom:20px;
}
.rmblottery > a:hover { background:url(../images/rmb_button.gif) bottom center no-repeat;}
#lottery1, #lottery2, #hide, #hide2 { cursor: pointer;}
#rmbbox {
	background-color:#FFFFFF;
	position:absolute;
	display:none;
	top:30px;
	left:20%;
	width:700px;
	height:500px;
	border:6px solid #A42426;
	overflow: auto;
	z-index:100;
}
#hide {
	display:block;
	background-color:#A42426;
	color:#FFFFFF;
	width:160px;
	height:40px;
	line-height:32px;
	text-align:center;
	font-size:1.2em;
	letter-spacing:0.1em;
	font-weight:600;
	border-radius:0 0 20px 0;
}
#hide:hover { color: #FFEF1E;}
.more {
	display:block;
	padding:10px;
	margin-bottom:20px;
	text-align:center;
	color:#0F83BC;
}
.more:hover { color: #DF191C;}

#gold > a {
	background:url(../images/gold.png) center center no-repeat;
	display:block;
	width:240px;
	height:240px;
	text-indent:-9999px;
	position:absolute;
	top:80px;
	left:15px;
	-webkit-animation:goldBox 3.5s infinite;
	animation:goldBox 3.5s infinite; 
}
@-webkit-keyframes goldBox{
  0%,100%{
	  top:80px;
  }
  50%{
    top:50px;
  }
}

#gold > span {
	display:block;
	width:180px;
	height:20px;
	position:absolute;
	top:350px;
	left:40px;
	-webkit-animation:goldshadow 3.5s infinite;
	animation:goldshadow 3.5s infinite; 
}
@-webkit-keyframes goldshadow{
  0%,100%{
    left:40px;
    width:180px;
  }
  50%{
    left:80px;
    width:110px;
  }
}

#gold > ul > li { color:#df8608;}
.goldlottery > a {
	background:url(../images/gold_button.gif) top center no-repeat;
	display:block;
	float:left;
	width:100%;
	text-indent:-9999px;
	height:72px;
	margin-top:30px;
	margin-bottom:20px;
}
.goldlottery > a:hover { background:url(../images/gold_button.gif) bottom center no-repeat;}
#goldbox {
	background-color:#FFFFFF;
	position:absolute;
	display:none;
	top:30px;
	left:20%;
	width:700px;
	height:530px;
	border:6px solid #FF9C0E;
	overflow: hidden;
	z-index:100;
}
#hide2 {
	display:block;
	background-color:#FF9C0E;
	color:#FFFFFF;
	width:160px;
	height:40px;
	line-height:32px;
	text-align:center;
	font-size:1.2em;
	letter-spacing:0.1em;
	font-weight:600;
	border-radius:0 0 20px 0;
}
#hide2:hover { color: #BF0E34;}

#topix > a {
	background:url(../images/topix.png) center center no-repeat;
	display:block;
	width:212px;
	height:212px;
	text-indent:-9999px;
	position:absolute;
	top:0;
	left:16px;
	-webkit-animation:topixBox 4s infinite;
	animation:topixBox 4s infinite; 
}
@-webkit-keyframes topixBox{
  0%,100%{
	  top:0;
  }
  50%{
    top:40px;
  }
}

#topix > span {
	display:block;
	width:100px;
	height:20px;
	position:absolute;
	top:350px;
	left:70px;
	-webkit-animation:topixshadow 4s infinite;
	animation:topixshadow 4s infinite; 
}
@-webkit-keyframes topixshadow{
  0%,100%{
    left:70px;
    width:100px;
  }
  50%{
    left:40px;
    width:160px;
  }
}

#topix > ul > li { color:#2a52c4;}


/* main */
#container {
	background:url(../images/bg.jpg) bottom center no-repeat;
	width:1280px;
	height:180px;
	margin:0 auto;
	padding-bottom:110px;
}
.date {
	display:block;
	width:462px;
	margin:0 auto;	
}
.date {
	display:block;
	width:462px;
	margin:0 auto;
}
.taifex {
	display:block;
	width:462px;
	margin:20px auto;	
}


/* footer */
.footer {
	background:url(../images/footer.gif) 0 0 repeat-x;
	width:100%;
	height:110px;
	box-sizing: border-box;
}
.footer p {
	color:#FFFFFF;
	width:980px;
	margin:0 auto;
	font-size:14px;
	letter-spacing:1px;
	line-height:21px;
	text-align:left;
	padding:16px;
}
.footer p > span {
	display:block;
	text-align:center;
	margin-top:10px;
}
