﻿.banner{
    position: relative;
    overflow: hidden;
    float: left;
    width: 508px;
    height: 304px;
    /* 图片大小 需要修改 */
}
.banner > ul{
    position: absolute;
    width: 800%;
    height: 100%;
}
.banner > ul li{
    position: relative;
    float: left;
    width: 508px;
    height: 100%;
}
.banner li a{
    width: 100%;
    height: 100%;
}
.banner li img{
    width: 100%;
    height: 100%;
}
.banner > ul li p{
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 16px;
    padding-right: 140px;
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    background: rgba(0,0,0,.5);
    color: #fff;
}
.banner > ul li p a{
    color: #fff;
}
.banner .btn{
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -27px;
    width: 31px;
    height: 55px;
    color: #fff;
    font-size: 35px;
    text-align: center;
    line-height: 55px;
    background: rgba(0,0,0,.3);
    cursor: pointer;
}
.banner .btn.prev{
    left: 0;
}
.banner .dot{
    position: absolute;
    bottom: 6px;
    right: 12px;
}
.banner .dot li{
    float: left;
    margin: 0 3px;
    width: 20px;
    height: 16px;
    background: #666666;
    color: #fff;
    text-align: center;
    line-height: 16px;
    font-size: 14px;
    cursor: pointer;
}
.banner .dot li.active{
    background-color: #df1c00;
}
