/* 整个导航 */
#header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 89;
}

/* 导航头-布局 */
.head {
    width: 100%;
    height: 70px;
    box-shadow: 0px 4px 6px 1px rgba(0, 0, 0, 0.02), inset 0px 3px 6px 1px rgba(255, 255, 255, 0.16);
    background: url("../images/newindex_bg.png") no-repeat top center / 100% 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 头部通用样式 */
.head > a {
    color: #ffffff;
    font-size: 16px;
}

/* logo 图片 */
.head > h1 img {
    min-width: 192px;
    height: 40px;
    margin-left: 8px;
}

/* 导航项布局 */
.head > .navigation {
    width: 1200px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex: 1;
    padding: 0 2%;
}

.navigation li {
    height: 100%;
    flex: 1;
    position: relative;
}

.navigation li a {
    display: inline-block;
    width: 100%;
    /*min-width: 95px;*/
    height: 70px;
    color: #ffffff;
    font-size: 16px;
    line-height: 70px;
    text-align: center;
    position: relative;
}

/* 伪元素实现鼠标经过时 & 选中时*/
.navigation a.active,
.navigation li a:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
}

.navigation a.active:after,
.navigation li a:hover:after {
    width: 100%;
    font-weight: bold;
    border-bottom: 3px solid #FFF700;
    border-radius: 10px;

}

.navigation a i {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-bottom: 8px;
    margin-left: 2px;
    background: url(../images/shopindex_icon.png) no-repeat;
    background-size: 100% 100%;
}

/* 登陆注册 */
.head > .login {
    min-width: 136px;
    margin-right: 10px;
    color: #ffffff;
    font-size: 16px;
    display: flex;
    justify-content: flex-end;
    /*overflow: hidden;*/
}

.head > .login a {
    /* 登陆状态文字 */
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

.head > .login a.login_warning {
    color: #FFF700;
}

.login a:nth-child(1) {
    display: inline-block;
    max-width: 108px;
}

@media screen and (max-width: 1800px) {
    /* 回到顶部&底部 */
    .head > .navigation {
        padding: 0 4%;
    }
}

@media screen and (max-width: 1450px) {
    /* 回到顶部&底部 */
    .head > .navigation {
        padding: 0;
    }
}