* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    transition: 0.4s;
}
.logo{
    width: 100%;
    height: 130px;
    display: block;
    background-image: url(../images/index/logo.png);
    background-position-y: -10px;
    background-size: cover;
    background-repeat: no-repeat;   
}
nav{
    display: block;
    width: 100%;
    height: 55px;
    /* background: red; */
    background: rgb(144,116,102);
}
nav ul{
    height: 100%;
    margin-left: 5%;
}
nav ul li{
    position: relative;
    float: left;
}
nav ul li .sp{
    position: absolute;
    width: 100%;
    height: 40px;
    display: none;
}
nav ul li .sp a{
    line-height: 40px;
    background-color: rgba(144,116,102,0.9);

}
nav ul li:hover>.sp{
    display: block;
}
nav ul li a{
    display: block;
    height: 100%;
    /* margin: 0 22px; */
    padding: 0 22px;
    line-height: 55px;
    text-align: center;
    color: black;
    color: aliceblue;
}
nav ul li a:hover{
    background-color: #fff;
    color: #000;
}
.banner{
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.banner img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit:cover;
}
.zhuti .leirong1{
    width: 1560px;
    height: 300px;
    background:rgb(248,248,248);
    margin: 10px auto;

}
.zhuti .leirong1 .left{
    width: 1560px;
    height: 100%;
    float: rigth;
    background:rgba(238,249,255);
}
.zhuti .leirong1 .left .img{
    width: 20%;
    float: left;
    height: 100%;
    background:rgb(240,240,240);
}
.zhuti .leirong1 .left img{
    width: 95%;
    height: 80%;
    margin: 8px;
    object-fit:cover;
    border-radius: 5px;
}
.zhuti .leirong1 .left img:hover{
    box-shadow: 10px 10px 5px #888888;
}
.zhuti .leirong1 .left .guanyu{
    float: right;
    width: 70%;
}
.zhuti .leirong1 .left .guanyu h2{
    line-height: 50px;  
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 0 10px;
}
.zhuti .leirong1 .left .guanyu p{
    font-size: 17px;
    color: #333;
    line-height: 25px; 
    text-indent: 2em; 
    padding: 0 10px;
}
.zhuti .leirong2{
    width: 90%;
    height: 300px;
    margin: 25px auto;

}
.zhuti .leirong2 .xingwen,.zhuti .leirong2 .redian{
    width: 49%;
    height: 300px;
    float: left;
    background-color:beige;
    border-radius: 14px;
    overflow: hidden;
}
.zhuti .leirong2 .redian{
    float: right;
}
.zhuti .leirong2 .xingwen h2,.zhuti .leirong2 .redian h2{
    background:rgb(144,116,102);
    line-height: 50px;
    padding-left: 15px;
}
.zhuti .leirong2 .xingwen ul,.zhuti .leirong2 .redian ul{
    line-height: 45px;
    padding: 0 30px;
}
.zhuti .leirong2 .xingwen ul li,.zhuti .leirong2 .redian ul li{
    border-bottom:1px solid #000
}
.zhuti .leirong2 .xingwen ul a:hover,.zhuti .leirong2 .redian ul a:hover{
    text-decoration: underline;
}

footer {
    display: flex;
    width: 100%;
    height: 80px;
    align-items: center;
    justify-content: center;
    background-color: rgb(144,116,102);
}
footer p{
    text-align: center;
}
footer a{
    color: #000;
}
footer a:hover{
    text-decoration: underline;
}
.flex {
  position: fixed;
  width: 64px;
  height: 122px;
  top: 50%;
  right: 0px;
  margin-top: -100px;
  background-color: #fff;
  z-index: 9999;
}
.flex > .item {
  width: 60px;
  height: 60px;
  padding-top: 10px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 12px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
}
.flex > .item > .img {
  position: absolute;
  top: 0px;
  z-index: -1;
  left: 65px;
}
.flex > .item > .hmbox {
	position: absolute;
    top: 6px;
    z-index: -1;
    left: 65px;
    font-size: 16px;
    width: 160px;
    text-align: center;
    line-height: 54px;
    height: 50px;
    background-color: #fff;
	font-weight: 550;
	letter-spacing: 2px;
}
.flex > .mt {
  margin-top: -1px;
}
.loop-wrap {
    position: relative;
    width: 800px;
    height: 400px;
    margin: 0px auto;
    overflow: hidden;
}
.loop-images-container{
    position: absolute;
    left: 0; top: 0;
    width: 500%; /* 横向排列 5张图片 宽度应为主容器5倍 */
    height: 100%;
    font-size: 0;
}
.loop-image{
    width: 800px;
    height: 400px;
}
/*
animation: name duration timing-function delay iteration-count direction
name: 动画名
duration： 动画持续时间 设置为0则不执行
timing-function：动画速度曲线
delay：动画延迟开始时间 设置为0则不延迟
iteration-count：动画循环次数 设置为infinite则无限次循环
direction：是否应该轮流反向播放动画 normal 否 alternate 是
*/
.loop-images-container{
    position: absolute;
    left: 0; top: 0;
    width: 500%;
    height: 100%;
    font-size: 0;
    transform: translate(0,0); /* 初始位置位移 */
    animation: loop 20s linear infinite;
}
/* 创建loop动画规则 */
/* 
   轮播5张，总耗时10s，单张应为2s(20%)
   单张切换动画耗时500ms，停留1500ms
*/
@keyframes loop {
    0% {transform: translate(0,0);}
    15% {transform: translate(0,0);} /* 停留1500ms */
    20% {transform: translate(-20%,0);} /* 切换500ms 位移-20% */
    35% {transform: translate(-20%,0);}
    40% {transform: translate(-40%,0);}
    55% {transform: translate(-40%,0);}
    60% {transform: translate(-60%,0);}
    75% {transform: translate(-60%,0);}
    80% {transform: translate(-80%,0);}
    95% {transform: translate(-80%,0);}
    100% {transform: translate(0,0);} /* 复位到第一张图片 */
}