.center {
    width: 1000px;
    margin: 0 auto;
}

/* heaer样式开始 */
.header {
    height: 100px;
}

.header .logo {
    float: left;
    margin-top: 28px;
}

.header .other {
    float: right;
    height: 28px;
    margin-top: 36px;
}

.header .other a {
    display: block;
    float: left;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    color: #666;
}

.header .other a img {
    height: 100%;
}

.header .other div {
    float: right;
    height: 28px;
}

.header .other div input {
    float: left;
    height: 28px;
    margin-left: 20px;
    padding: 0 10px;
    border: 1px solid #666;
    border-right: 0;
}

.header .other div button {
    float: right;
    width: 28px;
    height: 28px;
    border: 0;
    background: url(../images/search.png) no-repeat;
    background-size: 28px 28px;
}

/* heaer样式结束 */


/* nav样式开始 */
nav {
    height: 40px;
    background-color: #f5f2eb;
}

nav .nav-item {
    float: left;
    width: 90px;
    height: 40px;
    line-height: 40px;
}

nav .nav-item>a {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #666;
}

nav .nav-item:hover,
nav .nav-item>.active {
    background-image: linear-gradient(#d4011a, #970006);
    color: #fff;
}

nav .nav-item:hover a {
    color: #fff;
}

nav .nav-item ul {
    display: none;
    position: absolute;
    top: 140px;
    font-size: 14px;
    color: #fff;
    background-color: rgba(0, 0, 0, .4);
    z-index: 1;
}

.nav-item ul li {
    float: left;
    width: 90px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.nav-item ul li a {
    display: block;
}

.nav-item:hover ul {
    display: block;
}

.nav-item ul li:hover {
    background-color: rgba(0, 0, 0, .6);
}

/* nav样式结束 */

/* footer 开始 */
footer {
    height: 80px;
    margin-top: 100px;
    padding-top: 20px;
    text-align: center;
    background-color: #83764f;
}

footer p {
    font-size: 12px;
    color: #fff;
}

/* footer 结束 */