.head-hd {
    color: #fff;
    height: 2.5rem;
    line-height: 2.5rem;
    background-color: var(--color-main);
    overflow: hidden;
}

.head {
    position: relative;
}

#logo img {
    min-height: 64px;
}

.search-bar {
    padding: .5rem .625rem;
    background-color: var(--color-dot);
}

.search-bar .input {
    background-color: #fff;
    height: 2rem;
}

.search-bar .addon {
    color: #fff;
    height: 2rem;
    margin-right: 0;
}

.search-bar .button {
    padding: 0 1em;
}

nav {
    position: relative;
    background-color: var(--color-light);
    border-bottom: 3px solid var(--color-dot);
    z-index: 10;
}

.nav.nav-card>li.active>a, .nav.nav-card>li:hover>a {
    background-color: var(--color-dot);
    border-radius: 0;
}

.nav>li.drop>a::after {
    content: none;
}

.drop>.dropdown {
    min-width: 11.25rem;
}

.dropdown .nav {
    background-color: var(--color-dot);
}

#sidebar {
    width: 240px;
    z-index: 9999;
}

.sidebar>.nav-switch {
    top: 1.5rem;
    color: white;
}

.sidebar .upper {
    padding: .5em 1em;
    border-top: solid 1px rgba(0,0,0,.1);
    text-align: left;
    color: #aaa;
}

.sidebar .subnav {
    padding-bottom: .5em;

}

.sidebar .subnav a {
    display: block;
    margin: 0 1em;
    height: 2rem;
    line-height: 2rem;
    overflow: hidden;
    font-size: .875rem;
}

.sidebar .subnav .active a {
    background-color: var(--color-main);
    color: white;
}

.banner {
    position: relative;
    background-color: var(--color-sub);
    margin-top: -2.875rem;
    z-index: 1;
}

.flip>.flip-prev::before, .flip>.flip-next::before {
    border-top-width: 4px;
    border-right-width: 4px;
    text-shadow: 2px 2px 5px #000;
}

#top_news .flip-item>.txt {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    width: 100%;
    padding: .375rem .625rem;
}

#top_news .flip-page {
    top: 50%;
    left:auto;
    right: 1rem;
    bottom: auto;
    flex-direction:column;
    transform: translateY(-50%);
}

#top_news .flip-page>li:not(:last-child) {
    margin-right: 0;
    margin-bottom: 0.5em;
}

.tit .title {
    padding-bottom: .625rem;
    margin-bottom: 0;
    border-bottom: 3px solid var(--color-main);
}

.tit .more {
    font-size: .875rem;
    color: var(--color-gray);
}

.con li {
    display: flex;
    justify-content: start;
}

.con li i {
    vertical-align: middle;
    background-color: var(--color-main);
    min-width: 3px;
    width: 3px;
    height: 3px;
    align-self: center;
}

.notic .tit {
    padding-bottom: .625rem;
}

.notic .tit .title {
    border-bottom: none;
    border-left: 5px solid var(--color-main);
    padding-bottom: 0;
    padding-left: 1rem;
}

.notic .con {
    min-height: 215px;
}

.notic .con .time {
    border: 1px solid var(--color-main);    
}

.notic .con .time p {
    width: 4.2rem;
    margin-bottom: 0;
    padding: 0 .5rem;
    text-align: center;
    color: var(--color-main);
}

.notic .con .time p.year {
    background-color: var(--color-main);
    color: white;
}

.notic .con .con-body {
    flex-grow: 1;
    margin-left: 1rem;
}

.notic .con .con-body a {
    display: -webkit-box;
    overflow: hidden;
    text-overflow:ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient:vertical;
    height: 3rem;
}

.news .con {
    min-height: 240px;
}

.news .con a {
    margin-left: .625rem;
    overflow: hidden;
    word-wrap: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#pictures {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#pictures h1,#pictures h2 {
    position: absolute;
    width: 100%;
    left: 50%;
    margin-left: -50%;
    font-size: 2.5rem !important;
    height: 3rem;
    line-height: 3rem;
    color: #ddd;
}

#pictures h1 {
    font-size: 1.25rem !important;
    color: var(--color-text);
}

.mySwiper {
    padding-top: 4rem;
    height: 219px;
}
#friendLink .border {
    border-radius: 1.125rem;
}

#friendLink h4 {
    min-width: 42px;
    font-size: var(--rem) !important;
    align-self: center;
    margin-bottom: 0;
    line-height: 1.125;
}

#friendLink ul {
    margin: 0;
    line-height: 1.125;
    
}

#friendLink ul>li {
    padding-top: .5rem;
    padding-bottom: .5rem;
    line-height: 1.125;
}

.sider_menus .caption {
    padding: 1.25rem;
    text-align: center;
    color: white;
    font-weight: 400;
    background-color: var(--color-main);
    margin-bottom: 0;
}

.sider_menus .nav>li {
    margin-top: 10px;
    padding-right: 10px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    color: var(--color-text);
}

.sider_menus .nav>li:hover {
    /* background-color: hsl(from var(--color-main) h s calc(l * 1.5)); */
    background-color: var(--color-main);
    color: white;
    filter:brightness(150%);/* 设置亮度值，范围：0-1 */
    -webkit-filter:brightness(150%);/* 兼容不同浏览器 */
    -o-filter:brightness(150%);
    -moz-filter:brightness(150%);
}

.sider_menus .nav>li.active,.sider_menus .nav>li.active:hover {
    background-color: var(--color-main);
    color: white;
    filter:brightness(200%);/* 设置亮度值，范围：0-1 */
    -webkit-filter:brightness(200%);/* 兼容不同浏览器 */
    -o-filter:brightness(200%);
    -moz-filter:brightness(200%);
}

.sider_menus .nav>li>a {
    text-align: left;
    flex-grow: 1;
    white-space:normal;
    font-size: 1.125rem;
    transition: none;
}

.sider_menus .nav>li.active>a,.sider_menus .nav>li:hover>a {
    color: white;
}

.position {
    border-bottom: 2px solid var(--color-main);
}

.position h5 {
    font-weight: 400;
    color: var(--color-main);
    margin-bottom: 0;
}

.position .path {
    float: right;
    line-height: 1.25rem;
    font-size: .875rem;
}

.delimiter {
    margin: 0 3px;
}

.path_current {
    color: #666;
}

.list-news,.list-album {
    min-height: 12.5rem;
}

.list-news .list>li {
    line-height: 1.5;
}

.list-news .list>li>a {
    padding-left: 5px;
}

.list-news .list>li>.time {
    float: right;
    color: #aaa;
}

/*分页*/
.fallsPage{ margin-top: 25px; display: flex; justify-content: center;}

.pagination{
    display: inline-flex; 
    border-radius:0.25rem;
    margin: 0;
    padding: 0;
    list-style:none;
}

.pagination>li{
    position: relative;
    border: 1px solid #ddd;
    line-height: 1.5;
    background-color: #fff;
}

.pagination>li:first-child, .pagination>li:first-child>a {
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

.pagination>li:last-child, .pagination>li:last-child>a {
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
}
.pagination>li:not(:first-child) {
    margin-left: -1px;
}

.pagination>li:hover{
    background-color: #f5f5f5;
}

.pagination>li a,.pagination>li span { 
    display: block;
    white-space: nowrap;
    padding: .375rem .75rem;
    z-index: 1;
    outline:0;
}

.pagination>li a:hover {
    color: var(--color-sub);
}

.pagination>li.active{ 
    border-color: transparent;
    background-color: var(--color-sub);
}

.pagination>li.active span{ 
    color: #ffffff;
}

.pagination li.disabled span{ 
    color: #d2d2d2;
    cursor: not-allowed;
}

.article-hd {
   padding-top: 2rem;
   text-align: center;
   border-bottom: 1px dotted var(--color-gray);
}

.article-hd-title {
    font-size: 1.75rem !important;
    line-height: 1.5;
}

.article-hd-meta {
    font-size: .875rem;
    color: var(--color-gray);
}

.article-bd {
    padding: 2rem 0;
    letter-spacing: 1px;
    min-height: 20rem;
    line-height: 1.875rem !important;
}

.woo-editor-content img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.woo-editor-content iframe {
    width: 100%;
    max-height: 20.5rem;
}

.article-neighbor{
    padding: 15px 0;
    border-top: 1px solid #F0F0F0;
    margin-top: 20px;
}
.article-neighbor .prev{ width: 48%;float: left;height: 30px;line-height: 30px;overflow: hidden;}
.article-neighbor .next{ width: 48%;float: right;height: 30px;line-height: 30px;overflow: hidden;text-align: right;}

.download-info h4 { border-bottom: 1px solid #F0F0F0;line-height: 2em; margin-bottom: 0;}
.download-info .tab-content { padding-top: 8px;}
.article-bd .download-btn { margin: 20px 0;text-align: center;}
.article-bd .download-btn a{
    display: inline-block;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
    background-color: var(--color-sub);
    color: #fff;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.article-bd .download-btn a:hover { opacity: 0.8;}

/*列表样式-3*/
.album_case .thumb{ position: relative;padding-top: 75%;overflow: hidden;margin-right: 1px ;margin-bottom: 1px ;}
.album_case .thumb a{ position: absolute;left: 0;top: 0;width: 100%;height: 100%; background-size: cover;}
.album_case .thumb .bgcolor{ position: absolute;left: 0;top: 0; background: #000;opacity: 0;width: 100%;height: 100%;}
.album_case .thumb .mask{ position: absolute;left: 30px;top: 30px;right: 30px;bottom: 30px; }
.album_case .thumb .mask i.line_l{ position: absolute;height: 0;width: 1px;background: #ddd;left: 0;bottom: 0;}
.album_case .thumb .mask i.line_t{ position: absolute;width: 0;height: 1px;background: #ddd;left: 0;top: 0;}
.album_case .thumb .mask i.line_r{ position: absolute;height: 0;width: 1px;background: #ddd;right: 0;top: 0;}
.album_case .thumb .mask i.line_b{ position: absolute;width: 0;height: 1px;background: #ddd;right: 0;bottom: 0;}
.album_case .thumb h4{ -webkit-transition-delay: .2s;transition-delay: .2s; transform: rotate(8deg); opacity: 0; color: #ffffff;position: absolute;height: 30px;line-height: 30px;top: 40%;margin-top: -15px;left: 15%;overflow: hidden;width: 70%;text-align: center;font-size: 1.2em;font-weight: normal;}
.album_case .thumb h4.odd{ transform: rotate(-8deg); }
.album_case .item:hover .thumb .bgcolor{ opacity: 0.6;}
.album_case .item:hover .thumb .mask i.line_l,.album_case .item:hover .thumb .mask i.line_r{ height: 100%;}
.album_case .item:hover .thumb .mask i.line_t,.album_case .item:hover .thumb .mask i.line_b{ width: 100%;}
.album_case .item:hover .thumb h4{ opacity: 1;top: 50%;transform: rotate(0);}

@media (max-width:414px) {
    .woo-editor-content iframe {
        max-height: 17.5rem;
    }
}

@media (min-width:572px) {
    #sidebar {
        width: 280px;
    }

    .sidebar.sidebar-right>.nav-switch {
        width: 2.8em;
        height: 2em;
        top: 2.2rem;
        left: -3.6rem;
    }

    .woo-editor-content iframe {
        max-height: 21.75rem;
    }
}

@media (min-width:762px) {
    #sidebar {
        width: 300px;
    }

    .list-news .list>li {
        display: flex;
        align-items: center;
    }

    .list-news .list>li>a {
        padding-left: 10px;
        padding-right: 10px;
        flex-grow: 1;
        word-wrap: normal;
        white-space: nowrap;
        text-overflow:ellipsis;
        overflow: hidden;
    }

    .list-news .list>li>.time {
        min-width: 98px;
    }

    .woo-editor-content iframe {
        max-height: 27.375rem;
    }
}

@media (min-width:992px) {
    .search-bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        padding: 0;
        background-color: transparent;
    }

    .search-bar .wrapper {
        display: flex;
        width: var(--width-middle);
        height: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: var(--rem);
        padding-right: var(--rem);
        justify-content:flex-end;
        align-items: center;
    }

    #top_news {
        height: 316px;
    }

    .con li {
        line-height: 1.6rem;
    }

    .notic .con {
        margin-bottom: 0;
        height: 264px;
        overflow: hidden;
    }

    .notic .con .con-body a {
        height: 3.2rem;
    }

    .news .con li {
        line-height: 1.5;
    }

    #friendLink h4 {
        min-width: 64px;
    }

    #main {
        padding: 2.25rem 0;
    }    

    .list-news,.list-album {
        min-height: 25rem;
    }

    .woo-editor-content iframe {
        max-height: 498px;
    }
}

@media (min-width:1232px) {
    .search-bar .wrapper {
        width: var(--width-big);
    }

    #top_news {
        height: 400px;
    }

    .notic .con {
        height: 348px;
    }
}

@media (min-width:1432px) {
    .container {
        width: 1400px;
    }

    #top_news {
        height: 470px;
    }

    .notic .con {
        height: 418px;
    }
}

@media (min-width:1632px) {
    .search-bar .wrapper {
        width: var(--width-large);
    }

    #top_news {
        height: 540px;
    }
}

