body, html {
    padding: 0;
    margin: 0;
    font-family: "Microsoft YaHei UI", serif;
}

p, h2 {
    margin: 0;
}

#app {
    background-color: rgb(232, 243, 235);

}

.title {
    display: flex;
    align-items: center;
}


ul {
    padding: 0;
    margin: 0;
}

#header {
    height: 140px;
    width: 100%;
    display: flex;
    justify-content: center;
    min-width: 1050px;
    align-items: center;
}

.logo {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;

}

.c-title {
    min-width: 550px;
    font-size: 32px;
    font-weight: 600;
    color: #1f1e1e;
    text-shadow: 3px 3px 3px grey;
}

.c-name p {
    font-size: 22.8px;
    text-shadow: 3px 3px 3px grey;
    min-width: 450px;
}

.search {
    height: 50px;
    width: 340px;
    border: 1px lightgray solid;
    background-color: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 290px;
}


.s-input {
    height: 40px;
    width: 250px;
    font-size: 16px;
    border: none;
    padding-left: 10px;
    box-sizing: border-box;
}

.search form {
    position: relative;
    display: flex;
    align-items: center;
}

.errorlist {
    position: absolute;
    font-size: 14px;

}

.search button {
    height: 35px;
    width: 35px;
    margin-left: 10px;
    background-image: url("/static/img/search.png");
    background-size: 35px;
    border: none;
    background-color: white;
}

.search button:hover {
    scale: 1.2;
    cursor: pointer;
}

#nav {
    height: 45px;
    width: 1300px;
    margin: auto;
    display: flex;
    justify-content: right;
}

.nav-items {
    display: flex;
    gap: 40px;
    height: 100%;
    align-items: center;
    justify-content: space-around;
    width: 830px;
}

li {
    list-style: none;
}

.nav-items > li > a {
    height: 100%;
    display: block;
    line-height: 45px;
    text-decoration: none;
    color: white;
    font-size: 17px;
    font-weight: 500;
}

.nav-item {
    width: 150px;
    height: 100%;
    display: block;
    text-align: center;
}

.nav-sub {
    padding: 0;
    display: none;
    position: relative;
    background-color: green;
    border-top: 2px solid white;
    z-index: 20;
}

.nav-sub-item {
    height: 45px;
}


.nav-item:hover .nav-sub {
    display: block;

}

.nav-sub-item > a {
    width: 100%;
    height: 100%;
    display: block;
    color: white;
    line-height: 45px;
    text-decoration: none;
}

.nav-sub-item > li {
    width: 100%;
}

.nav-sub-item:hover a {
    background-color: darkgreen;
}

.nav-item:hover > a {
    background-color: darkgreen;
}


/* 固定定位：联系 */
.fix-links {
    position: fixed;
    right: 0;
    bottom: 10px;
    z-index: 999;
}

.fix-links, .fix-links {
    background: url(/static/img/qq.png) 0 0 no-repeat;
    background-size: 72px 72px;
    background-position: center;
    text-decoration: none;
    display: block;
}

a.link-qq, a.link-qq:visited {
    background: url(/static/img/qq.png) 0 0 no-repeat;
    background-size: 60px 60px;
    background-position: center;
    background-color: dodgerblue;
    text-decoration: none;
    display: block;
}

.fix-links .link-wx .pic {
    position: absolute;
    left: -148px;
    top: 0;
    display: none;
    width: 148px;
    height: 148px;
}

.fix-links .link-phone .phone {
    background-color: #ff811b;
    position: absolute;
    width: 160px;
    left: -160px;
    top: 0;
    line-height: 73px;
    color: #FFF;
    font-size: 18px;
    text-align: center;
    display: none;
}

.fix-links .link-qq {
    background: url(/static/img/qq.png) no-repeat;
    background-size: 60px 60px;
    background-position: center;
    background-color: deepskyblue;
    text-decoration: none;

}

.fix-links .link-qq:hover {
    background-color: royalblue;
    text-decoration: none;

}

.fix-links .link-wx {
    background: url(/static/img/wx.png) 0 0 no-repeat;
    background-size: 72px 72px;
    background-color: #00b700;
}


.fix-links .link-wx:hover img {
    display: block;

}

.fix-links .link-wx:hover {
    background-image: url("/static/img/wx_hover.png");
    background-color: whitesmoke;
}

.fix-links .link-phone {
    background: url(/static/img/tel.png) 0 0 no-repeat;
    background-size: 72px 72px;
    background-color: lightgrey;
}

.fix-links .link-phone:hover {
    background: url(/static/img/tel_hover.png);
    background-size: 72px 72px;
    background-color: #ff811b;
}

.fix-links .link-phone:hover .phone {
    display: block;

}

.fix-links .link-top {
    background: url(/static/img/qq.png) 0 0 no-repeat;
    background-size: 72px 72px;
    background-color: #666666;
    display: none;
}

.fix-links .link {
    width: 72px;
    height: 72px;
    margin-bottom: 1px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}