﻿@charset "utf-8";

/*轮播图*/
#swiper, #swiper img {
    width: 100%;
    min-height: 1.6rem;
}

#swiper .swiper-pagination {
    bottom: 0.3rem;
}

#swiper .swiper-pagination-bullet {
    width: 0.16rem;
    height: 0.16rem;
    margin: 0 0.08rem;
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
}

#swiper .swiper-pagination-bullet-active {
    background: #fff;
}

.title {
    align-items: center;
    margin: 0.3rem 0 0.24rem;
    border-bottom: 1px solid #D9D9D9;
}

.title h2 {
    position: relative;
    padding-bottom: 0.1rem;
}

.title h2::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--varColor);
}

.title h2 span {
    font-size: 0.2rem;
    margin-left: 0.05rem;
}

.title h2 img {
    height: 0.35rem;
}

.title a {
    color: #666;
}

.title a:hover {
    color: var(--varColor);
}

.title.on {
    border-color: #7C0101;
    background: url("../images/title-bg.png") no-repeat left bottom -10px;
}

.title.on h2 {
    padding-left: 0.55rem;
    background: url("../images/icon1.png") no-repeat left top;
    background-size: 0.45rem;
}

.title.on h2::after {
    display: none;
}

.news {
    width: 66%;
}

#news {
    width: 48%;
}

#news .swiper-slide .img {
    height: 2.95rem;
}

#news .swiper-slide .txt {
    position: relative;
    padding: 0.15rem 0.2rem;
    margin: -0.16rem 0.2rem 0.3rem;
    background: #FFFFFF;
    border-radius: 0.3rem;
    display: flex;
    justify-content: center;
}

#news .swiper-slide .txt p {
    font-size: 0.18rem;
    height: 3em;
}

#news .swiper-slide .txt p a:hover {
    font-weight: bold;
}

#news .swiper-pagination-bullet {
    width: 0.12rem;
    height: 0.12rem;
}

#news .swiper-pagination-bullet-active {
    background: #D24735;
}

#news .swiper-button-prev, #news .swiper-button-next {
    top: auto;
    bottom: 0;
}

#news .swiper-button-prev::after, #news .swiper-button-next::after {
    display: none;
}

#news .swiper-button-prev, #news .swiper-button-next {
    width: 0.42rem;
    height: 0.42rem;
    background: url("../images/prev.png") no-repeat;
    background-size: contain;
}

#news .swiper-button-prev {
    left: 10%;
}

#news .swiper-button-next {
    right: 10%;
    background-image: url("../images/next.png");
}

.news .flex ul {
    width: 48%;
}

.news .flex ul li {
    display: flex;
    margin-bottom: 0.28rem;
}

.news .flex ul li:last-of-type {
    margin-bottom: 0;
}

.news .flex ul li .date {
    min-width: max-content;
    color: #C23431;
    font-size: 0.13rem;
    text-align: center;
    margin-right: 0.2rem;
}

.news .flex ul li .date p {
    font-size: 0.3rem;
    line-height: 1.2em;
}

.news .flex ul li p {
    flex-grow: 1;
    font-size: 0.16rem;
}

.news .flex ul li p a:hover {
    font-weight: bold;
}

.notice {
    width: 32%;
}

.tab a {
    display: inline-flex;
    font-size: 0.16rem;
    color: #9B6E21;
    margin-left: 0.1rem;
    padding: 0.05rem 0.2rem;
    background: #F2E4CB;
    border-radius: 0.3rem;
}

.tab a.on {
    color: #fff;
    font-weight: bold;
    background: var(--varColor);
}

.context ul {
    display: none;
}

.context ul.on {
    display: block;
}

.context ul li span {
    margin-right: 2em;
    color: var(--varColor);
}

.context ul li p {
    font-size: 0.16rem;
    margin: 0.05rem 0 0.2rem;
}

.context ul li > a {
    color: #666;
    display: inline-flex;
    margin-top: 0.1rem;
}

.context ul li > a:hover {
    color: var(--varColor);
}

.box {
    width: 32%;
}

.box ul li span {
    color: var(--varColor);
}

.box ul li p {
    font-size: 0.16rem;
    margin: 0.05rem 0 0.2rem;
}

.box ul li:last-of-type p {
    margin-bottom: 0;
}

/*相关链接*/
#link .swiper-slide a:hover {
    opacity: 0.8;
}

/*快捷通道*/
#fast .swiper-slide a {
    height: 0.9rem;
    background: rgba(230, 205, 159, 0.6);
    border: 1px solid #E6CD9F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#fast .swiper-slide p {
    font-size: 0.15rem;
    line-height: 1.75em;
}

#fast .swiper-slide a:hover {
    background: rgba(230, 205, 159, 1);
}

#fast .swiper-slide a:hover img {
    transform: rotateY(180deg);
}