button {
    /* 修复IE 7 显示灰色方块 */
    font-size: 0;
    width: 0;
    height: 0;
    outline:none;
    /* 去掉button点击后的边框 */
}

#owl-demo,
.item {
    width: 570px;
    height: 370px;
}

#owl-demo {
    position: relative;
}

#owl-demo .item img {
    width: 570px;
    height: 320px;
}

#owl-demo .itemBg {
    width: 570px;
    height: 50px;
    background: #c50707;
}

#owl-demo .itemBg h5 {
    padding: 5px 20px;
    color: #fff;
    font-size: 16px;
    line-height: 30px;
    font-weight: normal;
}

#owl-demo .owl-nav {
    display: none;
    position: absolute;
    top: 50%;
    margin-top: -60px;
    /* width: 570px; */
    height: 80px;
}

#owl-demo:hover .owl-nav {
    display: block;
}

#owl-demo .owl-nav button span {
    position: absolute;
    width: 40px;
    height: 80px;
    text-indent: -9999px;
    background-image: url(../images/btn01.png);
}

#owl-demo .owl-prev span {
    left: 0;
    background-position: 0 0;
}

#owl-demo .owl-next span {
    right: -570px;
    background-position: -40px 0;
}

#owl-demo .owl-prev:hover span {
    background-position: 0 -80px;
}

#owl-demo .owl-next:hover span {
    background-position: -40px -80px;
}

.owl-dots {
    position: absolute;
    bottom: 5px;
    right: 10px;
}

#owl-demo .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin-right: 5px;
    background: url(../images/dot.png) 0 0 no-repeat;
}

#owl-demo .owl-dots .owl-dot.active {
    width: 25px;
    height: 10px;
    margin-right: 5px;
    background: url(../images/dot.png) -15px 0 no-repeat;
}

#owl-demo02 {
    position: relative;
    margin-top: 30px;
}

#owl-demo02 .item .scale-img {
    width: 320px;
    height: 180px;
    background: #ffd7a2;
}

#owl-demo02 .item img {
    width: 310px;
    height: 170px;
    margin: 5px;
}

#owl-demo02 .itemBg h5 {
    color: #b28850;
    font-size: 18px;
    line-height: 30px;
    font-weight: normal;
}

#owl-demo02 .owl-nav {
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -80px;
    /* width: 1000px; */
    height: 80px;
}

#owl-demo02 .owl-nav button span {
    position: absolute;
    width: 40px;
    height: 80px;
    text-indent: -9999px;
    background-image: url(../images/btn02.png);
}

#owl-demo02 .owl-prev span {
    left: -40px;
    background-position: 0 0;
}

#owl-demo02 .owl-next span {
    right: -1040px;
    background-position: -40px 0;
}

#owl-demo02 .owl-prev:hover span {
    background-position: 0 -80px;
}

#owl-demo02 .owl-next:hover span {
    background-position: -40px -80px;
}

#owl-demo03 {
    position: relative;
    width: 670px;
    height: 376px;
}

#owl-demo03 .item img {
    width: 670px;
    height: 376px;
}

#owl-demo03 .itemBg h5 {
    margin-top: 50px;
    color: #333;
    font-size: 24px;
    line-height: 30px;
    font-weight: normal;
    text-align: center;
}

#owl-demo03 .owl-nav {
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -60px;
    /* width: 670px; */
    height: 80px;
}

#owl-demo03 .owl-nav button span {
    position: absolute;
    width: 64px;
    height: 64px;
    text-indent: -9999px;
    background-image: url(../images/btn03.png);
}

#owl-demo03 .owl-prev span {
    left: -120px;
    background-position: 0 0;
}

#owl-demo03 .owl-next span {
    right: -790px;
    background-position: -64px 0;
}

#owl-demo03 .owl-prev:hover span {
    background-position: 0 -64px;
}

#owl-demo03 .owl-next:hover span {
    background-position: -64px -64px;
}

