/* 平板电脑样式 */

@media screen and (max-width: 1024px) {
    body {
        font-size: 15px;
    }
    .header {
        box-shadow: none;
    }
    .container {
        max-width: 960px;
        width: 100%;
    }
    .banner-swiper {
        height: 350px;
    }
    .tab-item {
        font-size: 17px;
    }
    .activity-card .info {
        padding: 15px;
    }
    .activity-card .title a {
        font-size: 15px;
    }
}


/* 平板和手机过渡样式 */

@media screen and (max-width: 768px) {
    body {
        font-size: 15px;
    }
    /*body{background-image: url(../images/top_bg_m.png);}*/
    .header {
        box-shadow: none;
    }
    .header .container {
        padding: 10px 15px;
    }
    .logo img {
        height: 41px;
    }
    .header>.container {
        padding-top: 50px;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    /*导航样式开始*/
    .top-right {
        /*display: none;*/
        position: absolute;
        right: 10px;
        top: 0;
    }
    .top-links {
        margin-right: 0;
    }
    .top-links a.en {
        display: none;
    }
    .search-box {
        display: none;
    }
    .mobile-nav-toggle,
    .mobile-search-toggle {
        display: block;
    }
    .main-nav .container {
        padding: 0;
    }
    .main-nav {
        position: fixed;
        display: block!important;
        top: 0px;
        width: 100%;
        height: 100vh;
        left: 0;
        right: 0;
        background: #fff;
        transition: all 0.4s;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        left: -100%;
    }
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        left: 0;
    }
    .main-nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 20px;
        height: 20px;
        background: url(../images/icon_close.png) center no-repeat;
        background-size: 100%;
        z-index: 2;
        display: block;
    }
    .main-nav.active {
        transform: translateY(0);
    }
    .main-nav .container {
        width: 100%;
        height: 100%;
        padding: 60px 0;
        background-color: #fff;
        margin-left: 0;
        align-items: flex-start;
    }
    .nav-list {
        display: block!important;
    }
    .nav-list li {
        border-bottom: 1px solid #ddd;
    }
    .nav-list li.hasson {
        background: url(../images/icon_xia.png) right 20px top 10px no-repeat;
        background-size: 25px;
    }
    .nav-list li a.bigclass {
        color: #333;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        display: inline-block;
        width: calc(100% - 60px);
    }
    .nav-list li .subnav {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: none;
        transition: all 0s;
        background-color: #fff!important;
        padding-left: 30px;
    }
    .nav-list li .subnav a {
        color: #333!important;
        text-align: left;
        border-bottom: 1px solid #eee;
        padding: 10px 10px;
    }
    .nav-list li .subnav a:last-child {
        border-bottom: 0;
    }
    .nav-list li:hover .subnav {
        transition: all 0s;
    }
    .nav-list li:hover a.bigclass,
    .nav-list li a.bigclass.active {
        background: none;
    }
    body.red_theme .nav-list li a.bigclass:hover,
    body.red_theme .nav-list li a.bigclass.active {
        background-color: #fff;
        color: #333;
    }
    .red_theme .nav-list li:hover a.bigclass,
    .red_theme .nav-list li a.bigclass.active {
        background-color: #fff;
        color: #333;
    }
    /* 右侧操作区 */
    .header-actions {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
    }
    .header>.container {
        align-items: center;
        /*padding: 15px;*/
    }
    .top-right {
        margin-top: 10px;
        align-items: center;
    }
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-list li a {
        padding: 12px 15px;
        font-size: 14px;
    }
    .banner-swiper {
        height: 400px;
    }
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    /*内页导航*/
    .left-nav {
        -ms-flex: none;
        flex: none;
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    .left-nav .typename {
        display: block;
        background: url(../images/icon3.png) left center no-repeat;
        padding-left: 30px;
        background-size: 19px;
        font-weight: bold;
        font-size: 16px;
    }
    .left-nav .mobile-cover {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }
    .left-nav .side-menu {
        position: fixed;
        z-index: 2000;
        top: 0;
        left: -60%;
        width: 60%;
        bottom: 0;
        overflow-y: auto;
        background-color: #fff;
        transition: left 0.6s;
        padding: 0 20px;
        list-style: none;
        padding-top: 20px;
        padding-bottom: 20px;
        background: #fff;
        overflow: hidden;
        transition: all 0.4s;
    }
    .left-nav .side-menu.open {
        left: 0;
    }
    .left-nav .side-menu li {
        position: relative;
        overflow: hidden;
    }
    .left-nav .side-menu li a {
        padding: 10px;
    }
    .right-content {
        width: 100%;
    }
    .typebar2 {
        margin-bottom: 15px;
    }
    .typebar2 h2 {
        font-size: 17px;
    }
    /*导航样式结束*/
    .subpage,
    .about-container,
    .news-detail,
    .news-container {
        padding: 15px 0;
        background-color: transparent;
    }
    /*手机*/
    .logo img {
        height: 41px;
    }
    .top-links {
        display: flex;
        gap: 10px;
    }
    .top-links a {
        margin-left: 0;
        font-size: 13px;
    }
    .search-box input {
        width: 160px;
        font-size: 14px;
    }
    .banner {
        margin-top: 0;
        height: 380px;
    }
    .banner .swiper-slide .img_box,
    .banner .swiper-slide {
        width: 100%;
        height: 100%;
    }
    .banner .swiper-slide .img_box img {
        height: 100%;
    }
    .banner .swiper-slide.swiper-slide-active .img_box .cover_title {
        bottom: 0;
    }
    .banner .swiper-slide .img_box .cover_title {
        bottom: 0;
        padding:6px 10px;
        padding-right: 90px;
        font-size: 12px;
    }
    .banner .swiper-container-horizontal>.swiper-pagination-bullets {
        right: 10px;
        bottom: 6px;
    }
    .banner .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{
        margin: 0 3px;
    }
    .banner .swiper-button-next,
    .banner .swiper-button-prev {
        width: 20px;
        height: 40px;
        margin-top: -20px;
    }
    .news-section {
        padding: 15px 0;
    }
    .typebar .more{
        font-size: 12px;
    }
    .left-news {
        width: 100%;
    }
    .right-news {
        width: 100%;
    }
    .tab-item {
        font-size: 17px;
    }
    .news-img {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .news-item .date {
        font-size: 15px;
        width: 100px;
    }
    .news-item {
        margin-bottom: 6px;
    }
    .news-img .img {
        width: 111px;
        height: 70px;
    }
    .news-img .text {
        width: calc(100% - 130px);
    }
    .news-img .text .title {
        margin-bottom: 6px;
        line-height: 1.4;
    }
    .news-img .text .desc {
        -webkit-line-clamp: 1;
        height: 19px;
    }
    .typebar {
        margin-bottom: 10px;
        line-height: 40px;
        padding-left: 30px;
    }
    .typebar .section-title {
        font-size: 17px;
    }
    .feature-grid {
        margin: -3px;
    }
    .feature-item {
        width: calc(20% - 6px);
        flex: 0 0 calc(20% - 6px);
        margin: 3px 3px 6px;
    }
    .feature-item span {
        padding: 0 3px;
    }
    .feature-item .icon img {
        filter: drop-shadow(0px 72px #fff);
        -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=72, Color='#ffffff', Positive='true')";
        vertical-align: middle;
    }
    .feature-item .icon {
        width: 50px;
        height: 50px;
        line-height: 45px;
        margin-bottom: 3px;
    }
    .feature-item span {
        font-size: 14px;
    }
    .meeting-section {
        width: 100%;
        margin-bottom: 15px;
    }
    .journal-section {
        width: 100%;
    }
    .meeting-journal {
        padding: 15px 0;
    }
    .index_gg {
        padding-top: 20px;
    }
    .friend-links {
        padding: 15px 0;
    }
    .links-list{
        margin-top: -7px;
    }
    .links-list .link-item {
        margin: 0;
        margin-right: 8px;
        padding: 3px 5px;
    }
    .links-list .link-item a{
        font-size: 13px;
    }
    .party-building .left-column {
        width: 100%;
        margin-right: 0;
    }
    .party-building .left-column,
    .party-building .right-column {
        width: 100%;
    }
    .party-building .left-column,
    .party-building .right-column {
        margin-bottom: 20px;
    }
    .pagination{
        margin-top: 15px;
    }
    .pagination li{
        font-size: 12px;
    }
    .news-item-title a,.news-item-date{
        font-size: 14px;
    }
    .news-item-date {
        flex: 0 0 90px;
    }
    .news-item-content {
        width: calc(100% - 100px);
    }
    .notice-date {
        margin-right: 10px;
    }
    .notice-date {
        flex: 0 0 70px;
    }
    .notice-content {
        width: calc(100% - 80px);
    }
    .notice-title {
        margin-bottom: 2px;
    }
    .notice-item {
        padding: 10px 0;
    }
    .notice-title .tag {
        padding: 2px 0;
    }
    .news-item-title .new-tag,
    .notice-title .tag {
        font-size: 12px;
        margin-left: 0;
    }
    .content-text h2 {
        font-size: 16px;
    }
    .contact_content .map {
        margin-bottom: 20px;
    }
    .party-building .swiper-pagination {
        bottom: 10px;
    }
    .party-notice .notice-info .title {
        margin-bottom: 8px;
    }
    .news-detail-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .news-detail-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    .news-detail-meta {
        font-size: 13px;
    }
    .news-detail-meta span {
        margin: 0 10px;
    }
    .news-detail-content,
    .news-detail-content *{
        font-size: 14px;
    }
    .journal-wrap {
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
    }
    .journal-about {
        width: 100%;
        margin: 0 0 15px 0;
    }
    .journal-subscribe {
        width: 100%;
        margin: 0 0 15px 0;
    }
    .page-title{
        margin-bottom: 10px;
        font-size: 16px;
    }
    .content-text,
    .content-text *{
        font-size: 14px;
    }
    .typebar2{
        display: block;
    }
    .breadcrumb{
        background: url(../images/icon_addr_blue.png) left 5px no-repeat;
    }
    .footer{
        padding: 15px 0;
    }
}

@media(max-width: 480px) {
    .banner {
        height: 210px;
    }
    .journal-subscribe .subscribe-text h2 {
        font-size: 15px;
    }
}


/* 小型手机样式 */

@media screen and (max-width: 320px) {
    .nav-list li {
        width: 100%;
    }
    .feature-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
