#header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 200;
}

#header > div {
    position: relative;
}

.wrapper {
    width: 1200px;
    margin: 0 auto;
}

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

.djc-ui-left {
    float: left;
}

.djc-ui-right {
    float: right;
}

.djc-header-left {
    float: left;
}

.header-index {
    display: block;
    margin-top: 8px;
}

.djc-logo {
    width: 150px;
}

.djc-header-center {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 400px;
    margin-left: -200px;
    z-index: 9;
}

.djc-search {
    position: relative;
}

.djc-search input[type=text] {
    width: 400px;
    height: 36px;
    line-height: 36px;
    padding: 0 45px 0 15px;
    border-radius: 18px;
    background: #f5f5f5;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.djc-search input[type=text]:focus {
    background: #fff;
    border-color: #7C6FE6;
    box-shadow: 0 0 8px rgba(124, 111, 230, 0.2);
}

.djc-search input[type=submit] {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: url(../images/navbar_icon_sprite.png) -20px 0 no-repeat;
    cursor: pointer;
    border: none;
}

.search-help {
    position: absolute;
    top: 44px;
    width: 100%;
    padding-bottom: 15px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.search-help dl {
    padding: 12px 15px 0;
}

.search-help dt {
    font-size: 13px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.search-help dd {
    margin-top: 6px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    color: #666;
}

.search-help dd a {
    display: inline-block;
    max-width: 350px;
    font-size: 12px;
    color: #666;
}

.search-keyword {
    padding: 0 15px;
}

.search-keyword a {
    display: block;
    max-width: 100%;
    margin-top: 6px;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    color: #333;
}

.search-keyword a em {
    color: #7C6FE6;
}

.djc-header-right {
    float: right;
}

.djc-login-in {
    margin: 0;
    padding: 0;
    list-style: none;
}

.djc-login-in li.nav-rlist {
    position: relative;
    float: left;
    height: 56px;
}

.nav-rlist a {
    transition: color 0.3s ease;
}

.nav-rlist a:hover {
    color: #7C6FE6 !important;
}

.nav-btn-short {
    width: 70px;
}

.nav-btn-long {
    width: 108px;
}

.djc-login-in li > a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 56px;
    text-align: center;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.djc-login-in li a > i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    margin-bottom: 2px;
}

.app-icon-phone {
    width: 16px;
    height: 16px;
    background: url(../images/navbar_icon_sprite.png) 0 -20px no-repeat;
}

.app-icon-invention {
    width: 16px;
    height: 16px;
    background: url(../images/navbar_icon_sprite.png) 0 0 no-repeat;
}

.main-useInfo {
    position: absolute;
    left: -100px;
    width: 268px;
    min-height: 156px;
    height: auto;
    border-radius: 6px;
    background: #fff;
    z-index: 9;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.nav-user {
    overflow: hidden;
}

.nav-user-head {
    overflow: hidden;
    border-radius: 50%;
    background: url(../images/default_head.png) center center no-repeat;
    background-size: 100%;
}

.nav-user-head.small {
    margin: 13px auto 0;
    width: 40px;
    height: 40px;
}

.nav-user-head.normal {
    float: left;
    width: 60px;
    height: 60px;
}

.user-hover {
    padding: 15px;
}

.nav-user-head img {
    display: block;
    width: 100%;
    height: 100%;
}

.nav-user-info {
    margin-left: 75px;
    margin-top: 10px;
}

.userName {
    margin-bottom: 8px;
    color: #262626;
    font-size: 15px;
}

.my-coins {
    display: block;
    color: #666;
    font-size: 13px;
}

.djc-login-out {
    text-align: center;
    margin-top: 20px;
    color: #999;
    font-size: 13px;
    cursor: pointer;
}

.header-hover {
    padding: 15px;
}

.header-hover-list {
    margin-left: 18px;
    max-height: 300px;
}

.header-hover-list li {
    margin-bottom: 12px;
}

.header-hover-list li:last-child {
    margin-bottom: 0;
}

.header-hover-list.empty {
    margin-right: 18px;
    height: 110px;
    background: url(../images/navbar_cn_none.png) center center no-repeat;
}

.header-hover-thumb {
    float: left;
    width: 60px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.header-hover-info {
    overflow: hidden;
    height: 80px;
    margin-left: 60px;
    padding-left: 12px;
}

.header-hover-info h3 {
    margin-top: 20px;
    line-height: 18px;
    color: #333;
    font-size: 14px;
}

.header-hover-info h6 {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.header-hover-info h6 a {
    color: #666;
}

.header-hover-info h6 a:hover {
    color: #7C6FE6;
}

.header-hover-info h4 {
    line-height: 18px;
    color: #333;
    font-size: 14px;
}

.header-hover-all {
    text-align: center;
    display: block;
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

.has-login {
    text-align: center;
    margin-bottom: 15px;
}

.history-msg {
    font-size: 15px;
    color: #333;
}

.his-login-btn {
    width: 70px;
    height: 28px;
    line-height: 28px;
    margin: 12px auto 0;
    border-radius: 3px;
    background: #7C6FE6;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
}

.header-download {
    position: absolute;
    top: 56px;
    left: -29px;
    padding: 15px;
    border-radius: 6px;
    background: #fff;
    z-index: 9;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.header-download img {
    display: block;
    margin-bottom: 10px;
}

.header-download p {
    line-height: 14px;
    font-size: 13px;
    color: #333;
}

.while-shadow {
    box-sizing: border-box;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

#nav-history .header-hover,
#nav-collect .header-hover,
#nav-download .header-download,
#nav-userinfo .user-hover {
    display: none;
}

#nav-history:hover .header-hover,
#nav-collect:hover .header-hover,
#nav-download:hover .header-download,
#nav-userinfo:hover .user-hover {
    display: block;
}

@media (max-width: 1200px) {
    .wrapper {
        width: 95%;
        margin: 0 auto;
    }
    
    .djc-header-center {
        width: 350px;
        margin-left: -175px;
    }
    
    .djc-search input[type=text] {
        width: 350px;
    }
}