/*轮播图*/
*{
    margin: 0;
    padding: 0;
}
a{
    list-style: none;
}
li{
    list-style: none;
}
.lunbo{
    width: 100%;
}
.content{
    /*height: 162px;*/
    margin: 0px auto;
    position: relative;
}
#item{
    width: 100%;
    height: 100%;

}
.item{
    position: absolute;
    opacity: 0;
    transition: all 1s;

}
.item.active{
    opacity:1;
}
img{
    width: 100%;
}
#btn-left{
    width: 30px;
    height: 69px;
    font-size: 30px;
    color: white;
    background-color:rgba(0,0,0,0.4);
    line-height: 69px;
    padding-left:5px;
    z-index: 10;/*始终显示在图片的上层*/
    position: absolute;
    left: 0;
    top: 303px;
    transform: translateY(-60%);/*使按钮向上偏移居中对齐*/
    cursor: pointer;
    opacity: 0;/*平时隐藏*/
}
.lunbo:hover #btn-left{
    /*鼠标滑入，显示图标*/
    opacity: 1;
}

#btn-right{
    width: 26px;
    height: 69px;
    font-size: 30px;
    color: white;
    background-color:rgba(0,0,0,0.4);
    line-height: 69px;
    padding-left: 5px;
    z-index: 10;
    position: absolute;
    right: 0;
    top: 303px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-60%);
}
.lunbo:hover #btn-right{
    opacity: 1;
}
#circle{
    margin-right: 50%;
    margin-top: 31%;
    height: 20px;
    display: flex;
    position: absolute;
    right: 25px;
}
.circle{
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 2px solid white;
    background: rgba(0,0,0,0.4);
    cursor: pointer;
    margin: 5px;
}
.white{
    background-color: #FFFFFF;
}



/*滚动图*/

#box {
    width: 1200px;   /* 设置父元素盒子总宽度=每张图片宽度+图片中间的边距margin之和 */
    margin: 50px auto;  /* 设置父元素距顶部50px，居中，便于显示 */
    overflow: hidden;  /* 设置超出的图片内容隐藏 */

}
#box ul {
    list-style: none;   /* 取消ul的默认圆点样式 */
    width: 100000px;    /* ul宽度设置大一点，超过图片+边距总长度的两倍 */
    position: relative;   /* 设置相对定位，便于使用left控制图片列表的位置，不断左移 */
}
#box ul li {
    float: left;    /* 设置每一项靠左在一行显示 */
    margin-right: 10px;  /* 设置右边距 */
}
#list img{
    width: 288px;  /* 设置图片统一宽度 */
}
/* 当鼠标悬浮在图片上时 */
#list img:hover{
    cursor: pointer;  /* 鼠标变为手势 */
    scale: 1.3;  /* 图片放大为1.3倍 */
}

/*滚动图*/

#box2 {
    width: 1200px;   /* 设置父元素盒子总宽度=每张图片宽度+图片中间的边距margin之和 */
    margin: 50px auto;  /* 设置父元素距顶部50px，居中，便于显示 */
    overflow: hidden;  /* 设置超出的图片内容隐藏 */

}
#box2 ul {
    list-style: none;   /* 取消ul的默认圆点样式 */
    width: 100000px;    /* ul宽度设置大一点，超过图片+边距总长度的两倍 */
    position: relative;   /* 设置相对定位，便于使用left控制图片列表的位置，不断左移 */
}
#box2 ul li {
    float: left;    /* 设置每一项靠左在一行显示 */
    margin-right: 10px;  /* 设置右边距 */
}
#list2 img{
    width: 288px;  /* 设置图片统一宽度 */
}
/* 当鼠标悬浮在图片上时 */
#list2 img:hover{
    cursor: pointer;  /* 鼠标变为手势 */
    scale: 1.3;  /* 图片放大为1.3倍 */
}