
.clearfix:after {
    clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

* html .clearfix { height: 1%; }
.floatRight{float: right !important;}
ul.clearfix li{ float: left;}
.clearfix {*height: 100%;}
/***************** 黑头！ *******************/
body{
    background-position: center 40px;
}
.relative{
    position: relative;
}
#topnav *{
    box-sizing: content-box;
    -o-box-sizing: content-box;
    -ms-box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}
#topnav a img{
    vertical-align: middle;
}
#topnav .logo{
    vertical-align: middle;
    margin-left:10px;
    margin-top:2px;
    display: block;
    *display: inline;
    line-height: 30px;
    height: 30px;
    text-indent: 0;
}
#topnav .nav,
#topnav .topnav_links { float: left;padding:0; }
#topnav .usercontroller{
    float: left;
    position: relative;
    *z-index: 1000; /*for IE*/
    width: 135px;
    cursor: pointer;
}
#topnav .usercontroller .logging{
    margin-top: 8px;
    margin-left: 60px;
}
#topnav .usercontroller .usernameWrapper{
    width: 80px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    text-align: center;
    margin-left: 15px;
    padding: 0 25px 0 15px;
    display: block;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    *white-space: normal;
    text-shadow: 1px 1px 1px #000;
}
#topnav .usercontroller div.usernameWrapper:hover,
#topnav .usercontroller div.usernameWrapper.hover{
    background-position: 0 -48px;
}
#topnav .usercontroller div.usernameWrapper.active{
    background-position: 0 -24px;
}
#topnav .usercontroller ul.list{
    position: absolute;
    left: 20px;
    width: 116px;
    padding: 17px 0 0 0;
    z-index: 1000;
    *zoom: 1;
    background: url('../imgs/imgs-v3-usercontrollerList-png.png?v=1346006118') no-repeat;
    _background: url('../imgs/imgs-v3-usercontrollerList-gif.gif?v=1346006118') no-repeat;
    border: none;
}
#topnav .usercontroller ul.list li{
    padding: 0 3px;
    background: url('../imgs/imgs-v3-usercontrollerList-png.png?v=1346006118') no-repeat -116px 0;
    _background: url('../imgs/imgs-v3-usercontrollerList-gif.gif?v=1346006118') no-repeat -116px 0;
}
#topnav .usercontroller ul.list li.last-child{
    padding-bottom:8px;
    background: url('../imgs/imgs-v3-usercontrollerList-png.png?v=1346006118') no-repeat -116px bottom;
    _background: url('../imgs/imgs-v3-usercontrollerList-gif.gif?v=1346006118') no-repeat -116px bottom;
}
#topnav .usercontroller ul.list a{
    width: 95px;
    padding-left: 15px;
    color: #ff6600;
    font-size: 12px;
    display:inline-block;
    *display: inline;
    *zoom: 1;
}
#topnav .usercontroller ul.list a:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #ff6600;
}
#topnav .usercontroller .png_button.login{
    float: left;
    position:relative;
    top: -3px;
    margin-left: 15px;
    display: inline;
}
#topnav .usercontroller .register{
    float: left;
    position:relative;
    top: -3px;
    height: 27px;
    line-height: 27px;
    margin-left: 10px;
}
#topnav{ 
    position: relative;
    width: 100%;
    height: 44px;
    *height: 40px;
    line-height: 40px;
    margin-bottom: -4px;
    *margin-bottom: 0;
    background: url(../imgs/imgs-v3-header2-png.png?v=1346006118);
    _background: url(../imgs/imgs-v3-header2-gif.gif?v=1346006118);
    background-repeat: repeat-x;
    font-family: 'Lucida Grande', Tahoma, Arial, sans-serif;
    z-index: 9999;
}
#topnav .floatLeft{
    float:left;
}
#topnav .marginLeft20{
    margin-left: 20px;
}
#topnav .nav,
#topnav .topnav_links{
    width: auto;
    margin: 0;
    height: 40px;
    line-height: 40px;
    border: none;
}
#topnav a{
    text-decoration: none;
}
#topnav .yes_login{
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    border: none;
}
#topnav .nav li a,
#topnav .topnav_links li a{
    padding: 0 15px 0 35px;
    width: auto;
    *width: 60px;
    height: 40px;
    text-indent: 0;
    font-size: 14px;
    border: none;
    background: url('../imgs/imgs-v3-header2_icons-gif.gif?v=1346006128') no-repeat 15px 0;
    color: #bababa;
    display: block;
}
#topnav .nav li:hover a,
#topnav .topnav_links li:hover a {
    background: url('../imgs/imgs-v3-header2_icons-gif.gif?v=1346006128') no-repeat 15px -161px;
    color: #ffffff;
    text-decoration: none;
}
#topnav .topnav_links li.hoverlikeactive{
    position:relative;
}
#topnav .topnav_links li.hoverlikeactive:hover,
#topnav .topnav_links li:active,
#topnav .nav li.hoverlikeactive:hover,
#topnav .nav li:active {
    background: url('../imgs/imgs-v3-header2_active-gif.gif?v=1346006118') repeat-x;
}
#topnav .topnav_links li.hoverlikeactive:hover a,
#topnav .topnav_links li:active a,
#topnav .nav li.hoverlikeactive:hover a,
#topnav .nav li:active a {
    color: #f60;
    background: url('../imgs/imgs-v3-header2_icons-gif.gif?v=1346006128') no-repeat 15px -322px;
}
#topnav .nav li.hoverlikeactive:active a{
    background: url('../imgs/imgs-v3-header2_icons-gif.gif?v=1346006128') no-repeat 15px -322px;
}
#topnav .nav li a.sec_2 { background-position: 15px -40px;}
#topnav .nav li a.sec_3 { background-position: 15px -80px;}
#topnav .nav li a.sec_4 { background-position: 15px -120px;}
#topnav .nav li:hover a.sec_3 { background-position: 15px -241px;}
#topnav .nav li:hover a.sec_4 { background-position: 15px -281px;}
#topnav .nav li:hover a.sec_2,
#topnav .nav li:active a.sec_2 { background-position: 15px -362px;}
#topnav .nav li:active a.sec_3 { background-position: 15px -402px;}
#topnav .nav li:active a.sec_4 { background-position: 15px -442px;}
#topnav .topnav_links li a.sec_2 { background-position: 15px -40px;}
#topnav .topnav_links li a.sec_3 { background-position: 15px -80px;}
#topnav .topnav_links li a.sec_4 { background-position: 15px -120px;}
#topnav .topnav_links li:hover a.sec_3 { background-position: 15px -241px;}
#topnav .topnav_links li:hover a.sec_4 { background-position: 15px -281px;}
#topnav .topnav_links li:hover a.sec_2,
#topnav .topnav_links li:active a.sec_2 { background-position: 15px -362px;}
#topnav .topnav_links li:active a.sec_3 { background-position: 15px -402px;}
#topnav .topnav_links li:active a.sec_4 { background-position: 15px -442px;}

#topnav .rightSeparate{
    background: url(../imgs/imgs-v3-header2_separate-gif.gif?v=1346006118) no-repeat right;
}

#topnav .usercontroller{
    font-size: 13px;
    margin-top: 0;
    margin-right: 40px;
    height: 40px;
    border: none;
}
#topnav .usercontroller .png_button.login{
    top: 0;
    width: 66px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    background: url(../imgs/imgs-v3-header2_login-gif.gif?v=1346006119) no-repeat center center;
}
#topnav .usercontroller .register{
    top: 0;
    line-height: 40px;
    color: #bababa;
}
#topnav .usercontroller .register:hover {
    text-decoration: none;
    color: #fff;
}
#topnav .usercontroller .usernameWrapper{
    margin-top: 8px;
    background: url('../imgs/imgs-v3-header2_uc-gif.gif?v=1346006119') no-repeat;
}
#topnav .usercontroller ul.list {
    top: 33px;
}
#topnav .usercontroller ul.list li{
    line-height: 100%;
}
#topnav .usercontroller ul.list li a{
    line-height: 26px;
}
#topnav .nav li #top_nav_game_list_container,
#topnav .topnav_links li #top_nav_game_list_container {
    position: absolute;
    top: 40px;
    left: -5px;
    width: 350px;
    overflow: hidden;
    display: none;
}
#topnav .nav li #top_nav_game_list_container.active,
#topnav .topnav_links li #top_nav_game_list_container.active {
    display: block;
}
#top_nav_game_list{
    background: #1f1e1e;
    line-height: 14px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: 1px 1px 4px #000000;
    margin: 5px;
    margin-top: -3px;
    padding-top: 3px;
    color: #bababa;
}
#topnav .topnav_links ul#top_nav_game_list li:active,
ul#top_nav_game_list li{
    float:none;
    padding: 10px 10px;
    height: 50px;
    background: #1f1e1e;
}
#topnav .topnav_links ul#top_nav_game_list li:active,
#top_nav_game_list li.hover {
    background-color: #292827;
}
#top_nav_game_list li {
    border-top: 1px dashed #292827;
}
#top_nav_game_list li.first {
    border-top: none;
}
#top_nav_game_list li:last-child {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
#topnav .nav li #top_nav_game_list a,
#topnav .topnav_links li #top_nav_game_list a{
    padding: 0;
    margin: 0;
    height: auto;
    font-size: 12px;
    line-height: 150%;
    background: none;
}
#topnav .nav li #top_nav_game_list a:hover,
#topnav .topnav_links li #top_nav_game_list a:hover {
    color: #fff;
}
#topnav .nav li #top_nav_game_list a img,
#topnav .topnav_links li #top_nav_game_list a img{
    margin-right: 5px;
}
#top_nav_game_list .game_detail{
    float: left;
    padding: 5px 0px 5px 18px;
    _padding: 5px 0px 5px 0px;
}
#topnav #top_nav_game_list .game_detail a{
    display: inline;
}
#topnav #top_nav_game_list .game_detail h1,
#topnav #top_nav_game_list .game_detail p{
    line-height: 150%;
}
#topnav #top_nav_game_list .game_detail p{
    font-size: 12px;
}
#topnav #top_nav_game_list .game_detail h1 a{
    font-size: 14px;
    font-weight: normal;
    color: #bababa;
}
#topnav .topnav_links li #top_nav_game_list li a.floatLeft {
    display: block;
    width: 90px;
    /*background: url('../imgs/imgs-v3-topnav_logos-gif.gif?13&v=1346006119') -67px 0;*/
}
#topnav .topnav_links li #top_nav_game_list li.hover a {
    background-position:0 0;
}
#topnav .topnav_links li #top_nav_game_list li a.sxd_logo {
    background-position:-67px -52px;
}
#topnav .topnav_links li #top_nav_game_list li a.sg_logo {
    background-position:-67px -104px;
}
#topnav .topnav_links li #top_nav_game_list li a.kt_logo {
    background-position:-67px -156px;
}
#topnav .topnav_links li #top_nav_game_list li a.js_logo {
    background-position:-67px -208px;
}
#topnav .topnav_links li #top_nav_game_list li.hover a.sxd_logo {
    background-position:0 -52px;
}
#topnav .topnav_links li #top_nav_game_list li.hover a.sg_logo {
    background-position:0 -104px;
}
#topnav .topnav_links li #top_nav_game_list li.hover a.kt_logo {
    background-position:0 -156px;
}
#topnav .topnav_links li #top_nav_game_list li.hover a.js_logo {
    background-position:0 -208px;
}

/*** 给游戏官网用，其实main.css已经有了，但游戏官网没加载，求和谐 ***/
.qq_wpa{
    width: 89px;
    height: 39px;
    padding: 3px 0 0 37px;
    line-height: 38px;
    color: #325F7F;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none !important;
    display: inline-block;
    cursor: pointer;
    background: url(../imgs/imgs-wpa_a06-png.png?v=1351675679) no-repeat;
    _background-image: none;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../imgs/http:--web-xdcdn-net-xd-imgs-wpa_a06-png.png", sizingMethod="scale");
    zoom: 1;
}
.qq_wpa:hover {
    text-decoration: none !important;
}

.kefu-qq-link{
    width: 92px;
    height: 22px;
    text-indent: -9999px;
    line-height: 22px;
    cursor: pointer;
    overflow: hidden;
    display: inline-block;
    *display: block;
    *zoom: 1;
    background-repeat: no-repeat;
    background: transparent url(../imgs/imgs-service-qq_kefu-png.png?v=1377602563);
}

div.gamecenter_logo{
    padding:0px;
    margin:0px;
    width:120px;
    height:58px;
    background: url(../imgs/imgs-v3-topnav-nav_logo-png.png?v=1373869903) no-repeat;
    _background: url(../imgs/imgs-v3-topnav-nav_logo_1-png.png?v=1373869903) no-repeat;
}
div.game-center-ktpd-nav{
    background-position: -15px -225px;
}
div.game-center-js-nav{
    background-position: -15px -150px;
}
div.game-center-sxd-nav{
    background-position: -15px -297px;
}
div.game-center-sssg-nav{
    background-position: -15px -372px;
}
div.game-center-tdyx-nav{
    background-position: -15px -442px;
}
