﻿ /* css 重置 */
.banner * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.banner img {
    border: 0;
}

.banner a {
    text-decoration: none;
    color: #333;
}

/* 本例子css */
.banner , .banner .bd a {
    width: 100%;
    max-width: 100%;
    height: 8rem;
}

.banner {
    height: 8rem;
    overflow: hidden;
    position: relative;
}

.banner .bd a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
}

.banner .bd {
    position: relative;
    height: 100%;
    z-index: 0;
}

.banner .bd li {
    zoom:1; vertical-align: middle;
}

.banner .hd {
    position: absolute;
    top: 9rem;
    left: 42%;
}

.banner .hd ul {
    overflow: hidden;
    zoom:1; float: left;
}

.banner .hd ul li {
    float: left;
    width: 1rem;
    height: 0.3rem;
    cursor: pointer;
    margin-right: 0.3rem;
    background: #ccc;
    border-radius: 1rem;
}

.banner .hd ul li.on {
    background: #cd1917;
}

.banner .prev {
    left: 0;
    background-position-x: 2.5rem !important;
}

.banner .next {
    right: 0;
    /* background-position-x: 1rem !important; */
}

.banner .prev,.banner .next {
    width: 1.25rem;
    min-height: 2.8rem;
    position: absolute;
    top: 2.5rem;
    z-index: 3;
    filter: alpha(opacity=30);
    -moz-opacity: .3;
    opacity: .3;
    -webkit-transition: All .5s ease;
    -moz-transition: All .5s ease;
    -o-transition: All .5s ease;
    background: url(../image/bannerBt.png) center right;
    background-size: auto 100%;
}
