.swiper .swiper-slide img {
    width: 100%;
    transform: scale(1.2);
    transition: all 2s;
}
.swiper .swiper-slide-active img {
    transform: scale(1);
}
.m_searchbox {
    display: none;
}
/*新闻*/
.newsbox{
    margin-top:50px;
}
.newsbox .title, .expertbox .title, .subject .title, .spebox .title {
    line-height: 36px;
    margin-bottom: 22px;
}
.newsbox .title h2, .expertbox .title h2, .subject .title h2, .spebox .title h2 {
    font-size: 28px;
    float: left;
    font-weight: bold;
}
.newsbox .title .more, .expertbox .title .more, .subject .title .more, .spebox .title .more {
    font-size: 14px;
    color: #666;
    float: right;
}
.newsbox .news{
    position:relative;
}
.newsbox .swiper-pagination {
    text-align:right;
}
.newsbox .swiper-pagination-bullet-active{
    background:#007b3d;
}
.newsbox .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
}
.news .swiper-slide {
    background: #fff;
}
.news .imgbox {
    width: 660px;
    height: 430px;
    display: block;
    float: left;
}
.news .imgbox img {
    width: 100%;
    height: 100%;
}
.news .textbox {
    width: 540px;
    float: right;
}
.news .textbox h1 {
    font-size: 28px;
    width: 100%;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 这里是超出几行省略 */
    margin-bottom: 30px;
    margin-top: 30px;
}
.news .textbox h1 a:hover {
    color: #007b3d;
}
.news .textbox .text{
    color:#666;
    line-height:1.6;
}
.news .textbox .time {
    width: 75px;
    text-align: center;
    color: #fff;
}
.news .textbox .time h4 {
    height: 60px;
    background: #007b3d;
    
    line-height: 60px;
    font-size: 34px;
    
}
.news .textbox .time h5 {
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    background: #bbb;
}
.news-text {
    margin-top: 40px;
}
.news-text .text1 {
    width: 660px;
}
.news-text .text2 {
    width: 540px;
}
.news-text .title{
    border-bottom:1px solid #ddd;
    line-height:36px;
    padding-bottom:5px;
}
.news-text .title span {
    font-size: 24px;
    float: left;
    padding-right:30px;
    cursor:pointer;
}
.news-text .title span.on {
    font-weight: bold;
}
.news-text .title .more{
    float:right;
}

.text1 li {
    border-bottom: 1px dashed #ddd;
    padding: 10px 0;
}
.text1 li a {
    display: block;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom:3px;
}
.text1 li a:hover{
    color:#007b3d;
}
.text1 li span {
    color: #888;
    font-size: 14px;
}
.list ul:nth-child(2), .list ul:nth-child(3){
    display:none;
}
.text2 ul{
    margin-top:10px;
}
.text2 li {
    line-height: 36px;
    position: relative;
    height: 36px;
}
.text2 li a {
    padding-right: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
}
.text2 li a:hover{
    color:#007b3d;
}
.text2 li span {
    position: absolute;
    right: 0;
    font-size: 14px;
    color: #666;
}
/*quick*/
.quickbox {
    height: 390px;
    background: url(/Resource/Images/quickbg.jpg) center no-repeat;
    position:relative;
}
.quickbox .quick{
   display:flex;
   justify-content:space-between;
   align-items:center;
   height:100%;
}

.quickbox a {
    float: left;
    width: 300px;
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}
.quickbox a h5 {
    font-size: 24px;
    color: #fff;
    padding-top:10px;
}
.quickbox a:hover img{
    transform:rotate(360deg);
    transition:all 1s;
}
.quick .q1 {
    background: #007b3d;
}
.quick .q2 {
    background: url(/Resource/Images/quick1.jpg);
}
.quick .q3 {
    background: url(/Resource/Images/quick2.jpg);
}
.quick .q4 {
    background: #e0d774;
}
.quick .q5 {
    background: url(/Resource/Images/quick3.jpg);
}
.quick .q6 {
    background: url(/Resource/Images/quick4.jpg);
}
/*特色诊疗*/
.spebox{
    margin-top:90px;
}
.spe {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
}
.spe a {
    width: 25%;
    position:relative;
    color:#fff;
    font-size:18px;
}
.spe a p{
    position:absolute;
    left:0;
    top:40%;
    width:100%;
    text-align:center;
}
.spe a img {
    width: 100%;
}
.spe a p:after {
    content: '';
    width: 30px;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
}
/*专家*/
.expertbox {
    margin-top: 100px;
    overflow: hidden;
}
.expert .swiper-slide a{
    display:block;
    position:relative;
}
.expert .swiper-slide .text{
    position:absolute;
    width:100%;
    height:42px;
    line-height:42px;
    color:#fff;
    left:0;
    bottom:0;
    background:rgba(0,0,0,.3);
    padding:0 15px;
    box-sizing:border-box;
}
.expert .swiper-slide .text h6{
    font-size:16px;
    float:left;
}
.expert .swiper-slide .text span {
    font-size: 14px;
    float: right;
}
.expert .swiper-slide img{
    width:100%;
}
/*科室*/
.dep {
    /*height: 560px;*/
    background: url(/Resource/Images/depbg.jpg) center no-repeat;
    margin-top: 90px;
    padding: 30px;
}
.dep h1 {
    text-align: center;
   
}
.dep p{
    text-align:center;
}
.dep h1 a {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
}
.dep .more {
    font-size: 12px;
    color: #fff;
    text-align: center;
}
.dep .type{
    font-size:18px;
    text-align:center;
    color:#fff;
}
.dep .type span{
    display:inline-block;
    padding:8px 25px;
    margin:0 10px;
    cursor:pointer;
    border-radius:5px;
}
.dep .type span.on {
    background: #007b3d;
    font-weight:bold;
}
.dep .list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.dep .list ul:after {
    content:'';
    flex:auto;
}
.dep .list ul li {
    width: 140px;
    height: 140px;
    border-radius: 5px;
    background: rgba(255,255,255,.95);
    padding: 20px;
    box-sizing: border-box;
    margin-right: 40px;
    margin-top: 20px;
    display: flex;
    justify-content:center;
    box-shadow: 0 0 10px rgba(255,255,255,.1);
}
.dep .list ul:nth-child(2), .dep .list ul:nth-child(3) {
    display:none;
}
.dep .list ul li:nth-child(7n) {
    margin-right: 0;
}
.dep .list ul li a{
    position:relative;
    display:block;
}
.dep .list ul li a:after{
    content:'';
    width:24px;
    height:5px;
    background:#007b3d;
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
}
.dep .list ul li:hover {
    background: #007b3d;
}
.dep .list ul li:hover a{
    color:#fff;
}
.dep .list ul li:hover a:after {
    background: #fff;
}
/*subject*/
.subject{
    margin-top:50px;
}
.subject ul{
    display:flex;
    justify-content:space-between;
}
.subject ul li {
    width: 23%;
}
.subject ul li a{
    display:block;
    height:100%;
}
.subject ul li img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

/*党建+健康*/
.part{
    width:600px;
   /* height:380px;*/
    box-shadow:0 0 5px rgba(0,0,0,.1);
    padding:20px;
    box-sizing:border-box;
}
.part h2{
    font-weight:bold;
    font-size:30px;
    color:#111;
}
.part.party {
    background: url(/Resource/Images/subjectbg1.jpg) no-repeat top right;
}
.part.health {
    background: url(/Resource/Images/subjectbg2.jpg) no-repeat top right;
}
.part ul{
    margin-top:15px;
}
.part li {
    position: relative;
    height: 54px;
    border-bottom: 1px dashed #ccc;
}
.part .time {
    width: 50px;
    text-align: center;
    position: absolute;
    color: #888;
    left:0;
    top:0;
}
.part .time h5{
    font-size:24px;
    font-weight:bold;
    
}
.part .time p {
    font-size: 12px;
}
.part li a {
    padding-left: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    line-height: 54px;
}
.part li a:hover{
    color:#007b3d;
}
/*-----------------屏幕适配-------------------*/
/*最大宽度1200px，即小于1200px的屏幕*/
@media only screen and (max-width: 1200px) {
    .m_searchbox {
        display: block;        
        height: 30px;
        margin-top:2vw;
    }
    .m_searchbox input {
        width: 90%;
        float: left;
        height: 30px;
        line-height: 30px;
        border: 1px solid #ccc;
        box-sizing: border-box;
        padding: 0 5px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    .m_searchbox .btn {
        width: 10%;
        float: left;
        height: 30px;
        line-height: 30px;
        background: #007b3d;
        color: #fff;
        text-align: center;
        font-size: 14px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    .newsbox{
        margin-top:10px;
    }
    .newsbox .title, .expertbox .title, .subject .title, .spebox .title {
        margin-bottom: 5px;
    }
    .newsbox .title h2, .expertbox .title h2, .subject .title h2, .spebox .title h2 {
        font-size: 16px;
    }
    .newsbox .title .more, .expertbox .title .more, .subject .title .more, .spebox .title .more {
        font-size: 12px;
    }
    .news .imgbox {
        width: 100%;
        height:auto;
    }
    .news .textbox {
        width: 100%;
    }
    .news .textbox h1 {
        font-size: 14px;
        margin-bottom: 5px;
        margin-top: 5px;
    }  
    .news .textbox .text {
        font-size: 12px;
    }
   
    .news .textbox .time {
       width:60px;
       margin-top:10px;
    }
    .news .textbox .time h4 {
        font-size: 18px;
        height:40px;
        line-height:40px;
    }
    .news .textbox .time h5 {
        font-size: 12px;
        height: 22px;
        line-height: 22px;
    }
    .newsbox .swiper-pagination{
        bottom:0;
        text-align:center;
    }
    .newsbox .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
    .news-text{
        margin-top:10px;
    }
    .news-text .title{
        line-height:30px;
    }
    .news-text .title span {
        font-size: 16px;
    }
    .news-text .title span {
        padding-right:15px;
    }
    .news-text .title .more{
        font-size:12px;
    }
    .text1 li a{
        font-size:14px;
        padding-bottom:0;
    }
    .text1 li span{
        font-size:12px;
    }
    .news-text .text1 {
        width: 100%;
    }

    .news-text .text2{
        width:100%;
        margin-top:10px;
    }
    .text2 ul{
        margin-top:5px;
    }
    .text2 li {
        line-height: 30px;
        height: 30px;
        font-size: 14px;
    }
    .text2 li span{
        font-size:12px;
    }

    /*quick*/
    .quickbox{
        height:260px;        
    }
    .quickbox .line{
        width:100%;
        height:150px;        
    }
    .quickbox .quick .line a {
        width: 33.333%;
    }
    .quickbox a{
        height:150px;
    }
    .quickbox a h5 {
        font-size: 16px;
    }
    .quickbox a img{
        max-width:25%;
    }
    /*特色诊疗*/
    .spe a{
       font-size:14px;
    }
    /*expertbox*/
    .expertbox {
        margin-top: 20px;
    }
    .expert .swiper-slide .text h6{
        font-size:14px;
    }
    .expert .swiper-slide .text span{
        font-size:12px;
    }
    /*dep*/
    .dep {
        margin-top: 30px;
    }
    .dep h1 a {
        font-size: 16px;
    }
    .dep .type{
        font-size:15px;
    }
    
    .dep .list ul li {
        font-size: 14px;
        width: 18%;
        margin-right: 2.5%;
    }
    .dep .list ul li:nth-child(5n){
        margin-right:0;
    }
    .dep .list ul li:nth-child(7n) {
        margin-right: 2.5%;
    }
    .subject{
        margin-top:30px;
    }
    /*党建+健康*/
    .part {
        width: 100%;
        float: initial;
        margin-bottom: 20px;
    }
    .part h2{
        font-size:16px;
    }
    .part li a{
        font-size:14px;
    }
}


/*最大宽度760px，即小于760px的屏幕*/
@media only screen and (max-width: 760px) {
    .dep .list ul li {
        width: 30%;
        margin-right:5%;
    }
    .dep .list ul li:nth-child(3n) {
        margin-right: 0;
    }
    .dep .list ul li:nth-child(5n) {
        margin-right: 5%;
    }

    .dep .list ul li:nth-child(7n) {
        margin-right: 5%;
    }
    /*subject*/
    .subject ul{
        flex-wrap:wrap;
    }
    .subject ul li {
        width: 49%;
    }
    /*特色诊疗*/
    .spe a {
       width:50%
    }
}