.slider {

    width: 100%;

    height: 500px;

    margin: 0 auto;

    overflow: hidden;

}



/* 切换按钮 */

    /* 上一个 */

.osSlider-main .slider-btn-prev {

    position: absolute;

    z-index: 30;

    top: 50%;

    left: -45px;

    width: 40px;

    height: 40px;

    text-indent: -9999px;

    margin-top: -20px;

    background: url(./img/prev.png) 50% 50% no-repeat;

    transition: all .5s linear;

}



.osSlider-main:hover .slider-btn-prev {

    left: 5px;

}

    /* 下一个 */

.osSlider-main .slider-btn-next {

    position: absolute;

    z-index: 30;

    top: 50%;

    right: -45px;

    width: 40px;

    height: 40px;

    text-indent: -9999px;

    margin-top: -20px;

    background: url(./img/next.png) 50% 50% no-repeat;

    transition: all .5s linear;

}



.osSlider-main:hover .slider-btn-next {

    right: 5px;

}



/* 高亮导航部分 */

.osSlider-main .slider-nav {

    position: absolute;

    width:100%;

    height: 22px;

    bottom: 15px;

    text-align: center;

    z-index: 25;

}

.osSlider-main .slider-nav li {

    overflow: hidden;
    display: inline-block;
    width: 40px;
    height: 8px;
    line-height: 100px;
    margin: 0 5px;
    font-size: 12px;
    color: #eee;
    background: #eee;
    cursor: pointer;
    transition: all 0.3s;

}

.osSlider-main .slider-nav li.active {

    background: #277FDA;

}

.osSlider-main .slider-nav li:hover {

    background: #277FDA;

}

