
#footpanel {
	position: fixed;
	/*bottom: 0; */
	top: 0px;
	left: 0;
	z-index: 9999; /*--Keeps the panel on top of all other elements--*/
	background: #ffffff; /*e3e2e2*/
	border: 1px solid #bbb; /*c3c3c3*/
	/*border-bottom: none;*/
	width: 100%;
	margin: 0 0%;
	background: url(../includes/images/toolbar/bg.png) repeat-x center center;
}
 
*html #footpanel { /*--IE6 Hack - Fixed Positioning to the Bottom--*/
	/*margin-top: -1px;/ /*--prevents IE6 from having an infinity scroll bar - due to 1px border on #footpanel--*/
	margin-top:0px;
	position: absolute;
	/*top:expression(eval(document.compatMode &&document.compatMode=='CSS1Compat') ?documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));*/
	top:0px;
}

#slogan{
	margin-top: 35px; /*為了讓頭兩標現身*/
}
	
#footpanel ul {
	padding: 0; margin: 0;
	float: left;
	width: 100%;
	list-style: none;
	/*border-top: 1px solid #fff;*/ /*--Gives the bevel feel on the panel--*/
	font-size: 1.1em;
}
#footpanel ul li{
	padding: 0; margin: 0;
	float: right;
	position: relative;
	z-index:10005;
}

#footpanel ul li#playsport{
	padding-left: 10px; margin: 0;
	float: left;
	position: relative;
	padding-bottom:2px;	
	}
#footpanel a.playsport{	
	background: url(../includes/images/toolbar/headlogo.png) no-repeat center;
	width: 50px;
	padding-left: 0px;
	margin-top:0px;
	padding-top:0px;	
	height: 20px;
	text-indent: 0; /*--Reset text indent--*/
}


ul li#admsg{
	padding-left: 10px; margin: 0;
	float: left;
	position: relative;
	padding-bottom:2px;	
	}

#footpanel a.admsg{	
	padding-left: 0px;
	margin-top:0px;
	padding-top:0px;	
	height: 20px;
	text-indent: 0; /*--Reset text indent--*/
}	



#footpanel ul li#playlottery{
	padding: 0; margin: 0;
	float: left;
	position: relative;
}
#footpanel a.playlotto{	
	background: url(../includes/images/toolbar/headlogo_lotto.png) no-repeat center;
	width: 50px;
	padding-left: 0px;
	margin-top:0px;
	padding-top:0px;	
	height: 20px;
	text-indent: 0; /*--Reset text indent--*/
}

#footpanel ul li a{
	padding: 5px;
	float: left;
	/*text-indent: -9999px;*/
	height: 16px; /*width: 16px;*/
	text-decoration: none;
	color: #6e6a5f; /*2031b3*/
	position: relative;
	z-index:10005;
	
}
html #footpanel ul li a:hover{	
/*	background-color: #fff;*/
color: #0066FF;
text-decoration: none;
}
html #footpanel ul li a.active { /*--Active state when subpanel is open--*/
	background-color: #fff;
	height: 17px;
	/*margin-top: -2px;*/ /*--Push it up 2px to attach the active button to subpanel--*/
	margin-bottom: -2px;
	border: 1px solid #555;
	border-top: none;
	z-index: 200; /*--Keeps the active area on top of the subpanel--*/
	position: relative;
}
 

 
#footpanel a.home{	
	background: url(../includes/images/toolbar/home.png) no-repeat 15px center;
	width: 100px;
	padding-left: 40px;
	border-right: 1px solid #bbb;
	text-indent: 0; /*--Reset text indent--*/


}

#footpanel a.name{	
	/*width: 140px;*/
	text-indent: 0;
		border-right: 1px solid #bbb;
		padding-right:10px;
		text-align:right;
}
*html #footpanel a.name{ /*IE6 hack*/
	margin-top:3px;
}
*+html #footpanel a.name{ /*IE7 hack*/
	margin-top:3px;
}

a.profile{
position:absolute;
z-index: 10005;
}
*html a.profile{ /*IE6 hack*/
	margin-top:3px;
	z-index: 10005;
}
*+html a.profile{ /*IE7 hack*/
	margin-top:3px;
	z-index: 10005;
}

a.toolbar_submenu{}
*html a.toolbar_submenu{/*IE6 hack*/
	margin-top:3px;
}
*+html a.toolbar_submenu{ /*IE7 hack*/
	margin-top:3px;
}


a.alerts{	background: url(../includes/images/toolbar/newspaper.png) no-repeat center center;	 }
 
#footpanel li#chatpanel, li#predictpanel,#footpanel li#alertpanel {	float: right; }  /*--Right align the chat and alert panels--*/
 
#footpanel a small {  /*--panel tool tip styles--*/
	text-align: center;
	width: 70px;
	background: url(../includes/images/toolbar/pop_arrow_2.gif) no-repeat center bottom;
	padding: 15px 15px 6px;
	display: none; /*--Hide by default--*/
	color: #fff;
	font-size: 1em;
	text-indent: 0;
}
#footpanel a:hover small{
	display: block; /*--Show on hover--*/
	position: absolute;
	/*top: -35px;*/ /*--Position tooltip 35px above the list item--*/
	bottom: -32px;
	left: 50%; 
	margin-left: -55px; /*--Center the tooltip--*/
	z-index: 9999;
}
 
 
 
 
 
#footpanel ul li div a { /*--Reset link style for subpanel links--*/
	text-indent: 0;
	width: auto;
	height: auto;
	padding: 0;
	float: none;
	color: #00629a;
	position: static;
}
#footpanel ul li div a:hover {	text-decoration: underline; } /*--Reset link style for subpanel links--*/
 
#footpanel .subpanel {
	position: absolute;
	/*left: 0; */
	right:0;
	margin-right:5px;
	/*bottom: 27px;*/
	top: 27px;
	display: none;	/*--Hide by default--*/
	width: 310px;
	border: 1px solid #555;
	background: #fff;
	overflow: hidden;
	padding-bottom: 2px;
}
*html #footpanel .subpanel { /*IE6 hack*/
	margin-right:10px;
	top:33px;
}

#footpanel .subpanel_predict {
	position: absolute;
	/*left: 0; */
	right:0;
	margin-right:5px;
	/*bottom: 27px;*/
	top: 27px;
	display: none;	/*--Hide by default--*/
	width: 310px;
	border: 1px solid #555;
	background: #fff;
	overflow: hidden;
	padding-bottom: 2px;
}
*html #footpanel .subpanel_predict { /*IE6 hack*/
	margin-right:10px;
	top:33px;
}


#footpanel h3 {
	background: #526ea6;
	/*background: #0066ff;*/
	padding: 2px 10px;
	color: #fff;
	font-size: 1.1em;
	cursor: pointer;	text-align: left;	margin: 14px 0 14px 0;
}
#footpanel h3 span { 
	font-size: 1.5em;
	float: right;
	line-height: 0.6em;	
	/*font-weight: normal;*/
}
#footpanel .subpanel ul{
	padding: 0; margin: 0;
	background: #fff;
	width: 100%;
	overflow: auto;
	
}
#footpanel .subpanel li{ 
	float: none; /*--Reset float--*/
	display: block;
	padding: 0; margin: 0;
	overflow: hidden;
	clear: both;
	background: #fff;
	position: static;  /*--Reset relative positioning--*/
	font-size: 0.9em;
}
 
 /*== 回文通知 ==*/
 #footpanel a.chat{	
	background: url(../includes/images/toolbar/balloon.png) no-repeat 15px center;
	width: 30px;
	/*border-left: 1px solid #bbb;*/
	border-right: 1px solid #bbb;
	padding-left: 10px;
	margin-right: 5px;
	text-indent: 0; /*--Reset text indent--*/
}
*html #footpanel a.chat{ /*IE6 hack*/
	margin-top:3px;
}

*+html #footpanel a.chat{ /*IE7 hack*/
	margin-top:3px;
}


 /*== 購牌清單 ==*/
 #footpanel a.predict{	
	background: url(../includes/images/toolbar/balloon.png) no-repeat 15px center;
	width: 30px;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
	padding-left: 10px;
	/*margin-right: 50px;*/
	text-indent: 0; /*--Reset text indent--*/
}
*html #footpanel a.predict{ /*IE6 hack*/
	margin-top:3px;
}

*+html #footpanel a.predict{ /*IE7 hack*/
	margin-top:3px;
}


#chatpanel .subpanel li { 
	background: url(../includes/images/toolbar/dash.gif) repeat-x left center; 
} 
#chatpanel .subpanel li span.facebook {
	padding: 7px;
	background: #fff;
	color: #666;
	font-size:14px;
	font-weight:bold;
	/*float: left;*/
	
}
#chatpanel .subpanel li a img {
	/*float: left;*/
	padding:2 5px;
	text-align:center;
}
#chatpanel .subpanel li a{
	/*padding: 3px 0;	*/
	/*margin-right: 200px;*/
	/*line-height: 22px;*/
	/*height: 22px;*/
	background: #fff;
	/*display: block;*/
}
#chatpanel .subpanel li a:hover {
	/*background: #3b5998;*/
	/*color: #fff;*/
	text-decoration: underline;
}


#predictpanel .subpanel li { 
	background: url(../includes/images/toolbar/dash.gif) repeat-x left center; 
} 
#predictpanel .subpanel li span.facebook {
	padding: 7px;
	background: #fff;
	color: #666;
	font-size:14px;
	font-weight:bold;
	/*float: left;*/
	
}
#predictpanel .subpanel li a img {
	/*float: left;*/
	padding:2 5px;
	text-align:center;
}
#predictpanel .subpanel li a{
	/*padding: 3px 0;	*/
	/*margin-right: 200px;*/
	/*line-height: 22px;*/
	/*height: 22px;*/
	background: #fff;
	/*display: block;*/
}
#predictpanel .subpanel li a:hover {
	/*background: #3b5998;*/
	/*color: #fff;*/
	text-decoration: underline;
}
 
 /*== 訊息通知 ==*/
  #footpanel a.alerts{	
	padding-right: 10px;
}
#alertpanel .subpanel { right: 10px; left: auto; /*--Reset left positioning and make it right positioned--*/ }
#alertpanel .subpanel li {
	border-top: 1px solid #f0f0f0;
	display: block;
}
#alertpanel .subpanel li p {padding: 5px 10px;}
#alertpanel .subpanel li a.delete{
	background: url(../includes/images/toolbar/delete_x.gif) no-repeat;
	float: right;
	width: 13px; height: 14px;
	margin: 5px;
	text-indent: -9999px;
	visibility: hidden; /*--Hides by default but still takes up space (not completely gone like display:none;)--*/
}
#alertpanel .subpanel li a.delete:hover { background-position: left bottom; }
#footpanel #alertpanel li.view {
	text-align: right;
	padding: 5px 10px 5px 0;
}

/*回文通知*/
#msgpic{position:relative; top:2px; left:0px; z-index:1; }
#replycountpic{
	position:absolute;
	top:-7px; 
	left:13px; 
	z-index:2;
	background-image: url(../includes/images/toolbar/reply_notify_num.gif);
	width:auto;
	color:#fff;
	padding:0px 3px;
	font-weight:bold;
}
*html #replycountpic{position:absolute;top:-7px; left:13px; z-index:2;} /*IE6 hack*/

/*莊殺新增預測通知*/
#pmsgpic{position:relative; top:2px; left:0px; z-index:1; }
#preplycountpic{
	position:absolute;
	top:-7px; 
	left:15px; 
	z-index:2;
	background-image: url(../includes/images/toolbar/reply_notify_num.gif);
	width:auto;
	color:#fff;
	padding:0px 3px;
	font-weight:bold;
}
*html #preplycountpic{position:absolute;top:-7px; left:15px; z-index:2;} /*IE6 hack*/					

.nid {
	color: #000;
	margin-top:5px; 
	border-bottom:1px dashed #d9dbda;
}
.nidunreaded {
	background: #fafac9;
	color: #000;
	margin-top:5px; 
	border-bottom:1px dashed #d9dbda;
}
.nid:hover{
	background: #6D84B4;
	color:#fff;
	cursor: pointer;
}
.nidunreaded:hover {
	background: #6D84B4;
	color:#fff;
	cursor: pointer;
}