/* 首页页面样式 */
.index_main{
    background: #f3f3f3;
    box-sizing: border-box;
    padding: 15px 0 30px;
}

.index_main_inner{
    display: flex;
    flex-wrap: wrap;
}

.container01{
    width: 685px;
    height: 495px;
    background: #ffffff;

    box-sizing: border-box;
    padding: 20px 10px;
}

/* 公共标题 */
.same_title{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 15px;
}

.st_left{
    display: flex;
    align-items: center;
}

.st_left img{
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.st_tab{
    display: flex;
}

.st_title{
    font-size: 22px;
    color: #333333;
    font-weight: bold;
    box-sizing: border-box;
    padding-right: 20px;
    cursor: pointer;

    position: relative;
}

.st_title::after{
    content: "";
    width: 4px;
    height: 21px;
    background: #8E0209;

    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
}

.st_title:last-child::after{
    display: none;
}

.st_title.on{
    color: #8E0209;
}

.st_right a{
    display: flex;
    align-items: center;

    font-size: 14px;
    color: #9D9D9D;
}

.st_right a img{
    width: 12px;
    height: 12px;
    margin-left: 5px;
}

/* 图片轮播 start */
.img_swiper{
    width: 573px;
    height: auto;
    margin: 0 auto;
}

.img_swiper_item{
    display: block;
}

.swiper_cover{
    width: 100%;
    height: 382px;
    overflow: hidden;
}

.swiper_cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s;
}

.swiper_title{
    height: 35px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.swiper_title p{
    font-size: 16px;
    color: #222222;
    font-weight: bold;
}

.img_swiper_item:hover .swiper_cover img{
    transform: scale(1.2);
}

.img_swiper_item:hover .swiper_title p{
    color: #8E0209;
}

.img_swiper_pagination{
    display: flex;
    align-items: center;
    justify-content: flex-end;

    position: absolute;
    bottom: 35px !important;
    z-index: 9;

    box-sizing: border-box;
    padding: 5px;
}

.img_swiper .swiper-pagination-bullet{
    width: 22px;
    height: 22px;
    background: rgba(100,102,107,0.3);
    border-radius: 5px;
    opacity: 1;

    font-size: 14px;
    color: #ffffff;
    text-align: center;
    line-height: 22px;
}

.img_swiper .swiper-pagination-bullet-active{
    background: #8E0209;
    color: #ffffff;
}
/* 图片轮播 end */

/* 工会新闻|通知公告 start */
.container02{
    width: 691px;
    height: 495px;
    background: #FFFFFF;
    margin-left: 24px;

    box-sizing: border-box;
    padding: 20px 10px;
}

.news_module{
    padding-top: 5px;
}

.news_mo_item{
    display: flex;
    margin-bottom: 18px;
}

.news_mo_item::after{
    margin-bottom: 0;
}

.news_mo_item:last-child{
    margin-bottom: 0;
}

.news_date{
    flex-shrink: 0;
    width: 70px;
    margin-right: 10px;
}

.news_date p{
    width: 100%;
    height: 35px;
    background: #8E0209;

    font-size: 14px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
}

.news_date h3{
    width: 100%;
    height: 33px;
    background: #F2F2F2;

    font-size: 14px;
    color: #000000;
    text-align: center;
    line-height: 33px;
}

.news_title p{
    font-size: 16px;
    color: #222222;
    line-height: 32px;
    -webkit-line-clamp: 2;
}

.news_mo_item:hover .news_title p{
    color: #8e0209;
    font-weight: bold;
}
/* 工会新闻|通知公告 end */

/* 智慧工会|友情链接 start */
.container03{
    margin-right: 23px;
    margin-top: 14px;
}

.links_box{
    width: 390px;
    /*height: 194px;*/
    background: #FFFFFF;
    margin-bottom: 11px;
    
    box-sizing: border-box;
    padding: 12px 10px;
}

.links_box:last-child{
    margin-bottom: 0;
}

.links_box .same_title{
    margin-bottom: 10px;
}

.links_list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.links{
    display: flex;
    align-items: center;
    height: 45px;
    background: #E6E2B0;
    transition: all .5s;

    box-sizing: border-box;
    padding: 0 15px;

    font-size: 16px;
    color: #333333;

    margin: 5px 8px 0 0;
}

.links:nth-child(2n){
    margin-right: 0;
}

.links:first-child, .links:nth-child(2){
    margin-top: 0;
}

.links:hover{
    background: #8e0208;
    color: #ffffff;
}
/* 智慧工会|友情链接 end */

/* 基层动态|教工协会 start */
.container04{
    width: 986px;
    height: 399px;
    background: #FFFFFF;
    margin-top: 14px;

    box-sizing: border-box;
    padding: 20px 10px;
}

.words_list{
    display: flex;
    flex-wrap: wrap;
}

.words_item{
    width: calc(50% - (26px / 2));
    margin-right: 26px;

    box-sizing: border-box;
    padding: 20px 0 9px;
    border-top: 1px solid #ECECEC;
}

.words_item:first-child, .words_item:nth-child(2){
    padding-top: 10px;
    border-top: 0;
}

.words_item:nth-child(2n){
    margin-right: 0;
}

.w_item_title{
    font-size: 16px;
    color: #222222;
}

.w_item_date{
    width: fit-content;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.w_item_date p{
    width: 46px;
    height: 25px;
    background: #F59F4C;

    font-size: 14px;
    color: #ffffff;
    text-align: center;
    line-height: 25px;
}

.w_item_date h3{
    width: 47px;
    height: 25px;
    background: #E6E2B0;

    font-size: 14px;
    color: #000000;
    font-weight: 400;
    text-align: center;
    line-height: 25px;
}

.words_item:hover .w_item_title{
    color: #8E0209;
    font-weight: bold;
}
/* 基层动态|教工协会 end */