/* 自定义代码段 */
/* 通用开始 */
.main-box {
    width: 100%;
}

.top-bg {
    width: 100%;
    background: url(szjj-bg.png) no-repeat center top;
    background-size: auto 280px;
    height: 280px;
}

.gyjt-nav {
    width: 100%;
    height: auto;
    background: #466DD0;
}

.nav-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    margin: 0 auto;
    padding-top: 5px;
}

.nav-list {
    display: flex;
}

.nav-list li {
    padding: 15px 20px;
}

.nav-list li.ons,
.nav-list li:hover {
    background-color: #fff;
}

.nav-list li.ons a,
.nav-list li:hover a {
    color: #0054C2;
}

.nav-list li a {
    font-size: 18px;
    color: #fff;
}

.dqwz-box .currpos {
    display: flex;
}

.dqwz-box .currpos,
.dqwz-box .currpos a {
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
}

/* 通用结束 */

.znwl-box {
    width: 1200px;
    margin: 0 auto;
    padding: 40px 0 50px;
}

.tabs {
    display: flex;
    justify-content: center;
}

.tab {
    width: 150px;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
    background: #fff;
    border: 1px solid #999;
    font-family: "PingFang SC Bold";
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #999;
    margin-right: 30px;
    cursor: pointer;
}

.tab.active {
    background: #f2f9ff;
    border: 1px solid #0054c2;
    color: #0054c2;
}

.gallery {
    display: none;
    justify-content: center;
    margin-top: 40px;
}

.gallery.active {
    display: flex;
    justify-content: space-between;
}

.gallery img {
    width: 380px;
    height: 213px;
    object-fit: cover;
    cursor: pointer;
}

.preview {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 9;
}

.preview img {
    width: 100%;
    height: auto;
}

.preview .close,
.preview .prev,
.preview .next {
    position: absolute;
    cursor: pointer;
}

.preview .prev,
.preview .next {
    width: 56px;
    height: 56px;
    bottom: -105px;
}

.preview .close {
    top: -65px;
    right: 0;
    font-size: 50px;
    font-weight: 700;
    color: #fff;
}

.preview .prev {
    /* left: 274px; */
    left: calc(50% - 56px);
    transform: translate(-50%, -50%);
    background: url(yq-swiper-l.png) no-repeat left top;
    background-size: 100% 100%;
}

.preview .next {
    right: calc(49% - 56px);
    transform: translate(-50%, -50%);
    background: url(yq-swiper-r.png) no-repeat left top;
    background-size: 100% 100%;
}

/* 调整 */
.gallery li {
    background: #f8f8f8;
}

.gallery li a {
    display: block;
    width: 380px;
    height: 192px;
    padding: 20px;
}

.gallery li a .title {
    font-family: "PingFang SC Bold";
    font-weight: 700;
    font-size: 20px;
    text-align: left;
    color: #333;
}

.gallery li a .txt {
    font-family: "PingFang SC";
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    text-align: left;
    color: #999;
    margin-top: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.zzc-img {
    position: relative;
    max-width: 1000px;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mobile_type .top-bg {
    background: url(cyyq-bg-phone.png) no-repeat center top;
    background-size: 100% auto;
    height: 37.333vw;
}

.mobile_type .gyjt-nav {
    display: none;
}

.mobile_type .znwl-box {
    width: 100%;
    padding: 5.333vw 3.333vw 6.667vw;
}

.mobile_type .tabs {
    display: none;
}

.mobile_type .gallery.active {
    flex-wrap: wrap;
    margin: 0;
}

.mobile_type .gallery img {
    width: 100%;
    height: 52.4vw;
}

.mobile_type .gallery li a {
    width: 100%;
    padding: 4vw;
    height: auto;
}

.mobile_type .gallery li a .title {
    font-size: 4vw;
    font-weight: 400;
}

.mobile_type .gallery li a .txt {
    font-size: 3.2vw;
    margin-top: 2.667vw;
    line-height: 4.8vw;
}

.mobile_type .gallery li {
    margin-bottom: 5.333vw;
}

.mobile_type .gallery li:last-child {
    margin-bottom: 0;
}

.mobile_type .preview {
    width: 100vw;
    padding: 0;
    top: 15.2vw;
    left: 0;
    transform: translate(0, 0);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0;
}

.mobile_type .zzc-img {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 10.667vw);
    height: auto;
}

.mobile_type .zzc-img>img {
    height: 67.067vw;
}

.mobile_type .preview .close {
    font-size: 6vw;
    top: -10vw;
}

.mobile_type .preview .prev,
.mobile_type .preview .next {
    width: 7.467vw;
    height: 7.467vw;
    bottom: 45%;
    transform: translate(0, 0);
}

.mobile_type .preview .prev {
    left: -2.133vw;
}

.mobile_type .preview .next {
    right: -2.133vw;
}

.top-bg {
    display: flex;
    align-items: flex-end;
    height: 340px;
    background-size: auto 340px;
}

.gyjt-nav {
    background-color: rgba(70,109,208,.8);
}