@charset "UTF-8";

/* 党建主体 */

/* 统一党建页a链接hover */
.tongzhi ul li a:hover,
.tongxinyuan ul li a:hover,
.dj_container1 ul li a:hover,
.zonghe ul li a span:hover{
    color: #BC0800;
}

.dj_line1{
    background-color:#fff;
    padding: 0 20px 20px 20px;
    box-shadow: 0px 2px 29px 0px rgb(4 0 0 / 9%);
}

/* 头条 */
.toutiao {
    min-height: 90px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 10px 0;
}

.toutiao img {
    width: 42px;
    height: 42px;
    display: block;
    display: none;
}

.toutiao a {
    color: #c01319;
    display: block;

}

.toutiao a:first-of-type {
    font-size: 30px;
    flex: 1;
    margin: 0 30px;
    text-align: center;
}

.toutiao a:last-of-type {
    font-size: 16px;
}

.scroll_banner {
    /* margin-top: 24px; */
    overflow: hidden;
}

.scroll_banner .swiper-container1 {
    width: 100%;
}

.scroll_banner .swiper-container1 img {
    width: 100%;
}

/* 通知公告 */
.tongzhi {
    height: 130px;
    margin-top: 14px;
    background-color: rgb(255, 255, 255, .7);
    box-shadow: 0px 2px 29px 0px rgba(4, 0, 0, 0.09);
    position: relative;
    display: flex;
}

.tongzhi::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-width: 0 0 35px 35px;
    border-style: solid;
    border-color: transparent #BC0800;
}

.tongzhi .touzi_link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    align-content: center;
    margin: 0 20px;

}

.tongzhi .touzi_link a {
    font-size: 24px;
    color: #BC0800;
    display: block;
    font-weight: 700;
}

.tongzhi ul {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: auto;
}

.tongzhi ul li {
    display: flex;
    font-size: 18px;
    margin: 0;
    padding: 10px 0;
    width: 45%;
    justify-content: space-between;
    align-items: center;
}

.tongzhi ul li a {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
    color: #4d4d4d;
    /* width: 100%; */
}

.tongzhi ul li span {
    width: 80px;
    font-size: 14px;
    color: #4d4d4d;
}

.tongzhi ul li:nth-child(1),
.tongzhi ul li:nth-child(3) {
    padding-right: 40px;
    margin-right: 40px;
    border-right: 1px solid rgb(228, 228, 228);
}

.dj_container1 {
    margin-bottom: 24px;
}

/* 标题 */
.dj_title {
    margin-top: 26px;
    margin-bottom: 20px;
}

.dj_main {
    display: flex;

}

.dj_main .dj_pic {
    width: 600px;
    height: 350px;
}

.dj_main .dj_pic img {
    width: 100%;
    height: 100%;
}

.dj_list {
    background-color: #fff;
    height: 350px;
    width: 600px;
    box-shadow: 0px 2px 29px 0px rgba(4, 0, 0, 0.09);
    box-sizing: border-box;
    padding: 16px;
}

.dj_list ul li a {
    display: block;
    font-size: 18px;
    color: #4d4d4d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 48px;
}

.dj_list ul li:first-child {
    border-bottom: 1px solid rgb(228, 228, 228);
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 10px;
}

.dj_list ul li:first-child a {
    color: #c90800;
    font-size: 22px;
    line-height: 40px;
}

.dj_list ul li:first-child p {
    font-size: 14px;
    line-height: 28px;
}

/* 画好同心圆/综合服务 */
.dj_container2 {
    width: 100%;
    /* height: 540px; */
    background-color: #fff;
    box-sizing: border-box;
    /* padding-top: 40px; */
    margin-bottom: 40px;
}

.dj_container2 .container {
    display: flex;
    justify-content: space-between;
}

.tongxinyuan,
.zonghe {
    width: 590px;
    height: 450px;
    background-color: #fff;
    box-shadow: 0px 2px 29px 0px rgba(4, 0, 0, 0.09);
    padding: 28px 20px;
    box-sizing: border-box;
}

.tongxinyuan .dj_title,
.zonghe .dj_title {
    margin: 0;
    margin-bottom: 28px;
}

.tongxinyuan .dj_list ul li:first-child {
    padding: 0;
    padding-bottom: 10px;
}

.tongxinyuan .dj_list {
    box-shadow: none;
    background-color: transparent;
    width: 100%;
    padding: 0;
}

.zonghe .dj_main {
    flex-direction: column;
}

.zonghe .dj_main ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 40px 8px 0 8px;
}

.zonghe .dj_main ul li a {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 38px;
}
.zonghe .dj_main ul li:first-child a:last-child img{
    height:35px
}
.zonghe .dj_main ul li a:hover img{
    animation: tada 1s;
}

.zonghe .dj_main ul li img {
    margin-right: 10px;
}

.zonghe .dj_main ul li span {
    font-size: 18px;
    color: #000;
}

/* 学习理论 */
.dj_container3 {
    margin-bottom: 24px;
}

.dj_container3 .dj_main {
    width: 100%;
    height: 350px;
    background-color: #fff;
    box-shadow: 0px 2px 29px 0px rgba(4, 0, 0, 0.09);
    box-sizing: border-box;
    padding: 20px 14px;
    display: flex;

}

.dj_container3 .dj_main>a {
    margin-right: 16px;
}

.dj_container3 .dj_main>a img {
    /* width: 100%; */
    height: 100%;
}

.dj_container3 .dj_main div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
}

.dj_container3 .dj_main div a {
    width: 250px;
    height: 150px;
}

.dj_container3 .dj_main div a img {
    width: 100%;
    height: 100%;
}


/* 基层风采 */
.dj_container4 {
    width: 100%;
    /* height: 500px; */
    background-color: #fff;
    box-sizing: border-box;
    /* padding: 14px 0; */
}

.dj_container4 .dj_main {
    width: 100%;
    height: 350px;
    background-color: #fff;
    box-shadow: 0px 2px 29px 0px rgba(4, 0, 0, 0.09);
    box-sizing: border-box;
    padding: 16px 14px;
    justify-content: space-between;
}

.dj_container4 .dj_main img {
    width: 100%;
    height: 100%;
}

.dj_container4 .dj_main a {
    position: relative;
}

.dj_container4 .dj_main a:first-child,
.dj_container4 .dj_main a:last-child {
    width: 460px;
    height: 305px;
}

.dj_container4 .dj_main .mask {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    opacity: 0;
    transition-duration: 0.5s;
    padding: 30px;
    color: #fff;
    font-weight: normal;
    box-sizing: border-box;
}

.dj_container4 .dj_main .mask h2 {
    font-size: 24px;
    line-height: 36px;
}

.dj_container4 .dj_main .mask h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.dj_container4 .dj_main a:hover .mask {
    opacity: 1;
}

.dj_container4 .dj_main .middle {
    height: 305px;
    width: 222px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dj_container4 .dj_main .middle a {
    width: 222px !important;
    height: 146px !important;
}

.dj_container4 .dj_main .middle .mask {
    padding: 10px;
}

.dj_container4 .dj_main .middle .mask h2 {
    font-size: 16px;
    line-height: 24px;
}

.dj_container4 .dj_main .middle .mask h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

/* 理论学习 */
.dj_container5 {
    margin-bottom: 50px;
}

.dj_container5 .dj_main {
    width: 100%;
    height: 230px;
    background-color: #fff;
    box-shadow: 0px 2px 29px 0px rgba(4, 0, 0, 0.09);
    box-sizing: border-box;
    padding: 16px 14px;
    justify-content: space-between;
}

.dj_container5 .dj_main ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-around;
    align-items: center;
}




@media screen and (max-width: 768px) {
    .toutiao {
        padding: 10px;
        flex-direction: column;
    }

    .toutiao a:first-of-type {
        margin: 0;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .scroll_banner {
        margin-top: 12px;
    }

    .scroll_banner img {
        width: 100%;
    }

    .tongzhi {
        margin-top: 12px;
        height: auto;
        padding: 10px;
        overflow: hidden;
        background-color: #fff;
        display: block;
    }

    .tongzhi .touzi_link a {
        font-size: 1.5rem;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .tongzhi ul {
        display: block;
        flex: 1;
    }

    .tongzhi ul li {
        width: 100%;
    }
    .tongzhi ul li a{
        padding-right:0
    }
    .tongzhi ul li:nth-child(1),
    .tongzhi ul li:nth-child(3) {
        margin-right: 0;
        padding-right: 0;
        border: none;
    }


    .dj_title {
        margin: 12px 0;
    }

    .dj_title img {
        width: 60%;
    }

    .dj_main {
        flex-direction: column;
    }

    .dj_main .dj_list {
        padding: 16px 14px;
    }

    .dj_main .dj_pic,
    .dj_pic img,
    .dj_main .dj_list {
        width: 100%;
        height: auto;
    }

    .dj_main .dj_pic {
        margin-bottom: 12px;
    }

    .dj_container1 {
        margin-bottom: 12px;
    }

    .dj_container2 {
        padding-top: 0px;
        margin-bottom: 0px;
        height: auto;
    }

    .dj_container2 .container {
        flex-direction: column;
    }

    .dj_container2 .tongxinyuan,
    .zonghe {
        width: 100%;
        height: auto;
        margin-bottom: 12px;
        padding: 16px 14px;
    }

    .zonghe .dj_main>a img {
        width: 100%;
    }

    .zonghe .dj_main ul li a {
        margin-bottom: 24px;
    }

    .zonghe .dj_main ul li:last-child {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    .dj_container3 {
        margin-bottom: 12px;
    }

    .dj_container3 .dj_main {
        width: 100%;
        height: auto;
    }

    .dj_container3 .dj_main>a {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .dj_container3 .dj_main img {
        width: 100%;
    }

    .dj_container3 .dj_main div a {
        width: 49%;
        height: auto;
        margin-bottom: 10px;
    }

    .dj_container4 {
        background-color: transparent;
        /* width: 100%; */
    }

    .dj_container4,
    .dj_container4 .dj_main,
    .dj_container4 .dj_main .middle,
    .dj_container4 .dj_main .middle a,
    .dj_container4 .dj_main a,
    .dj_container4 .dj_main a:first-child,
    .dj_container4 .dj_main a:last-child {
        width: 100% !important;
        height: auto !important;
    }

    .dj_container4 .dj_main .middle {
        flex-direction: row;
    }

    .dj_container4 .dj_main a img {
        margin-bottom: 10px;
    }

    .dj_container4 .dj_main a:first-child {
        order: 1;
        width: 49% !important;
    }

    .dj_container4 .dj_main a:last-child {
        order: 2;
        width: 49% !important;
    }

    .dj_container4 .dj_main>div {
        order: 3;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .dj_container4 .dj_main {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dj_container4 .dj_main .mask {
        padding: 10px;
    }

    .dj_container4 .dj_main .mask h2 {
        font-size: 1rem;
        line-height: 1em;
    }

    .dj_container4 .dj_main .mask h3 {
        font-size: 0.875rem;
        margin-bottom: 20px;
    }

    .dj_container4 .dj_main .middle .mask h2 {
        font-size: 1rem;
        line-height: 1em;
    }

    .dj_container4 .dj_main .middle .mask h3 {
        font-size: 0.875rem;
        margin-bottom: 20px;
    }



    .dj_container5 .dj_main {
        width: 100%;
        height: auto;
    }

    .dj_container5 .dj_main ul {
        justify-content: space-between;
    }

    .dj_container5 .dj_main ul li {
        width: 49%;
        margin-bottom: 10px;
    }

    .dj_container5 .dj_main ul img {
        width: 100%;
    }

}