@charset "utf-8";

/* CSS Document */

body {
    margin: 0;
}

#certify {
    position: relative;
    width: 100%;
    margin: 0 auto
}

#certify .swiper-slide-active {
    transform: none!important;
}

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

#certify .swiper-slide {
    width: 48%;
    padding: 30px;
    background: url(../img/sjGray.png) no-repeat right bottom #E6E6E6;
    border-radius: 16px;
    overflow: hidden;
}

#certify .swiper-slide-active {
    background: url(../img/sjRed.png) no-repeat right bottom #9F0101;
}

#certify .swiper-slide i {
    display: block;
    width: 100%;
    padding-bottom: 140%;
    position: relative;
}

#certify .swiper-slide img {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

#certify .swiper-slide h6 {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

#certify .swiper-slide h6::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-image: linear-gradient(to right, rgba(102, 102, 102, 0.47) 30%, transparent 30%), linear-gradient(to right, transparent 60%, rgba(102, 102, 102, 0.47) 60%);
    background-size: 10px 6px;
    background-repeat: repeat-x;
    height: 2px;
    margin-bottom: 10px;
}

#certify .swiper-slide h6 p {
    font-weight: bold;
    font-size: 16px;
    color: #333333;
}

#certify .swiper-slide h6 span {
    color: #333;
    font-size: 14px;
}

#certify .swiper-slide-active h6 p,
#certify .swiper-slide-active h6 span {
    color: #fff;
}

#certify .swiper-slide-active h6::before {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.47) 30%, transparent 30%), linear-gradient(to right, transparent 60%, rgba(255, 255, 255, 0.47) 60%);
}

#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,
#certify .swiper-button-next {
    width: 45px;
    height: 45px;
    border: 2px solid #999;
    border-radius: 50%;
}

#certify .swiper-button-prev {
    left: -60px;
}

#certify .swiper-button-prev:hover,
#certify .swiper-button-next:hover {
    border-color: #9F0101;
}

#certify .swiper-button-next {
    right: -60px;
}

#certify .swiper-button-prev:after,
#certify .swiper-button-next:after {
    font-size: 22px;
    font-weight: bold;
    color: #999;
}

#certify .swiper-button-prev:hover::after,
#certify .swiper-button-next:hover::after {
    color: #9F0101;
}

.swiper-scrollbar {
    height: 7px;
    background: #D9D9D9;
}

.swiper-scrollbar-drag {
    background: #9F0101;
    height: 14px;
    margin-top: 2px;
    position: relative;
    top: -4px;
}

.prev-btn.disabled,
.next-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}


/* 查看大图 */

.bioGalleryBox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    overflow: hidden;
}

.bioGalleryBox .bioGalleryItem {
    width: calc(33.3333% - 25px);
    cursor: pointer;
}

.bioGalleryBox .bioGalleryItem i {
    width: 100%;
    padding-bottom: 60%;
    position: relative;
    display: block;
    box-shadow: 0px 4px 10px 5px rgba(0, 0, 0, 0.15);
}

.bioGalleryBox i img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bioGalleryView {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: none;
}

.bioGalleryView .closeView {
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;
    color: #ccc;
}

.bioGalleryViewInner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bioGalleryViewInner img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
}


/* 新增 */

.bioGalleryView {
    user-select: none;
    -webkit-user-select: none;
}

.bioGalleryView .closeView {
    z-index: 100;
}

.bioGalleryView .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 99;
}

.bioGalleryView .nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.bioGalleryView .prev-btn {
    left: 20px;
}

.bioGalleryView .next-btn {
    right: 20px;
}

.bioGalleryView .nav-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.bioGalleryViewInner {
    position: relative;
}

.bioGalleryViewInner img {
    /* max-width: 80%; */
    max-height: 90%;
    width: auto;
    height: auto;
    opacity: 1;
    transition: all 0.3s ease;
}

.bioGalleryViewInner img.switching {
    opacity: 0;
    transform: scale(0.95);
}

.carousel .swiper:not(.swiper-3d) .swiper-slide {
    width: 80% !important;
    margin: 0 auto !important;
    transform: none !important;
}

@media screen and (max-width: 768px) {
    .bioGalleryView .nav-btn {
        width: 36px;
        height: 36px;
    }
    .bioGalleryView .prev-btn {
        left: 10px;
    }
    .bioGalleryView .next-btn {
        right: 10px;
    }
}

@media screen and (max-width: 996px) {
    #certify .swiper-button-next,
    #certify .swiper-button-prev {
        display: none;
    }
    #certify .swiper-slide {
        background-image: none;
        padding: 10px;
        width: 100%;
        border-radius: 0;
    }
    #certify {
        overflow: hidden;
    }
}

body,
html {
    transform: none !important;
}