/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend
/*table, caption, tbody, tfoot, thead, tr, th, td */{
     margin: 0;
     padding: 0;
     border: 0;
     outline: 0;
    /* font-size: 100%;
     vertical-align: baselinebaseline;  */
    /*background: transparent;*/
}
#XlegendTop a img {border:none;}
body {line-height: 1; }


#XlegendTop ul, #XlegendTop li {
	padding: 0;
	margin: 0;
	list-style: none;
}

#XlegendTop {
	min-width: 950px;
	height:45px;
	background: url('//api.x-legend.com.tw/xlegend/masthead/bg.png') top repeat-x;
	font-family:Arial, "新細明體";
	display : block;
}
#topMenu {
	height:39px;
	padding:5px 0px 0px;
	margin:0 auto;
	width:950px;
}
#topMenu2 {
	height:39px;
	padding:5px 0px 0px;
	margin:0 auto;
	width:990px;
}
#topMenu:after,
#topMenu2:after {content: " ";display: block;font-size: 0;height: 0;clear: both;visibility: hidden;}
* html #topMenu,*:first-child+html #topMenu,
* html #topMenu2,*:first-child+html #topMenu2 { zoom: 1;}

#topLogo { float:left; }

#topMenu li, #topMenu2 li { float: left; }

#topMenu li a.linkItem, #topMenu2 li a.linkItem  {
	display:block;
	height:39px;
	line-height:39px;
	text-indent:-99999px;
}

#topMenu li.topNav_1 { width:96px; /*margin-right:306px;*/ }
#topMenu2 li.topNav_1 { width:96px; /*margin-right:346px;*/ }
#topMenu li.topNav_1 a.linkItem, #topMenu2 li.topNav_1 a.linkItem {background:url('//api.x-legend.com.tw/xlegend/masthead/menu_1.png') left top no-repeat;width:96px; cursor: default; }
#topMenu li.topNav_2 a, #topMenu2 li.topNav_2 a {background:url('//api.x-legend.com.tw/xlegend/masthead/menu_2.png') left top no-repeat;width:69px;}
#topMenu li.topNav_3 a, #topMenu2 li.topNav_3 a {background:url('//api.x-legend.com.tw/xlegend/masthead/menu_3.png') left top no-repeat;width:66px;}
#topMenu li.topNav_4 a, #topMenu2 li.topNav_4 a {background:url('//api.x-legend.com.tw/xlegend/masthead/menu_4.png') left top no-repeat;width:70px;}
#topMenu li.topNav_5 a, #topMenu2 li.topNav_5 a {background:url('//api.x-legend.com.tw/xlegend/masthead/menu_5.png') left top no-repeat;width:70px;}
#topMenu li.topNav_6 a, #topMenu2 li.topNav_6 a {background:url('//api.x-legend.com.tw/xlegend/masthead/menu_6.png') left top no-repeat;width:96px;}


/*廣告*/
#topMenu li.topNav_7 a.topAdLink {
	background:url('//api.x-legend.com.tw/xlegend/banner/ban_laip_3s.gif') left top no-repeat;
	width: 306px;
	display: block;
	height: 40px;
	text-indent: -99999px;
	overflow: hidden;
}


#topMenu li.topNav_1 a.linkItem:hover, #topMenu2 li.topNav_1 a.linkItem:hover,
#topMenu li.topNav_1 a.linkItem.active, #topMenu2 li.topNav_1 a.linkItem.active,
#topMenu li.topNav_2 a:hover, #topMenu2 li.topNav_2 a:hover,
#topMenu li.topNav_3 a:hover, #topMenu2 li.topNav_3 a:hover,
#topMenu li.topNav_4 a:hover, #topMenu2 li.topNav_4 a:hover,
#topMenu li.topNav_5 a:hover, #topMenu2 li.topNav_5 a:hover,
#topMenu li.topNav_6 a:hover, #topMenu2 li.topNav_6 a:hover,
#topMenu li.topNav_7 a.topAdLink:hover, #topMenu2 li.topNav_7 a.topAdLink:hover,
#topMenu li.topNav_7 a.topAdLink.active, #topMenu2 li.topNav_7 a.topAdLink.active
{ background-position:left bottom; }

#topAD_banner {
	position:absolute;
	display:none;
	left:50%;
	top:45px;
	width:950px;
	height:152px;
	z-index:999;
	margin-left:-475px;
}

#topAD_banner2 {
	position:absolute;
	display:none;
	left:50%;
	top:45px;
	width:950px;
	height:152px;
	z-index:999;
	margin-left:-495px;
}

#XlegendGameList {
	position:absolute;
	left:50%;
	/*top:39px;*/
	top:-152px;
	width:950px;
	height:152px;
	z-index:999;
	margin-left:-475px;
}

#XlegendGameList .arrow { background:url('//api.x-legend.com.tw/xlegend/masthead/border_top.gif') 220px top no-repeat; height:6px;display:block;overflow:hidden;}
#XlegendGameList .arrow2 {background:url('//api.x-legend.com.tw/xlegend/masthead/border_top.gif') 200px top no-repeat; height:6px;display:block;overflow:hidden;}
#GameListBG {
	background:url('//xdb2.x-legend.com.tw/xlegend/masthead/menu_bg.png') left top no-repeat;
	padding:7px 4px;
	height:132px;
	width:942px;
}

* html #GameListBG {background:url('//api.x-legend.com.tw/xlegend/masthead/menu_bg.gif') left top no-repeat;}
#vipMember {float:left;margin-right:7px;}
#vipMember a {background: url('//api.x-legend.com.tw/xlegend/masthead/menu_7.png') left top no-repeat;display:block;width:166px;height:126px;text-indent:-99999px;}
#vipMember a:hover {background-position:left bottom;}
* html #vipMember a {overflow:hidden;}
#xSlideBox {position:relative; float:left; padding:5px 0px 0px; width:763px; height:126px; margin: 2px 0px 0px 4px; text-align:left;}

/*左右箭頭*/
#xSlideBox .leaf a {display:block;width:29px;height:58px; position:absolute;z-index:1000;text-indent:-9999px;}
#xSlideBox .leaf a:hover { }
#xSlideBox a.prevPage {background: url('//api.x-legend.com.tw/xlegend/masthead/arrow_prev.gif') left top no-repeat;top:35px;}
#xSlideBox a.nextPage {background: url('//api.x-legend.com.tw/xlegend/masthead/arrow_next.gif') left top no-repeat;right:0px;top:35px;}
#xSlideBox a.prevPage:hover,
#xSlideBox a.nextPage:hover {background-position:right top;}
#xSlideBox .leaf a.disabled {background-position:left top;cursor:default;opacity: 0.3; filter:alpha(opacity=30);-moz-opacity: 0.3;-khtml-opacity: 0.3;}

#xSlideBox .scrollable { position: relative;margin-left: 32px;width: 700px;height: 117px;overflow: hidden;}
#xSlideBox .item { float: left; width: 92px; height: 117px; margin: 0px 4px; cursor: pointer; background-position: left top; background-repeat: no-repeat;}

/*遊戲圖片*/
#xSlideBox .item.laip {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_laip.jpg');}
#xSlideBox .item.ffr {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_ffr.jpg');}
#xSlideBox .item.tp {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_tp.jpg');}
#xSlideBox .item.aro {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_aro.jpg');}
#xSlideBox .item.gf {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_gf.jpg');}
#xSlideBox .item.ffo {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_ffo.jpg');}
#xSlideBox .item.la {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_la.jpg');}
#xSlideBox .item.ar {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_ar.jpg');}
#xSlideBox .item.gv {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_gv.jpg');}
#xSlideBox .item.xh {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_xh.jpg');}
#xSlideBox .item.ds {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_ds.jpg');}
#xSlideBox .item.ff {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_ff.jpg');}
#xSlideBox .item.lh {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_lh.jpg');}
#xSlideBox .item.gd {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_gd.jpg');}
#xSlideBox .item.fn {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_fn.jpg');}
#xSlideBox .item.js {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_js.jpg');}
#xSlideBox .item.dj {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_dj.jpg');}
#xSlideBox .item.hb {background-image:url('//api.x-legend.com.tw/xlegend/masthead/game_hb.jpg');}
#xSlideBox .item.active {background-position:left bottom;}
#xSlideBox .item a.img {display:block;height:89px;margin-bottom:6px; cursor:pointer;}

/*標籤*/
#xSlideBox .label {height:49px;display:block;}
#xSlideBox .label.hot {background: url('//api.x-legend.com.tw/xlegend/masthead/hot.png') right top no-repeat;}
* html #xSlideBox .label.hot {background: url('//api.x-legend.com.tw/xlegend/masthead/hot.gif') right top no-repeat;}
#xSlideBox .label.new {background: url('//api.x-legend.com.tw/xlegend/masthead/new.png') right top no-repeat;}
* html #xSlideBox .label.new {background: url('//api.x-legend.com.tw/xlegend/masthead/new.gif') right top no-repeat;}

/*下方連結*/
#xSlideBox .infoLink {
	color:#CBCBC7;
	text-align:center;
	line-height:22px;
	font-size:11px;
	-webkit-text-size-adjust: none;
	text-shadow:1px 1px 2px #85847d;
}
#xSlideBox .infoLink a {color:#fff;text-decoration:none;font-size:11px;-webkit-text-size-adjust: none;}
#xSlideBox .infoLink a:hover {color:#ffc600;}