/*
Theme Name: 全球南方国际传播论坛
Theme URI: http://
Author: Leon
Version: 2023-08-03
*/

@font-face {
    font-family: 'noto_sans_sc';
    src: url('fonts/NotoSansSC-Regular.woff2') format('woff2'),
    url('fonts/NotoSansSC-Regular.ttf') format('truetype');
}

html {
    -webkit-text-size-adjust: none;
}


body {
    font-size: 15px;
    line-height: 180%;
    color: #333;
    font-family: 'noto_sans_sc', Open Sans, sans-serif;
}

body.pt100 {
    padding-top: 100px;
}

body.home.pt100 {
    padding-top: 0;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
}

@media (max-width: 540px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }
}

a {
    color: #333;
}

a:hover, .text-gray a:hover, .text-light a:hover {
    color: #b81c22;
    text-decoration: none;
}

a, img {
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 1260px) {
    .container-xl.xl {
        max-width: 1360px;
    }

    .container-xl {
        max-width: 1200px;
    }
}

.btn {
    display: inline-block;
    padding: 0 15px;
    line-height: 36px;
    border-radius: 5px;
    border: 0;
    outline: none;
    overflow: hidden;
}

.btn.btn_icon {
    padding-left: 0;
}

.btn_icon:before {
    display: inline-block;
    height: 100%;
    width: 36px;
    margin-right: 15px;
    font-family: 'Material-Design-Iconic-Font';

}

.btn_arrow:before {
    content: '\f2f5';
}

.btn_sm {
    line-height: 28px;
    padding: 0 12px;
}

.btn_sm.btn_icon:before {
    width: 28px;
    margin-right: 12px;
}

.btn_red {
    color: #fff;
    background-color: #3d3d40;
}

.btn_red:hover {
    color: #fff;
    background-color: #b81c22;
}

.btn_red.btn_icon:before {
    background-color: #b81c22;
}

.btn_white {
    color: #fff;
    background-color: #3d3d40;
}

.btn_white:hover {
    color: #b81c22;
    background-color: #fff;
}

.btn_white.btn_icon:before {
    color: #b81c22;
    background-color: #fff;
}

/*bg*/
.bg-none {
    background: none;
}

.bg-cover {
    background-size: cover;
    background-position: center center;
}

.bg-contain {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-stretch {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.bg-light {
    background-color: #edf0f5 !important;
}

.bg-gray {
    background-color: #9ba0a8;
}

.bg-darkgray {
    background-color: #3d3d40;
}

.bg-dark,
a.bg-dark:focus, a.bg-dark:hover, button.bg-dark:focus, button.bg-dark:hover {
    background-color: #3d3d40 !important;
}

.bg-deepdark {
    background-color: #1c1c1f;
}

.bg-red {
    background-color: #b81c22;
}

.hr-white {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/*自定义样式*/
.nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alignright {
    float: right;
    padding-left: 1em;
}

.alignleft {
    float: left;
    padding-right: 1em;
}

@media (max-width: 768px) {
    .alignright, .alignleft {
        float: none;
        padding: 1em 0;
    }
}

/*特定样式*/
a.post-edit-link {
    display: block;
    padding: 2px 6px;
    background: #000;
    color: #fff;
    border: 1px #ccc dashed;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

#btn-top {
    width: 40px;
    text-align: center;
    cursor: pointer;
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .2);
    position: fixed;
    bottom: 100px;
    right: 15px;
    z-index: 19999;
}

#btn-top i {
    line-height: 40px;
}

/*reset colorBox*/
#cboxCurrent {
    display: none !important;
}

/*reset pageNav*/
.wp-pagenavi {
    text-align: left;
}

.wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    box-sizing: border-box;
    padding: 0 15px;
    margin-right: 10px;
    line-height: 40px;
    font-size: 16px;
    color: #444444;
    text-align: center;
    border-radius: 4px;
    border-color: #ECECEC;
    background: #ECECEC;
}

.wp-pagenavi a.page, .wp-pagenavi span.current {
    padding: 0;
    width: 40px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: #b81c22;
    background: #b81c22;
    color: #fff;
}

/*reset swiper*/
.swiper-button-prev, .swiper-button-next {
    color: #b81c22;
}

.swiper-pagination-bullet {
    box-sizing: border-box;
    width: 30px;
    height: 8px;
    border: 1px rgba(185, 29, 33, .8) solid;
    border-radius: 0;
    opacity: .5;
}

.swiper-pagination-bullet-active {
    width: 50px;
    border: 1px #b81c22 solid;
    background-color: #b81c22;
    opacity: 1;
}

/*Banner*/
.banner > div {
    height: 450px;
}

.banner > div ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.banner > div ul li {
    display: none;
}

.banner > div ul li:first-child {
    display: block;
}

.banner > div ul li:first-child a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0 30px;
    line-height: 70px;
    font-size: 32px;
    letter-spacing: 5px;
    color: #fff;
    background: #b81c22;
}

.banner > div ul li:first-child a:after {
    display: inline-block;
    float: right;
    font-family: 'Material-Design-Iconic-Font';
}

.banner.cat_banner > div ul li:first-child a:after {
    content: '\f2fb';
}

.banner.cat_banner.arrow_down > div ul li:first-child a:after {
    content: '\f2f9';
}

.banner.post_banner > div ul li:first-child a:after {
    content: '\f2fa';
}

@media (max-width: 990px) {
    .banner > div {
        height: 60vw;
        min-height: 320px;
    }

    .banner > div ul li:first-child a {
        line-height: 50px;
        font-size: 24px;
    }
}

/*Post*/
.bcn_wrap, .bcn_wrap a {
    line-height: 20px;
    color: #9ba0a8;
}

.bcn_wrap a:hover {
    color: #b81c22;
}

.bg_grid {
    position: relative;
    overflow: hidden;
}

.bg_grid:before, .bg_grid:after {
    position: absolute;
    z-index: 90;
}

.bg_grid:before {
    content: url("images/bg_grid1.png");
    margin-left: 580px;
    left: 50%;
    top: -350px;
}

.bg_grid:after {
    content: url("images/bg_grid2.png");
    margin-right: 610px;
    right: 50%;
    bottom: 30px;
}

.bg_grid > div {
    position: relative;
    z-index: 100;
}

/*Forums*/
.forums_intro_wrap {
    background: url("images/bg_forums_intro.png") right top no-repeat;
}

.forums_intro_pic {
    height: 50vw;
    min-height: 320px;
    background-color: #b81c22;
}

.forums_intro_pic > div {
    position: relative;
}

h2.forums_intro_pic_title {
    clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 100%, 0 100%);
    box-sizing: border-box;
    width: 45%;
    padding: 25px 100px 25px 0;
    line-height: 40px;
    text-align: right;
    color: #fff;
    background-color: #b81c22;
    position: absolute;
    bottom: 90px;
}

.forums_intro h2 {
    font-size: 42px;
    text-transform: uppercase;
}

.forums_intro h3 {
    font-size: 36px;
}

.forums_intro h4 {
    font-size: 22px;
    text-transform: uppercase;
}

.forums_intro div p {
    text-indent: 2.1em;
}

@media (min-width: 990px) {
    .forums_intro_pic {
        height: auto;
        clip-path: polygon(0 0, 100% 0, calc(100% - 200px) 100%, 0 100%);
    }

    .forums_intro_pic > div {
        left: -8px;
        clip-path: polygon(0 0, 100% 0, calc(100% - 200px) 100%, 0 100%);
    }

    .forums_intro {
        min-height: 620px;
    }
}

@media (max-width: 990px) {
    .forums_intro h2 {
        font-size: 28px;
    }

    .forums_intro h3 {
        font-size: 24px;
    }

    .forums_intro h4 {
        font-size: 20px;
    }
}

#forums_slider .swiper-slide {
    height: 55vw;
    max-height: 800px;
    min-height: 320px;
}

.btn_gallery, .btn_video {
    display: inline-block;
    box-sizing: border-box;
    width: 320px;
    height: 100px;
    line-height: 60px;
    padding: 20px 00px 20px 100px;
    text-align: center;
    font-size: 32px;
    color: #fff !important;
    border-radius: 0;
    background-size: 60px 60px;
    background-repeat: no-repeat;
    background-position: 20px center;
}

.btn_gallery {
    background-image: url("images/btn_gallery.png");
}

.forums_yanjiang_list .list_item .bg-cover {
    padding-top: 100%;
    transition: all .5s;
}

.forums_yanjiang_list .list_item {
    transition: all .5s;
}

.forums_yanjiang_list:hover .list_item {
    opacity: 50%;
}

.forums_yanjiang_list:hover .list_item:hover {
    opacity: 100%;
}

.forums_yanjiang_list:hover .list_item:hover .bg-cover {
    transform: scale(1.1);
}

@media (max-width: 990px) {
    .forums_yanjiang_list .list_item .bg-cover {
        padding-top: 66%;
    }

    #forums_yanjiang_list .bg-cover {
        height: 100vw;
        max-height: 400px;
    }

    #forums_yuanzhuo_list .list_item:after {
        content: '';
        display: block;
        width: 100%;
        margin: 0 22px;
        border-bottom: 1px #444 solid;
    }
}

.btn_video {
    background-image: url("images/btn_video.png");
}

.float_btns {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 9000;
}

.float_btns .btn_gallery,
.float_btns .btn_video {
    display: block;
    width: 100px;
    overflow: hidden;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, .15);
    transition: all .5s;
}

.float_btns .btn_gallery:hover,
.float_btns .btn_video:hover {
    display: block;
    width: 320px;
    overflow: hidden;
}

@media (max-width: 990px) {
    .float_btns .btn_gallery, .float_btns .btn_video {
        width: 60px;
        height: 60px;
        padding: 0 0 0 60px;
        font-size: 24px;
        background-size: 40px 40px;
        background-position: 10px center;
    }

    .float_btns .btn_gallery:hover, .float_btns .btn_video:hover {
        width: 220px;
    }
}

.partner_wrap {
    background-image: url("images/bg_partner.jpg");
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}

#logo_gallery .swiper-slide {
    padding: 0 17px;
}

#logo_gallery .swiper-slide > div {
    border: 1px #9ba0a8 solid;
    background: #edf0f5;
}

#logo_gallery .swiper-button-prev,
#logo_gallery .swiper-button-next {
    margin-top: 10px;
}

#logo_gallery .swiper-slide p {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 990px) {
    #logo_gallery .swiper-slide {
        padding: 0 6px;
    }

    #logo_gallery .swiper-button-prev {
        left: -2px;
    }

    #logo_gallery .swiper-button-next {
        right: -2px;
    }

    #logo_gallery .swiper-button-prev,
    #logo_gallery .swiper-button-next {
        margin-top: -10px;
    }

    #logo_gallery .swiper-button-next:after,
    #logo_gallery .swiper-button-prev:after {
        font-size: 24px;
    }
}

/*Study*/
.study_vis {

}

.study_vis_txt > div {
    width: 100%;
    max-width: 680px;
}

.vis_pic > div {
    width: 100%;
    min-height: 320px;
}

@media (min-width: 990px) {
    .study_vis_txt {
        min-height: 560px;
        clip-path: polygon(0 0, calc(100% - 160px) 0, 100% 100%, 0 100%);
    }

    .vis_pic > div {
        width: auto;
        min-height: 520px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 180px 100%);
        position: absolute;
        left: -180px;
        right: 0;
    }
}

.study_gongzuo_list {
    background: url("images/bg_home_study.jpg") left center;
    background-size: auto 100%;
}

.study_gongzuo_focus > div {
    max-width: 660px;
}

.study_gongzuo_focus .post_thumb {
    /*padding-top: 65%;*/
    height: 380px;
}

.study_gongzuo_focus .excerpt {
    line-height: 150%;
}

.study_gongzuo_list > div {
    max-width: 660px;
}

@media (min-width: 990px) {
    .study_gongzuo_list {
        padding-right: 120px;
        clip-path: polygon(0 0, 100% 0, calc(100% - 120px) 100%, 0 100%);
    }

    .study_gongzuo_focus > div {
        padding-left: 50px !important;
    }
}

@media (max-width: 990px) {
    .study_gongzuo_focus .post_thumb {
        height: 55vw;
    }
}

.study_baogao_list .post_thumb {
    padding-top: 66%;
}

.study_baogao_list h3 {
    font-size: 18px;
}

.study_qikan_list .list_item {
    padding-top: 166%;
}

.study_qikan_list .list_item > div {
    opacity: 0;
    top: 30px;
    bottom: 30px;
    left: 20px;
    right: 20px;
    background-color: rgba(184, 28, 34, .8);
    color: #fff;
    overflow: hidden;
    transition: all .5s;
}

.study_qikan_list .list_item:hover > div {
    opacity: 100%;
}

.study_qikan_list .list_item h3 {
    font-size: 22px;
}

.study_shuxi_list .sep {
    width: 72px;
    height: 6px;
    background-color: #bcc2cc;
}

@media (min-width: 990px) {
    .study_qikan_wrap {
        clip-path: polygon(0 100px, 100% 0, 100% 100%, 0 100%);
    }
}

@media (max-width: 990px) {
    .study_qikan_list .list_item > div {
        opacity: 90%;
    }
}

/*post & cetegory*/
.list_textonly .list_item,
.list_normal .list_item,
.list_magazine .list_item {
    display: block;
    border-bottom: 1px #9ba0a8 solid;
}

/*.list_flow .flow_wrap {*/
/*column-count: 3;*/
/*column-gap: 0;*/
/*}*/

/*@media (max-width: 990px) {*/
/*.list_flow .flow_wrap {*/
/*column-count: 2;*/
/*}*/
/*}*/

/*@media (max-width: 768px) {*/
/*.list_flow .flow_wrap {*/
/*column-count: 1;*/
/*}*/
/*}*/

.list_flow .flow_wrap .list_item {
    display: block;
    break-inside: avoid;
    position: relative;
}

.list_flow .flow_wrap a.list_item > div {
    color: #fff;
    background-color: #444;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, .2);
    transition: all .5s;
}

.list_flow .flow_wrap .list_item:hover > div {
    background-color: #b81c22;
}

.list_flow .flow_wrap .list_item > div :after {
    content: '\f2ee';
    display: block;
    width: 50px;
    line-height: 40px;
    border-radius: 8px;
    font-family: 'Material-Design-Iconic-Font';
    font-size: 24px;
    text-align: center;
    background-color: #b81c22;
    position: absolute;
    bottom: 10px;
    right: 10px;
}


.list_flow .flow_wrap .list_item.image_center > div :after {
    content: '\f1ee';

}

.list_flow .flow_wrap .list_item:hover > div :after {
    color: #b81c22;
    background-color: #fff;
    box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, .05);
}

.list_flow .flow_wrap .list_item:hover .text-gray,
.list_flow .flow_wrap .list_item:hover .text-red {
    color: #fff;
}

.list_flow .flow_wrap .list_item.subnav_wrap {
    margin-top: -80px;
}

.list_flow .flow_wrap .list_item.subnav_wrap > div {
    background-color: #b81c22;
    border-radius: 0;
}

.list_flow .flow_wrap .list_item.subnav_wrap > div :after {
    display: none;
}

.list_flow .flow_wrap .list_item.subnav_wrap ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list_flow .flow_wrap .list_item.subnav_wrap ul li a {
    display: block;
    line-height: 65px;
    font-size: 24px;
    text-indent: 30px;
    color: #fff;
}

.list_flow .flow_wrap .list_item.subnav_wrap ul li a:hover,
.list_flow .flow_wrap .list_item.subnav_wrap ul li.current-cat a {
    background-color: #fff;
    color: #b81c22;
}

.list_flow .flow_wrap .list_item img {
    border-radius: 10px;
}

.list_flow .flow_wrap .list_item .txt {
    transition: all .5s;
}

.list_flow .flow_wrap .list_item h3 {
    font-size: 18px;
    line-height: 150%;
    height: 52px;
    overflow: hidden;
}

.list_magazine p {
    line-height: 220%;
}

@media (max-width: 990px) {
    .list_flow .flow_wrap .list_item.subnav_wrap ul li a {
        line-height: 50px;
        font-size: 20px;
    }
}

/*content*/
.content h1 {
    padding: 15px 0;
    margin-bottom: 10px;
    border-bottom: 1px #bcc2cc solid;
}

.toc_btn, .toc_title i {
    display: none;
}

.toc li a {
    display: block;
    line-height: 110%;
    padding: 5px 0;
}

@media (min-width: 960px) {
    .toc_btn,
    .toc_wrap {
        position: fixed;
        top: 33%;
    }

    .toc_btn {
        display: block;
        box-sizing: border-box;
        width: 36px;
        padding: 20px 8px;
        text-align: center;
        line-height: 135%;
        cursor: pointer;
        left: 0;
    }

    .toc_wrap {
        left: -350px;
        width: 320px;
        transition: all .5s;
        box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, .2);
    }

    .toc_wrap.show_toc {
        left: 0;
    }

    .toc_title i {
        display: block;
        padding: 7px 0;
        float: right;
        cursor: pointer;
    }

    .toc {
        margin-bottom: 0 !important;
    }
}

.related_list {
    background-image: url("images/bg_home_study.jpg");
}

.flow_wrap .post_thumb,
.related_list .post_thumb {
    padding-top: 70%;
}
