.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}
ul.clearfix li{ float: left;}
.clearfix {*zoom: 1;}

.hide-text{text-indent: -9999px;}
.float-left{float: left;}
.float-right{float: right;}
.force-hide{ display: none !important; }
.relative{position: relative;}

/***************** topnav *******************/
body{background-position: center 40px;}
#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;
    margin: 0;
    padding: 0;
    border: 0;
}
#topnav{
    position: relative;
    width: 100%;
    min-width: 980px;
    height: 40px;
    background: #1e1e1e;
    box-shadow: 0 0px 2px #1e1e1e;
    font-family: 'Lucida Grande', Tahoma, Arial, sans-serif;
    z-index: 1999;
    color: #556977;
    font-size: 12px;

    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;

    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}
#topnav a{text-decoration: none; color: #bababa;}
#topnav a:hover{color: #fff;}
#topnav .auxiliary{
    position: absolute;
    border-style: solid;
    border-color: transparent;
    font-size: 0;
    line-height: 0;
}
#topnav .logo{
    left:20px;
    top: 0;
    display: block;
    width: 140px;
    height: 100%;
    background-repeat:no-repeat;
    background-position: center center;
    background-image: url("/xd/imgs/xdlogo/logo_topnav.png");
    background-image: -webkit-image-set( url('//web.xdcdn.net/xd/imgs/xdlogo/logo_topnav.png?2') 1x, url('/xd/imgs/xdlogo/logo_topnav_2x.png') 2x);
    position: absolute;
    z-index: 1;
}
#topnav .logo img{opacity: 0.9; transition: opacity 0.3s ease-in;}
#topnav .logo:hover img{opacity: 1;}

#topnav .topnav-notice{
    padding-left: 200px;
    padding-right: 490px;
    line-height: 40px;
    position: relative;
}
#topnav .topnav-notice p{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
#topnav .topnav-notice-link{
    color: #c7880e;
}
#topnav .topnav-notice-link:hover{
    color: #beb03f;
}

#topnav .topnav-links{width: auto;height: 40px; top: 0; right: 40px; position: absolute; z-index: 1;}
#topnav .topnav-links li{ padding: 10px 0;}
#topnav .topnav-links .sec{
    padding: 0 15px 0 35px;
    width: auto;
    *width: 60px;
    height: 20px;
    line-height: 20px;
    text-indent: 0;
    font-size: 14px;
    border: none;
    background-image: url('/xd/imgs/v4/topnav/icon.png');
    background-image: -webkit-image-set( url('/xd/imgs/v4/topnav/icon.png') 1x, url('/xd/imgs/v4/topnav/icon_2x.png') 2x);
    background-repeat: no-repeat;
    display: block;
}
#topnav .topnav-links li.hoverlikeactive:hover a,
#topnav .topnav-links li a.sec1 { background-position: 14px -288px;}
#topnav .topnav-links li a.sec2 {  background-position: 14px -230px;}
#topnav .topnav-links li a.sec3 { background-position: 14px -172px; border-right: 1px solid #4c4d4d; padding-right: 6px;}
#topnav .topnav-links a:hover.sec1 { background-position: 14px -114px;}
#topnav .topnav-links a:hover.sec2{ background-position: 14px -56px;}
#topnav .topnav-links a:hover.sec3 { background-position: 14px 2px;}
#topnav .topnav-dropdown-container{position: relative;}
#topnav .topnav-dropdown-container .topnav-dropdown-body{
    display: none;
    position: absolute;
    opacity: 0;
    margin-top: -5px;
}
#topnav .support-transition .topnav-dropdown-body,
#topnav .transition-on-click .topnav-dropdown-body{
    visibility: hidden;
    display: block;
    margin-top: 0;
    transform: matrix(1, 0, 0, 1, 0, -5);
    -webkit-transform: matrix(1, 0, 0, 1, 0, -5);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, height 0.3s ease-in-out, visibility 0s linear 0.3s;
    -webkit-transition: opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out, height 0.3s ease-in-out, visibility 0s linear 0.3s;
    -moz-transition: opacity 0.3s ease-in-out, -moz-transform 0.3s ease-in-out, height 0.3s ease-in-out;
}
#topnav .support-transition:hover .topnav-dropdown-body,
#topnav .transition-on-click.active .topnav-dropdown-body{
    opacity: 1;
    visibility: visible;
    transform: matrix(1, 0, 0, 1, 0, 0);
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, height 0.3s ease-in-out, visibility 0s linear 0s;
    -webkit-transition:  opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out, height 0.3s ease-in-out, visibility 0s linear 0s;
}
#topnav .topnav-dropdown-container .topnav-dropdown-item{display: block;}
#topnavGameCenter .topnav-dropdown-body{
    background: #1f1e1e;
    width: 340px;
    right: 0px;
    border-radius: 0 0 5px 5px;
    position: absolute;
    overflow: hidden;
    top: 100%;
    height: 400px;
}
#topnav .topnav-links #topnavGameCenter:hover {background-color: #2f3033;}
#topnav .topnav-links #topnavGameCenter:hover .sec3{background-position: 14px 2px;color: #fff;}
#topnavGameCenter.unfold .topnav-dropdown-body{height: 652px;}
#topnavGameCenter .topnav-dropdown-item{border-bottom: 1px dashed #292827; padding: 6px 10px; *height: 58px;}
#topnavGameCenter .topnav-dropdown-item:hover{background-color: #292827;}
#topnavGameCenter .topnav-dropdown-item .topnav-logo{
    text-indent: -9999px;
    width: 120px;
    height: 58px;
    background: url(/xd/imgs/v3/topnav/nav_logo.png) no-repeat center 0;
}

#topnavGameCenter .topnav-dropdown-item-sg2 .topnav-logo{ background-position: -15px -10px; }
#topnavGameCenter .topnav-dropdown-item-sy .topnav-logo{ background-position: -15px -80px; }
#topnavGameCenter .topnav-dropdown-item-xxd .topnav-logo{ background-position: -15px -156px; }
#topnavGameCenter .topnav-dropdown-item-js .topnav-logo{ background-position: -15px -222px; }
#topnavGameCenter .topnav-dropdown-item-ktpd .topnav-logo{ background-position: -15px -300px; }
#topnavGameCenter .topnav-dropdown-item-sxd .topnav-logo{ background-position: -15px -370px; }
#topnavGameCenter .topnav-dropdown-item-sssg .topnav-logo{ background-position: -15px -444px; }
#topnavGameCenter .topnav-dropdown-item-tdyx .topnav-logo{ background-position: -15px -514px; }
#topnavGameCenter .topnav-dropdown-item-xxd2 .topnav-logo{ background-position: -15px -584px; }

#topnavGameCenter .topnav-dropdown-item .topnav-title{font-size: 14px; line-height: 28px; display: block;}
#topnavGameCenter .topnav-dropdown-item .topnav-more{line-height: 18px;}

#topnavGameCenter .topnav-toggle-button{position: absolute; bottom: 0; _bottom: -1px; left: 0; background-color: #292827; width: 100%; height: 30px;}
#topnavGameCenter .topnav-toggle-button .before{
    _border-color: #292827;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-top-color: #fff;
    margin: 11px auto 0;
    transition: border-top-color 0.2s ease-in;
}
#topnavGameCenter .topnav-toggle-button:hover .before{border-top-color: #f60;}
#topnavGameCenter.unfold .topnav-toggle-button .before{
    border-bottom-color: #fff;
    border-top-width: 0;
}
#topnavGameCenter.unfold .topnav-toggle-button:hover .before{border-bottom-color: #f60;}

#topnav .topnav-btn{padding: 0 8px; height: 24px; line-height: 24px; background-color: #515150; border-radius: 8px; display: block;}
#topnav .topnav-btn-primary{background-color: #f60; color: #fff;}

#topnav .topnav-links .topnav-login-container{padding: 8px 0 0 20px;}
#topnav .topnav-login-layout{width: 116px; height: 24px; line-height: 24px; font-size: 14px;}
#topnav .topnav-login-panel{display: block; height: 32px; overflow: visible;}
#topnav .topnav-login-container .logging{ width: 24px; height: auto; margin: 0 auto;}
#topnav .topnav-login-layout .topnav-btn{margin-right: 16px;}
#topnav .yes-login .topnav-dropdown-menu{ margin-right: 0; position: relative; color: #bababa;}
#topnav .yes-login .topnav-dropdown-menu .username{width: 84px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
#topnav .yes-login .topnav-dropdown-menu .after{
    _border-color: #292827;
    _filter: chroma(color= #292827);
    top: 8px;
    right: 8px;
    border-width: 8px;
    border-top-color: #b2b2b2;
}
#topnav .topnav-login-container .active .topnav-dropdown-menu{background-color: #6a6a6a; color: #fff;}
#topnav .topnav-login-container .active .topnav-dropdown-menu .after{border-top-color: #fff; }
#topnav .yes-login .topnav-dropdown-body{background: #fff; border: 1px solid #b2b2b2; border-radius: 4px; padding: 4px 0 8px; top: 32px; box-shadow: 0 0px 3px #b2b2b2;}
#topnav .yes-login .topnav-dropdown-body .auxiliary{left: 100%; _border-color: #292827; _filter: chroma(color= #292827);}
#topnav .yes-login .topnav-dropdown-body .before{
    border-width: 8px;
    border-top: 0;
    border-bottom-color: #b2b2b2;
    top: -8px;
    margin-left: -38px;
}
#topnav .yes-login .topnav-dropdown-body .after{
    border-width: 7px;
    border-top: 0;
    border-bottom-color: #fff;
    top: -7px;
    margin-left: -37px;
}
#topnav .yes-login .topnav-dropdown-item{width: 112px; text-indent: 15px; color: #f60; font-size: 12px;}
#topnav .yes-login .topnav-dropdown-item:hover{color: #fff; background: #f60;}

/*** 游戏官网联系客服***/
.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(/xd/imgs/wpa_a06.png) no-repeat;
    _background-image: none;
    _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/xd/imgs/wpa_a06.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(/xd/imgs/service/qq_kefu.png);
}
#topnavGameCenter  .topnav-dropdown-body .content{
    width: 100%;
    line-height: 30px;
    height: 400px;
}

#topnavGameCenter  .topnav-dropdown-body .have-border{
    border-left: 1px solid #2f3033;
}

#topnavGameCenter  .topnav-dropdown-body .content .title_container{
    background-color: #2f3033;
    padding: 10px 0;
    margin-bottom: 10px;
}
#topnavGameCenter  .topnav-dropdown-body .game_title{
    border-left: 4px solid #f60;
    padding-left: 22px;
    line-height: 16px;
    color: #999;
    font-size: 14px;
    white-space:nowrap;
}
#topnavGameCenter  .topnav-dropdown-body .content td{
    padding-left: 26px;
}
#topnavGameCenter  .topnav-dropdown-body .content td a:hover{
    color: #ff6600; transition: color .3s ease;
}

#topnavGameCenter  .topnav-dropdown-body .content a{
    *zoom: 1;
}
#topnavGameCenter .icon{
    color: #fff;
    font-size: 8px;
    line-height: 10px;
    height: 10px;
    width: 10px;
    text-align: center;
    display:inline;
    position: absolute;
    margin-top: 10px;
    margin-left: 5px;
    border-radius: 2px;
    z-index: 100;
}

#topnavGameCenter  .topnav-dropdown-body .content .new{
    background-color: #1abc9c;
}

#topnavGameCenter  .topnav-dropdown-body .content .hot{
    background-color: #f60;
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
    #topnavGameCenter .for-chrome{
        -webkit-transform:scale(0.6);
        display: block;
    }
}