﻿
#certify {
    position: relative;
}

#certify .swiper-container {
    padding-bottom: 60px
}

#certify .swiper-slide {
    width: 520px;
    height: auto;
    background: #fff;
    box-shadow: 0 8px 30px #ddd
}

#certify .swiper-slide img {
    display: block;
    width: 100%;
}

#certify .swiper-slide p {
    line-height: 52px;
    padding: 0 15px;
    color: #FFF;
    font-size: 1.1em;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: rgba(255, 106, 0, 0.9)
}

#certify .swiper-pagination {
    width: 100%;
    bottom: 20px
}

#certify .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
    border: 3px solid #fff;
    background-color: #d5d5d5;
    width: 10px;
    height: 10px;
    opacity: 1
}

#certify .swiper-pagination-bullets .swiper-pagination-bullet-active {
    border: 3px solid #00aadc;
    background-color: #fff
}

#certify .swiper-button-prev {
    left: -30px;
    margin-top: -70px;
    width: 70px;
    height: 70px;
    background: url(../image/prev.png) no-repeat;
}

#certify .swiper-button-next {
    right: -30px;
    margin-top: -70px;
    width: 70px;
    height: 70px;
    background: url(../image/next.png) no-repeat;
}

@media screen and (max-width: 1200px) {
    #certify {
        width: 100%
    }
}

@media screen and (max-width: 768px) {
    #certify .swiper-slide {
        width: 198px;
        opacity: 0.8
    }

    #certify .swiper-slide p {
        line-height: 38px;
    }

    #certify .swiper-button-prev {
        left: 0px;
        margin-top: -50px;
        width: 40px;
        height: 40px;
        background-size: 100%;
    }

    #certify .swiper-button-next {
        right: 0px;
        margin-top: -50px;
        width: 40px;
        height: 40px;
        background-size: 100%;
    }
}