@charset "utf-8";
body,
html {
overflow: hidden;
}
.header {
width: 100%;
position: relative;
}
.header .logo {
position: absolute;
top: 80px;
left: 80px;
}
.header p {
width: 100%;
height: 40px;
line-height: 40px;
padding: 0 30px;
background-color: #ffffff;
box-sizing: border-box;
}
/* 搜索 */
.search-box {
display: flex;
/* align-items: center; */
justify-content: center;
height: 500px;
background: url(/image/zyys/head-bg.png) no-repeat 0 -20px;
background-size: 100% 100%;
}
.search-box .input-box {
height: 40px;
width: 540px;
margin-top: 140px;
/* display:inline-block; */
position: relative
}
.search-box input {
height: 40px;
width: 100%;
border: 1px solid #ccc;
border-radius: 6px;
padding-left: 15px;
}
.search-box input[type='text']:focus {
border-color: #c6976d;
}
.search-btn {
width: 30px;
height: 30px;
display: block;
position: absolute;
right: 1px;
top: 5px;
background: url(/image/zyys/search.png) no-repeat;
background-size: contain;
}
/* 导航 */
.nav {
position: absolute;
top: 410px;
left: 50%;
display: flex;
justify-content: space-between;
width: 1200px;
height: 200px;
margin: 0 auto;
margin-left: -600px;
padding: 0 7%;
box-sizing: border-box;
background: url(/image/zyys/nav-bg.png) no-repeat center center;
background-size: 25%;
}
.nav-left,
.nav-right {
display: flex;
}
.nav-list {
width: 25px;
padding: 40px 20px;
color: #fff;
font-size: 13px;
font-weight: bold;
margin: 0 20px;
text-align: center;
align-items: center;
display: flex;
}
.nav-left .nav-list {
background: url(/image/zyys/nav-l.png) no-repeat center center;
}
.nav-left .nav-list:hover,
.nav-left .nav-list.active {
color: #8b6757;
background: url(/image/zyys/nav-l-cur.png) no-repeat center center;
}
.nav-right .nav-list {
background: url(/image/zyys/nav-r.png) no-repeat center center;
}
.nav-right .nav-list:hover,
.nav-right .nav-list.active {
color: #8b6757;
background: url(/image/zyys/nav-r-cur.png) no-repeat center center;
}
.nav-list a{
color: #fff;
}
.nav-left .nav-list a:hover,
.nav-left .nav-list a.active {
color: #8b6757;
}
.nav-right .nav-list a:hover,
.nav-right .nav-list a.active {
color: #8b6757;
}