.bannerNav{
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding-bottom: 30px;
}

.bannerNav > img{
    width: 20px;
    height: 20px;
}

.bannerNav a, .bannerNav span{
    font-size: 16px;
    color: white;
    margin: 0 3px;
}

.deptMenu{
    flex-shrink: 0;
    width: 351px;
}

.dept{
    background: #F4F5F7;
    transition: all .2s;
}

.deptMenu ul{
    background: #F4F5F7;
}

.deptMenu h3{
    font-size: 24px;
    color: #333333;
    margin-bottom: 16px;
}

.dept a{
    padding: 20px 8%;
}

.dept a p{
    font-size: 18px;
    color: #333333;
}

.dept a img{
    width: 13px;
    height: 13px;
}

.dept a img:nth-child(3), .dept a img:nth-child(4){
    display: none;
}

.activeMenu{
    background: #C7001A;
}

.activeMenu a p{
    color: white;
}

.activeMenu a img:nth-child(2){
    display: none;
}

.activeMenu a img:nth-child(3){
    display: block;
}

.dept:hover{
    background: #C7001A;
}

.dept:hover a p{
    color: white;
}

.dept:hover a img:nth-child(2){
    display: none;
}

.dept:hover a img:nth-child(3){
    display: block;
}

.deptInfo{
    width: calc(100% - 351px);
    box-sizing: border-box;
    padding-right: 2%;
}

.deptName{
    border-bottom: 1px solid rgba(217,217,217,0.52);
}

.deptName h3{
    width: fit-content;
    font-size: 30px;
    color: #333333;
    padding: 14px 0;
    position: relative;
}

.deptName h3::after{
    content: "";
    width: 100%;
    height: 3px;
    background: #C7001A;
    position: absolute;
    left: 0;
    bottom: 0;
}

.brief{
    padding: 30px 0;
}

.brief p{
    font-size: 18px;
    color: #333333;
    text-indent: 2em;
    line-height: 45px;
}

.switchTab li{
    width: 174px;
    height: 50px;
    background: #EFF0F3;
    margin-right: 10px;
    font-size: 18px;
    color: #333333;
    cursor: pointer;
    transition: all .5s;
}

.switchTab li img{
    width: 22px;
    height: 22px;
    margin-right: 5px;
}

.switchTab li img:nth-child(2){
    display: none;
}

.switchTab li:last-child{
    margin-right: 0;
}

.switchTab li.on{
    background: #C7001A;
}

.switchTab li.on p{
    color: white;
}

.switchTab li.on img:nth-child(2){
    display: block;
}

.switchTab li.on img:first-child{
    display: none;
}

.switchTab li:hover{
    background: #C7001A;
}

.switchTab li:hover p{
    color: white;
}

.switchTab li:hover img:nth-child(2){
    display: block;
}

.switchTab li:hover img:first-child{
    display: none;
}

.teamMenber{
    flex-wrap: wrap;
}

.switchBody{
    margin-top: 36px;
}

.lawyer{
    display: block;
    width: 24%;
    text-align: center;
    background: #F3F5F7;
    margin-right: 1%;
    margin-bottom: 1%;
    box-sizing: border-box;
    border: 1px solid #F3F5F7;
}

.lawyer .cover{
    width: 100%;
    height: 252px;
    background-size: cover !important;
    background-position: center center !important;
}

.lawyer h3{
    font-size: 20px;
    color: #333333;
    line-height: 36px;
    padding-top: 10px;
}

.lawyer p{
    font-size: 16px;
    color: #96989B;
    line-height: 36px;
    padding-bottom: 10px;
}

.lawyer:hover{
    border-color:#C7001A;
}

.lawyer:hover h3{
    color: #C7001A;
}

.lawyer:hover p{
    color: #333333;
}

.docItem{
    box-sizing: border-box;
    padding: 12px 0;
}

.docL{
    width: calc(100% - 100px);
}

.docL img{
    width: 24px;
    height: 24px;
    margin-right: 5px;
    flex-shrink: 0;
}

.docL img:nth-child(2){
    display: none;
}

.docL p{
    font-size: 18px;
    color: #333333;
}

.docItem .time{
    flex-shrink: 0;
    font-size: 16px;
    color: #5D5F62;
    margin-left: 10px;
}

.docItem:hover img:nth-child(1){
    display: none;
}

.docItem:hover img:nth-child(2){
    display: block;
}
.docItem:hover p{
    font-weight: bold;
}

.docItem:nth-child(5n){
    border-bottom: 1px solid #EEF0F1;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.moreDoc{
    height: 50px;
    background: #F7F8F9;
}

.moreDoc a{
    width: 100%;
    height: inherit;
    font-size: 16px;
    color: #A5ACB5;
    transition: all .5s;
}

.moreDoc a:hover{
    background: #C7001A;
    color: white;
}

@media screen and (max-width: 1400px){
    .lawyer .cover{
        height: 200px;
    }
}

@media screen and (max-width: 998px){
    .lawyer{
        width: 32%;
    }

    .flexBox{
        flex-wrap: wrap;
    }

    .deptInfo{
        width: 100%;
        padding-right: 0;
    }

    .lawyer .cover{
        height: 282px;
    }

    .deptMenu{
        width: 100%;
    }

    .deptMenu ul{
        display: flex;
        flex-wrap: wrap;
    }

    .dept{
        width: 48%;
        margin-right: 4%;
    }

    .dept:nth-child(2n){
        margin-right: 0;
    }

    .dept a{
        justify-content: flex-start;
    }

    .dept a img{
        margin-left: 10px;
    }

    .deptMenu ul{
        padding: 2% 3%;
    }

    .dept a{
        padding: 20px 0;
    }

    .activeMenu{
        background: none;
        border-bottom: 1px solid #C7001A;
    }

    .activeMenu a p{
        color: #C7001A;
        font-weight: bold;
    }

    .activeMenu a img:nth-child(3){
        display: none;
    }

    .activeMenu a img:nth-child(4){
        display: block;
    }

    .deptMenu{
        margin-top: 30px;
    }
}

@media screen and (max-width: 768px){
    .lawyer .cover{
        height: 220px;
    }
}

@media screen and (max-width: 540px){
    .bannerNav > img{
        width: 12px;
        height: 12px;
    }

    .bannerNav{
        padding-bottom: 18px;
    }

    .bannerNav a, .bannerNav span{
        font-size: 12px;
        margin: 0;
    }

    .deptName h3{
        font-size: 15px;
        padding: 10px 0;
    }

    .deptName h3::after{
        height: 2px;
    }

    .brief{
        padding: 20px 0;
    }

    .brief p{
        font-size: 14px;
        line-height: 28px;
    }

    .switchTab li{
        width: 49%;
        height: 40px;
        margin-right: 2%;
        font-size: 14px;
    }

    .switchTab li:nth-child(2){
        margin-right: 0;
    }

    .switchTab li img{
        width: 18px;
        height: 18px;
    }

    .switchBody{
        margin-top: 15px;
    }

    .lawyer .cover{
        height: 156px;
    }

    .lawyer h3{
        font-size: 14px;
        line-height: 20px;
        padding-top: 3px;
    }
    
    .lawyer p{
        box-sizing: border-box;
        padding: 0 5%;
        margin-bottom: 3px;
        white-space: pre-wrap;
        font-size: 11px;
        line-height: 20px;
        height: 40px;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .deptMenu{
        margin-top: 20px;
    }

    .deptMenu h3{
        font-size: 14px;
    }

    .dept a{
        padding: 10px 0;
    }

    .dept a p{
        font-size: 14px;
    }

    .docL{
        width: 100%;
    }

    .docItem .time{
        display: none;
    }
    
    .docL img{
        width: 14px;
        height: 14px;
    }

    .docL p{
        font-size: 14px;
    }

    .docItem:nth-child(5n){
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .moreDoc{
        height: 36px;
    }

    .moreDoc a{
        font-size: 14px;
    }
}

@media screen and (max-width: 450px){
    .lawyer .cover{
        height: 135px;
    }
}

@media screen and (max-width: 400px){
    .lawyer .cover{
        height: 116px;
    }

    .lawyer p{
        line-height: 16px;
        height: 32px;
    }
}
