/*
Theme Name: 开天辟地官网
Theme URI: kt.xd.com
Description: It's for 开天辟地
Version: 3.0
Author: lirui
Author URI: lirui
Tags: 开天辟地
*/

/********************************* 全局 ***********************************/
* {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
}

body { line-height:1.5; font-family: Arial,sans-serif; font-size:12px; *overflow: hidden}

:focus {outline: 1;}

a{text-decoration:none; cursor: pointer; background: transparent;}
a:link { -webkit-tap-highlight-color: rgba(0,0,0,0); }
ul li{list-style:none;}
.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 {*height: 100%;}

.hide{display: none;}
.float-left{float: left;}
.float-right{float: right;}
.textLeft{text-align: left;}
.textRight{text-align: right}
.text-center{text-align: center;}
.color-primary{color: #ba844d;}
.size_small{ font-size: 9px;}

.link-primary a{ color: #ba844d; transition: background-color .5s ease;}
.link-primary a:hover{color: #fc690c; transition: background-color .5s ease;}

.btn{display: block; cursor:pointer;}

.noword{text-indent: -9999px;}
body{background: #1d2021 url(./img/bg.jpg) no-repeat center top; color:#999783;}
.full{width: 1000px; margin: 0 auto; background: url(./img/bg.jpg) no-repeat center top;}
.bg{background: url(./img/main.jpg) no-repeat center top;}
.space{margin-left: 20px;}

/********************************* main ***********************************/
#main{position: relative; height: 960px;}
.activity-nav{padding-top: 294px; padding-left: 129px;}
.activity-nav-item{width: 437px; height: 78px;}
.activity-nav-item:hover{background: url(./img/btn.jpg) no-repeat;}
.activity-nav-item1:hover{background-position: 0 0;}
.activity-nav-item2{margin-left: 17px; margin-top: 14px;}
.activity-nav-item2:hover{background-position: 0 -79px;}
.activity-nav-item3{margin-left: 37px; margin-top: 15px;}
.activity-nav-item3:hover{background-position: 0 -158px;}
.activity-nav-item4{margin-left: 58px; margin-top: 15px;}
.activity-nav-item4:hover{background-position: 0 -237px;}
.activity-nav-item5{margin-left: 73px; margin-top: 14px;}
.activity-nav-item5:hover{background-position: 0 -316px;}

.popup{background: #145df3; padding: 5px; position: absolute; left:50%; margin-left:-180px; z-index: 99; left: 50%; margin-left: -297px; top: 300px;}
.popup .popup-header{line-height: 30px; width: 584px; background: #0040a9;}
.popup .close{ color: #7da8ff; margin-right: 12px;}
.activity-content{background: #0040a9; padding: 0 12px 15px;}
.activity-content-item{background: #fffbdf; color: #23798f; width: 560px; padding: 15px 0;}
.activity-content-item .header{line-height: 50px; font-size: 20px;}
.activity-content-item .body{padding: 20px; font-size: 14px;}
/********************************* foot ***********************************/

#footer{line-height: 20px; padding: 0px 45px 50px 90px; margin: 0 auto;}
#footer .btn{height: 33px; width: 140px;}
#footer #logo_xd.btn{background: url(http://web.xdcdn.net/xd/imgs/xdlogo/game_footer_black.png) no-repeat 0 center; _background: none; _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://web.xdcdn.net/xd/imgs/xdlogo/game_footer_black.png");}

.black_drop{
    display:none;
    z-index:98;
    height:100%;
    _height:expression(document.documentElement.scrollHeight);;
    width:100%;
    position:fixed;
    _position:absolute;
    top:0pt;
    left:0pt;
    background:black;
    opacity: 0.7;
    filter:alpha(opacity = 70);
}