.ui-slider {
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    position: relative;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.ui-slider img{
    width: 100%;
    max-width: 480px;
}
.ui-slider-group {
    overflow: hidden;
    position: relative;
    white-space: nowrap; /*内容不换行*/
    -webkit-transform: translateZ(0);
}

.ui-slider-item {
    background-color: #e3e3e3;
    text-align: center;
    position: relative;
    float: left;
    overflow: hidden;
    -webkit-box-sizing: border-box;
}

/* =========================================================================
   Default
   ========================================================================= */
.ui-slider-item {
    max-width: 480px;
    /*height: 148px;*/
}

.ui-slider-item img {
    width: 100%;
    /*background: #E7E7E7 url(ui-slider-imgbg.png) center center no-repeat;*/
    /*background: transparent url(ui-slider-imgbg.png) center center no-repeat;*/
}

.ui-slider-item > a {
    display: block;
    text-decoration: none;
    /*由于slide-item有3d属性，导致android上最后一个overflow:hidden无效，所以给子集也加个overflow:hidden;*/
    width: 100%;
    overflow: hidden;
}

.ui-slider-item > p {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: left;
    pointer-events: none;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 0;
    text-indent: 10px;
}

/*.ui-slider-dots {*/
    /*position: absolute;*/
    /*bottom: 6px;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*padding: 0 6px;*/
    /*text-align: center;*/
/*}*/

.ui-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 0 6px;
    text-align: center;
}

.ui-slider-dots > b {
    display: inline-block;
    margin: 0 4px;
    width:7px;
    height: 7px;
    border-radius: 4px;
    background: #aeaeae;
}

.ui-slider-dots .ui-state-active {
    background: #ff4000;
    width: 9px;
    height: 9px;
}

/*.ui-slider-pre, .ui-slider-next {*/
    /*position: absolute;*/
    /*z-index: 99;*/
    /*width: 50px;*/
    /*height: 60px;*/
    /*top: 50%;*/
    /*left: 0;*/
    /*margin-top: -30px;*/
    /*outline: none;*/
/*}*/

.ui-slider-pre, .ui-slider-next {
    position: fixed;
    z-index: 99;
    width: 50px;
    height: 60px;
    bottom: 45px;
    left: 0;
    margin-top: -30px;
    outline: none;
}

.ui-slider-next {
    right: 0;
    left: auto;
}

.ui-slider-pre:after, .ui-slider-next:after {
    position: absolute;
    width: 20px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3) url(ui-slider-arrow.png) no-repeat;
    background-size: 35px 15px;
    outline: none;
    content: '\0020';
    display: inline-block;
    background-position: 3px center;
    left: 0;
    top: 50%;
    margin-top: -20px;
    border-radius: 0 20px 20px 0;
}

.ui-slider-next:after {
    background-position: -18px center;
    right: 0;
    left: auto;
    border-radius: 20px 0 0 20px;
}

/*css for pad*/
@media all and (min-device-width: 768px) and (max-device-width: 1024px) {
    .ui-slider-item > p {
        font-size: 16px;
        padding: .5em 0;
        text-indent: .8em;
    }

    .ui-slider-dots {
        bottom: .5em;
        padding-right: .5em;
    }

    .ui-slider-dots b {
        margin-right: .5em;
        width: .5em;
        height: .5em;
        border-radius: .25em;
    }
}
