* {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    background-image: url('../images/bg.jpg');
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

input {
    border: 0;
    box-sizing: border-box;
    /*  css3盒子模型 border和 padding 都包含到 width 里面去 */
}

/* header */
header {
    width: 90%;
    margin: 0 auto;
    background-color: white;
}

.logo {
    margin-top: 10px;
}

.logo img {
    max-width: 100%;
    height: 80px;
}

.switch a {
    float: right;
    font-size: 12px;
    background-color: #333333;
    margin-right: 30px;
    color: white;
    padding: 6px;
}

#nav {
    font-size: 18px;
    font-family: '微软雅黑';
    background-color: white;
    text-align: center;
}
#nav ul li {
    display: inline-block;
    position: relative;
    height:60px;
}

#nav ul li a {
    display: block;
    width: 100px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    /* background-color: blanchedalmond; */
    margin: auto 20px;
    color: #333333;
    font-weight: bold;
}

#nav ul li a:hover {
    background-color: #333333;
    color: white;
}

/* 二级菜单*/
#nav ul li ul {
    position: absolute;
    top: 40px;
    left: 0px;
    display: none;
}


#nav ul li ul li a {
    background: white;
    border-top: 1px solid #ccc;
    z-index: 100;
}

#nav ul li:hover ul {
    display: block;
}

container {
    width: 90%;
    margin: 0 auto;
    background-color: #f6f6f5;
    display: block;
    overflow: auto;
    min-height: 80vh;
}

footer {
    display: block;
    height: 50px;
}